.bw-shell {
  box-sizing: border-box;
  --bw-ink: #ecf5ed;
  --bw-muted: #a9c3c1;
  --bw-night: #071b25;
  --bw-panel: rgba(8, 32, 42, 0.9);
  --bw-panel-soft: rgba(11, 45, 55, 0.78);
  --bw-line: rgba(151, 211, 202, 0.22);
  --bw-aqua: #70e1ce;
  --bw-gold: #f4cc78;
  --bw-coral: #f17e62;
  --bw-blue: #7fb8e8;
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 14px 28px;
  overflow-x: hidden;
  color: var(--bw-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bw-shell *,
.bw-shell *::before,
.bw-shell *::after,
.bw-modal *,
.bw-modal *::before,
.bw-modal *::after {
  box-sizing: border-box;
}

.bw-shell .bw-hidden,
.bw-modal.bw-hidden {
  display: none !important;
}

.bw-shell[data-state="won"] .bw-touch,
.bw-shell[data-state="lost"] .bw-touch,
.bw-shell[data-state="won"] .bw-action-card,
.bw-shell[data-state="lost"] .bw-action-card,
.bw-shell[data-state="won"] .bw-reel,
.bw-shell[data-state="lost"] .bw-reel {
  display: none !important;
}

.bw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.bw-stats,
.bw-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.bw-stat {
  min-width: 78px;
  padding: 8px 10px;
  border: 1px solid var(--bw-line);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(12, 47, 58, 0.94), rgba(6, 26, 36, 0.94));
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.19);
  text-align: center;
}

