/* Rumford Bets — mobile first. Desktop layout kicks in at 1024px. */
:root {
  color-scheme: dark;
  --bg: #0A1120;
  --bg2: #0D1628;
  --surface: #121D33;
  --surface2: #18253F;
  --raise: #1F2E4D;
  --line: #22324F;
  --line2: #2D4064;
  --text: #EAF0FA;
  --muted: #8C9BB8;
  --dim: #5E6E8E;
  --gold: #F5B82E;
  --gold-hi: #FFC94D;
  --gold-ink: #1A1204;
  --gold-soft: rgba(245, 184, 46, .14);
  --win: #34C77B;
  --win-soft: rgba(52, 199, 123, .14);
  --loss: #F0605D;
  --loss-soft: rgba(240, 96, 93, .14);
  --info: #6FA8FF;
  --info-soft: rgba(111, 168, 255, .12);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --num: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --top-h: 56px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.45 var(--body); -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
input, select { border-radius: 10px; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- brand ---------- */
.mark { width: 32px; height: 32px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font: 900 21px/1 var(--display); transform: skewX(-8deg); flex-shrink: 0; }
.mark span { transform: skewX(8deg); }
.word { font: 900 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.word b { color: var(--gold); font-weight: 900; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: background .15s, transform .06s, opacity .15s; user-select: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: var(--surface2); border: 1px solid var(--line2); }
.btn-ghost:hover { background: var(--raise); }
.btn-win { background: var(--win); color: #04170C; }
.btn-danger { color: var(--loss); border: 1px solid rgba(240, 96, 93, .4); background: transparent; }
.btn-danger:hover { background: var(--loss-soft); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 17px; border-radius: 14px; }
.link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 14px; }
.field label, .label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.inp { width: 100%; min-height: 48px; background: var(--bg2); border: 1px solid var(--line2); padding: 0 14px; font-size: 16px; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.inp.err { border-color: var(--loss); }
.field .err-msg { color: var(--loss); font-size: 13px; }
.field .hint { color: var(--dim); font-size: 13px; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.money .inp { padding-left: 28px; font: 700 18px var(--num); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); flex-shrink: 0; margin: 0; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.toggle + .toggle { border-top: 1px solid var(--line); }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: var(--line2); border-radius: 99px; transition: background .15s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--win); }
.switch input:checked + span::after { transform: translateX(20px); }

/* ---------- auth ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--safe-t) + 20px) 20px calc(var(--safe-b) + 24px); background:
  radial-gradient(120% 60% at 50% -10%, rgba(245, 184, 46, .20), transparent 60%),
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .028) 46px 48px),
  var(--bg); }
.auth-in { width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin: 8px 0 34px; }
.auth-brand .mark { width: 44px; height: 44px; font-size: 28px; border-radius: 11px; }
.auth-brand .word { font-size: 30px; }
.auth h1 { font: 900 clamp(40px, 12vw, 58px)/.9 var(--display); text-transform: uppercase; margin: 0 0 10px; letter-spacing: .005em; }
.auth h1 em { font-style: normal; color: var(--gold); }
.auth .lede { color: var(--muted); margin: 0 0 26px; font-size: 16px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { min-height: 38px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: var(--surface2); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 2px 8px rgba(0, 0, 0, .25); }
.auth form { margin-top: 20px; }
.auth .form-err { background: var(--loss-soft); color: #FFC9C8; border: 1px solid rgba(240, 96, 93, .35); padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.auth .foot { margin-top: auto; padding-top: 28px; text-align: center; font-size: 12px; color: var(--dim); }

/* ---------- app shell (phone) ---------- */
.top { position: sticky; top: 0; z-index: 30; height: calc(var(--top-h) + var(--safe-t)); padding: var(--safe-t) 16px 0; display: flex; align-items: center; gap: 10px; background: rgba(10, 17, 32, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .word { font-size: 20px; }
.top .grow { flex: 1; }
.balchip { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line2); }
.balchip .amt { font: 700 16px var(--num); }
.balchip .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font: 800 18px/1 var(--body); }
.tabs-b { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(13, 22, 40, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tabs-b a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; position: relative; }
.tabs-b a svg { width: 24px; height: 24px; }
.tabs-b a[aria-current="page"] { color: var(--gold); }
.tabs-b .dot { position: absolute; top: 8px; left: calc(50% + 8px); min-width: 17px; height: 17px; border-radius: 99px; padding: 0 5px; background: var(--gold); color: var(--gold-ink); font: 800 11px/17px var(--num); text-align: center; }
.side { display: none; }
.page { padding: 16px 16px calc(var(--tab-h) + var(--safe-b) + 96px); max-width: 760px; margin: 0 auto; }
.slipdock { display: none; }

/* floating slip bar (phone) */
.slipbar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); z-index: 41; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 14px; background: var(--gold); color: var(--gold-ink); font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: rise .22s ease-out; }
.slipbar .count { background: var(--gold-ink); color: var(--gold); }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

/* ---------- sheets & modals ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(3, 7, 15, .66); animation: fade .18s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; max-height: 92dvh; display: flex; flex-direction: column; background: var(--surface); border-top: 1px solid var(--line2); border-radius: 20px 20px 0 0; padding-bottom: var(--safe-b); animation: up .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line2); margin: 8px auto 2px; flex-shrink: 0; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 12px; }
.sheet-h h2 { margin: 0; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.sheet-b { overflow: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
.sheet-f { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.xbtn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: 22px; line-height: 1; }
.xbtn:hover { background: var(--surface2); color: var(--text); }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 12px; right: 12px; top: calc(var(--safe-t) + 64px); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: 440px; width: 100%; background: var(--raise); border: 1px solid var(--line2); border-left: 4px solid var(--gold); border-radius: 12px; padding: 12px 14px; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); animation: drop .22s ease-out; }
.toast.ok { border-left-color: var(--win); }
.toast.bad { border-left-color: var(--loss); }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }

/* ---------- headings ---------- */
.h1 { font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 4px 0 14px; }
.h2 { font: 800 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 26px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.h2 small { font: 600 13px var(--body); color: var(--muted); text-transform: none; letter-spacing: 0; }
.day { display: flex; align-items: center; gap: 10px; margin: 20px 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font: 800 13px var(--num); }

/* ---------- sportsbook ---------- */
.book-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.league { display: flex; align-items: center; gap: 10px; }
.league .shield { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(160deg, #1B3A74, #0E2150); display: grid; place-items: center; font: 900 13px var(--display); letter-spacing: .04em; border: 1px solid #2B4E92; }
.league b { font: 900 26px/1 var(--display); text-transform: uppercase; }
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pill[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill .soon { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold); padding: 2px 5px; border-radius: 4px; }
.fresh { font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.fresh i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); display: inline-block; box-shadow: 0 0 0 3px var(--win-soft); }
.fresh.stale i { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.games { display: grid; gap: 10px; }
.game { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.game-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0; font-size: 12px; color: var(--muted); min-height: 30px; }
.game-top .when { font-weight: 700; color: var(--text); }
.game-top .ml { margin-left: auto; width: 96px; text-align: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.tag.live { background: var(--loss-soft); color: var(--loss); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--loss); animation: blink 1.3s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tag.open, .tag.info { background: var(--info-soft); color: var(--info); }
.tag.won, .tag.done { background: var(--win-soft); color: var(--win); }
.tag.lost { background: var(--loss-soft); color: var(--loss); }
.tag.push, .tag.void, .tag.final, .tag.declined, .tag.cancelled { background: var(--surface2); color: var(--muted); }
.tag.pending, .tag.susp { background: var(--gold-soft); color: var(--gold); }
.teamrow { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; }
.teamrow:last-child { padding-bottom: 12px; }
.team { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.tlogo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font: 800 14px/1 var(--display); letter-spacing: .03em; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tname { min-width: 0; }
.tname b { display: block; font-size: 16px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tname span { font-size: 12px; color: var(--muted); }
.score { font: 700 20px var(--num); width: 34px; text-align: right; color: var(--muted); }
.score.w { color: var(--text); }
.price { width: 96px; height: 50px; flex-shrink: 0; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 19px/1 var(--num); color: var(--text); transition: background .12s, border-color .12s, transform .06s; }
.price:active { transform: scale(.96); }
.price:hover:not([disabled]) { border-color: var(--gold); }
.price.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.price[disabled] { color: var(--dim); background: var(--bg2); font: 600 12px var(--body); gap: 2px; }
.price .sub { font: 700 9px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.price.up { animation: up-flash 1.6s; }
.price.down { animation: dn-flash 1.6s; }
@keyframes up-flash { 0%, 40% { box-shadow: 0 0 0 2px var(--win) inset; } }
@keyframes dn-flash { 0%, 40% { box-shadow: 0 0 0 2px var(--loss) inset; } }
.empty { text-align: center; padding: 38px 20px; border: 1px dashed var(--line2); border-radius: 16px; color: var(--muted); background: var(--surface); }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.empty .btn { margin-top: 14px; }
.skel { height: 138px; border-radius: 16px; background: linear-gradient(90deg, var(--surface) 0 40%, var(--surface2) 50%, var(--surface) 60% 100%); background-size: 300% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- slip ---------- */
.pick { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.pick + .pick { margin-top: 10px; }
.pick-top { display: flex; gap: 10px; align-items: flex-start; }
.pick-top .t { flex: 1; min-width: 0; }
.pick-top .t b { font-size: 16px; display: block; }
.pick-top .t span { font-size: 12px; color: var(--muted); }
.pick-top .o { font: 700 18px var(--num); padding-top: 1px; }
.pick-top .xbtn { width: 28px; height: 28px; margin: -2px -4px 0 0; font-size: 20px; }
.stake { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.towin { text-align: right; font-size: 12px; color: var(--muted); min-width: 88px; }
.towin b { display: block; font: 700 17px var(--num); color: var(--win); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick button { height: 34px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font: 700 14px var(--num); color: var(--muted); }
.quick button:active { background: var(--surface2); color: var(--text); }
.note { font-size: 13px; padding: 9px 11px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.note.warn { background: var(--gold-soft); color: #FFDC8A; }
.note.err { background: var(--loss-soft); color: #FFC0BE; }
.totals { display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.totals b { color: var(--text); font: 700 17px var(--num); }
.totals .w { color: var(--win); }
.slip-empty { text-align: center; color: var(--muted); padding: 28px 12px; font-size: 14px; }
.ball { width: 58px; height: 36px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(170deg, #9B5429, #6B3515); transform: rotate(-20deg); position: relative; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.ball::before { content: ""; position: absolute; left: 19px; right: 19px; top: 16px; height: 3px; border-radius: 2px; background: #F3E7D8; }
.ball::after { content: ""; position: absolute; left: 22px; top: 12px; width: 14px; height: 11px; background: repeating-linear-gradient(90deg, #F3E7D8 0 2px, transparent 2px 5px); }
.soonbox { text-align: center; padding: 22px 12px; }
.soonbox h3 { font: 900 28px/1 var(--display); text-transform: uppercase; margin: 8px 0 6px; }
.soonbox p { margin: 0; color: var(--muted); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* placed ticket */
.placed { text-align: center; padding: 6px 0 4px; }
.check-big { width: 64px; height: 64px; border-radius: 50%; background: var(--win); color: #04170C; display: grid; place-items: center; margin: 4px auto 12px; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.placed h3 { font: 900 30px/1 var(--display); text-transform: uppercase; margin: 0 0 4px; }

/* ---------- bets ---------- */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
.ticket + .ticket { margin-top: 10px; }
.ticket-top { display: flex; align-items: center; gap: 12px; }
.ticket-top .t { flex: 1; min-width: 0; }
.ticket-top .t b { display: block; font-size: 16px; }
.ticket-top .t span { font-size: 12px; color: var(--muted); }
.ticket-mid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg2); border-radius: 10px; padding: 10px 12px; }
.ticket-mid div { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ticket-mid div b { display: block; font: 700 17px var(--num); color: var(--text); letter-spacing: 0; text-transform: none; margin-top: 1px; }
.ticket-mid .pos { color: var(--win); }
.ticket-mid .neg { color: var(--loss); }
.ticket.lost { opacity: .78; }
.ticket-foot { font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; gap: 8px; }
.sumrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stat .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat .v { font: 700 21px var(--num); margin-top: 2px; }
.stat .v.pos { color: var(--win); } .stat .v.neg { color: var(--loss); }
.stat .n { font-size: 12px; color: var(--dim); }

/* ---------- wallet ---------- */
.walletcard { border-radius: 20px; padding: 20px; background:
  radial-gradient(120% 120% at 100% 0%, rgba(245, 184, 46, .22), transparent 55%),
  linear-gradient(160deg, #1A2A4B, #111B31); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.walletcard::after { content: "R"; position: absolute; right: 14px; bottom: -34px; font: 900 150px/1 var(--display); color: rgba(255, 255, 255, .04); transform: skewX(-8deg); pointer-events: none; }
.walletcard .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.walletcard .big { font: 700 46px/1.05 var(--num); margin: 4px 0 14px; }
.walletcard .row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.walletcard .row b { color: var(--text); font-family: var(--num); font-size: 15px; }
.actions2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.amounts button { height: 46px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line2); font: 700 17px var(--num); }
.amounts button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.cashcard { border-radius: 18px; padding: 22px 18px; text-align: center; background: repeating-linear-gradient(135deg, rgba(245, 184, 46, .07) 0 12px, transparent 12px 24px), var(--bg2); border: 2px dashed rgba(245, 184, 46, .55); }
.cashcard .big { font: 900 34px/1.02 var(--display); text-transform: uppercase; margin: 10px 0 8px; }
.cashcard .big em { font-style: normal; color: var(--gold); }
.cashcard p { margin: 0; color: var(--muted); font-size: 14px; }
.cashcard .code { display: inline-block; margin-top: 14px; font: 700 15px var(--num); letter-spacing: .12em; background: var(--surface2); border-radius: 8px; padding: 6px 12px; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.item + .item { border-top: 1px solid var(--line); }
.item .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface2); color: var(--muted); }
.item .ic svg { width: 18px; height: 18px; }
.item .ic.in { background: var(--win-soft); color: var(--win); }
.item .ic.out { background: var(--gold-soft); color: var(--gold); }
.item .m { flex: 1; min-width: 0; }
.item .m b { display: block; font-size: 15px; font-weight: 600; }
.item .m span { font-size: 12px; color: var(--muted); }
.item .a { font: 700 16px var(--num); text-align: right; white-space: nowrap; }
.item .a.pos { color: var(--win); }

/* ---------- account ---------- */
.profile { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 900 22px var(--display); background: var(--gold); color: var(--gold-ink); flex-shrink: 0; }
.profile b { font-size: 18px; display: block; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card + .card { margin-top: 12px; }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; line-height: 1.4; }
.rules li::before { content: counter(r); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font: 800 14px var(--num); }
.rules b { color: var(--text); }
.rules span { color: var(--muted); }

/* ---------- house ---------- */
.subtabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 2px; scrollbar-width: none; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs a { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.subtabs a[aria-current="page"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.subtabs a .count { height: 18px; min-width: 18px; font-size: 11px; background: var(--gold-ink); color: var(--gold); }
.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.req { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 14px; align-items: center; }
.req + .req { border-top: 1px solid var(--line); }
.req .who b { font-size: 16px; }
.req .who span { display: block; font-size: 12px; color: var(--muted); }
.req .amt { font: 700 20px var(--num); text-align: right; }
.req .btns { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.hgame { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.hgame + .hgame { margin-top: 10px; }
.hgame-top { display: flex; align-items: center; gap: 10px; }
.hgame-top .t { flex: 1; min-width: 0; }
.hgame-top .t b { display: block; }
.hgame-top .t span { font-size: 12px; color: var(--muted); }
.vs { display: flex; align-items: center; gap: 4px; }
.vs .tlogo { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
.lines { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.lines .inp { min-height: 42px; font: 700 16px var(--num); }
.expo { font-size: 13px; color: var(--muted); background: var(--bg2); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.expo b { color: var(--text); font-family: var(--num); }
.expo .bar { height: 6px; border-radius: 4px; background: var(--info-soft); overflow: hidden; display: flex; }
.expo .bar i { background: var(--info); }
.hacts { display: flex; flex-wrap: wrap; gap: 6px; }
.confirm { display: grid; gap: 8px; background: var(--loss-soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.confirm div { display: flex; gap: 8px; }
.fairline { font-size: 12px; color: var(--dim); }
.tbl { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
.player { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.player + .player { margin-top: 10px; }
.player-top { display: flex; align-items: center; gap: 12px; }
.player-top .avatar { width: 40px; height: 40px; font-size: 17px; }
.player-top .t { flex: 1; min-width: 0; }
.player-top .t b { display: block; }
.player-top .t span { font-size: 12px; color: var(--muted); }
.player-top .bal { font: 700 20px var(--num); text-align: right; }
.player-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.player-stats b { display: block; font: 700 15px var(--num); color: var(--text); text-transform: none; letter-spacing: 0; }
.meter { height: 10px; border-radius: 6px; background: var(--bg2); overflow: hidden; border: 1px solid var(--line); }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--win), var(--gold)); }
.kv { display: grid; gap: 8px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; }
.kv span { color: var(--muted); }
.kv b { font-family: var(--num); text-align: right; }
.log { font-size: 12px; }
.log td { padding: 7px 12px; }
.range { width: 100%; accent-color: var(--gold); }
.edge-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.edge-demo div { background: var(--bg2); border-radius: 10px; padding: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.edge-demo b { display: block; font: 700 20px var(--num); color: var(--text); }

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  body { font-size: 15px; }
  .top, .tabs-b, .slipbar { display: none !important; }
  .shell { display: grid; grid-template-columns: 240px minmax(0, 1fr) 360px; min-height: 100vh; }
  .shell.noslip { grid-template-columns: 240px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--bg2); }
  .side .brand { display: flex; align-items: center; gap: 10px; margin: 0 6px 22px; }
  .side nav { display: grid; gap: 4px; }
  .side nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 11px; color: var(--muted); text-decoration: none; font-weight: 700; }
  .side nav a svg { width: 20px; height: 20px; }
  .side nav a:hover { background: var(--surface); color: var(--text); }
  .side nav a[aria-current="page"] { background: var(--surface2); color: var(--text); }
  .side nav a[aria-current="page"] svg { color: var(--gold); }
  .side nav a .count { margin-left: auto; }
  .side .bal { margin-top: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
  .side .bal .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .side .bal .v { font: 700 28px var(--num); margin: 2px 0 10px; }
  .side .me { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; font-size: 13px; color: var(--muted); }
  .side .me .avatar { width: 30px; height: 30px; font-size: 14px; }
  .page { padding: 28px 32px 60px; max-width: 900px; width: 100%; }
  .slipdock { display: block; position: sticky; top: 0; height: 100vh; border-left: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
  .slipdock .panel { height: 100%; display: flex; flex-direction: column; }
  .slipdock .sheet-h { padding: 22px 18px 12px; }
  .slipdock .sheet-b { flex: 1; padding: 0 18px 16px; }
  .slipdock .sheet-f { padding: 14px 18px 22px; }
  .toasts { top: 20px; left: auto; right: 380px; width: 380px; }
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 440px; transform: translate(-50%, -50%); border-radius: 20px; border: 1px solid var(--line2); animation: fade .18s; max-height: 86vh; }
  .sheet .grab { display: none; }
  .sheet .sheet-h { padding-top: 18px; }
  .h1 { font-size: 38px; }
  .statgrid { grid-template-columns: repeat(4, 1fr); }
  .subtabs { margin: 0 0 18px; padding: 0; }
  .price { width: 110px; }
  .game-top .ml { width: 110px; }
  .games.two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1400px) {
  .shell { grid-template-columns: 260px minmax(0, 1fr) 380px; }
}
@media (max-width: 360px) {
  .price { width: 84px; font-size: 17px; }
  .game-top .ml { width: 84px; }
  .tname b { font-size: 15px; }
  .word { font-size: 18px !important; }
}

/* fixes */
a.btn, a.balchip, .subtabs a, .tabs-b a { text-decoration: none; color: inherit; }
a.btn-gold { color: var(--gold-ink); }
.h2 small a { text-decoration: none; }
.ifs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ifs span, .ifs b { white-space: nowrap; }
.stat .v { white-space: nowrap; }
@media (max-width: 480px) { .sumrow .stat .v { font-size: 18px; } .sumrow .stat { padding: 10px; } }
.edge-demo b { font-size: 17px; white-space: nowrap; }
.lines + .field, .lines + .fairline { margin-top: 14px; }
.kv b { white-space: nowrap; }
@media (min-width: 1024px) {
  .shell.noslip .page { max-width: 1080px; }
  .page { margin: 0; }
}
.field label.check { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; color: var(--muted); }

/* ---------- polish pass ---------- */
.fresh { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12px; }
.fresh:disabled { opacity: .6; }
.yourbet { margin: 0 12px 12px; padding: 8px 10px; border-radius: 10px; background: var(--gold-soft); color: #FFE3A3; font-size: 12.5px; display: grid; gap: 4px; }
.yourbet b { color: var(--text); font-family: var(--num); }
.yourbet b.pos { color: var(--win); } .yourbet b.neg { color: var(--loss); }
.pw { position: relative; }
.pw .inp { padding-right: 70px; }
.pw-t { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pw-t:hover { color: var(--text); background: var(--surface2); }
.allstake { display: grid; grid-template-columns: 1fr 130px; gap: 10px; align-items: center; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line2); }
.allstake label { font-size: 13px; font-weight: 700; color: var(--muted); }
.allstake .inp { min-height: 40px; }
.alerts { display: grid; gap: 8px; margin-bottom: 12px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: var(--gold-soft); border: 1px solid rgba(245,184,46,.3); color: #FFE3A3; font-size: 14px; text-decoration: none; }
.alert span { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }

/* ---------- crew / social ---------- */
.av { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-block; background: var(--surface2); box-shadow: 0 0 0 2px var(--surface); }
.av-i { display: inline-grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; }
.av-q { background: var(--surface2) !important; color: var(--muted); font-size: 14px; }
.stack { display: inline-flex; flex-shrink: 0; }
.stack .av + .av { margin-left: -7px; }
.crowd { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 14px 12px; font-size: 12px; color: var(--muted); }
.crowd-side { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crowd-t em { font-style: normal; color: var(--dim); }
.crew-note { font-size: 13px; margin: 0 2px 12px; }
.list a.item, .list button.item { color: inherit; text-decoration: none; width: 100%; text-align: left; }
.item.person:active { background: var(--surface2); }
.rank { width: 18px; color: var(--dim); font-weight: 700; text-align: center; flex-shrink: 0; }
.m .unread { color: var(--text); font-weight: 600; }
.m span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos { color: var(--win); } .neg { color: var(--loss); }
.empty.small { padding: 18px; font-size: 14px; }
.backlink { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.backlink svg { width: 18px; height: 18px; }
.phead { display: flex; align-items: center; gap: 16px; margin: 6px 0 16px; }
.pname { font: 900 30px/1 var(--display); text-transform: uppercase; }
.pnl { margin-bottom: 12px; position: relative; }
.pnl-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pnl-h b { font: 700 20px var(--num); letter-spacing: 0; color: var(--text); }
.pnl-h b.pos { color: var(--win); } .pnl-h b.neg { color: var(--loss); }
.chart { position: relative; margin-top: 8px; touch-action: pan-y; }
.chart svg { display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .zero { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .area { fill: var(--gold); opacity: .12; }
.chart .ln { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.chart .ax { fill: var(--dim); font: 600 11px var(--num); }
.chart .ax.strong { fill: var(--text); }
.chart .xh { stroke: var(--muted); stroke-width: 1; }
.chart .xhd { fill: var(--text); stroke: var(--surface); stroke-width: 2; }
.chart .tip { position: absolute; top: -6px; width: 110px; background: var(--raise); border: 1px solid var(--line2); border-radius: 8px; padding: 5px 8px; font-size: 12px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.chart .tip span { color: var(--muted); }
.chart .tip b { font-family: var(--num); }

.challenge { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 12px; }
.challenge + .challenge { margin-top: 10px; }
.ch-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ch-top .tlogo { border-radius: 6px; font-size: 8px; }
.ch-top > span:not(.tlogo):not(.tag) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.ch-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ch-side:last-child { flex-direction: row-reverse; text-align: right; }
.ch-side b { display: block; font-size: 14px; }
.ch-side span { font-size: 12px; color: var(--muted); }
.vs-mark { font: 900 14px var(--display); color: var(--gold); letter-spacing: .06em; }
.ch-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ch-foot b { color: var(--text); }
.ch-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ch-sum div { background: var(--bg2); border-radius: 12px; padding: 10px 12px; display: grid; gap: 1px; }
.ch-sum span, .ch-sum small { font-size: 12px; color: var(--muted); }
.ch-sum b { font-size: 22px; }

.dm { display: flex; flex-direction: column; height: calc(100dvh - var(--top-h) - var(--safe-t) - 16px); margin: -16px -16px 0; }
.dm-h { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.dm-who { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.dm-list { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; -webkit-overflow-scrolling: touch; }
.dm-list.static { max-height: none; padding: 0; }
.dday { align-self: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 10px 0 4px; }
.bub { display: flex; flex-direction: column; align-items: flex-start; max-width: 80%; }
.bub.me { align-self: flex-end; align-items: flex-end; }
.bub .b { background: var(--surface2); padding: 9px 13px; border-radius: 18px 18px 18px 6px; font-size: 15px; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.bub.me .b { background: var(--gold); color: var(--gold-ink); border-radius: 18px 18px 6px 18px; }
.bub .t { font-size: 10px; color: var(--dim); margin: 2px 6px 0; }
.bub .who { font-size: 11px; color: var(--muted); margin: 0 6px 2px; font-weight: 700; }
.mcard { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 10px 12px; display: grid; gap: 4px; min-width: 190px; }
.mcard.done { border-color: rgba(52, 199, 123, .45); }
.mcard .lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mcard b { font-size: 22px; }
.mcard .mnote { font-size: 13px; color: var(--muted); }
.mcard .tag { justify-self: start; }
.mcard .hacts { margin-top: 6px; }
.dm-f { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--bg); }
.dm-f .inp { min-height: 44px; border-radius: 22px; }
.dm-money, .dm-send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.dm-money { background: var(--surface2); border: 1px solid var(--line2); color: var(--gold); font: 800 20px var(--num); }
.dm-send { background: var(--gold); color: var(--gold-ink); }
body.in-dm .tabs-b, body.in-dm #slipbar { display: none; }
body.in-dm .page { padding-bottom: 0; }

.editor .ed-top { display: flex; gap: 16px; align-items: center; }
.ed-av { position: relative; cursor: pointer; flex-shrink: 0; }
.ed-cam { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); background: var(--raise); border: 1px solid var(--line2); border-radius: 99px; font-size: 11px; font-weight: 700; padding: 1px 8px; }
label.btn { cursor: pointer; }

@media (min-width: 1024px) {
  .dm { height: calc(100vh - 56px); margin: -28px -32px 0; }
  body.in-dm .shell { grid-template-columns: 240px minmax(0, 1fr) !important; }
  body.in-dm #dock { display: none; }
}

.ch-side > div { min-width: 0; }
.ch-side span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m .tag { display: inline-flex; vertical-align: 2px; }
.btn + .crew-note { margin-top: 10px; }
.item .rank:empty { visibility: hidden; }

/* ---------- the house account ---------- */
.nm-house { color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.nm-house .seal { width: 1em; height: 1em; color: var(--gold); flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(245, 184, 46, .35)); }
.pname .nm-house .seal { width: .7em; height: .7em; }
.av-house { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--gold) !important; }
.gold { color: var(--gold); }
.item .m .nm-house, .ch-side .nm-house, .crowd .nm-house { display: inline-flex; font-size: inherit; color: var(--gold); white-space: nowrap; overflow: visible; }

@media (min-width: 1024px) { .side .word { font-size: 20px; } .side .brand { margin-right: 0; } }

.update-bar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--safe-t) + 8px); z-index: 95; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 13px; padding: 9px 16px; border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,.4); white-space: nowrap; }

/* ---------- tour + patch notes ---------- */
.tour-art { margin: 16px 0 18px; padding: 16px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); pointer-events: none; }
.tour-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-row + .tour-row { margin-top: 10px; }
.tour-team { flex: 1; height: 14px; border-radius: 7px; background: var(--surface2); }
.tour-art .price { font-size: 15px; }
.tour-art .stack .av + .av { margin-left: -10px; }
.tour-h { font: 900 28px/1.05 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.tour-dots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); }
.tour-dots i.on { background: var(--gold); width: 20px; border-radius: 4px; }
.note-entry + .note-entry { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.note-date { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.note-entry b { font-size: 16px; }
.note-entry ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
