:root {
  --navy: #102a43;
  --navy-2: #1b3a5c;
  --ink: #0a1c2e;
  --vest: #ff6b2c;
  --vest-2: #e2541a;
  --glass: #7fd1c3;
  --sun: #ffd23f;
  --red: #e23d3d;
  --paper: #f6ead2;
  --mist: #c8d7e4;
  --hud: rgba(16, 42, 67, 0.78);
  --display: 'Bungee', 'Arial Black', Impact, sans-serif;
  --body: 'Barlow Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--navy); color: var(--paper); font-family: var(--body); font-size: 17px; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.hidden { display: none !important; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; }

/* ---------- screens ---------- */
.screen { position: fixed; inset: 0; display: none; }
.screen.show { display: flex; }
#loading { align-items: center; justify-content: center; flex-direction: column; gap: 22px; background: radial-gradient(120% 90% at 50% 30%, #1d4b74 0%, var(--navy) 60%, var(--ink) 100%); z-index: 50; }
.load-logo { width: min(520px, 80vw); filter: drop-shadow(0 10px 0 rgba(0,0,0,.25)); }
.load-bar { width: min(360px, 70vw); height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.load-bar i { display: block; height: 100%; width: 0; background: var(--vest); transition: width .25s; }
#loadMsg { margin: 0; color: var(--mist); }

#title { z-index: 20; align-items: stretch; justify-content: space-between; padding: calc(28px + var(--safe-t)) 40px 28px; background: linear-gradient(90deg, rgba(10,28,46,.82) 0%, rgba(10,28,46,.45) 42%, rgba(10,28,46,0) 70%); }
.title-col { display: flex; flex-direction: column; gap: 16px; width: min(460px, 100%); }
.title-logo { width: min(100%, 46vh); filter: drop-shadow(0 8px 0 rgba(0,0,0,.28)); margin-left: -8px; }
.tagline { margin: 0; font-size: clamp(17px, 2.6vh, 22px); line-height: 1.25; font-weight: 600; max-width: 26ch; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.namebox { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--mist); font-size: 15px; }
.namebox input { background: rgba(255,255,255,.1); border: 2px solid rgba(246,234,210,.35); border-radius: 8px; padding: 8px 12px; font-size: 19px; font-weight: 700; color: var(--paper); width: 240px; }
.signs { display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 12px); margin-top: 4px; }
@media (max-height: 760px) { .sign { padding-top: 8px; padding-bottom: 8px; } .sign b { font-size: 22px; } .title-col { gap: 10px; } }
.sign { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 12px 18px 12px 20px; border-radius: 4px 14px 14px 4px; background: var(--paper); color: var(--navy); border-left: 10px solid var(--vest); box-shadow: 0 5px 0 rgba(0,0,0,.35); transform: rotate(-.6deg); transition: transform .12s; }
.sign:nth-child(2) { transform: rotate(.5deg); border-left-color: var(--glass); }
.sign:nth-child(3) { transform: rotate(-.3deg); border-left-color: var(--sun); }
button.sign:hover, button.sign:focus-visible { transform: translateX(6px) rotate(0); }
.sign b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.sign span { font-weight: 600; font-size: 16px; opacity: .75; }
.joinrow { display: flex; gap: 8px; margin-top: 8px; }
.joinrow input { width: 108px; font-family: var(--display); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; background: #fff; border: 2px solid var(--navy); border-radius: 6px; padding: 4px 10px; color: var(--navy); }
.joinrow button { background: var(--navy); color: var(--paper); border-radius: 6px; padding: 0 14px; font-weight: 700; }
.msg { min-height: 1.3em; margin: 0; color: var(--sun); font-weight: 600; }
.title-crew { display: grid; grid-template-columns: repeat(2, 132px); gap: 14px; align-self: flex-end; }
.title-crew figure { margin: 0; text-align: center; }
.title-crew img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 5px solid var(--paper); box-shadow: 0 6px 0 rgba(0,0,0,.3); }
.title-crew figcaption { font-family: var(--display); font-size: 15px; margin-top: 4px; text-shadow: 0 2px 4px rgba(0,0,0,.6); }
.title-crew small { display: block; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--mist); }
.board-link { color: var(--glass); font-weight: 700; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
#hud button { pointer-events: auto; }
.hud-tl { position: absolute; left: 16px; top: calc(14px + var(--safe-t)); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cash { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 26px; color: var(--sun); text-shadow: 0 3px 0 var(--ink); }
.cash img { width: 40px; }
.zone { background: var(--hud); border-radius: 8px; padding: 4px 10px 5px; display: flex; flex-direction: column; line-height: 1.1; }
.zone span { font-family: var(--display); font-size: 16px; }
.zone small { color: var(--mist); font-weight: 600; font-size: 14px; }
.room { background: var(--vest); color: var(--ink); border-radius: 8px; padding: 4px 10px; font-weight: 700; }
.room b { font-family: var(--display); font-weight: 400; letter-spacing: .1em; }
.hud-tr { position: absolute; right: 16px; top: calc(14px + var(--safe-t)); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.compass { position: relative; width: 300px; height: 42px; overflow: hidden; background: var(--hud); border-radius: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.compass .tape { position: absolute; top: 0; left: 0; height: 100%; white-space: nowrap; }
.compass .tape span { position: absolute; top: 19px; transform: translateX(-50%); font-weight: 700; font-size: 15px; color: var(--mist); }
.compass .tape span.card { font-family: var(--display); color: var(--paper); font-weight: 400; }
.compass .tape span.tgt { top: 1px; font-size: 15px; line-height: 1; color: var(--sun); }
.compass .lubber { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--vest); }
.dist { font-weight: 700; color: var(--paper); text-shadow: 0 2px 4px rgba(0,0,0,.6); font-size: 15px; }
.crewlist { position: absolute; right: 16px; top: calc(92px + var(--safe-t)); display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.crewlist div { display: flex; align-items: center; gap: 8px; background: var(--hud); padding: 3px 10px 3px 3px; border-radius: 22px; font-weight: 600; font-size: 15px; }
.crewlist img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.crewlist em { font-style: normal; color: var(--mist); font-weight: 500; }
.crewlist .you { outline: 2px solid var(--sun); }
.crewlist .ob { background: var(--red); }

.prompts { position: absolute; left: 50%; top: calc(16px + var(--safe-t)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(560px, 60vw); }
.prompts div { background: var(--hud); border-radius: 8px; padding: 6px 14px; font-weight: 700; font-size: 18px; text-align: center; }
.prompts div small { display: block; color: var(--mist); font-weight: 600; font-size: 13px; }
.prompts .hot { background: rgba(255,107,44,.9); color: var(--ink); }
.prompts .alert { background: var(--red); color: #fff; animation: pulse .5s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.05); } }

.meters { position: absolute; left: 16px; bottom: calc(18px + var(--safe-b)); display: flex; flex-direction: column; gap: 8px; }
.meter { background: var(--hud); border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.meter img { width: 30px; }
.meter i { display: block; width: 140px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.15); overflow: hidden; }
.meter i b { display: block; height: 100%; width: 0; background: var(--glass); }
.meter.water i b { background: var(--red); }

/* fight cluster: the scale dial */
.fight { position: absolute; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: flex-end; gap: 16px; background: var(--hud); border-radius: 16px; padding: 10px 18px 12px; }
.dial { width: 220px; height: 132px; display: block; }
.dial .arc { fill: none; stroke: var(--glass); stroke-width: 14; stroke-linecap: butt; }
.dial .arc.warn { stroke: var(--vest); }
.dial .arc.bad { stroke: var(--red); }
.dial #ticks line { stroke: var(--paper); stroke-width: 2; }
.dial #ticks text { fill: var(--mist); font: 700 11px var(--body); text-anchor: middle; }
.dial #needle { stroke: var(--paper); stroke-width: 5; stroke-linecap: round; transform-origin: 110px 120px; }
.dial .hub { fill: var(--vest); stroke: var(--paper); stroke-width: 3; }
.fight.snapping .dial #needle { stroke: var(--red); }
.fight-read { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }
.fish-id { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 17px; }
.fish-id img { height: 30px; }
.bars { display: flex; flex-direction: column; gap: 5px; }
.bars label { display: grid; grid-template-columns: 38px 1fr 48px; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--mist); }
.bars em { font-style: normal; text-align: right; color: var(--paper); }
.bar { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar b { display: block; height: 100%; width: 50%; }
.bar.stam b { background: var(--vest); }
.bar.spool b { background: var(--sun); }
.bar.drag b { background: var(--glass); }

.gaffbar { position: absolute; left: 50%; bottom: calc(190px + var(--safe-b)); transform: translateX(-50%); width: min(420px, 80vw); height: 34px; border-radius: 17px; background: var(--hud); border: 3px solid var(--paper); }
.gaffbar .zone { position: absolute; top: 0; bottom: 0; background: var(--glass); border-radius: 12px; display: block; padding: 0; }
.gaffbar .mark { position: absolute; top: -8px; bottom: -8px; width: 6px; margin-left: -3px; background: var(--vest); border-radius: 3px; display: block; }
.gaffbar span { position: absolute; left: 0; right: 0; top: -34px; text-align: center; font-family: var(--display); font-size: 20px; text-shadow: 0 3px 0 var(--ink); }
.castbar { position: absolute; left: 50%; bottom: calc(40px + var(--safe-b)); transform: translateX(-50%); width: 260px; height: 14px; border-radius: 7px; background: var(--hud); overflow: hidden; }
.castbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--glass), var(--sun), var(--vest)); }
.dockhint { position: absolute; left: 50%; bottom: calc(110px + var(--safe-b)); transform: translateX(-50%); }
.dockhint button, .cast-off, .wbtns .primary, .menu-card .primary { background: var(--vest); color: var(--ink); font-family: var(--display); font-size: 20px; padding: 12px 22px; border-radius: 10px; box-shadow: 0 5px 0 var(--vest-2), 0 8px 18px rgba(0,0,0,.35); }
.menu-btn { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(8px + var(--safe-b)); width: 44px; height: 30px; display: none; flex-direction: column; justify-content: center; gap: 4px; align-items: center; background: var(--hud); border-radius: 8px; }
.menu-btn span { width: 20px; height: 3px; background: var(--paper); border-radius: 2px; }
.keys { position: absolute; right: 16px; bottom: calc(14px + var(--safe-b)); display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 14px; color: var(--mist); font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
kbd { display: inline-block; min-width: 20px; padding: 0 4px; margin-right: 2px; border-radius: 4px; background: rgba(246,234,210,.9); color: var(--ink); font: 700 12px var(--body); text-align: center; }

/* ---------- touch ---------- */
#touch { position: fixed; inset: 0; pointer-events: none; z-index: 11; }
.stick { position: absolute; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + var(--safe-b)); width: 150px; height: 150px; border-radius: 50%; background: rgba(16,42,67,.45); border: 3px solid rgba(246,234,210,.35); pointer-events: auto; touch-action: none; }
.stick i { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--paper); box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.stick span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-weight: 700; font-size: 13px; color: var(--mist); }
.tbtns { position: absolute; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + var(--safe-b)); display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto; gap: 10px; align-items: end; justify-items: center; pointer-events: auto; }
.tb { background: var(--paper); color: var(--navy); border-radius: 50%; width: 66px; height: 66px; font-weight: 800; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 0 rgba(0,0,0,.35); touch-action: none; user-select: none; -webkit-user-select: none; }
.tb img { width: 32px; height: 32px; object-fit: contain; }
.tb.main { grid-column: 2; grid-row: 2 / span 2; width: 104px; height: 104px; background: var(--vest); color: var(--ink); font-family: var(--display); font-size: 20px; font-weight: 400; }
.tb.gaff { grid-column: 1; grid-row: 2; }
.tb.bonk { grid-column: 1; grid-row: 3; }
.tb.on { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.tb.dim { opacity: .35; }
.tb.lit { background: var(--sun); animation: pulse .45s ease-in-out infinite alternate; }
.dragbtns { grid-column: 1 / span 2; grid-row: 1; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--mist); }
.tb.sm { width: 40px; height: 40px; font-size: 22px; font-family: var(--display); font-weight: 400; }
body.touch .keys { display: none; }
body.touch .menu-btn { display: flex; left: auto; right: 16px; transform: none; bottom: auto; top: calc(96px + var(--safe-t)); }
body.touch .meters { bottom: calc(200px + var(--safe-b)); }
body.touch .fight { bottom: auto; top: calc(110px + var(--safe-t)); transform: translateX(-50%) scale(.82); transform-origin: top center; }
body.touch .gaffbar { bottom: calc(210px + var(--safe-b)); }

/* ---------- toasts: the one loud thing ---------- */
#toasts { position: fixed; left: 0; right: 0; top: 30%; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; z-index: 30; }
.toast { font-family: var(--display); font-size: clamp(34px, 7vw, 84px); line-height: 1; color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink); transform: rotate(-4deg); animation: slam .5s cubic-bezier(.2, 1.6, .4, 1) both, out .4s ease-in both; animation-delay: 0s, var(--life, 1.6s); text-align: center; padding: 0 12px; }
.toast small { display: block; font-family: var(--body); font-weight: 700; -webkit-text-stroke: 0; font-size: clamp(16px, 2.2vw, 24px); text-shadow: 0 2px 6px rgba(0,0,0,.8); margin-top: 6px; }
.toast.good { color: var(--sun); }
.toast.bad { color: var(--red); }
.toast.cool { color: var(--glass); }
.toast.big { font-size: clamp(42px, 10vw, 120px); }
@keyframes slam { from { transform: scale(2.4) rotate(-10deg); opacity: 0; } to { transform: scale(1) rotate(-4deg); opacity: 1; } }
@keyframes out { to { transform: translateY(-30px) rotate(-4deg); opacity: 0; } }