.bw-stat span,
.bw-objective span,
.bw-voyage-copy span,
.bw-speed span,
.bw-reel-head span,
#bw-action-kicker,
.bw-action small,
.bw-kicker {
  display: block;
  color: var(--bw-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-transform: uppercase;
}

.bw-stat strong {
  display: block;
  margin-top: 3px;
  color: #f6fbf5;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}

.bw-tide-stat strong {
  color: var(--bw-gold);
}

.bw-button,
.bw-action,
.bw-touch-button,
.bw-modal-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(147, 207, 199, 0.3);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(18, 61, 71, 0.96), rgba(7, 30, 40, 0.96));
  color: var(--bw-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, opacity 120ms ease;
}

.bw-button {
  padding: 0 14px;
}

.bw-button:hover,
.bw-action:hover,
.bw-touch-button:hover,
.bw-modal-close:hover {
  transform: translateY(-1px);
  border-color: var(--bw-aqua);
}

.bw-button:active,
.bw-action:active,
.bw-touch-button:active,
.bw-touch-button[aria-pressed="true"] {
  transform: translateY(1px);
  border-color: var(--bw-gold);
  background: linear-gradient(180deg, #275568, #102f3d);
}

.bw-button:focus-visible,
.bw-action:focus-visible,
.bw-touch-button:focus-visible,
.bw-modal-close:focus-visible,
.bw-canvas:focus-visible {
  outline: 3px solid rgba(112, 225, 206, 0.78);
  outline-offset: 3px;
}

.bw-button:disabled {
  cursor: wait;
  opacity: 0.48;
  transform: none;
}

.bw-square {
  width: 46px;
  padding: 0;
  font-size: 18px;
}

.bw-sound {
  min-width: 52px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.bw-primary,
.bw-action {
  border-color: rgba(244, 204, 120, 0.62);
  background: linear-gradient(180deg, #f3c975, #dba557);
  color: #102b32;
  text-shadow: 0 1px rgba(255, 255, 255, 0.18);
}

.bw-primary:hover,
.bw-action:hover {
  border-color: #fff0b8;
  background: linear-gradient(180deg, #ffda88, #e9b665);
}

.bw-large {
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
}

.bw-voyage-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-bottom: 9px;
  padding: 8px 13px;
  border: 1px solid var(--bw-line);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(8, 34, 44, 0.96), rgba(11, 49, 58, 0.9));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.bw-objective {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  min-width: 0;
}

.bw-objective i {
  width: 8px;
  height: 8px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: var(--bw-aqua);
  box-shadow: 0 0 15px rgba(112, 225, 206, 0.9);
}

.bw-objective strong {
  overflow: hidden;
  color: #f6fbf5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bw-voyage-copy {
  min-width: 160px;
  text-align: right;
}

.bw-voyage-copy b {
  display: block;
  margin-top: 2px;
  color: var(--bw-gold);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bw-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 520px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(177, 222, 210, 0.27);
  border-radius: 19px;
  background: linear-gradient(#80bfd0, #efd09c 64%, #287c88);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  touch-action: none;
  user-select: none;
}

.bw-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  cursor: crosshair;
  touch-action: none;
}

.bw-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 244, 209, 0.08), transparent 32%, transparent 68%, rgba(0, 22, 31, 0.24)),
    radial-gradient(circle at 50% 44%, transparent 40%, rgba(0, 19, 28, 0.18) 100%);
  box-shadow: inset 0 0 90px rgba(0, 24, 31, 0.12);
}

.bw-compass {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 11px 6px 8px;
  border: 1px solid rgba(236, 248, 232, 0.24);
  border-radius: 999px;
  background: rgba(5, 28, 37, 0.76);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  color: #f7f2d6;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.bw-compass i {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(244, 204, 120, 0.72);
  border-radius: 50%;
  background: rgba(244, 204, 120, 0.1);
  transition: transform 80ms linear;
}

.bw-compass i::before {
  position: absolute;
  top: 3px;
  left: 8px;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 10px solid var(--bw-gold);
  border-left: 4px solid transparent;
  content: "";
}

.bw-speed {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  min-width: 94px;
  padding: 8px 10px;
  border: 1px solid rgba(236, 248, 232, 0.2);
  border-radius: 10px;
  background: rgba(5, 28, 37, 0.72);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.bw-speed strong {
  display: block;
  margin-top: 3px;
  color: #f8f6df;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bw-map-card {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 142px;
  height: 158px;
  padding: 7px 7px 16px;
  border: 1px solid rgba(236, 248, 232, 0.24);
  border-radius: 14px;
  background: rgba(5, 28, 37, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.bw-map-card canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: #174e5c;
}

.bw-map-card span {
  position: absolute;
  top: 8px;
  left: 50%;
  color: #fff0bd;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: translateX(-50%);
}

.bw-reel {
  position: absolute;
  z-index: 5;
  bottom: 112px;
  left: 50%;
  width: min(500px, calc(100% - 30px));
  padding: 12px 14px 11px;
  border: 1px solid rgba(244, 204, 120, 0.48);
  border-radius: 14px;
  background: rgba(5, 27, 36, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(112, 225, 206, 0.08) inset;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 150ms ease, transform 150ms ease;
  backdrop-filter: blur(10px);
}

.bw-reel.bw-reel-active {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bw-reel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bw-reel-head strong {
  color: var(--bw-gold);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.bw-tension {
  position: relative;
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(180, 227, 216, 0.26);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 70, 84, 0.94), rgba(5, 35, 46, 0.94));
}

.bw-safe {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 35%;
  width: 29%;
  border: 1px solid rgba(255, 224, 146, 0.82);
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, rgba(244, 204, 120, 0.27) 0 6px, rgba(244, 204, 120, 0.1) 6px 12px);
}

.bw-tension-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 225, 206, 0.34), rgba(112, 225, 206, 0.8));
  box-shadow: 0 0 14px rgba(112, 225, 206, 0.45);
}

.bw-fish-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #fff5d3;
  border-radius: 50% 50% 50% 12%;
  background: var(--bw-coral);
  box-shadow: 0 0 12px rgba(241, 126, 98, 0.75);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bw-reel-progress {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(223, 244, 231, 0.12);
}

.bw-reel-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bw-aqua), var(--bw-gold));
  box-shadow: 0 0 10px rgba(112, 225, 206, 0.4);
}

.bw-reel small {
  display: block;
  margin-top: 7px;
  color: #b9cfca;
  font-size: 10px;
  line-height: 1.2;
}

.bw-action-card {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(590px, calc(100% - 30px));
  min-height: 68px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(220, 240, 227, 0.2);
  border-radius: 15px;
  background: rgba(5, 28, 37, 0.84);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
  opacity: 0.9;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.bw-action-card.bw-action-ready {
  border-color: rgba(244, 204, 120, 0.52);
  opacity: 1;
}

.bw-action-card > div {
  min-width: 0;
}

.bw-action-card strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #f5f8ec;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bw-action {
  min-width: 104px;
  min-height: 48px;
  padding: 5px 13px;
  pointer-events: auto;
}

