/* Next Stop NSW — the community pages (/vote, /help, /scout, /survey, /unsubscribe). Same look as the landing page:
   ink, the departure board, the yellow tactile edge. AA contrast on every pairing; works from 320 px. */
@font-face{font-family:"Display";src:url(/fonts/barlow-condensed-800.woff2) format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Board";src:url(/fonts/martian-mono-500.woff2) format("woff2");font-weight:100 800;font-display:swap}
:root{color-scheme:dark;--ink:#0b0c0e;--board:#141518;--board-edge:#26282d;--line:#3a3c42;--text:#f4f1e8;--muted:#b3b0a6;--dim:#8e8b83;
  --yellow:#ffd200;--yellow-deep:#e6bb00;--err:#ff8a7a;--ok:#8fd694;--gutter:clamp(16px,5vw,40px)}
*{box-sizing:border-box;margin:0}
body{background:var(--ink);color:var(--text);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.sr{position:absolute;width:1px;max-width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}
a{color:var(--yellow)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,label.btn:focus-visible{outline:3px solid var(--text);outline-offset:2px}
main{max-width:40rem;margin:0 auto;padding:calc(env(safe-area-inset-top) + 20px) var(--gutter) calc(env(safe-area-inset-bottom) + 40px);display:flex;flex-direction:column;gap:18px}
.board{background:var(--board);border:1px solid var(--board-edge);border-radius:6px;padding:12px 14px 14px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.board-top{display:flex;align-items:center;gap:10px;font:500 11px/1 "Board",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--yellow);margin-bottom:10px}
.board-top a{color:inherit;text-decoration:none}
.board-top .dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);flex:none}
.board-top .sep{flex:1;height:1px;background:var(--board-edge)}
h1{font:800 clamp(34px,10vw,52px)/.95 "Display",Impact,"Arial Narrow",sans-serif;text-transform:uppercase;letter-spacing:.005em;text-wrap:balance}
h1 em{font-style:normal;color:var(--yellow)}
.status{font:500 12px/1.4 "Board",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:10px}
.edge{height:12px;border-radius:2px;background:radial-gradient(circle,rgba(0,0,0,.28) 1.6px,transparent 2.2px) 0 0/9px 9px,var(--yellow)}
.lede{color:var(--text)}
.note{font-size:14px;color:var(--muted)}
.card{background:var(--board);border:1px solid var(--board-edge);border-radius:6px;padding:16px}
.card>*+*{margin-top:10px}
h2{font:800 24px/1.05 "Display",Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em}
h3{font:500 12px/1.3 "Board",ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--yellow);margin-top:16px}
.kicker{font:500 11px/1.3 "Board",ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
label{display:block}
input[type=text],input[type=search],input[type=number],textarea{width:100%;min-height:48px;padding:10px 14px;border-radius:6px;border:1.5px solid var(--line);
  background:var(--ink);color:var(--text);font:500 16px/1.3 system-ui,-apple-system,sans-serif;outline:none}
textarea{min-height:96px;resize:vertical}
input:focus-visible,textarea:focus-visible{border-color:var(--yellow);outline:none}
input::placeholder,textarea::placeholder{color:var(--dim)}
.btn{min-height:52px;padding:0 20px;border:0;border-radius:6px;background:var(--yellow);color:#0b0c0e;cursor:pointer;text-decoration:none;
  font:800 21px/1 "Display",Impact,sans-serif;text-transform:uppercase;letter-spacing:.04em;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.btn:hover{background:var(--yellow-deep)}
.btn[disabled]{opacity:.6;cursor:not-allowed}
.btn.ghost{background:transparent;color:var(--text);border:1.5px solid var(--line)}
.btn.ghost:hover{border-color:var(--yellow)}
.btn.block{width:100%}
.row{display:flex;gap:8px;align-items:stretch}
.row>input{flex:1;min-width:0}
.msg{min-height:1.4em;font-size:14px;color:var(--err)}
.msg.ok{color:var(--ok)}
.msg:empty{min-height:0}
.check{display:flex;gap:12px;align-items:flex-start;padding:10px 0;cursor:pointer}
.check input{width:22px;height:22px;margin-top:1px;flex:none;accent-color:var(--yellow)}
.check b{display:block;font-weight:600}
.check span{color:var(--muted);font-size:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1.5px solid var(--line);border-radius:6px;cursor:pointer;font-size:15px}
.chips input{accent-color:var(--yellow);width:18px;height:18px}
.chips label:has(input:checked){border-color:var(--yellow)}
.chips label:has(input:focus-visible){outline:3px solid var(--text);outline-offset:2px}
fieldset{border:0;padding:0;min-width:0}
legend{padding:0}
/* leaderboards */
.lb{list-style:none;padding:0;display:grid;gap:6px}
.lb li{position:relative;display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:4px;background:#1c1d21;overflow:hidden}
.lb li i{position:absolute;inset:0 auto 0 0;background:rgba(255,210,0,.14);pointer-events:none}
.lb li span,.lb li b{position:relative}
.lb li b{font:500 13px/1.5 "Board",ui-monospace,monospace;color:var(--yellow);white-space:nowrap}
.lb li small{display:block;color:var(--muted);font-size:13px}
.empty{color:var(--muted);font-size:14px}
/* roadmap ballot */
.rm{list-style:none;padding:0;display:grid;gap:6px}
.rm li{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 12px;border-radius:4px;background:#1c1d21}
.rm .t{flex:1;min-width:0}
.rm .t small{display:block;color:var(--muted);font:500 12px/1.4 "Board",ui-monospace,monospace}
.rm .badge{font:500 11px/1 "Board",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#0b0c0e;background:var(--yellow);padding:4px 6px;border-radius:3px;margin-left:6px;vertical-align:2px}
.step{display:flex;align-items:center;gap:4px;flex:none}
.step button{width:44px;height:44px;border-radius:6px;border:1.5px solid var(--line);background:transparent;color:var(--text);font:700 20px/1 system-ui,sans-serif;cursor:pointer}
.step button:hover:not([disabled]){border-color:var(--yellow)}
.step button[disabled]{opacity:.35;cursor:not-allowed}
.step output{min-width:1.4em;text-align:center;font:500 15px/1 "Board",ui-monospace,monospace;color:var(--yellow)}
.left{font:500 13px/1.4 "Board",ui-monospace,monospace;color:var(--muted)}
.asked{list-style:none;padding:0;display:grid;gap:12px}
.asked li{color:var(--muted)}
.asked li b{color:var(--text);font-weight:600}
.asked time{display:block;font:500 11px/1.4 "Board",ui-monospace,monospace;letter-spacing:.08em;color:var(--dim)}
details summary{cursor:pointer;color:var(--muted);font-size:14px;padding:8px 0}
.builtlist{columns:2 9rem;font-size:14px;color:var(--muted);list-style:none;padding:0}
.builtlist li{break-inside:avoid;padding:2px 0}
.builtlist small{color:var(--yellow)}
.safety{border-left:6px solid var(--yellow);background:#1c1d21;padding:12px 14px;border-radius:4px}
.safety b{color:var(--yellow)}
.list{padding-left:1.2em;color:var(--muted)}
.list li{padding:2px 0}
.list li b{color:var(--text);font-weight:600}
footer{font-size:12px;color:var(--dim)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* the Spotter + Station Scout checklists (media.js), 2026-10-03: phone first, 44px+ targets, works from 320 px */
.privacy{border-color:var(--line)}
.privacy p{color:var(--text);font-size:15px}
.checks{list-style:none;padding:0;display:grid;gap:12px}
.checks li{display:grid;grid-template-columns:28px 1fr;gap:4px 8px;align-items:start}
.checks .ck{font-size:20px;line-height:1.3}
.checks .ckt{font-size:14px;color:var(--muted)}
.checks .btn,.checks audio,.checks .meter{grid-column:2}
.checks .btn{min-height:44px;font-size:18px;justify-self:start}
.meter{height:12px;border-radius:3px;background:#1c1d21;border:1px solid var(--line);overflow:hidden}
.meter i{display:block;height:100%;width:0;background:var(--ok)}
audio,video{width:100%;max-width:100%}
.tipbox{border-left:6px solid var(--err);background:#1c1d21;padding:10px 12px;border-radius:4px;font-size:14px}
progress{width:100%;height:14px;border-radius:3px;border:1px solid var(--line);background:#1c1d21;accent-color:var(--yellow);-webkit-appearance:none;appearance:none}
progress::-webkit-progress-bar{background:#1c1d21;border-radius:3px}
progress::-webkit-progress-value{background:var(--yellow);border-radius:3px}
progress::-moz-progress-bar{background:var(--yellow)}
#sections{display:grid;gap:12px}
.sec{background:var(--board);border:1px solid var(--board-edge);border-radius:6px}
.sec>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 14px;cursor:pointer;color:var(--text);list-style:none}
.sec>summary::-webkit-details-marker{display:none}
.sec>summary::after{content:"+";margin-left:auto;font:700 22px/1 system-ui,sans-serif;color:var(--yellow)}
.sec[open]>summary::after{content:"−"}
.sec .ic{font-size:20px}
.sec-t{font:800 22px/1 "Display",Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em}
.sec-n{font:500 12px/1.3 "Board",ui-monospace,monospace;color:var(--muted);white-space:nowrap}
.slots{list-style:none;padding:0 10px 10px;display:grid;gap:10px}
.slot{background:#1c1d21;border:1.5px solid var(--line);border-radius:6px;padding:12px;display:grid;gap:10px;min-width:0}
.slot.got{border-color:#3d5c40}
.slot-h{display:flex;gap:10px;align-items:flex-start}
.slot-h .st{font-size:20px;line-height:1.25;flex:none}
.slot-t{min-width:0}
.slot-t b{display:block;font-weight:600}
.slot-t small{display:block;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.slot-t .state{color:var(--dim);font:500 12px/1.5 "Board",ui-monospace,monospace;margin-top:2px}
.slot.got .slot-t .state{color:var(--ok)}
.hint{font-size:13px;color:var(--muted);border-left:3px solid var(--yellow);padding-left:8px}
.acts{display:flex;flex-wrap:wrap;gap:8px}
.acts .btn{flex:1 1 9rem;min-height:48px;font-size:19px}
.stage:empty{display:none}
.staged{display:grid;gap:8px}
.staged .item{display:grid;gap:6px;padding:8px;border:1px dashed var(--line);border-radius:6px}
.staged img{max-width:100%;max-height:220px;object-fit:contain;border-radius:4px;justify-self:start}
.staged .meta{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.nopv{font-size:14px;color:var(--muted)}
.also summary{min-height:44px;display:flex;align-items:center}
.also-g{display:grid;gap:0;max-height:16rem;overflow:auto;padding-right:4px}
.also-g .check{padding:6px 0;min-height:44px;align-items:center}
.also-g .check span{color:var(--text);font-size:14px}
.staged .row{flex-wrap:wrap}
.staged .row .btn{flex:1 1 7rem}
.rec{display:grid;gap:10px}
.rec-big{font:800 26px/1.1 "Display",Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em;color:var(--text);padding:12px;border-radius:6px;background:var(--ink);text-align:center}
.rec-big.count{color:var(--yellow);font-size:34px}
.rec-big.on{background:#3a0d0d;color:#ffd7d2;border:2px solid #ff5a47}
.btn.stop{background:#ff5a47;color:#0b0c0e}
.btn.stop:hover{background:#ff7a6a}
.mine{list-style:none;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}   /* (a definite column, so the rows' % widths resolve in every browser) */
.mine li{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;border-radius:4px;background:#1c1d21}
.mine .t{flex:1 1 12rem;min-width:0;overflow-wrap:anywhere}   /* (2026-10-18, Josh's #50) a real basis: Delete wraps under it before the text squeezes */
.mine .t b{font-weight:600}
.mine .t small{display:block;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.mine .btn{min-height:44px;font-size:17px;padding:0 12px;flex:none}
select{width:100%;min-height:48px;padding:10px 14px;border-radius:6px;border:1.5px solid var(--line);background:var(--ink);color:var(--text);font:500 16px/1.3 system-ui,-apple-system,sans-serif}
select:focus-visible{border-color:var(--yellow);outline:3px solid var(--text);outline-offset:2px}
.spotlist{list-style:none;padding:0;display:grid;gap:6px;font-size:14px;color:var(--muted)}
.spotlist b{color:var(--text);font-weight:600}
/* the one-tap answer page (/t/<token>/<tag>/thanks): long labels wrap inside a full-width button */
.btn.tall{height:auto;padding:12px 18px;line-height:1.15;text-align:center;font-size:19px}
.card>.btn+.btn{margin-top:8px}

/* member menu under the board header: crew room · vote · scout · spotter */
.member-nav{display:flex;flex-wrap:wrap;gap:4px 16px;margin:-2px 0 10px;font:500 11px/1.6 "Board",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase}
.member-nav a{color:var(--muted,#b3b0a6);text-decoration:none;padding:6px 0;border-bottom:1px solid transparent}
.member-nav a:hover,.member-nav a:focus-visible{color:var(--yellow)}
.member-nav a[aria-current="page"]{color:var(--yellow);border-bottom-color:var(--yellow)}

/* fieldset titles inside the card, not on its border */
fieldset.card>legend{float:left;width:100%;padding:0;margin:0 0 10px}fieldset.card>legend+*{clear:both}

/* the help form: its cards need the same gap as the page sections */
body[data-for="help"] #form{display:flex;flex-direction:column;gap:18px}

/* tick-box rows: white title, soft description */
.check{gap:14px;padding:12px 0}
.check input{width:24px;height:24px;margin-top:1px}
.check>span{font-size:15px;line-height:1.45;color:var(--muted,#b3b0a6)}
.check b{display:block;font-size:17px;line-height:1.3;font-weight:600;color:var(--text,#f4f1e8);margin-bottom:2px}


/* cards inside a wrapper keep the page rhythm */
:not(main):not(#form)>.card+.card{margin-top:18px}
#page:not([hidden]){display:flex;flex-direction:column;gap:18px}main #page>.card+.card{margin-top:0}#list:not([hidden]){display:grid;gap:18px}
.wanted{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:8px}.wanted li{display:grid;gap:6px;padding:12px;border:1px solid var(--board-edge,#26282d);border-radius:6px;background:#17181b}.wanted li b{font-size:16px}.wanted li span{font-size:14px;color:var(--muted,#b3b0a6)}.wanted li .btn{justify-self:start;min-height:40px}.wanted li.done{opacity:.6}
.more{margin-top:12px;display:grid;gap:6px}.chiplist{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.chiplist li{display:flex;align-items:center;gap:6px;padding:4px 4px 4px 10px;border:1px solid var(--board-edge,#26282d);border-radius:6px;background:#1c1d21}.chiplist .chipx{min-width:36px;min-height:36px;border:0;background:none;color:var(--muted,#b3b0a6);font-size:20px;cursor:pointer}.more .row{display:flex;gap:8px}.more .row>input,.more .row>select{flex:1;min-width:0}
.tpick{display:grid;gap:6px;margin-top:10px}

/* crew-room "Something not working?" (diag.js, 2026-10-13): opens smoothly, nothing pops in */
.diagbox { margin-top: 18px; }
.diagbox .diagpanel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .25s ease; }
.diagbox.on .diagpanel { max-height: 720px; opacity: 1; margin-top: 12px; }
.diagbox textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; border-radius: 6px; margin: 6px 0 12px; }
.diagbox input[type=file] { display: block; margin: 6px 0 14px; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { .diagbox .diagpanel { transition: none; } }

/* replies under your uploads (media.js, 2026-10-13) */
.thread { flex: 0 0 100%; box-sizing: border-box; min-width: 0; margin: 8px 0 2px; padding: 8px; border-radius: 6px; background: rgba(0,0,0,.04); }   /* (2026-10-18, Josh's #50: Jesse's reply used to shrink in beside the upload and squeeze its details into a one-letter column; now it always takes its own full-width row) */
.thread .tmsg { margin: 6px 0; color: var(--text); overflow-wrap: anywhere; }
.thread .tmsg b { color: var(--yellow, #ffd200); }
.thread .tmsg small { color: var(--muted, #b3b0a6); margin-left: 4px; }
.thread .tmsg.new { font-weight: 600; }
.thread textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border-radius: 6px; margin: 6px 0; }

/* ── DESKTOP (2026-10-13, Jesse: "a desktop based interface and the mobile based interface") ─────────────────────────────
   Phones keep the single column above. From 1000 px wide: the crew room goes two-column (cards side by side, the header,
   intro, preferences form and footer full width); the inbox / spotter / scout pages get roomier; review is its own layout. */
@media (min-width: 1000px) {
  main { max-width: 56rem; }
  main:has(#crewCard) { max-width: 76rem; display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 22px; row-gap: 18px; }
  main:has(#crewCard) > .board, main:has(#crewCard) > .lede, main:has(#crewCard) > #join, main:has(#crewCard) > #form,
  main:has(#crewCard) > .edge, main:has(#crewCard) > footer, main:has(#crewCard) > #steps { grid-column: 1 / -1; }
  main:has(#crewCard) > .card { margin: 0; box-sizing: border-box; }
  main:has(#crewCard) > #diagBox, main:has(#crewCard) > #reviewCard { grid-column: 1 / -1; }   /* (your Review strip runs full width above the pair) */
  /* top row: Inbox + Crew Card the same height, the Inbox's button at the bottom so the pair reads as one row */
  /* the new-message banner and the Crew Card each run full width (the envelope at the top right is the everyday way in) */
  main:has(#crewCard) > #inboxCard, main:has(#crewCard) > #crewCard { grid-column: 1 / -1; }
  main:has(#crewCard) > #inboxCard { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  main:has(#crewCard) > #inboxCard > h2 { margin: 0; } main:has(#crewCard) > #inboxCard > p { margin: 0; flex: 1 1 20rem; }
  /* the short Ko-fi card stays in view beside the long wanted list */
  main:has(#crewCard) > #kofiCard { position: sticky; top: 18px; }
  main:has(#crewCard) > .card[hidden] { display: none; }
  .member-nav a { font-size: 15px; }
}
/* (2026-10-14) What's covered board (board.html): Stations / Trains tabs + done / wanted tags */
.cvtabs{display:flex;gap:8px;margin:0 0 12px}.cvtabs .btn{flex:1 1 0}.cvtabs .btn.on{background:var(--yellow);color:#0b0c0e;border-color:var(--yellow)}
.covtag{font:500 11px/1 "Board",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:#0b0c0e;background:#7bd389;padding:4px 6px;border-radius:3px;margin-left:8px;vertical-align:2px}.covtag.want{background:var(--yellow)}
.covtag.game{background:#9cc3ff}
.covmap{padding:8px}.covmap canvas{display:block;width:100%;height:68vh;max-height:720px;touch-action:none;background:#111215;border-radius:4px}
.covlegend{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;font-size:13px;color:var(--muted,#b3b0a6);margin:8px 2px 0}
.covlegend .k{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;vertical-align:-1px}
.covlegend .k.done{background:#7bd389}.covlegend .k.active{background:#f2c200}.covlegend .k.built{background:#9cc3ff}.covlegend .k.none{background:#5a5d64}
.wanted li .covtag{color:#0b0c0e;font-size:11px}
/* (2026-10-14, the sweep after Josh's #50) text people type must wrap, never push a row off the screen */
.lb li span{min-width:0;overflow-wrap:anywhere}.rm .t{overflow-wrap:anywhere}.chiplist li{min-width:0;overflow-wrap:anywhere}