/* ---------- dock panel ---------- */
.panel-screen { position: fixed; inset: 0; z-index: 25; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10,28,46,.35); }
.dock-wrap { width: min(880px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--navy); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); border: 3px solid rgba(246,234,210,.2); overflow: hidden; }
.dock-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 4px; }
.dock-logo { height: 58px; }
.dock-cash { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 30px; color: var(--sun); }
.dock-cash img { width: 44px; }
.tabs { display: flex; gap: 4px; padding: 6px 14px 0; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 8px 14px; border-radius: 10px 10px 0 0; font-weight: 700; color: var(--mist); white-space: nowrap; }
.tabs button.on { background: var(--paper); color: var(--navy); }
.tab { display: none; background: var(--paper); color: var(--navy); padding: 16px 18px; overflow-y: auto; min-height: 260px; flex: 1; }
.tab.on { display: block; }
.tab h3 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.tab p { margin: 0 0 10px; line-height: 1.35; max-width: 70ch; }
.dock-foot { display: flex; align-items: center; gap: 16px; padding: 14px 18px calc(14px + var(--safe-b)); }
.dock-foot .msg { flex: 1; }

.trip-zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.trip-zones figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--navy); color: var(--paper); }
.trip-zones img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.trip-zones figcaption { padding: 6px 8px 8px; font-size: 14px; line-height: 1.25; }
.trip-zones figcaption b { display: block; font-size: 15px; }
.trip-zones .risk { color: var(--vest); font-weight: 700; }
.trip-zones .ok { color: var(--glass); font-weight: 700; }

