/* ==========================================================================
   Bigger Boat social UI: accounts, crews, boards, lobby, coach marks, PWA.
   Owner: social-ui. Uses the tokens from style.css (:root). Prefix: bbs-
   ========================================================================== */
:root {
  --bbs-line: #e6d7b8;
  --bbs-line-2: #d8c8a6;
  --bbs-muted: #5b6b7b;
  --bbs-ok: #1f8a5a;
  --bbs-gold: #f2b705;
  --bbs-silver: #b9c3cc;
  --bbs-bronze: #c7783e;
  --bbs-card: #fffaf0;
  --bbs-r: 14px;
}

/* ---------- title additions ---------- */
#title .board-link { display: none; } /* replaced by the Boards button */
.bbs-acct { position: absolute; top: calc(22px + var(--safe-t)); right: 28px; z-index: 2; }
.bbs-acct-btn, .bbs-acct-chip { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 8px; border-radius: 26px; background: var(--hud); border: 2px solid rgba(246,234,210,.28); color: var(--paper); box-shadow: 0 4px 0 rgba(0,0,0,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .12s, border-color .12s; }
.bbs-acct-btn:hover, .bbs-acct-chip:hover { transform: translateY(-1px); border-color: rgba(246,234,210,.55); }
.bbs-acct-btn svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--paper); fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.bbs-acct-btn span { font-weight: 600; font-size: 16px; }
.bbs-acct-btn b { font-weight: 800; color: var(--sun); }
.bbs-acct-chip .who { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.bbs-acct-chip .who b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.bbs-acct-chip .who small { font-weight: 700; font-size: 13px; color: var(--sun); }
.bbs-acct-chip .bbs-flag.mini { width: 42px; height: 28px; }
.bbs-acct-chip .chev, .bbs-row-btn .chev, .bbs-roster .chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .6; flex: none; }
.bbs-av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--glass); color: var(--ink); font-family: var(--display); font-style: normal; font-size: 16px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.bbs-av.big { width: 64px; height: 64px; font-size: 30px; background: var(--vest); }
.bbs-av.on { box-shadow: 0 0 0 3px var(--bbs-ok); }
.bbs-av.ready { background: var(--sun); }
.bbs-av.ghost { background: rgba(16,42,67,.12); color: var(--bbs-muted); font-family: var(--body); font-weight: 800; font-size: 12px; }
#nameIn.bbs-locked { opacity: .85; border-style: dashed; cursor: default; }