.bw-action small {
  display: inline;
  margin-left: 5px;
  color: rgba(10, 40, 47, 0.72);
  font-size: 8px;
}

.bw-action:disabled {
  cursor: default;
  filter: saturate(0.45);
  opacity: 0.6;
}

.bw-touch {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: none;
  grid-template-columns: 54px 54px minmax(76px, 1fr) 62px 62px;
  align-items: end;
  gap: 7px;
  pointer-events: none;
}

.bw-touch-button {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 5px;
  border-color: rgba(236, 248, 232, 0.28);
  background: rgba(5, 28, 37, 0.84);
  font-size: 11px;
  pointer-events: auto;
  touch-action: none;
  backdrop-filter: blur(8px);
}

.bw-touch-button:first-child,
.bw-touch-button:nth-child(2) {
  font-size: 27px;
  font-weight: 400;
}

.bw-touch-action {
  border-color: rgba(244, 204, 120, 0.74);
  background: linear-gradient(180deg, rgba(244, 204, 120, 0.96), rgba(218, 165, 87, 0.96));
  color: #102b32;
  font-size: 13px;
}

.bw-banner {
  position: absolute;
  z-index: 7;
  top: 78px;
  left: 50%;
  max-width: calc(100% - 30px);
  padding: 9px 14px;
  border: 1px solid rgba(255, 235, 175, 0.36);
  border-radius: 999px;
  background: rgba(6, 28, 37, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  color: #fff1bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.bw-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(3, 20, 29, 0.12), rgba(3, 20, 29, 0.48));
  backdrop-filter: blur(2px);
}

.bw-card {
  width: min(480px, 100%);
  padding: 26px;
  border: 1px solid rgba(221, 239, 222, 0.3);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(7, 35, 45, 0.96), rgba(5, 25, 34, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(112, 225, 206, 0.05);
  text-align: center;
}

.bw-start-card {
  background: linear-gradient(145deg, rgba(7, 37, 47, 0.95), rgba(5, 24, 33, 0.9));
}

.bw-card .bw-kicker,
.bw-modal .bw-kicker {
  color: var(--bw-gold);
}

.bw-card h1,
.bw-card h2,
.bw-modal h2 {
  margin: 8px 0 10px;
  color: #fbf7e7;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bw-card h1 {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 0.98;
}

.bw-card h2,
.bw-modal h2 {
  font-size: 30px;
  line-height: 1.05;
}

.bw-card p,
.bw-modal p {
  margin: 0 auto 16px;
  color: #c5d8d2;
  font-size: 13px;
  line-height: 1.55;
}

.bw-card small {
  display: block;
  margin-top: 13px;
  color: #91aeaa;
  font-size: 10px;
  line-height: 1.4;
}

.bw-card-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
}

.bw-result-score {
  display: block;
  margin: 8px 0 4px;
  color: var(--bw-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.bw-result .bw-result-best {
  margin-bottom: 0;
  color: #8faeaa;
  font-size: 11px;
}

.bw-manifest {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.bw-manifest-card {
  position: relative;
  display: grid;
  grid-template-columns: 8px 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 68px;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid var(--bw-line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 42, 52, 0.92), rgba(6, 26, 35, 0.92));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.bw-manifest-card > i {
  width: 7px;
  height: 30px;
  border-radius: 999px;
  background: #587178;
  opacity: 0.55;
}

.bw-manifest-card > span {
  color: #789995;
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.bw-manifest-card > div {
  min-width: 0;
}

.bw-manifest-card strong,
.bw-manifest-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bw-manifest-card strong {
  color: #dbe9e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}

.bw-manifest-card small {
  margin-top: 3px;
  color: #8ba9a4;
  font-size: 9px;
}

.bw-manifest-card > b {
  color: #8ca7a2;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.bw-manifest-card[data-state="active"] {
  border-color: rgba(244, 204, 120, 0.62);
  background: linear-gradient(145deg, rgba(20, 57, 62, 0.96), rgba(8, 31, 39, 0.96));
}

.bw-manifest-card[data-state="active"] > i {
  background: var(--bw-gold);
  box-shadow: 0 0 13px rgba(244, 204, 120, 0.62);
  opacity: 1;
}

.bw-manifest-card[data-state="caught"] {
  border-color: rgba(112, 225, 206, 0.34);
}

.bw-manifest-card[data-state="caught"] > i {
  background: var(--bw-aqua);
  opacity: 1;
}

.bw-manifest-card[data-state="caught"] > b {
  color: var(--bw-aqua);
}

.bw-tip {
  margin: 10px 2px 0;
  color: #9db6b2;
  font-size: 11px;
  line-height: 1.45;
}

.bw-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 12, 18, 0.76);
  backdrop-filter: blur(7px);
}

.bw-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(221, 239, 222, 0.28);
  border-radius: 19px;
  background: linear-gradient(145deg, #0b3440, #061d27);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

.bw-modal-card p {
  margin: 0 0 12px;
}

.bw-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  padding: 0;
  font-size: 23px;
  font-weight: 400;
}

@media (pointer: fine) and (min-width: 701px) {
  .bw-touch {
    display: none;
  }
}

@media (pointer: coarse), (max-width: 700px) {
  .bw-shell {
    padding: 0 8px 22px;
  }

  .bw-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .bw-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
  }

  .bw-stat {
    min-width: 0;
    padding: 7px 4px;
  }

  .bw-stat strong {
    font-size: 15px;
  }

  .bw-actions {
    justify-content: flex-end;
  }

  .bw-voyage-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 7px 10px;
  }

  .bw-objective strong {
    font-size: 15px;
  }

  .bw-voyage-copy {
    min-width: 94px;
  }

  .bw-voyage-copy span {
    overflow: hidden;
    max-width: 94px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bw-stage {
    min-height: 0;
    height: clamp(480px, calc(100dvh - 324px), 650px);
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .bw-canvas {
    min-height: 100%;
  }

  .bw-touch {
    display: grid;
    grid-template-columns: 48px 48px minmax(66px, 1fr) 58px 58px;
    gap: 6px;
  }

  .bw-action-card {
    bottom: 80px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 8px 8px 8px 11px;
  }

  .bw-action-card strong {
    font-size: 11px;
  }

  .bw-action {
    min-width: 88px;
    min-height: 46px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .bw-reel {
    top: 186px;
    bottom: auto;
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .bw-map-card {
    top: 63px;
    right: 12px;
    width: 102px;
    height: 116px;
    padding: 6px 6px 14px;
  }

  .bw-speed {
    top: 63px;
    left: 12px;
    min-width: 82px;
    padding: 7px 8px;
  }

  .bw-compass {
    top: 12px;
  }

  .bw-banner {
    top: 112px;
    right: 116px;
    left: 12px;
    max-width: none;
    border-radius: 10px;
    font-size: 10px;
    transform: none;
  }

  .bw-overlay {
    padding: 14px;
  }

  .bw-card {
    padding: 21px 18px;
  }

  .bw-card h1 {
    font-size: 42px;
  }

  .bw-card p {
    font-size: 12px;
  }

  .bw-manifest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .bw-touch {
    grid-template-columns: 44px 44px minmax(56px, 1fr) 50px 50px;
    gap: 4px;
  }

  .bw-touch-button {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .bw-stat span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .bw-stat strong {
    font-size: 14px;
  }

  .bw-button {
    padding: 0 11px;
  }

  .bw-voyage-copy {
    min-width: 76px;
  }

  .bw-voyage-copy span {
    max-width: 76px;
    font-size: 8px;
  }

  .bw-map-card {
    width: 92px;
    height: 106px;
  }

  .bw-speed {
    min-width: 76px;
  }

  .bw-action-card {
    gap: 7px;
  }

  .bw-action-card strong {
    max-width: 185px;
  }

  .bw-manifest-card {
    grid-template-columns: 7px 20px minmax(0, 1fr);
    gap: 6px;
  }

  .bw-manifest-card > b {
    display: none;
  }

  .bw-card-actions {
    flex-direction: column;
  }

  .bw-card-actions .bw-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bw-button,
  .bw-action,
  .bw-touch-button,
  .bw-reel,
  .bw-manifest-card,
  .bw-compass i {
    transition: none;
  }
}