.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.item { display: grid; grid-template-columns: 56px 1fr; gap: 4px 10px; align-items: center; padding: 10px; border-radius: 10px; background: #fff; border: 2px solid #e6d7b8; }
.item img { width: 56px; height: 56px; object-fit: contain; grid-row: span 2; }
.item h4 { margin: 0; font-size: 18px; }
.item p { margin: 0; font-size: 14px; color: #4a5a6a; }
.item .lv { grid-column: 1 / span 2; display: flex; gap: 4px; }
.item .lv i { flex: 1; height: 6px; border-radius: 3px; background: #e6d7b8; }
.item .lv i.on { background: var(--glass); }
.item button { grid-column: 1 / span 2; padding: 8px; border-radius: 8px; background: var(--navy); color: var(--paper); font-weight: 700; }
.item button:disabled { opacity: .45; cursor: default; }
.item button.cant { background: #b8a98a; }
.boats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.boatcard { background: #fff; border: 2px solid #e6d7b8; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.boatcard.sel { border-color: var(--vest); box-shadow: 0 0 0 3px rgba(255,107,44,.3); }
.boatcard img { width: 100%; height: 92px; object-fit: contain; }
.boatcard h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 18px; }
.boatcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; font-size: 14px; }
.boatcard dt { color: #6b7b8b; }
.boatcard dd { margin: 0; font-weight: 700; }
.boatcard button { padding: 8px; border-radius: 8px; background: var(--navy); color: var(--paper); font-weight: 700; }
.boatcard button:disabled { opacity: .5; cursor: default; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fishcard { border-radius: 10px; overflow: hidden; background: var(--navy); color: var(--paper); }
.fishcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fishcard.unk img { filter: brightness(0) opacity(.45); }
.fishcard div { padding: 5px 8px 7px; font-size: 14px; line-height: 1.2; }
.fishcard b { display: block; font-size: 15px; }
.board { width: 100%; border-collapse: collapse; font-size: 16px; }
.board th { text-align: left; font-size: 14px; color: #6b7b8b; padding: 4px 6px; }
.board td { padding: 6px; border-top: 1px solid #e6d7b8; }
.board td.lb { font-family: var(--display); }
.board tr.me td { background: #fff2c4; }

/* ---------- weigh-in board ---------- */
#weigh { position: fixed; right: 4vw; top: 50%; transform: translateY(-50%); z-index: 26; }
.wboard { width: min(380px, 92vw); background: var(--paper); color: var(--navy); border-radius: 6px; padding: 16px 18px; box-shadow: 0 14px 0 rgba(0,0,0,.25), 0 20px 50px rgba(0,0,0,.45); border-top: 14px solid var(--navy); position: relative; }
.wboard::before, .wboard::after { content: ''; position: absolute; top: -26px; width: 12px; height: 12px; border-radius: 50%; background: #9aa7b3; border: 2px solid var(--navy); }
.wboard::before { left: 18px; } .wboard::after { right: 18px; }
.wtitle { font-weight: 700; color: #6b7b8b; }
.wsp { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.wnum { font-family: var(--display); font-size: 72px; line-height: 1; color: var(--vest-2); font-variant-numeric: tabular-nums; }
.wnum small { font-size: 28px; margin-left: 6px; color: var(--navy); }
.wlines { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 3px; }
.wlines li { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; border-bottom: 1px dashed #d7c7a6; padding-bottom: 2px; }
.wlines li b { font-weight: 800; }
.wpay { font-family: var(--display); font-size: 30px; color: #1f8a5a; min-height: 36px; }
.wbtns { display: flex; gap: 10px; margin-top: 10px; }
.wbtns button { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: var(--paper); font-weight: 700; }
.wbtns button img { width: 28px; }
.wbtns .primary { margin-left: auto; font-size: 18px; }

/* ---------- menu ---------- */
.menu-card { width: min(380px, 100%); background: var(--navy); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 3px solid rgba(246,234,210,.2); }
.menu-card h2 { margin: 0; font-family: var(--display); font-weight: 400; }
.menu-card button { padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.1); font-weight: 700; text-align: left; }
.menu-card button small { color: var(--mist); font-weight: 600; }
.menu-card .primary { text-align: center; }
.tog { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tog input { width: 20px; height: 20px; accent-color: var(--vest); }
.fine { margin: 4px 0 0; font-size: 13px; color: var(--mist); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  #title { flex-direction: column; justify-content: flex-start; padding: calc(16px + var(--safe-t)) 18px 18px; background: linear-gradient(180deg, rgba(10,28,46,.85) 0%, rgba(10,28,46,.55) 65%, rgba(10,28,46,.2) 100%); overflow-y: auto; }
  .title-col { gap: 12px; }
  .tagline { font-size: 18px; }
  .sign b { font-size: 21px; }
  .title-crew { display: none; }
  .compass { width: 180px; height: 34px; }
  .compass .tape span { top: 17px; font-size: 13px; }
  .prompts { top: calc(112px + var(--safe-t)); width: 70vw; }
  .prompts div { font-size: 15px; padding: 5px 10px; }
  .crewlist { display: none; }
  .trip-zones { grid-template-columns: repeat(2, 1fr); }
  .dock-logo { height: 40px; }
  .dock-cash { font-size: 22px; }
  .cast-off { font-size: 17px; padding: 10px 16px; }
  #weigh { right: auto; left: 50%; top: auto; bottom: calc(14px + var(--safe-b)); transform: translateX(-50%); }
  .wnum { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .prompts .alert { animation: none; }
  .tb.lit { animation: none; }
}