.bbs-dock { display: flex; gap: 10px; margin-top: 2px; flex-wrap: wrap; }
.bbs-dock button { position: relative; flex: 0 0 auto; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 50px; padding: 6px 16px 6px 10px; border-radius: 12px; background: var(--hud); border: 2px solid rgba(246,234,210,.22); color: var(--paper); box-shadow: 0 4px 0 rgba(0,0,0,.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .12s, border-color .12s; }
.bbs-dock button:hover { transform: translateY(-2px); border-color: rgba(246,234,210,.5); }
.bbs-dock button:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.bbs-dock .ic { height: 34px; display: grid; place-items: center; flex: none; }
.bbs-dock .ic img { height: 34px; width: 40px; object-fit: contain; filter: drop-shadow(0 2px 0 rgba(0,0,0,.3)); }
.bbs-dock .ic .bbs-flag { width: 46px; height: 31px; }
.bbs-dock .ic svg:not(.bbs-flag) { width: 32px; height: 32px; fill: none; stroke: var(--sun); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bbs-dock b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.bbs-dock .install { border-color: rgba(255,210,63,.55); }
.bbs-dock .badge { position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--vest); color: var(--ink); font: 800 13px/24px var(--body); font-style: normal; box-shadow: 0 2px 0 rgba(0,0,0,.3); }

/* ---------- sheet ---------- */
.bbs-scrim { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6,18,30,.58); opacity: 0; pointer-events: none; transition: opacity .2s; }
.bbs-scrim.show { opacity: 1; pointer-events: auto; }
.bbs-sheet { position: relative; width: min(520px, 100%); max-height: min(860px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: var(--navy); border-radius: 20px; border: 3px solid rgba(246,234,210,.22); box-shadow: 0 24px 70px rgba(0,0,0,.55); overflow: hidden; transform: translateY(18px) scale(.98); transition: transform .26s cubic-bezier(.2,1.2,.4,1); }
.bbs-sheet.wide { width: min(720px, 100%); }
.bbs-scrim.show .bbs-sheet { transform: none; }
.bbs-grab { display: none; }
.bbs-head { display: flex; align-items: center; gap: 6px; padding: 12px 10px 12px 18px; min-height: 64px; color: var(--paper); flex: none; background: linear-gradient(180deg, #17375a 0%, var(--navy) 100%); border-bottom: 3px solid var(--vest); }
.bbs-titles { flex: 1; min-width: 0; }
.bbs-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-sub { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--mist); line-height: 1.25; }
.bbs-sub:empty { display: none; }
.bbs-back, .bbs-x { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.bbs-back:hover, .bbs-x:hover { background: rgba(255,255,255,.16); }
.bbs-back svg, .bbs-x svg { width: 22px; height: 22px; fill: none; stroke: var(--paper); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.bbs-back { margin-left: -8px; }
.bbs-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--navy); padding: 16px 18px calc(20px + var(--safe-b)); display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.bbs-body > * { flex: none; }
body.bbs-open #touch { visibility: hidden; }

/* ---------- typography + basics inside sheets ---------- */
.bbs-h { margin: 6px 0 -4px; font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--navy); display: flex; align-items: baseline; gap: 8px; }
.bbs-h .count { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--bbs-muted); }
.bbs-fine { margin: 0; font-size: 14px; line-height: 1.35; color: var(--bbs-muted); }
.bbs-err { margin: 0; min-height: 0; color: var(--red); font-weight: 700; font-size: 15px; }
.bbs-err:empty { display: none; }
.bbs-loading { padding: 30px 0; text-align: center; font-weight: 700; color: var(--bbs-muted); }
.bbs-skel { height: 70px; border-radius: var(--bbs-r); background: linear-gradient(90deg, #efe2c6 0%, #f8eedb 50%, #efe2c6 100%); background-size: 200% 100%; animation: bbs-shim 1.2s linear infinite; }
.bbs-skel.tall { height: 120px; }
@keyframes bbs-shim { to { background-position: -200% 0; } }
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: rgba(16,42,67,.12); font-weight: 800; font-size: 13px; }
.badge.gold, .gold { color: #8a5a00; }
.badge.gold { background: #ffe9a6; }

/* ---------- buttons ---------- */
.bbs-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--navy); color: var(--paper); font-weight: 800; font-size: 17px; box-shadow: 0 4px 0 rgba(0,0,0,.28); transition: transform .08s, box-shadow .08s, filter .12s; white-space: nowrap; }
.bbs-btn:hover:not(:disabled) { filter: brightness(1.08); }
.bbs-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.28); }
.bbs-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.bbs-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bbs-btn img { width: 30px; height: 30px; object-fit: contain; margin: -4px 0; }
.bbs-btn.primary { background: var(--vest); color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 18px; box-shadow: 0 5px 0 var(--vest-2), 0 8px 16px rgba(226,84,26,.25); }
.bbs-btn.primary:active:not(:disabled) { box-shadow: 0 1px 0 var(--vest-2); }
.bbs-btn.big { width: 100%; min-height: 56px; font-size: 19px; }
.bbs-btn.sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.bbs-btn.sm.primary { font-size: 14px; }
.bbs-btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px rgba(16,42,67,.22); }
.bbs-btn.danger { background: var(--red); color: #fff; box-shadow: 0 4px 0 #a52626; }
.bbs-btn.danger-ghost { background: transparent; color: #b52a2a; box-shadow: inset 0 0 0 2px rgba(226,61,61,.35); }
.bbs-btn.done { box-shadow: inset 0 0 0 2px var(--bbs-ok); color: var(--bbs-ok); background: #e7f6ee; }
.bbs-btn.busy { color: transparent !important; pointer-events: none; }
.bbs-btn.busy::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-color: var(--paper) var(--paper) transparent transparent; animation: bbs-spin .7s linear infinite; }
.bbs-btn.primary.busy::after { border-color: var(--ink) var(--ink) transparent transparent; }
.bbs-btn.ghost.busy::after, .bbs-btn.danger-ghost.busy::after { border-color: var(--navy) var(--navy) transparent transparent; }
@keyframes bbs-spin { to { transform: rotate(360deg); } }
.bbs-link { align-self: center; padding: 10px; color: #1b5e9a; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.bbs-link.sm { font-size: 14px; padding: 6px; color: var(--bbs-muted); }
.bbs-row { display: flex; gap: 10px; align-items: center; }
.bbs-row > .bbs-btn { flex: 1; }
.bbs-row.end { justify-content: flex-end; }
.bbs-row.end > .bbs-btn { flex: none; }
.bbs-row.split > * { flex: 1; }
.bbs-row-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; border-radius: var(--bbs-r); background: #fff; border: 2px solid var(--bbs-line); color: var(--navy); text-align: left; transition: border-color .12s, transform .08s; }
.bbs-row-btn:hover:not(:disabled) { border-color: var(--navy); }
.bbs-row-btn:active:not(:disabled) { transform: scale(.99); }
.bbs-row-btn:disabled { opacity: .5; cursor: default; }
.bbs-row-btn img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.bbs-row-btn .bbs-flag.mini { width: 48px; height: 32px; flex: none; }
.bbs-row-btn span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bbs-row-btn b { font-size: 17px; }
.bbs-row-btn b em { font-style: normal; color: var(--bbs-muted); }
.bbs-row-btn small { color: var(--bbs-muted); font-weight: 600; font-size: 14px; }
.bbs-row-btn.danger b { color: #b52a2a; }
.bbs-actions { display: flex; flex-direction: column; gap: 8px; }

/* ---------- segmented tabs + chips ---------- */
.bbs-seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #e8dcc2; position: sticky; top: -16px; z-index: 2; margin-top: -2px; box-shadow: 0 0 0 6px var(--paper); }
.bbs-seg button { flex: 1; min-height: 44px; border-radius: 11px; font-weight: 800; font-size: 16px; color: var(--bbs-muted); display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; transition: background .15s, color .15s; }
.bbs-seg button.on { background: var(--navy); color: var(--paper); box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.bbs-seg button i { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--vest); color: var(--ink); font-size: 13px; line-height: 22px; }
.bbs-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
.bbs-chips::-webkit-scrollbar { display: none; }
.bbs-chips button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 20px; font-weight: 700; font-size: 15px; color: var(--navy); background: #fff; border: 2px solid var(--bbs-line-2); white-space: nowrap; }
.bbs-chips button.on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.bbs-chips button:disabled { opacity: .4; }
.bbs-chips.sm button { min-height: 34px; font-size: 14px; padding: 0 12px; }
.bbs-chips.quick { margin: 0; padding: 0; }
.bbs-chips.quick button { flex: 1; min-width: 56px; padding: 0 8px; }

/* ---------- forms ---------- */
.bbs-form { display: flex; flex-direction: column; gap: 12px; }
.bbs-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.bbs-field > span { font-weight: 800; font-size: 15px; color: var(--navy); }
.bbs-field > span small { font-weight: 600; color: var(--bbs-muted); }
.bbs-in { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 2px solid var(--bbs-line-2); color: var(--navy); font-size: 18px; font-weight: 700; outline: none; transition: border-color .12s, box-shadow .12s; -webkit-appearance: none; appearance: none; }
.bbs-in::placeholder { color: #a9a08c; font-weight: 600; }
.bbs-in:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255,210,63,.55); }
.bbs-in.code { font-family: var(--display); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.bbs-avail { position: absolute; right: 12px; top: 40px; font-style: normal; font-weight: 800; font-size: 14px; color: var(--bbs-muted); pointer-events: none; }
.bbs-avail.ok { color: var(--bbs-ok); }
.bbs-avail.bad { color: var(--red); }
.bbs-pw { position: relative; }
.bbs-pw .bbs-in { padding-right: 56px; }
.bbs-eye { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }
.bbs-eye svg { width: 24px; height: 24px; fill: none; stroke: var(--bbs-muted); stroke-width: 2; stroke-linecap: round; }
.bbs-eye.on svg { stroke: var(--navy); }
.bbs-eye .slash { opacity: 0; }
.bbs-eye.on .slash { opacity: 1; }
.bbs-rules { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 700; color: var(--bbs-muted); }
.bbs-rules li { display: flex; align-items: center; gap: 6px; transition: color .15s; }
.bbs-rules li i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b7aa8e; flex: none; position: relative; transition: background .15s, border-color .15s; }
.bbs-rules li.ok { color: var(--bbs-ok); }
.bbs-rules li.ok i { background: var(--bbs-ok); border-color: var(--bbs-ok); }
.bbs-rules li.ok i::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bbs-rules li.bad { color: var(--red); }
.bbs-rules li.bad i { border-color: var(--red); background: var(--red); }
.bbs-rules li.bad i::after { content: '!'; position: absolute; inset: 0; color: #fff; font: 900 11px/12px var(--body); text-align: center; }
.bbs-note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(127,209,195,.22); font-size: 14px; font-weight: 600; line-height: 1.3; }
.bbs-note img { width: 30px; height: 30px; flex: none; }
.bbs-check { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 2px solid var(--bbs-line); font-weight: 700; cursor: pointer; }
.bbs-check input { width: 26px; height: 26px; accent-color: var(--vest); flex: none; }
.bbs-two { display: flex; gap: 10px; }
.bbs-two > :first-child { flex: 1; }
.bbs-two .tag { width: 108px; flex: none; }
.bbs-fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bbs-fs legend { padding: 0; margin-bottom: 8px; font-weight: 800; font-size: 15px; }
.bbs-search { position: relative; }
.bbs-search svg { position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; fill: none; stroke: var(--bbs-muted); stroke-width: 2.4; stroke-linecap: round; }
.bbs-search .bbs-in { padding-left: 46px; }

/* ---------- demo quick login ---------- */
.bbs-demo { margin-top: 4px; padding: 12px; border-radius: var(--bbs-r); border: 2px dashed #c9b88f; background: rgba(255,210,63,.12); }
.bbs-demo h4 { margin: 0 0 10px; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.bbs-demo h4 span { padding: 2px 8px; border-radius: 6px; background: var(--navy); color: var(--sun); font-family: var(--display); font-weight: 400; font-size: 12px; }
.bbs-demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bbs-chipbtn { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 10px; min-height: 52px; border-radius: 10px; background: #fff; border: 2px solid var(--bbs-line-2); text-align: left; }
.bbs-chipbtn b { font-size: 15px; }
.bbs-chipbtn small { font-size: 12px; font-weight: 700; color: var(--bbs-muted); }
.bbs-chipbtn:hover { border-color: var(--navy); }
.bbs-chipbtn.busy { opacity: .5; }

/* ---------- recovery code ---------- */
.bbs-code-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; border-radius: 16px; background: #fff; border: 3px solid var(--navy); box-shadow: 0 6px 0 rgba(16,42,67,.18); }
.bbs-code-card .ring { position: absolute; right: -10px; top: -18px; width: 58px; transform: rotate(14deg); filter: drop-shadow(0 4px 0 rgba(0,0,0,.2)); }
.bbs-code-card > p { margin: 0; padding-right: 36px; line-height: 1.35; font-weight: 600; }
.bbs-code { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 5px; padding: 12px 8px; border-radius: 12px; background: var(--navy); user-select: all; -webkit-user-select: all; container-type: inline-size; }
.bbs-code span { text-align: center; font-family: var(--display); font-size: clamp(15px, calc(80cqi / var(--n, 4) / 3.1), 27px); color: var(--sun); letter-spacing: .04em; padding: 6px 0; border-radius: 8px; background: rgba(255,255,255,.07); white-space: nowrap; }

/* ---------- founder ---------- */
.bbs-founder { display: flex; gap: 14px; align-items: stretch; }
.bbs-founder .medal { flex: none; width: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 16px; background: radial-gradient(circle at 50% 30%, #2a5a8a 0%, var(--navy) 75%); color: var(--sun); text-align: center; box-shadow: inset 0 0 0 3px var(--bbs-gold); }
.bbs-founder .medal img { width: 64px; }
.bbs-founder .medal b { font-family: var(--display); font-weight: 400; font-size: 14px; line-height: 1.1; }
.bbs-founder .calc { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bbs-founder .calc div { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; border-bottom: 1px dashed var(--bbs-line-2); padding-bottom: 4px; }
.bbs-founder .calc .tot { border: 0; margin-top: 4px; font-weight: 800; }
.bbs-founder .calc .tot b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--bbs-ok); }
.bbs-founder small { color: var(--bbs-muted); font-weight: 600; }
.bbs-bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; line-height: 1.35; }

/* ---------- account ---------- */
.bbs-profile { display: flex; gap: 14px; align-items: center; }
.bbs-profile h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.bbs-profile p { margin: 2px 0 0; font-weight: 600; color: var(--bbs-muted); }
.bbs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.bbs-stats div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-stats span { font-size: 13px; font-weight: 700; color: var(--bbs-muted); }
.bbs-stats b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.bbs-stats .txt b { font-family: var(--body); font-weight: 800; font-size: 17px; line-height: 1.2; }
.bbs-profile .badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.bbs-stats small { font-size: 12px; font-weight: 700; color: var(--bbs-muted); }

/* ---------- dialog + snack ---------- */
.bbs-dialog-scrim { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(6,18,30,.6); }
.bbs-dialog { width: min(420px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--paper); color: var(--navy); border-top: 8px solid var(--navy); box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: bbs-pop .22s cubic-bezier(.2,1.4,.4,1); }
.bbs-dialog.danger { border-top-color: var(--red); }
.bbs-dialog h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.15; }
.bbs-dialog p { margin: 0; line-height: 1.4; font-weight: 600; }
@keyframes bbs-pop { from { transform: scale(.92); opacity: 0; } }
.bbs-snack { position: fixed; left: 50%; bottom: calc(22px + var(--safe-b)); z-index: 60; max-width: min(460px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); border: 2px solid rgba(246,234,210,.18); transform: translate(-50%, 140%); opacity: 0; transition: transform .28s cubic-bezier(.2,1.3,.4,1), opacity .2s; pointer-events: none; }
.bbs-snack.show { transform: translate(-50%, 0); opacity: 1; }
.bbs-snack.good { border-color: var(--glass); }
.bbs-snack.bad { border-color: var(--red); }

/* ---------- empty states ---------- */
.bbs-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; text-align: center; border-radius: var(--bbs-r); background: rgba(16,42,67,.05); }
.bbs-empty img { width: 64px; height: 64px; object-fit: contain; opacity: .9; }
.bbs-empty b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.bbs-empty p { margin: 0; max-width: 34ch; color: var(--bbs-muted); font-weight: 600; line-height: 1.35; }
.bbs-empty .bbs-btn { margin-top: 8px; }

/* ---------- flags ---------- */
.bbs-flag { display: block; width: 60px; height: 40px; flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.22)); }
.bbs-flag.sm { width: 42px; height: 28px; }
.bbs-flag.mini { width: 36px; height: 24px; }
.bbs-flag.big { width: 150px; height: 100px; }
.bbs-flag.wave { animation: bbs-wave 3.2s ease-in-out infinite; transform-origin: 0 50%; }
@keyframes bbs-wave { 0%, 100% { transform: skewY(0) scaleX(1); } 30% { transform: skewY(-2.5deg) scaleX(.97); } 65% { transform: skewY(2deg) scaleX(.985); } }

/* ---------- crew cards / lists ---------- */
.bbs-list { display: flex; flex-direction: column; gap: 10px; }
.bbs-crewcard { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--bbs-r); background: #fff; border: 2px solid var(--bbs-line); cursor: pointer; transition: border-color .12s, transform .08s; }
.bbs-crewcard:hover { border-color: var(--navy); }
.bbs-crewcard.hm { border-color: var(--bbs-gold); box-shadow: 0 0 0 3px rgba(242,183,5,.2); }
.bbs-crewcard .info { flex: 1; min-width: 0; }
.bbs-crewcard h4 { margin: 0; font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-crewcard h4 em, .bbs-crewhero h3 em, .bbs-hm h3 em, .bbs-board em, .bbs-fishboard em { font-style: normal; color: var(--bbs-muted); font-family: var(--body); font-weight: 800; font-size: .8em; }
.bbs-crewcard p { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--bbs-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bbs-crewcard .motto { font-style: italic; color: #6b7b8b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pill { display: inline-block; padding: 0 8px; border-radius: 10px; background: var(--navy); color: var(--paper); font-weight: 800; font-size: 13px; line-height: 20px; }
.bbs-crewhero { display: flex; gap: 16px; align-items: center; padding: 14px; margin: -16px -18px 0; background: linear-gradient(180deg, #e9dcc0 0%, var(--paper) 100%); border-bottom: 2px solid var(--bbs-line); }
.bbs-crewhero.hm { background: linear-gradient(180deg, #ffe7a0 0%, var(--paper) 100%); }
.bbs-crewhero .bbs-flag.big { width: 120px; height: 80px; }
.bbs-crewhero .txt { flex: 1; min-width: 0; }
.bbs-crewhero h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.bbs-crewhero p { margin: 2px 0 6px; font-weight: 700; color: var(--bbs-muted); }
.bbs-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bbs-pills span { padding: 2px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--bbs-line); font-weight: 800; font-size: 13px; }
.bbs-pills .gold { background: #ffe9a6; border-color: var(--bbs-gold); }
.bbs-motto { margin: 0; font-style: italic; font-weight: 600; font-size: 17px; text-align: center; color: #4a5a6a; }
.bbs-joinbar { display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: center; }
.bbs-joinbar span { font-weight: 700; color: var(--bbs-muted); font-size: 14px; }
.bbs-tabbody { display: flex; flex-direction: column; gap: 14px; }

/* roster */
.bbs-roster { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-radius: var(--bbs-r); background: #fff; border: 2px solid var(--bbs-line); overflow: hidden; }
.bbs-roster li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 60px; border-top: 1px solid var(--bbs-line); }
.bbs-roster li:first-child { border-top: 0; }
.bbs-roster li.tap { cursor: pointer; }
.bbs-roster li.tap:hover { background: #fff7e6; }
.bbs-roster li.me { background: #fff2c4; }
.bbs-roster li > span:not(.role):not(.pts) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bbs-roster li b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-roster li b em { font-style: normal; font-weight: 700; color: var(--bbs-muted); font-size: 14px; }
.bbs-roster li small { font-size: 13px; font-weight: 600; color: var(--bbs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-roster .role { flex: none; padding: 3px 9px; border-radius: 8px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: rgba(16,42,67,.08); color: var(--bbs-muted); }
.bbs-roster .role.captain { background: var(--navy); color: var(--sun); }
.bbs-roster .role.officer { background: var(--glass); color: var(--ink); }
.bbs-roster .pts { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; min-width: 36px; }
.bbs-roster .pts b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.bbs-roster .pts small { font-size: 11px; }
.bbs-roster .acts { display: flex; gap: 6px; flex: none; }
.bbs-roster.reqs { border-color: var(--vest); }
.bbs-roster.compact li { min-height: 48px; padding: 6px 12px; }

/* bank */
.bbs-bank { display: flex; flex-direction: column; gap: 12px; }
.bbs-bank .vault { padding: 16px; border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, #22507d 0%, var(--navy) 60%); color: var(--paper); display: flex; flex-direction: column; gap: 6px; box-shadow: inset 0 0 0 3px rgba(255,210,63,.3); }
.bbs-bank .vault > span { font-weight: 800; font-size: 14px; color: var(--mist); text-transform: uppercase; letter-spacing: .06em; }
.bbs-bank .vault > b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 9vw, 46px); color: var(--sun); line-height: 1; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.bbs-bank .vault small { font-size: 14px; font-weight: 600; color: var(--mist); }
.bbs-bank .vault small b { color: var(--paper); }
.thermo { height: 14px; border-radius: 7px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 4px; }
.thermo i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--glass), var(--sun)); transition: width .5s; }
.bbs-bank .give { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-stepper { display: flex; gap: 8px; }
.bbs-stepper button { flex: none; width: 52px; min-height: 52px; border-radius: 12px; background: var(--navy); color: var(--paper); font-family: var(--display); font-size: 24px; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.bbs-stepper button:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.bbs-stepper .bbs-in { text-align: center; font-family: var(--display); font-weight: 400; font-size: 24px; }
.bbs-fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bbs-fleet .boat { display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 12px; background: #fff; border: 2px solid var(--bbs-line); text-align: center; }
.bbs-fleet img { width: 100%; height: 56px; object-fit: contain; }
.bbs-fleet b { font-family: var(--display); font-weight: 400; font-size: 15px; }
.bbs-fleet small { font-weight: 700; font-size: 13px; color: var(--bbs-muted); }
.bbs-ledger { list-style: none; margin: 0; padding: 0; border-radius: var(--bbs-r); background: #fff; border: 2px solid var(--bbs-line); overflow: hidden; }
.bbs-ledger li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--bbs-line); }
.bbs-ledger li:first-child { border-top: 0; }
.bbs-ledger li.none { color: var(--bbs-muted); font-weight: 600; justify-content: center; }
.bbs-ledger .k { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-size: 16px; background: #dff3ea; color: var(--bbs-ok); }
.bbs-ledger li.out .k { background: #fde3e3; color: #b52a2a; }
.bbs-ledger span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; font-size: 15px; }
.bbs-ledger small { font-size: 13px; color: var(--bbs-muted); }
.bbs-ledger em { font-style: normal; font-family: var(--display); font-size: 16px; color: var(--bbs-ok); white-space: nowrap; }
.bbs-ledger li.out em { color: #b52a2a; }
.more { align-self: center; }

/* proposals */
.bbs-prop { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-prop .top { display: flex; gap: 12px; align-items: center; }
.bbs-prop .top img { width: 96px; height: 56px; object-fit: contain; flex: none; }
.bbs-prop h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.1; }
.bbs-prop p { margin: 2px 0; font-weight: 600; }
.bbs-prop .warn { color: #b5521a; font-weight: 800; }
.bbs-prop small { color: var(--bbs-muted); font-weight: 600; font-size: 13px; }
.tally { position: relative; height: 16px; border-radius: 8px; background: #efe5cf; overflow: visible; display: flex; }
.tally i { display: block; height: 100%; }
.tally .y { background: var(--bbs-ok); border-radius: 8px 0 0 8px; }
.tally .n { background: #d95b5b; }
.tally b { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--navy); border-radius: 2px; }
.bbs-prop .nums { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; color: var(--bbs-muted); flex-wrap: wrap; }
.bbs-btn.chosen.yes { background: #e7f6ee; color: var(--bbs-ok); box-shadow: inset 0 0 0 2px var(--bbs-ok); opacity: 1; font-family: var(--body); font-weight: 800; font-size: 16px; }
.bbs-btn.chosen.no { background: #fde9e9; color: #b52a2a; box-shadow: inset 0 0 0 2px #d95b5b; opacity: 1; }
.bbs-past { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bbs-past li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(16,42,67,.05); }
.bbs-past span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.bbs-past small { font-size: 13px; font-weight: 600; color: var(--bbs-muted); }
.bbs-past .st { font-style: normal; font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 8px; background: rgba(16,42,67,.1); }
.bbs-past .st.executed { background: #dff3ea; color: var(--bbs-ok); }
.bbs-boatpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bbs-boatpick button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 14px; background: #fff; border: 3px solid var(--bbs-line); text-align: center; transition: border-color .12s, transform .1s; }
.bbs-boatpick button.on { border-color: var(--vest); box-shadow: 0 0 0 3px rgba(255,107,44,.25); transform: translateY(-2px); }
.bbs-boatpick img { width: 100%; height: 64px; object-fit: contain; }
.bbs-boatpick img.own { width: 56px; height: 56px; margin: 4px 0; }
.bbs-boatpick b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.bbs-boatpick small { font-weight: 700; font-size: 12px; color: var(--bbs-muted); }
.bbs-boatpick em { font-style: normal; font-weight: 800; color: var(--vest-2); }
.bbs-propsum { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-propsum div { display: flex; justify-content: space-between; font-weight: 700; }
.bbs-propsum .short b { color: #b5521a; }
.bbs-propsum .ok b { color: var(--bbs-ok); }

/* live trips */
.bbs-live { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bbs-live li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-live img { width: 72px; height: 42px; object-fit: contain; flex: none; }
.bbs-live span { flex: 1; min-width: 0; line-height: 1.25; font-weight: 600; }
.bbs-live small { display: flex; align-items: center; gap: 3px; font-size: 13px; color: var(--bbs-muted); font-weight: 700; }
.seat { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--bbs-muted); }
.seat.on { background: var(--bbs-ok); border-color: var(--bbs-ok); }

/* ---------- crew builder ---------- */
.bbs-flagstage { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 0; padding: 16px 10px 12px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(16,42,67,.12); background: linear-gradient(180deg, #8fd0e8 0%, #c9ecf2 70%, #7fd1c3 70%, #5fb7aa 100%); overflow: hidden; min-height: 168px; }
.bbs-flagstage .pole { width: 8px; height: 150px; margin-top: -6px; border-radius: 4px; background: linear-gradient(90deg, #8a8f94, #e8eaec 40%, #9aa0a6); box-shadow: 0 2px 0 rgba(0,0,0,.2); position: relative; z-index: 1; }
.bbs-flagstage .pole::before { content: ''; position: absolute; left: -5px; top: -8px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: inset -3px -3px 0 rgba(0,0,0,.18); }
.bbs-flagstage .prev .bbs-flag { width: 165px; height: 110px; filter: drop-shadow(0 6px 4px rgba(0,0,0,.25)); }
.bbs-flagstage .plate { position: absolute; left: 50%; bottom: 10px; transform: translateX(-12%); display: flex; gap: 6px; align-items: baseline; padding: 4px 12px; border-radius: 8px; background: var(--navy); color: var(--paper); max-width: 70%; }
.bbs-flagstage .plate b { font-family: var(--display); font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-flagstage .plate em { font-style: normal; font-weight: 800; color: var(--sun); font-size: 14px; }
.bbs-flagstage .shuffle { position: absolute; right: 10px; top: 10px; background: rgba(255,255,255,.85); }
.bbs-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.bbs-swatches button { aspect-ratio: 1; max-height: 48px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 0 0 2px rgba(16,42,67,.18); transition: transform .1s; }
.bbs-swatches button.on { box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 0 0 3px var(--paper), 0 0 0 6px var(--navy); transform: scale(1.06); }
.bbs-swatches button:disabled { opacity: .25; cursor: not-allowed; }
.bbs-emblems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bbs-emblems button { padding: 5px; border-radius: 10px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-emblems button .bbs-flag { width: 100%; height: auto; aspect-ratio: 3 / 2; filter: none; border-radius: 3px; }
.bbs-emblems button.on { border-color: var(--vest); box-shadow: 0 0 0 3px rgba(255,107,44,.28); }
.bbs-segmini { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(16,42,67,.09); }
.bbs-segmini button { flex: 1; min-height: 42px; border-radius: 9px; font-weight: 800; font-size: 15px; color: var(--bbs-muted); }
.bbs-segmini button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.bbs-charter { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(16,42,67,.06); }
.bbs-charter img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.bbs-charter p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.35; }
.bbs-charter .warn { color: #b5521a; }

/* ---------- boards ---------- */
.bbs-hm { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #17375a 0%, var(--navy) 70%); color: var(--paper); box-shadow: inset 0 0 0 3px var(--bbs-gold); overflow: hidden; }
.bbs-hm.empty { box-shadow: inset 0 0 0 3px rgba(242,183,5,.35); }
.bbs-hm .mast { position: relative; flex: none; display: flex; padding-left: 8px; }
.bbs-hm .mast .pole { position: absolute; left: 0; top: -6px; width: 7px; height: 140px; border-radius: 4px; background: linear-gradient(90deg, #b88a1a, #ffe08a 45%, #b88a1a); }
.bbs-hm .mast .bbs-flag { width: 128px; height: 85px; }
.bbs-hm .txt { min-width: 0; }
.bbs-hm .kicker, .bbs-derby .kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); }
.bbs-hm .kicker img { width: 24px; }
.bbs-hm h3 { margin: 2px 0 4px; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.bbs-hm h3 em { color: var(--mist); }
.bbs-hm p { margin: 0; font-weight: 600; color: var(--mist); line-height: 1.35; }
.bbs-hm p b { color: var(--sun); }
.bbs-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; padding: 8px 4px 0; }
.pod { display: flex; flex-direction: column; align-items: center; position: relative; min-width: 0; }
.pod.none { visibility: hidden; }
.pod .bbs-flag { width: 82px; height: 55px; margin-left: 46px; position: relative; z-index: 1; }
.pod .pole { display: block; width: 5px; margin-top: -55px; margin-right: 38px; border-radius: 3px; background: linear-gradient(90deg, #8a8f94, #e8eaec 40%, #9aa0a6); }
.pod.p1 .pole { height: 110px; } .pod.p2 .pole { height: 90px; } .pod.p3 .pole { height: 76px; }
.pod .base { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 10px 10px 4px 4px; color: var(--ink); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.pod.p1 .base { background: linear-gradient(180deg, #ffe27a, var(--bbs-gold)); min-height: 92px; justify-content: center; }
.pod.p2 .base { min-height: 74px; justify-content: center; }
.pod.p3 .base { min-height: 62px; justify-content: center; }
.pod.p2 .base { background: linear-gradient(180deg, #e9eef2, var(--bbs-silver)); }
.pod.p3 .base { background: linear-gradient(180deg, #f0b07a, var(--bbs-bronze)); }
.pod .base b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.pod .base span { font-weight: 900; font-size: 14px; letter-spacing: .04em; }
.pod .base small { font-weight: 800; font-size: 13px; }
.pod p { margin: 4px 0 0; font-weight: 700; font-size: 13px; text-align: center; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod.me .base { box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 0 0 3px var(--vest); }
.bbs-board, .bbs-fishboard { list-style: none; margin: 0; padding: 0; border-radius: var(--bbs-r); background: #fff; border: 2px solid var(--bbs-line); overflow: hidden; counter-reset: r; }
.bbs-board:empty { display: none; }
.bbs-board li, .bbs-fishboard li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--bbs-line); min-height: 54px; }
.bbs-board li:first-child, .bbs-fishboard li:first-child { border-top: 0; }
.bbs-board li::before { counter-increment: r; content: counter(r); min-width: 26px; font-family: var(--display); color: var(--bbs-muted); text-align: center; }
.bbs-board[start="4"] { counter-reset: r 3; }
.bbs-board.mine { border-color: var(--vest); }
.bbs-board li.me, .bbs-fishboard li.me { background: #fff2c4; }
.bbs-board span, .bbs-fishboard span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bbs-board span > b, .bbs-fishboard span > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs-board small, .bbs-fishboard small { font-size: 13px; font-weight: 600; color: var(--bbs-muted); }
.bbs-board strong, .bbs-fishboard strong { font-family: var(--display); font-weight: 400; font-size: 18px; white-space: nowrap; }
.bbs-fishboard .rk { min-width: 26px; text-align: center; font-family: var(--display); font-weight: 400; color: var(--bbs-muted); }
.bbs-fishboard img { width: 64px; height: 34px; object-fit: contain; flex: none; }
.bbs-fishboard li.t1 .rk { color: #b88a00; } .bbs-fishboard li.t2 .rk { color: #7d8a96; } .bbs-fishboard li.t3 .rk { color: var(--bbs-bronze); }
.bbs-how { border-radius: 12px; background: rgba(16,42,67,.05); padding: 10px 14px; }
.bbs-how summary { font-weight: 800; cursor: pointer; min-height: 28px; }
.bbs-how ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; line-height: 1.35; }

.bbs-bite { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #dff3ea; border: 2px solid #9fd8bf; }
.bbs-bite img { width: 48px; height: 48px; flex: none; }
.bbs-bite p { margin: 0; font-weight: 600; line-height: 1.3; }
.bbs-bite b { display: block; font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--bbs-ok); }
.bbs-derby { position: relative; display: grid; grid-template-columns: 1fr; border-radius: 18px; overflow: hidden; background: var(--navy); color: var(--paper); box-shadow: inset 0 0 0 3px rgba(255,107,44,.5); }
.bbs-derby .art { height: 120px; background: center 40% / cover no-repeat #1d4b74; }
.bbs-derby .txt { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.bbs-derby h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.bbs-derby p { margin: 0; font-weight: 600; color: var(--mist); }
.bbs-derby p b { color: var(--sun); font-variant-numeric: tabular-nums; }
.bbs-derby ol { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: d; display: flex; flex-direction: column; gap: 3px; }
.bbs-derby li { display: flex; gap: 8px; align-items: baseline; font-weight: 600; }
.bbs-derby li::before { counter-increment: d; content: counter(d) '.'; font-family: var(--display); color: var(--sun); min-width: 22px; }
.bbs-derby li em { margin-left: auto; font-style: normal; font-family: var(--display); color: var(--sun); }
.bbs-derby .mine { color: var(--paper); }
.bbs-derby .fine { font-size: 14px; }
.bbs-derby.live .kicker { color: #ff8a8a; }
.bbs-derby .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: pulse .8s ease-in-out infinite alternate; }
.bbs-daily { display: flex; flex-direction: column; gap: 8px; }
.bbs-daily article { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-daily article.done { border-color: #9fd8bf; background: #f1fbf6; }
.bbs-daily img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.bbs-daily div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bbs-daily .kind { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bbs-muted); }
.bbs-daily h5 { margin: 0; font-size: 17px; line-height: 1.2; }
.bbs-daily p { margin: 0; font-size: 14px; color: var(--bbs-muted); font-weight: 600; }
.bbs-daily .prog { height: 8px; border-radius: 4px; background: #efe5cf; overflow: hidden; }
.bbs-daily .prog i { display: block; height: 100%; border-radius: 4px; background: var(--vest); }
.bbs-daily .done .prog i { background: var(--bbs-ok); }
.bbs-daily small { font-weight: 700; font-size: 13px; color: var(--bbs-muted); }
.bbs-daily em { font-style: normal; font-family: var(--display); font-size: 17px; color: var(--bbs-ok); flex: none; }

/* ---------- iOS install hint ---------- */
.bbs-ios { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bbs-ios li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 2px solid var(--bbs-line); }
.bbs-ios .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sun); font-family: var(--display); }
.bbs-ios p { margin: 0; font-weight: 600; line-height: 1.35; }
.bbs-ios .share { width: 24px; height: 24px; vertical-align: -6px; fill: none; stroke: #1b6fd6; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- co-op lobby ---------- */
.bbs-lobby { position: fixed; inset: 0; z-index: 35; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6,18,30,.45); }
.bbs-lobby.show { display: flex; }
.bbs-lobby.min { background: none; pointer-events: none; align-items: flex-start; }
.bbs-lobby.min .bbs-lobby-card { display: none; }
.bbs-lobby-pill { display: none; pointer-events: auto; align-items: center; gap: 8px; min-height: 46px; padding: 4px 16px 4px 6px; margin-top: calc(6px + var(--safe-t)); border-radius: 24px; background: var(--vest); color: var(--ink); font-weight: 800; box-shadow: 0 4px 0 var(--vest-2), 0 8px 20px rgba(0,0,0,.3); }
.bbs-lobby-pill img { width: 34px; height: 34px; }
.bbs-lobby.min .bbs-lobby-pill { display: inline-flex; }
.bbs-lobby-card { width: min(720px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: 12px; padding: 0 0 16px; border-radius: 20px; background: var(--navy); color: var(--paper); border: 3px solid rgba(246,234,210,.22); box-shadow: 0 24px 70px rgba(0,0,0,.55); overflow: auto; }
.bbs-lobby-card header { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: linear-gradient(180deg, #17375a 0%, var(--navy) 100%); border-bottom: 3px solid var(--vest); }
.bbs-lobby-card header .boat { width: 104px; height: 60px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 0 rgba(0,0,0,.3)); }
.bbs-lobby-card header .t { flex: 1; min-width: 0; }
.bbs-lobby-card .kicker { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--glass); }
.bbs-lobby-card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; }
.bbs-lobby-card .code { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 2px 10px; min-height: 32px; border-radius: 8px; background: var(--paper); color: var(--navy); font-weight: 700; font-size: 14px; }
.bbs-lobby-card .code b { font-family: var(--display); font-weight: 400; letter-spacing: .12em; font-size: 17px; }
.bbs-lobby-card .code svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mincrew { display: flex; align-items: center; gap: 12px; margin: 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255,107,44,.16); box-shadow: inset 0 0 0 2px rgba(255,107,44,.55); }
.mincrew.ok { background: rgba(127,209,195,.14); box-shadow: inset 0 0 0 2px rgba(127,209,195,.6); }
.mincrew .seats { display: flex; gap: 5px; flex: none; }
.mincrew .seats i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--vest); }
.mincrew .seats i.on { background: var(--glass); border-color: var(--glass); }
.mincrew.short .seats i.on { background: var(--sun); border-color: var(--sun); }
.mincrew p { margin: 0; font-weight: 600; line-height: 1.3; color: var(--mist); }
.mincrew p b { color: var(--paper); }
.bbs-lobby-card .bbs-err { margin: 0 14px; }
.bbs-lobby .stations, .bbs-swaplist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.bbs-swaplist { padding: 0; }
.station { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto auto; gap: 4px 10px; align-items: center; padding: 12px; min-height: 132px; border-radius: 16px; background: var(--paper); color: var(--navy); text-align: left; box-shadow: 0 4px 0 rgba(0,0,0,.3); transition: transform .1s, box-shadow .1s; border: 3px solid transparent; }
.station:active:not([aria-disabled]):not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.3); }
.station .ic { grid-row: 1; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); }
.station .ic img { width: 36px; height: 36px; object-fit: contain; }
.station .nm { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.station .nm b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.station .nm small { font-weight: 700; font-size: 13px; color: var(--bbs-muted); }
.station .who { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #fff; min-height: 44px; min-width: 0; }
.station .who b { font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station .who b em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--bbs-muted); }
.station .who b.auto { color: var(--bbs-muted); font-weight: 700; font-size: 14px; }
.station .who small { margin-left: auto; flex: none; font-weight: 800; font-size: 12px; color: var(--bbs-muted); }
.station .who small.ok { color: var(--bbs-ok); }
.station .who small.away { color: #b5521a; }
.station .cta { grid-column: 1 / -1; font-weight: 800; font-size: 13px; color: var(--bbs-muted); text-align: center; }
.station.mine { border-color: var(--sun); background: #fff6d6; }
.station.mine .cta { color: #8a6a00; }
.station.empty { background: rgba(246,234,210,.86); }
.station.empty .cta { color: var(--vest-2); }
.station.pend { animation: pulse .6s ease-in-out infinite alternate; }
.station.away { opacity: .85; }
.station.confirm { border-color: var(--vest); }
.station.confirm .cta { display: flex; flex-direction: column; gap: 6px; color: var(--navy); }
.station.confirm .cta .ask { font-weight: 700; font-size: 13px; line-height: 1.2; }
.station.confirm .cta .row { display: flex; gap: 6px; }
.station.confirm .cta i { flex: 1; font-style: normal; padding: 8px 4px; border-radius: 9px; background: rgba(16,42,67,.1); font-weight: 800; }
.station.confirm .cta i[data-yes] { background: var(--vest); color: var(--ink); }
.station:disabled { opacity: .55; cursor: default; }
.riders { margin: 0 14px; font-weight: 600; color: var(--mist); }
.riders b { color: var(--paper); }
.bbs-lobby-card footer { display: flex; gap: 10px; padding: 4px 14px 0; align-items: center; }
.bbs-lobby-card footer .bbs-btn.ghost { color: var(--paper); box-shadow: inset 0 0 0 2px rgba(246,234,210,.3); flex: none; }
.bbs-lobby-card footer .bbs-btn:not(.big) { flex: none; }
.bbs-lobby-card footer .big { flex: 1; width: auto; }
.bbs-lobby-card footer .big small { font-family: var(--body); font-weight: 800; font-size: 13px; opacity: .75; margin-left: 4px; }
.bbs-btn.ready { background: var(--glass); color: var(--ink); box-shadow: 0 5px 0 #4fa597; font-family: var(--display); font-weight: 400; }
.bbs-lobby-card .bbs-x svg { stroke: var(--paper); }

/* swap request banner */
.bbs-swapask { position: fixed; left: 50%; top: calc(10px + var(--safe-t)); z-index: 46; width: min(580px, calc(100vw - 20px)); display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--navy); color: var(--paper); border: 3px solid var(--sun); box-shadow: 0 14px 40px rgba(0,0,0,.5); transform: translate(-50%, -140%); transition: transform .3s cubic-bezier(.2,1.3,.4,1); }
.bbs-swapask.show { transform: translate(-50%, 0); }
.bbs-swapask .timer { position: relative; flex: none; width: 48px; height: 48px; }
.bbs-swapask .ring { width: 48px; height: 48px; transform: rotate(-90deg); display: block; }
.bbs-swapask .ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 5; }
.bbs-swapask .ring .t { stroke: var(--sun); stroke-dasharray: 119.4; stroke-dashoffset: 0; stroke-linecap: round; animation: bbs-ring linear forwards; }
@keyframes bbs-ring { to { stroke-dashoffset: 119.4; } }
.bbs-swapask .sec { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--sun); }
.bbs-swapask .msg { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bbs-swapask .msg b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.bbs-swapask .msg span { font-weight: 600; font-size: 14px; color: var(--mist); }
.bbs-swapask .msg em { font-style: normal; color: var(--sun); font-weight: 800; }
.bbs-swapask .acts { display: flex; gap: 8px; flex: none; }
.bbs-swapask .bbs-btn.ghost { color: var(--paper); box-shadow: inset 0 0 0 2px rgba(246,234,210,.3); }
.bbs-swapask .bbs-btn.big { width: auto; min-width: 120px; }

/* ---------- coach marks ---------- */
.bbs-coach-ring { position: fixed; z-index: 33; pointer-events: none; border: 4px solid var(--sun); box-shadow: 0 0 0 4px rgba(16,42,67,.5), 0 0 24px rgba(255,210,63,.8); animation: bbs-ring-pulse 1s ease-in-out infinite alternate; }
@keyframes bbs-ring-pulse { to { transform: scale(1.08); opacity: .7; } }
.bbs-coach { position: fixed; z-index: 34; width: min(300px, calc(100vw - 16px)); padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--navy); box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 16px 40px rgba(0,0,0,.4); border-left: 8px solid var(--sun); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s; }
.bbs-coach.show { opacity: 1; transform: none; }
.bbs-coach > b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.1; }
.bbs-coach p { margin: 4px 0 8px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.bbs-coach .row { display: flex; gap: 8px; justify-content: flex-end; }
.bbs-coach .row button { min-height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--bbs-muted); }
.bbs-coach .row button[data-a=ok], .bbs-coach .row .go { background: var(--navy); color: var(--paper); }
.bbs-coach .arrow { position: absolute; width: 18px; height: 18px; background: var(--paper); transform: translate(-50%, 0) rotate(45deg); }
.bbs-coach[data-dir=down] .arrow { bottom: -9px; }
.bbs-coach[data-dir=up] .arrow { top: -9px; }
.bbs-coach[data-dir=left] .arrow { left: -1px !important; transform: translate(-50%, -50%) rotate(45deg); background: var(--sun); }
.bbs-coach[data-dir=right] .arrow { right: -9px; left: auto !important; transform: translate(0, -50%) rotate(45deg); }
.bbs-coach.card { left: 50%; bottom: calc(96px + var(--safe-b)); top: auto; width: min(460px, calc(100vw - 20px)); display: flex; gap: 12px; align-items: center; transform: translate(-50%, 10px); border-left-color: var(--vest); padding: 14px 16px; z-index: 27; }
.bbs-coach.card.show { transform: translate(-50%, 0); }
.bbs-coach.card > img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.bbs-coach.card > img.wide { width: 92px; }
.bbs-coach.card > div { flex: 1; min-width: 0; }
.bbs-coach.card .row { flex-wrap: wrap; }
.bbs-coach.card .row .go { background: var(--vest); color: var(--ink); font-family: var(--display); font-weight: 400; box-shadow: 0 3px 0 var(--vest-2); }
.bbs-coach.card .x { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.bbs-coach.card .x svg { width: 18px; height: 18px; fill: none; stroke: var(--bbs-muted); stroke-width: 2.6; stroke-linecap: round; }
.bbs-coach.card .arrow { display: none; }

/* ---------- phones: bottom sheet + title layout ---------- */
@media (max-width: 760px) {
  .bbs-acct { position: static; align-self: flex-end; margin: -4px -4px 8px 0; }
  .bbs-acct-btn, .bbs-acct-chip { min-height: 44px; }
  .bbs-acct-btn span { font-size: 15px; }
  .bbs-dock { gap: 8px; flex-wrap: nowrap; }
  .bbs-dock button { flex: 1 1 0; flex-direction: column; gap: 4px; padding: 8px 4px 7px; }
  .bbs-dock b { font-size: 13px; }
}
@media (max-width: 600px) {
  .bbs-scrim { padding: 0; align-items: flex-end; }
  .bbs-sheet, .bbs-sheet.wide { width: 100%; max-height: calc(100dvh - 24px - var(--safe-t)); border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,1,.3,1); }
  .bbs-grab { display: block; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 120px; height: 22px; z-index: 3; touch-action: none; cursor: grab; }
  .bbs-grab::after { content: ''; position: absolute; left: 50%; top: 7px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(246,234,210,.45); }
  .bbs-head { padding-top: 18px; min-height: 68px; }
  .bbs-head h2 { font-size: 21px; }
  .bbs-body { padding: 14px 16px calc(20px + var(--safe-b)); }
  .bbs-chips { margin: 0 -16px; padding: 2px 16px; }
  .bbs-crewhero { margin: -14px -16px 0; }
  .bbs-crewhero .bbs-flag.big { width: 96px; height: 64px; }
  .bbs-crewhero h3 { font-size: 19px; }
  .bbs-hm { padding: 14px 12px; gap: 12px; }
  .bbs-hm .mast .bbs-flag { width: 96px; height: 64px; }
  .bbs-hm .mast .pole { height: 110px; }
  .bbs-emblems { grid-template-columns: repeat(4, 1fr); }
  .bbs-swatches { gap: 6px; }
  .pod .bbs-flag { width: 66px; height: 44px; margin-left: 36px; }
  .pod .pole { margin-top: -44px; margin-right: 30px; }
  .bbs-lobby { padding: 0; align-items: flex-end; }
  .bbs-lobby-card { border-radius: 22px 22px 0 0; max-height: calc(100dvh - 12px - var(--safe-t)); padding-bottom: calc(14px + var(--safe-b)); border-bottom: 0; }
  .bbs-lobby-card header .boat { width: 84px; height: 48px; }
  .bbs-lobby-card h2 { font-size: 21px; }
  .station { min-height: 124px; padding: 10px; gap: 4px 8px; grid-template-columns: 42px 1fr; }
  .station .ic { width: 42px; height: 42px; }
  .station .ic img { width: 30px; height: 30px; }
  .station .nm b { font-size: 15px; }
  .station .who small { display: none; }
  .bbs-lobby-card footer { flex-wrap: wrap; }
  .bbs-lobby-card footer .big { flex-basis: 100%; order: -1; }
  .bbs-lobby-card footer .bbs-btn:not(.big) { flex: 1; }
  .bbs-swapask { flex-wrap: wrap; }
  .bbs-swapask .acts { flex-basis: 100%; }
  .bbs-swapask .acts .big { flex: 1; }
  body.bbs-open .bbs-snack { top: calc(10px + var(--safe-t)); bottom: auto; transform: translate(-50%, -180%); }
  body.bbs-open .bbs-snack.show { transform: translate(-50%, 0); }
}
/* short landscape phones: compact chrome, everything scrolls */
@media (max-height: 500px) and (orientation: landscape) {
  .bbs-scrim { padding: 8px; }
  .bbs-sheet, .bbs-sheet.wide { max-height: calc(100dvh - 16px); width: min(640px, 100%); }
  .bbs-head { min-height: 52px; padding-top: 6px; padding-bottom: 6px; }
  .bbs-head h2 { font-size: 19px; }
  .bbs-sub { font-size: 13px; }
  .bbs-body { padding-top: 12px; gap: 12px; }
  .bbs-seg { top: -12px; }
  .bbs-crewhero { margin-top: -12px; }
  .bbs-flagstage { min-height: 132px; padding-top: 10px; }
  .bbs-flagstage .pole { height: 116px; }
  .bbs-flagstage .prev .bbs-flag { width: 132px; height: 88px; }
  .bbs-emblems { grid-template-columns: repeat(12, 1fr); gap: 6px; }
  .bbs-emblems button { padding: 3px; }
  .bbs-acct { top: calc(10px + var(--safe-t)); right: 14px; }
  .bbs-acct-btn, .bbs-acct-chip { min-height: 40px; padding: 4px 12px 4px 6px; }
  .bbs-acct-btn svg { width: 28px; height: 28px; }
  .bbs-dock { gap: 8px; flex-wrap: nowrap; }
  .bbs-dock button { flex: 1 1 0; min-height: 44px; padding: 4px 8px; justify-content: center; gap: 6px; }
  .bbs-dock .ic, .bbs-dock .ic img { height: 26px; }
  .bbs-dock .ic img { width: 30px; }
  .bbs-dock .ic .bbs-flag { width: 36px; height: 24px; }
  .bbs-dock b { font-size: 13px; }
  /* title on short landscape phones: two columns, portraits hidden, scrolls if it still doesn't fit */
  #title { padding: calc(12px + var(--safe-t)) calc(20px + env(safe-area-inset-right, 0px)) 12px calc(20px + env(safe-area-inset-left, 0px)); overflow-y: auto; align-items: flex-start; background: linear-gradient(90deg, rgba(10,28,46,.85) 0%, rgba(10,28,46,.6) 55%, rgba(10,28,46,.25) 100%); }
  #title .title-crew { display: none; }
  #title .title-col { width: 100%; max-width: 900px; display: grid; grid-template-columns: minmax(200px, .85fr) minmax(320px, 1.15fr); grid-auto-rows: min-content; column-gap: 28px; row-gap: 8px; align-content: start; }
  #title .title-logo { grid-column: 1; grid-row: 1; width: min(100%, 210px); }
  #title .tagline { grid-column: 1; grid-row: 2; font-size: 15px; max-width: 30ch; }
  #title .namebox { grid-column: 1; grid-row: 3; }
  #title .namebox input { padding: 5px 10px; font-size: 17px; }
  #title .bbs-dock { grid-column: 1; grid-row: 4; }
  #title .signs { grid-column: 2; grid-row: 1 / span 3; margin-top: 48px; gap: 8px; }
  #title #titleMsg { grid-column: 2; grid-row: 4; }
  #title .sign { padding-top: 6px; padding-bottom: 6px; }
  #title .sign b { font-size: 19px; }
  #title .sign span { font-size: 14px; }
  #title .joinrow { margin-top: 4px; }
  #title .joinrow input { font-size: 18px; padding: 2px 8px; }
  .bbs-lobby { padding: 6px; }
  .bbs-lobby-card { max-height: calc(100dvh - 12px); gap: 8px; padding-bottom: 10px; }
  .bbs-lobby-card header { padding: 6px 10px; }
  .bbs-lobby-card header .boat { width: 76px; height: 42px; }
  .bbs-lobby .stations { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .station { min-height: 0; grid-template-columns: 34px 1fr; padding: 8px; }
  .station .ic { width: 34px; height: 34px; border-radius: 9px; }
  .station .ic img { width: 26px; height: 26px; }
  .station .nm small, .station .who small { display: none; }
  .station .nm b { font-size: 14px; }
  .mincrew { padding: 6px 12px; }
  .bbs-coach.card { bottom: calc(70px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
  .bbs-flag.wave, .bbs-coach-ring, .station.pend, .bbs-skel, .bbs-derby .dot { animation: none; }
  .bbs-sheet, .bbs-snack, .bbs-swapask, .bbs-coach { transition: none; }
}
