/* Bandeja League theme: white base, near-black ink, court blue for data, ball lime for the one primary action. */
:root {
  --ink: #0b1220; --ink-2: #2a3447; --muted: #64708a; --line: #e5e8ee; --line-2: #eff1f5; --soft: #f5f7fa;
  --accent: #1746d1; --accent-ink: #fff; --accent-soft: #edf1fd; --accent-2: #0b1220;
  --blue: #1746d1; --lime: #c6f432; --lime-deep: #a5d112;
  --font-head: 'Archivo', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px; --radius-lg: 16px; --max: 1200px; --shadow: 0 1px 2px rgba(11,18,32,.05), 0 12px 32px -16px rgba(11,18,32,.18);
}
body { font-size: 15px; letter-spacing: -.003em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; font-stretch: 112%; }
h1, h2 { font-weight: 800; }
a { color: var(--blue); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 300; border-radius: 8px; }
.skip:focus { left: 8px; }
.btn { border-radius: 999px; font-weight: 600; border-color: #d5dae3; }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.primary:hover { background: #d3ff4a; filter: none; }
.btn.primary.busy::after { border-top-color: var(--ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.wa { background: #fff; border-color: #cfe9d8; color: #0f6b37; }
.btn.wa:hover { background: #f1faf4; }
.btn.lg { height: 52px; padding: 0 28px; }
.btn.block { width: 100%; }
.c { text-align: center; }
.small { font-size: 13px; }
.bad { color: var(--danger); }

/* header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand b { display: block; font: 800 20px/1 var(--font-head); font-stretch: 125%; letter-spacing: -.03em; }
.brand small { display: block; font: 600 10px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.hdr .nav { display: flex; gap: 2px; }
.hdr .nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.hdr .nav a:hover { background: var(--soft); }
.hdr .nav a.on { background: var(--ink); color: #fff; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.me { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none !important; padding: 3px 12px 3px 3px; border-radius: 999px; }
.me:hover { background: var(--soft); }
.bell { all: unset; position: relative; cursor: pointer; padding: 8px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.bell:hover { background: var(--soft); }
.bell i { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--lime); color: var(--ink); font: 700 10px/16px var(--font-body); text-align: center; font-style: normal; border: 1.5px solid #fff; }
.menu-btn { all: unset; display: none; cursor: pointer; padding: 8px; border-radius: 8px; }

/* avatars + chips */
.av { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: hsl(var(--h), 70%, 91%); color: hsl(var(--h), 55%, 28%); font: 700 13px var(--font-body); flex: none; letter-spacing: .02em; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.lg { width: 60px; height: 60px; font-size: 20px; }
.av.xl { width: 84px; height: 84px; font-size: 28px; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font: 700 12px var(--font-body); letter-spacing: .04em; }
.fmt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.up { color: var(--ok); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.down { color: var(--danger); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.flat { color: var(--muted); }
.prov { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font: 700 10px var(--font-body); vertical-align: 2px; cursor: help; }
.pill.gold { background: var(--lime); color: var(--ink); }
.mv { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.mv b { color: var(--ink); }

/* layout bits */
.sec { padding: 72px 0; }
.sec.tight { padding: 36px 0; }
.sec.soft { background: var(--soft); }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-h h2 { font-size: 32px; }
.sec-h p { margin: 8px 0 0; color: var(--muted); max-width: 54ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.link-arrow:hover { gap: 10px; text-decoration: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.page-top { padding: 40px 0 8px; }
.pt-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-top h1 { font-size: 40px; }
.page-top p { color: var(--muted); max-width: 62ch; margin: 8px 0 0; font-size: 16px; }
.pt-chips { display: flex; align-items: center; gap: 10px; }
.grp { font: 700 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 32px 0 14px; font-stretch: 100%; }
.grp.first { margin-top: 0; }
.stack-lg > * + * { margin-top: 20px; }
.two { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.two.even { grid-template-columns: 1fr 1fr; }
.two.co { grid-template-columns: 1fr 360px; max-width: 980px; }
.sticky { position: sticky; top: 92px; }
.card-h.pad { padding: 18px 20px 0; }
.dl { grid-template-columns: 80px 1fr; }
.grid2.even { grid-template-columns: 1fr 1fr; }

/* ticker + hero */
.ticker { display: flex; align-items: center; gap: 18px; padding: 10px 24px; background: var(--ink); color: #dfe5f0; font-size: 13.5px; text-decoration: none !important; overflow: hidden; white-space: nowrap; }
.ticker b { color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.ticker .chip { background: rgba(255,255,255,.12); color: #fff; }
.ticker .go { color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ticker .bad { color: #ffb4a9; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,244,50,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(198,244,50,0); } 100% { box-shadow: 0 0 0 0 rgba(198,244,50,0); } }
.hero { padding: 56px 0 72px; }
.hero-g { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 78px; line-height: .96; letter-spacing: -.04em; font-stretch: 125%; margin-bottom: 24px; }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.proof { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.proof b { display: block; font: 800 30px/1 var(--font-head); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.proof span { font-size: 13px; color: var(--muted); font-weight: 500; }
.board-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.bc-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bc-h h3 { font-size: 17px; }
.bc-h .link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink); }
.seg.tabs4 { display: flex; width: 100%; }
.seg.tabs4 button { flex: 1; text-align: center; }
.bc-sub { margin: 12px 0 4px; font-size: 13px; color: var(--muted); }
.lb-mini { display: grid; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; color: inherit; text-decoration: none !important; border-bottom: 1px solid var(--line-2); }
.lb-mini .lb-row { padding: 12px 4px; }
.lb-row:last-child { border-bottom: 0; }
.lb-row:hover { background: #fafbfc; }
.lb-row .rk { width: 20px; font: 800 14px var(--font-head); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.lb-row .nm { flex: 1; min-width: 0; }
.lb-row .nm b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .nm small { color: var(--muted); font-size: 12.5px; }
.lb-row .rt { font: 800 17px var(--font-head); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }

/* game cards */
.gcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gc { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; color: inherit; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gc:hover { border-color: #c5ccd9; box-shadow: var(--shadow); transform: translateY(-2px); }
.gc-top { display: flex; align-items: center; gap: 10px; }
.price { font: 700 15px var(--font-head); font-variant-numeric: tabular-nums; }
.gc-when b { display: block; font: 800 22px/1.15 var(--font-head); font-stretch: 112%; letter-spacing: -.02em; }
.gc-when span { color: var(--muted); font-size: 13.5px; }
.gc-club { font-weight: 600; font-size: 14.5px; }
.gc-club small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-top: 2px; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.meter.hot i { background: #e08a00; }
.meter.full i { background: var(--ink); }
.gc-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.gc-foot .go { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 700; }
.gc:hover .go { gap: 8px; }
.mine { font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.mine.waitlist { background: var(--accent-soft); color: var(--blue); }
.mine.held, .mine.offered { background: var(--lime); color: var(--ink); }
.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.filters select { width: auto; }
.chips { display: flex; gap: 6px; }
.fchip { all: unset; cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font: 700 13px var(--font-body); color: var(--ink-2); }
.fchip:hover { border-color: #c5ccd9; }
.fchip.on { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: #fff; }
.fchip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* movers, steps, divisions, news */
.mh { font-size: 18px; margin-bottom: 14px; }
.mh small { font: 500 13px var(--font-body); color: var(--muted); margin-left: 6px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding-top: 18px; border-top: 2px solid var(--ink); }
.sn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); font: 800 13px var(--font-head); margin-bottom: 12px; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.divs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dv { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius-lg); padding: 20px; color: inherit; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.dv:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rng { font: 700 13px var(--font-body); font-variant-numeric: tabular-nums; color: var(--muted); }
.dv h4 { font-size: 20px; margin-bottom: 6px; }
.dv p { color: var(--muted); font-size: 14px; margin: 0; }
.news { display: block; border-top: 2px solid var(--ink); padding-top: 14px; color: inherit; text-decoration: none !important; }
.news small { color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; }
.news h3 { font-size: 20px; margin: 6px 0 8px; }
.news:hover h3 { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.news p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.prose { max-width: 64ch; font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 1.2em; }
.spons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; }
.spons .lbl { font: 700 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spons .sp b { font: 800 16px var(--font-head); color: #8a93a6; letter-spacing: -.01em; }
.spons .sp small { display: block; font-size: 11px; color: #a0a8b8; }
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #b6c0d4; }

/* game page */
.book { padding: 22px; }
.book-top { display: flex; justify-content: space-between; margin-bottom: 14px; }
.book-top small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.book-top b { font: 800 30px/1.1 var(--font-head); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.book-top b span { font-size: 18px; color: var(--muted); }
.book-top .r { text-align: right; }
.book .dl { margin: 18px 0; font-size: 14px; }
.book-act { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.hold { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 14px; }
.hold b { font: 800 22px var(--font-head); color: var(--lime); font-variant-numeric: tabular-nums; margin-left: auto; }
.hold small { width: 100%; color: #b6c0d4; }
.hold.sm { justify-content: space-between; }
.champ { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.champ .tr { color: var(--lime); display: grid; place-items: center; }
.champ small { display: block; color: #b6c0d4; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.champ b { font: 800 20px var(--font-head); }
.champ a { color: #fff; }
.roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.rp { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: inherit; text-decoration: none !important; border-bottom: 1px solid var(--line-2); }
.rp b { display: block; font-size: 14px; }
.rp small { color: var(--muted); font-variant-numeric: tabular-nums; }
.round { margin-top: 18px; }
.round:first-of-type { margin-top: 0; }
.round h4 { font: 700 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-stretch: 100%; }
.mt { display: grid; grid-template-columns: 70px 1fr auto 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.mt .ct { color: var(--muted); font-size: 12px; font-weight: 600; }
.mt .tm.r { text-align: right; }
.mt .tm.w { font-weight: 700; }
.mt .tm small { color: var(--muted); font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mt .sc { font: 800 18px var(--font-head); display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.mt .sc i { font-style: normal; color: var(--line); }
.mt .sc em { font: 500 13px var(--font-body); color: var(--muted); }
.mt.edit .inp { display: inline-flex; align-items: center; gap: 6px; }
.mt.edit input { width: 64px; text-align: center; height: 36px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mt.edit.bad input { border-color: var(--warn); background: var(--warn-soft); }
.mt.edit.done input { border-color: #bfe0cf; }
.opts { display: grid; gap: 8px; margin-top: 12px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt.dis { opacity: .5; cursor: not-allowed; }
.opt span { flex: 1; }
.opt b { display: block; font-size: 14px; }
.opt small { color: var(--muted); }
.opt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sugg { display: grid; margin-top: 4px; }
.sugg button { all: unset; cursor: pointer; display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.sugg button:hover { background: var(--soft); }
.sugg small { color: var(--muted); }

/* checkout */
.lockline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sum { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-2); }
.sum.total { font: 800 20px var(--font-head); border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 14px; }

/* leaderboard + profile */
.tbl .rkn { font: 800 15px var(--font-head); color: var(--muted); font-variant-numeric: tabular-nums; }
.tbl th.w40, .tbl td.w40 { width: 52px; }
.plr { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none !important; }
.plr small { display: block; color: var(--muted); font-size: 12.5px; }
.tbl .big { font: 800 17px var(--font-head); font-variant-numeric: tabular-nums; }
.prof { border-bottom: 1px solid var(--line); padding: 44px 0 0; }
.prof-g { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: 20px; }
.who h1 { font-size: 36px; margin-bottom: 8px; }
.rt-big { text-align: right; }
.rt-big small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rt-big b { display: block; font: 800 68px/1 var(--font-head); font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rt-big span { color: var(--muted); font-size: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 28px; }
.stat-row > div { padding: 20px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row b { display: block; font: 800 28px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stat-row span { font-size: 13px; color: var(--muted); font-weight: 500; }
.moves { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mlist .mrow { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: inherit; text-decoration: none !important; border-top: 1px solid var(--line-2); }
.mlist .mrow:hover { background: #fafbfc; }
.mlist .res { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 13px var(--font-head); background: var(--soft); color: var(--muted); flex: none; }
.mlist .res.w { background: var(--ok-soft); color: var(--ok); }
.mlist .res.l { background: var(--danger-soft); color: var(--danger); }
.who2 { flex: 1; min-width: 0; }
.who2 b { display: block; font-size: 14px; }
.who2 small { color: var(--muted); font-size: 12.5px; }
.scr { font: 800 16px var(--font-head); font-variant-numeric: tabular-nums; }

/* clubs, rules */
.clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.club { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.club-art svg { display: block; width: 100%; height: 130px; }
.club-b { padding: 18px 20px 20px; }
.club-b h3 { font-size: 19px; }
.club-b p { margin: 2px 0 12px; }
.prose-col h2 { font-size: 26px; margin: 40px 0 12px; }
.prose-col h2:first-child { margin-top: 0; }
.prose-col p, .prose-col li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose-col ul { padding-left: 20px; }

/* auth + account */
.auth { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 40px 16px; background: var(--soft); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 560px; }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.demo-box { margin-top: 20px; border: 1px dashed #cfd5e0; border-radius: var(--radius); padding: 14px; font-size: 13px; color: var(--ink-2); }
.demo-box b { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-box button { all: unset; cursor: pointer; display: flex; justify-content: space-between; width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 8px; }
.demo-box button:hover { background: var(--soft); }
.levels { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.levels legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.levels legend i { color: var(--danger); font-style: normal; margin-left: 2px; }
.lvl { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.lvl:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lvl b { display: block; font-size: 14px; }
.lvl small { color: var(--muted); }
.acct-h { border-bottom: 1px solid var(--line); padding-top: 36px; }
.acct-t { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.acct-t h1 { font-size: 30px; margin-bottom: 6px; }
.tabs2 { display: flex; gap: 4px; overflow-x: auto; }
.tabs2 a { padding: 12px 16px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none !important; }
.tabs2 a.on { color: var(--ink); border-bottom-color: var(--lime-deep); }
.rg { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; }
.rg.held, .rg.offered { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.rg-d { text-align: center; }
.rg-d b { display: block; font: 800 24px/1 var(--font-head); }
.rg-d span { font: 700 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rg h4 { font-size: 16px; margin-bottom: 2px; }
.rg h4 a { color: var(--ink); }
.rg p { margin: 0; color: var(--muted); font-size: 13.5px; }
.rg p.act { color: var(--ink); font-weight: 600; margin-top: 4px; }
.rg-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rating-xl { font: 800 64px/1 var(--font-head); font-stretch: 125%; letter-spacing: -.04em; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.prog { margin-top: 18px; }
.prog-l { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.pbar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.notif { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.notif.unread { background: #fafbfc; }
.notif .dotn { width: 9px; height: 9px; border-radius: 50%; background: var(--lime-deep); margin-top: 7px; flex: none; }
.notif.read .dotn { background: var(--line); }
.notif b { display: block; }
.notif p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.notif small { color: var(--muted); }

/* footer + tabbar */
.ftr { background: var(--ink); color: #c4cce0; }
.ftr-in { max-width: var(--max); margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr h5 { font: 700 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0 0 14px; }
.ftr a { display: block; color: #c4cce0; padding: 4px 0; font-size: 14px; }
.ftr a:hover { color: #fff; }
.ftr p { font-size: 14px; max-width: 34ch; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr .brand small { color: #8f9ab3; }
.ftr-bot { max-width: var(--max); margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #8f9ab3; flex-wrap: wrap; }
.tabbar { display: none; }

/* admin */
.is-admin .hdr, .is-admin .ftr, .is-admin .tabbar, .is-admin .ticker { display: none !important; }
.admin { background: var(--soft); }
.side a.nav.on { background: var(--accent-soft); color: var(--blue); }
.queue-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
a.queue-row:hover { background: #fafbfc; }
.queue-row b { display: block; }
.queue-row small { display: block; color: var(--muted); font-size: 13px; }
.fillcell { width: 120px; text-align: right; }
.fillcell small { margin-top: 4px; }
.legend-col { display: grid; gap: 8px; font-size: 14px; }
.legend-col div { display: flex; align-items: center; gap: 8px; }
.legend-col i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend-col b { margin-left: auto; padding-left: 16px; font-variant-numeric: tabular-nums; }
.legend-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend-row i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.tbl tr.dim td { opacity: .55; }
.kpi b { font-stretch: 112%; }
.page-h h1 { font-stretch: 112%; }

@media (max-width: 1000px) {
  .hero-g { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 56px; }
  .gcs { grid-template-columns: repeat(2, 1fr); }
  .steps, .divs { grid-template-columns: 1fr 1fr; }
  .two, .two.co { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .clubs { grid-template-columns: 1fr 1fr; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .hdr .nav { display: none; }
  .menu-btn { display: grid; }
  body.menu-open .hdr .nav { display: flex; flex-direction: column; position: fixed; top: 69px; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 16px; z-index: 55; }
  body.menu-open .hdr .nav a { padding: 16px 12px; font-size: 18px; border-radius: 10px; }
}
@media (max-width: 720px) {
  .hdr-in { height: 60px; padding: 0 16px; gap: 10px; }
  .hdr-r .btn.wa, .hdr-r .me span { display: none; }
  .ticker { padding: 10px 16px; gap: 12px; }
  .ticker > span:nth-of-type(n+3) { display: none; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 16px; }
  .proof { gap: 22px; }
  .sec { padding: 48px 0; }
  .sec-h h2 { font-size: 26px; }
  .page-top h1 { font-size: 32px; }
  .gcs, .clubs, .steps, .divs { grid-template-columns: 1fr; }
  .roster { grid-template-columns: 1fr; }
  .mt { grid-template-columns: 1fr auto 1fr; }
  .mt .ct { display: none; }
  .rt-big { text-align: left; }
  .rt-big b { font-size: 52px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rg { grid-template-columns: 48px 1fr; }
  .rg-r { grid-column: 1 / -1; justify-content: flex-start; }
  .grid2.even { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; padding-top: 40px; }
  .cta-band h2 { font-size: 26px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); z-index: 70; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font: 600 10.5px var(--font-body); color: var(--muted); text-decoration: none !important; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on .ic { color: var(--blue); }
  body:not(.is-admin) main { padding-bottom: 64px; }
  .ftr { padding-bottom: 64px; }
  .mt.edit { grid-template-columns: 1fr auto; }
  .mt.edit .tm.r { grid-column: 1 / -1; text-align: left; }
}
