/* King Bets public + member pages. Same palette as the admin dashboard
   (kf_dashboard.html), dark by default like it. */
:root {
  color-scheme: dark;
  --surface-1: #1a1a19;
  --surface-2: #222220;
  --page: #0d0d0d;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #898781;
  --grid: #2c2c2a;
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.3);
  --warning-text: #fab219;
  --good: #0ca30c;
  --good-text: #3fbf3f;
  --critical: #e66767;
  --warning: #fab219;
  --accent: #3987e5;
  --accent-soft: rgba(57,135,229,0.14);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text-primary); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.45; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px 64px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text-primary); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #fab219, #e0901a); color: #1a1400; display: grid; place-items: center; font-size: 22px; line-height: 1; font-weight: 900; }
.nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--border-strong); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.gold { background: var(--warning); border-color: var(--warning); color: #1a1400; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.muted { color: var(--text-muted); }
.sub { color: var(--text-secondary); }
.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
h1, h2, h3 { letter-spacing: -0.01em; }
h2.section { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin: 34px 0 12px; font-weight: 700; }
.hero { padding: 40px 0 18px; max-width: 720px; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.08; margin: 0 0 14px; }
.hero p { font-size: 17px; color: var(--text-secondary); margin: 0 0 22px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.step b { display: block; margin-bottom: 4px; }
.step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.price-card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.price-card.best { border: 2px solid var(--warning); }
.price-card .tag { position: absolute; top: -11px; right: 16px; background: var(--warning); color: #1a1400; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .amt { font-size: 32px; font-weight: 800; }
.price-card .amt span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.price-card ul { margin: 0; padding-left: 18px; color: var(--text-secondary); font-size: 14px; }
.price-card .btn { margin-top: auto; }
.disclaimer { margin-top: 40px; font-size: 12.5px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; }
/* auth forms */
.auth { max-width: 380px; margin: 40px auto; }
.auth h1 { font-size: 24px; margin: 0 0 6px; }
.auth p.lead { color: var(--text-secondary); margin: 0 0 18px; font-size: 14.5px; }
.auth label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 12px 0 6px; }
.auth input { width: 100%; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--page); color: var(--text-primary); font: inherit; font-size: 15px; }
.auth input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.auth .btn { width: 100%; margin-top: 18px; padding: 11px; }
.auth .alt { margin-top: 16px; font-size: 14px; color: var(--text-secondary); text-align: center; }
.msg { padding: 10px 12px; border-radius: 9px; font-size: 14px; margin-bottom: 6px; }
.msg.err { background: rgba(230,103,103,0.12); color: var(--critical); }
.msg.ok { background: rgba(12,163,12,0.12); color: var(--good-text); }
/* member page */
.preview-bar { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 10px 14px; display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; }
.preview-bar .seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.preview-bar .seg a { padding: 5px 12px; color: var(--text-secondary); font-weight: 600; font-size: 13px; }
.preview-bar .seg a.on { background: var(--accent); color: #fff; }
.preview-bar .seg a:hover { text-decoration: none; }
.notice { border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: 14.5px; }
.notice.ok { background: rgba(12,163,12,0.12); color: var(--good-text); }
.notice.warn { background: rgba(250,178,25,0.12); color: var(--warning); }
.notice.err { background: rgba(230,103,103,0.12); color: var(--critical); }
.plan-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--border); }
.pill.good { color: var(--good-text); border-color: rgba(12,163,12,0.4); background: rgba(12,163,12,0.10); }
.pill.gold { color: var(--warning); border-color: rgba(250,178,25,0.4); background: rgba(250,178,25,0.10); }
.pill.blue { color: var(--accent); border-color: rgba(57,135,229,0.4); background: var(--accent-soft); }
.sport-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px; }
.sport-head h3 { margin: 0; font-size: 19px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.pick { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pick.locked { border-left: 3px solid var(--good); }
.pick.lean { border-left: 3px solid var(--warning); }
.pick .game { font-size: 13px; color: var(--text-secondary); }
.pick .team { font-size: 18px; font-weight: 800; }
.pick .stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); }
.pick .stats b { color: var(--text-primary); font-size: 15px; display: block; }
.pick .when { font-size: 12.5px; color: var(--text-muted); }
.locked-card { text-align: center; padding: 28px 20px; background: repeating-linear-gradient(135deg, var(--surface-1), var(--surface-1) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }
.locked-card .big { font-size: 22px; font-weight: 800; margin: 6px 0; }
.locked-card .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
@media (max-width: 620px) { .record { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.record .tile { background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.record .tile .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.record .tile .v { font-size: 20px; font-weight: 800; margin-top: 2px; }
.pos { color: var(--good-text); } .neg { color: var(--critical); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
td.r, th.r { text-align: right; }
details.earlier { margin-top: 12px; }
details.earlier summary { cursor: pointer; color: var(--text-secondary); font-size: 14px; padding: 6px 0; }
.empty { padding: 18px; text-align: center; color: var(--text-muted); background: var(--surface-1); border: 1px dashed var(--border); border-radius: 12px; font-size: 14px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-top: 18px; overflow-x: auto; }
.tabs button { background: none; border: none; color: var(--text-secondary); font: inherit; font-weight: 700; font-size: 14.5px; padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--text-primary); border-bottom-color: var(--warning); }
/* live scores (2026-10-11) */
.live-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-n { font-size: 11px; font-weight: 800; color: var(--critical); margin-left: 4px; }
.chip.on .chip-n { color: #fff; }
.scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.score { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.score.in { border-left: 3px solid var(--critical); }
.score .shead { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-secondary); align-items: center; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--critical); margin-right: 6px; animation: kbpulse 1.6s infinite; }
@keyframes kbpulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.trow { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 36px; gap: 8px; align-items: center; }
.trow img, .trow .nologo { width: 24px; height: 24px; object-fit: contain; }
.trow .tname { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .rank { font-size: 11px; color: var(--text-muted); font-weight: 700; margin-right: 5px; }
.trow .poss { color: var(--warning); font-size: 10px; margin-left: 6px; vertical-align: middle; }
.trow .trec { font-size: 12px; color: var(--text-muted); }
.trow .tscore { font-size: 20px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.trow.lost .tname, .trow.lost .tscore { color: var(--text-muted); }
.score .sit { font-size: 12.5px; color: var(--text-secondary); display: flex; gap: 10px; align-items: center; }
.score .sit.rz { color: var(--critical); font-weight: 700; }
.score .fc { font-size: 12.5px; color: var(--text-secondary); border-top: 1px solid var(--grid); padding-top: 6px; }
.diamond { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; }
.diamond > span:last-child { display: flex; gap: 9px; }
.base { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--text-muted); display: inline-block; }
.base.on { background: var(--warning); border-color: var(--warning); }
.live-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin: 14px 0 8px; }
.live-sub .muted { font-weight: 600; }
/* sport bar (2026-10-11): sports on top, sections underneath */
.sportbar { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 2px; }
.sb { flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.sb.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sb-live { font-size: 11px; font-weight: 800; color: var(--critical); }
.sb.on .sb-live { color: #fff; }
.sb-tag { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.sb.on .sb-tag { color: rgba(255,255,255,0.8); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
/* settings page (2026-10-11) */
.settings { max-width: 640px; margin: 10px auto 40px; }
.settings h1 { font-size: 26px; margin: 0 0 16px; }
.set-card { margin-bottom: 14px; }
.set-card h2 { font-size: 16px; margin: 0 0 12px; }
.set-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--grid); font-size: 14.5px; }
.set-row:last-of-type { border-bottom: none; }
.set-row b { overflow-wrap: anywhere; }
.set-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.settings-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 12px 0 6px; }
.settings-form input { width: 100%; padding: 11px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--page); color: var(--text-primary); font: inherit; font-size: 15px; }
.settings-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.settings-form .btn { margin-top: 14px; }
.btn.danger { background: transparent; border-color: var(--critical); color: var(--critical); }
.danger-zone { border-color: rgba(230,103,103,0.35); }
/* Day theme (Saul, 2026-10-11). Dark stays the default; "system" follows
   the device. Set on <html data-theme> by the head script in each page. */
:root[data-theme="light"] {
  color-scheme: light;
  --surface-1: #ffffff;
  --surface-2: #f0efea;
  --page: #f6f5f1;
  --text-primary: #141413;
  --text-secondary: #4a4944;
  --text-muted: #77766e;
  --grid: #e7e6e0;
  --border: rgba(0,0,0,0.11);
  --border-strong: rgba(0,0,0,0.3);
  --good: #0c8f0c;
  --good-text: #0a7a0a;
  --critical: #c43c3c;
  --warning: #e0a10f;
  --warning-text: #9a6a00;
  --accent: #1f6fd1;
  --accent-soft: rgba(31,111,209,0.10);
}
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    color-scheme: light;
    --surface-1: #ffffff;
    --surface-2: #f0efea;
    --page: #f6f5f1;
    --text-primary: #141413;
    --text-secondary: #4a4944;
    --text-muted: #77766e;
    --grid: #e7e6e0;
    --border: rgba(0,0,0,0.11);
    --border-strong: rgba(0,0,0,0.3);
    --good: #0c8f0c;
    --good-text: #0a7a0a;
    --critical: #c43c3c;
    --warning: #e0a10f;
    --warning-text: #9a6a00;
    --accent: #1f6fd1;
    --accent-soft: rgba(31,111,209,0.10);
  }
}
/* yellow reads poorly as text on a light page */
.pill.gold, .notice.warn, .trow .poss { color: var(--warning-text); }
.theme-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .theme-opts { grid-template-columns: 1fr; } }
.theme-opt { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); border-radius: 12px; padding: 10px; cursor: pointer; background: var(--surface-2); font-weight: 700; font-size: 14px; }
.theme-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-opt input { margin: 0 6px 0 0; accent-color: var(--accent); }
.theme-swatch { height: 46px; border-radius: 8px; border: 1px solid var(--border); }
.theme-swatch.dark { background: linear-gradient(135deg, #0d0d0d 0 50%, #1a1a19 50%); }
.theme-swatch.light { background: linear-gradient(135deg, #f6f5f1 0 50%, #ffffff 50%); }
.theme-swatch.system { background: linear-gradient(135deg, #0d0d0d 0 50%, #f6f5f1 50%); }
/* ===== Marketing pages: home + log in / sign up (redesign 2026-10-11) ===== */
body.mk { background: var(--page); }
.mk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mk-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top, 0px); }
.mk-header-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.mk-links { display: flex; gap: 22px; margin-left: 14px; flex: 1; }
.mk-links a { color: var(--text-secondary); font-weight: 600; font-size: 14.5px; }
.mk-links a:hover { color: var(--text-primary); text-decoration: none; }
.mk-header .nav { margin-left: auto; }
@media (max-width: 820px) { .mk-links { display: none; } }
@media (max-width: 420px) { .mk-header .brand { font-size: 0; gap: 0; } .mk-header .brand .brand-mark { font-size: 22px; } }

.mk-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--warning-text); background: color-mix(in srgb, var(--warning) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent); padding: 5px 12px; border-radius: 999px; }
.mk-hero { position: relative; overflow: hidden; padding: 64px 0 56px; background:
  radial-gradient(700px 380px at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
  radial-gradient(600px 360px at 5% 90%, color-mix(in srgb, var(--warning) 14%, transparent), transparent 70%); }
.mk-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.mk-hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 900; }
.mk-lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-secondary); max-width: 560px; margin: 0 0 26px; line-height: 1.55; }
.mk-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mk-cta.center { justify-content: center; }
.mk-cta .btn { padding: 13px 24px; font-size: 15.5px; }
.mk-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.mk-trust li::before { content: "\2713"; color: var(--good-text); font-weight: 900; margin-right: 7px; }
@media (max-width: 900px) { .mk-hero { padding: 40px 0 36px; } .mk-hero-in { grid-template-columns: 1fr; gap: 36px; } .mk-phone-wrap { max-width: 330px; margin: 0 auto; width: 100%; } }

/* phone mockup */
.mk-phone-wrap { position: relative; }
.mk-glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); filter: blur(40px); opacity: 0.55; pointer-events: none; }
.mk-phone { position: relative; margin: 0 auto; width: 100%; max-width: 330px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2a28, #0b0b0a); box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 2px rgba(255,255,255,0.08); }
.mk-phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
.mk-phone-screen { height: 100%; border-radius: 34px; background: var(--page); overflow: hidden; padding: 54px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.brand-mark.sm { width: 22px; height: 22px; font-size: 14px; border-radius: 6px; }
.mk-ph-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.mk-ph-live { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--good-text); }
.mk-ph-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 14px; padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.mk-ph-card.pick { border-left: 3px solid var(--warning); }
.mk-ph-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-ph-game { color: var(--text-secondary); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-ph-team { font-size: 17px; font-weight: 800; }
.mk-ph-stats { display: flex; gap: 14px; color: var(--text-secondary); font-size: 11px; }
.mk-ph-stats b { display: block; color: var(--text-primary); font-size: 14px; }
.mk-ph-foot { font-size: 11px; color: var(--text-muted); }
.mk-ph-status { font-weight: 700; display: inline-flex; align-items: center; }
.mk-ph-trow { display: flex; justify-content: space-between; font-weight: 700; font-size: 13.5px; }
.mk-ph-trow b { font-size: 16px; font-variant-numeric: tabular-nums; }
.mk-ph-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.mk-ph-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); }
.mk-ph-rec { flex: 1; justify-content: space-between; }
.blur { filter: blur(5px); user-select: none; }
.mk-lock { font-size: 13px; }

/* live strip */
.mk-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-1); padding: 14px 0; }
.mk-strip-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.mk-strip-more { margin-left: auto; font-size: 13px; font-weight: 600; }
.mk-strip-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.mk-chip-game { flex: 0 0 200px; scroll-snap-align: start; background: var(--page); border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mk-chip-game.in { border-color: color-mix(in srgb, var(--critical) 55%, transparent); }
.mk-cg-top { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-secondary); align-items: center; }
.mk-cg-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-weight: 700; }
.mk-cg-row img { width: 18px; height: 18px; object-fit: contain; }
.mk-cg-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-cg-row b { font-variant-numeric: tabular-nums; }

/* stats band */
.mk-stats { padding: 34px 0; }
.mk-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mk-stats-in div { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--warning); }
.mk-stats-in b { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.mk-stats-in span { color: var(--text-secondary); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 820px) { .mk-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
.mk-section { padding: 72px 0; }
.mk-section.alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mk-h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 10px; text-align: center; font-weight: 900; }
.mk-sub { color: var(--text-secondary); font-size: 16.5px; text-align: center; max-width: 620px; margin: 0 auto 36px; line-height: 1.55; }
.mk-sub.left { text-align: left; margin: 0 0 16px; }
@media (max-width: 620px) { .mk-section { padding: 52px 0; } }
.mk-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-feature { background: var(--surface-1); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.mk-feature b { display: block; font-size: 17px; margin: 12px 0 6px; }
.mk-feature p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
.mk-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--accent-soft); }
@media (max-width: 900px) { .mk-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .mk-features { grid-template-columns: 1fr; } }
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.mk-step { padding: 4px 4px; }
.mk-step b { display: block; font-size: 17px; margin: 12px 0 6px; }
.mk-step p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
.mk-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--warning); color: #1a1400; }
.mk-sports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.mk-sport { background: var(--page); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mk-sport b { font-size: 18px; }
.mk-sport span:not(.pill) { color: var(--text-secondary); font-size: 14px; }
@media (max-width: 760px) { .mk-steps, .mk-sports { grid-template-columns: 1fr; } }

/* pricing */
.mk-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.mk-price { position: relative; background: var(--surface-1); border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.mk-price.best { border: 2px solid var(--warning); box-shadow: 0 18px 50px color-mix(in srgb, var(--warning) 18%, transparent); }
.mk-price .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--warning); color: #1a1400; font-size: 11px; font-weight: 900; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.mk-price > b { font-size: 16px; }
.mk-price .amt { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.mk-price .amt span { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.mk-price ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-secondary); font-size: 14px; }
.mk-price li::before { content: "\2713"; color: var(--good-text); font-weight: 900; margin-right: 8px; }
.mk-price .btn { margin-top: auto; width: 100%; padding: 11px; }
.mk-note { text-align: center; color: var(--text-muted); font-size: 13.5px; margin: 18px 0 0; }
@media (max-width: 980px) { .mk-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 560px) { .mk-prices { grid-template-columns: 1fr; } }

/* record + faq + final */
.mk-record { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.mk-record .mk-h2 { text-align: left; }
.mk-record-card { padding: 28px; text-align: center; }
.mk-record-big { font-size: 38px; font-weight: 900; margin: 6px 0; letter-spacing: -0.02em; }
.mk-record-sub { color: var(--text-secondary); font-size: 14px; }
@media (max-width: 760px) { .mk-record { grid-template-columns: 1fr; } }
.mk-faq { max-width: 760px; }
.mk-faq .mk-h2 { margin-bottom: 26px; }
.mk-faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.mk-faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; color: var(--text-muted); font-size: 22px; line-height: 1; }
.mk-faq details[open] summary::after { content: "\2212"; }
.mk-faq p { margin: 0 0 16px; color: var(--text-secondary); line-height: 1.6; font-size: 15px; }
.mk-final { padding: 72px 0; text-align: center; background:
  radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 75%); border-top: 1px solid var(--border); }
.mk-final h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.03em; margin: 0 0 10px; font-weight: 900; }
.mk-final p { color: var(--text-secondary); margin: 0 0 24px; font-size: 16.5px; }
.mk-footer { border-top: 1px solid var(--border); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.mk-foot-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.mk-foot-top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.mk-foot-top nav a { color: var(--text-secondary); font-size: 14px; font-weight: 600; }

/* log in / sign up split layout */
.au { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.au-form-side { display: flex; flex-direction: column; padding: calc(24px + env(safe-area-inset-top, 0px)) 28px calc(24px + env(safe-area-inset-bottom, 0px)); }
.au-form-side .auth { width: 100%; max-width: 400px; margin: auto; padding: 32px 0; }
.au-form-side .auth h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 8px; }
.au-legal { color: var(--text-muted); font-size: 12px; text-align: center; margin: 0; }
.au-brand-side { position: relative; overflow: hidden; display: flex; align-items: center; padding: 48px; background:
  radial-gradient(600px 400px at 80% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
  radial-gradient(500px 360px at 0% 100%, color-mix(in srgb, var(--warning) 18%, transparent), transparent 70%), var(--surface-1);
  border-left: 1px solid var(--border); }
.au-brand-in { position: relative; max-width: 460px; }
.au-brand-side h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 20px; font-weight: 900; }
.au-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.au-points li { padding-left: 26px; position: relative; }
.au-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--good-text); font-weight: 900; }
.au-points b { color: var(--text-primary); }
.au-mini { padding: 14px 16px; }
@media (max-width: 860px) {
  .au { grid-template-columns: 1fr; }
  .au-brand-side { border-left: none; border-top: 1px solid var(--border); padding: 36px 22px; }
  .au-form-side { padding-left: 20px; padding-right: 20px; }
  .au-form-side .auth { padding: 20px 0 28px; }
}
.mk-ph-rec .mk-ph-bars { flex: 1; height: auto; min-height: 54px; }
@media (max-width: 860px) { .au { min-height: 0; } .au-form-side .auth { margin: 0 auto; } }
@media (max-width: 480px) { .mk-phone-wrap { max-width: 290px; } }
@media (max-width: 480px) { #nav > span.muted { display: none; } }
.mk-strip-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 4px; padding-bottom: 2px; }
.mk-strip-tabs .sb { flex: 0 0 auto; padding: 8px 14px; font-size: 14px; }
.mk-strip .live-sub { margin: 12px 0 8px; }
.mk-strip-empty { color: var(--text-muted); font-size: 13.5px; padding: 10px 12px; border: 1px dashed var(--border); border-radius: 12px; }
.mk-cg-row i { width: 18px; height: 18px; }
/* terms / privacy (2026-10-11) */
.legal { max-width: 780px; padding-top: 36px; padding-bottom: 56px; line-height: 1.65; font-size: 15.5px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.03em; margin: 0 0 6px; font-weight: 900; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal b { color: var(--text-primary); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-date { color: var(--text-muted) !important; font-size: 14px; margin: 0 0 22px; }
.legal a { overflow-wrap: anywhere; }
/* News tab (2026-10-11) */
.nw-top { display: block; background: var(--surface-1); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; color: var(--text-primary); }
.nw-top:hover, .nw-item:hover { text-decoration: none; border-color: var(--border-strong); }
.nw-top img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--surface-2); }
.nw-top-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.nw-top-body b { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.nw-top-body p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
.nw-meta { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nw-src { font-weight: 800; color: var(--text-secondary); }
.nw-plus { padding: 1px 7px; font-size: 10.5px; }
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; margin-top: 12px; }
.nw-item { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center; background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 12px; color: var(--text-primary); }
.nw-item:not(:has(img)) { grid-template-columns: 1fr; }
.nw-item-body { display: flex; flex-direction: column; gap: 6px; }
.nw-item-body b { font-size: 15px; line-height: 1.3; }
.nw-item img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
@media (min-width: 900px) { .nw-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .nw-top img { height: 100%; aspect-ratio: auto; min-height: 240px; } .nw-top-body { justify-content: center; padding: 20px 22px; } .nw-top-body b { font-size: 24px; } }
/* Member Home (2026-10-11) */
.sb-home { flex: 0 0 auto; }
.hm-hello { margin: 22px 0 6px; }
.hm-hello h2 { margin: 0 0 2px; font-size: 26px; letter-spacing: -0.02em; }
.hm-sports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (max-width: 760px) { .hm-sports { grid-template-columns: 1fr; } }
.hm-sport { text-align: left; font: inherit; color: var(--text-primary); cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.hm-sport:hover { border-color: var(--border-strong); }
.hm-sport-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hm-sport-top b { font-size: 17px; }
.hm-sport-stats { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-secondary); }
.hm-sport-stats b { color: var(--text-primary); }
.hm-live { color: var(--critical); font-weight: 800; display: inline-flex; align-items: center; }
.hm-open { font-size: 13px; font-weight: 700; color: var(--accent); }
.sport-head h3 .live-dot { vertical-align: middle; }
.nw-tag { padding: 1px 8px; font-size: 10.5px; margin-right: 4px; }
.hm-rec { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.hm-rec-item { text-align: left; font: inherit; color: var(--text-primary); cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.hm-rec-item b { font-size: 24px; }
.hm-rec-item .muted { font-size: 13px; }
[hidden] { display: none !important; }
/* pick alerts (2026-10-11) */
.al-prefs { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 14.5px; }
.al-prefs input { accent-color: var(--accent); margin-right: 8px; transform: scale(1.15); }
.al-steps { margin: 0; padding-left: 20px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 6px; }
.hm-alert { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); border-radius: 14px; }
.hm-alert b { display: block; }
.hm-alert span { color: var(--text-secondary); font-size: 14px; }
/* My teams: picker, spotlight, news filter (2026-10-11) */
.tp { padding-bottom: 120px; }
.tp-head h1 { font-size: clamp(26px, 5vw, 36px); letter-spacing: -0.02em; margin: 10px 0 6px; }
.tp-head .sub { margin: 0 0 6px; max-width: 620px; }
.tp-search { width: 100%; margin: 14px 0 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-primary); font: inherit; font-size: 15px; }
.tp-search:focus { outline: 2px solid var(--accent); border-color: transparent; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.tp-team { display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-primary); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.tp-team img, .tp-nologo { width: 34px; height: 34px; object-fit: contain; }
.tp-team .tp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.tp-team.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.tp-team.on .tp-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.tp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.tp-bar-in { display: flex; align-items: center; gap: 12px; padding-bottom: 0 !important; }
.tp-picked { flex: 1; display: flex; gap: 6px; overflow-x: auto; align-items: center; min-width: 0; }
.tp-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.team-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.team-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 10px 4px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-primary); font: inherit; font-size: 13px; font-weight: 700; cursor: default; }
button.team-chip { cursor: pointer; }
.team-chip img { width: 20px; height: 20px; object-fit: contain; }
@media (max-width: 560px) { .tp-bar-in { flex-direction: column; align-items: stretch; } .tp-actions .btn { flex: 1; } }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.sp-card { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; }
.sp-card.live { border-left: 3px solid var(--critical); }
.sp-head { display: flex; align-items: center; gap: 10px; }
.sp-head img { width: 32px; height: 32px; object-fit: contain; }
.sp-head b { font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-line { font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sp-line img { width: 20px; height: 20px; object-fit: contain; }
.sp-live { color: var(--critical); }
.sp-score { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; flex-wrap: wrap; }
.sp-score b { font-size: 22px; font-variant-numeric: tabular-nums; }
.sp-score img { width: 20px; height: 20px; object-fit: contain; }
.sp-newslist { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--grid); padding-top: 8px; margin-top: 2px; }
.sp-news { color: var(--text-primary); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.nw-filter { margin: -2px 0 12px; }
.nw-select { width: 100%; max-width: 360px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-primary); font: inherit; font-size: 14.5px; }
/* share result cards (2026-10-11) */
.share-modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.6); display: grid; place-items: center; padding: 16px; }
.share-box { width: 100%; max-width: 460px; max-height: calc(100dvh - 32px); overflow: auto; }
.share-img { width: 100%; border-radius: 14px; display: block; background: var(--surface-2); aspect-ratio: 1; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.share-actions .btn { width: 100%; }
.share-page { max-width: 560px; padding-top: 22px; padding-bottom: 40px; text-align: center; }
.share-page .brand { margin-bottom: 18px; }
.share-card { width: 100%; height: auto; border-radius: 20px; display: block; margin: 0 auto 22px; }
.share-page h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 8px; }
.share-page .sub { margin: 0 0 18px; }
/* Schedule section (2026-10-11) */
.sc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.team-chip.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.qp { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.qp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.qp-row .nw-select { flex: 1 1 200px; max-width: none; }
.sc-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.sc-head img { width: 52px; height: 52px; object-fit: contain; }
.sc-head b { display: block; font-size: 20px; }
.sc-list { padding: 4px 0; }
.sc-row { display: grid; grid-template-columns: minmax(84px, 0.9fr) minmax(0, 1.6fr) auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--grid); font-size: 14px; }
.sc-row:last-child { border-bottom: none; }
.sc-row.live { background: color-mix(in srgb, var(--critical) 8%, transparent); }
.sc-date { color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.sc-opp { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.sc-opp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-opp img, .sc-opp i { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.sc-info { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; font-size: 13px; }
.sc-res { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .sc-row { grid-template-columns: 1fr auto; } .sc-date { grid-column: 1 / -1; font-size: 12.5px; } }
/* take a break (2026-10-11) */
.break-opts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.break-opts label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; color: var(--text-primary); margin: 0; cursor: pointer; }
.break-opts label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.break-opts input, .break-confirm input { width: auto; accent-color: var(--accent); }
.settings-form .break-confirm { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--text-secondary); margin-top: 12px; }
.break-card { text-align: center; padding: 34px 24px; margin-top: 30px; }
.break-card h1 { font-size: 28px; margin: 6px 0 10px; }
.break-ico { font-size: 40px; }
/* schedule: current track (2026-10-11) */
.sc-head .rank { color: var(--text-muted); font-size: 15px; }
.sc-head .muted { display: block; font-size: 13.5px; }
.sc-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sc-track .tile { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.sc-track .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.sc-track .v { font-size: 20px; font-weight: 800; margin-top: 2px; }
.sc-track .v.sm { font-size: 15px; }
.sc-track .of { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.sc-track .ch { font-size: 12px; font-weight: 700; }
@media (max-width: 620px) { .sc-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-trend { margin-top: 10px; padding: 12px 14px; }
.sc-trend-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 6px; }
.sc-spark { width: 100%; height: 70px; display: block; }
.sc-trend-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin: 2px 0 6px; }
/* scrollable score + schedule lists (Saul, 2026-10-11) */
.scroll-box { max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.scroll-box::-webkit-scrollbar { width: 6px; }
.scroll-box::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
div.scroll-box > .scores { padding-right: 4px; }
.sc-list.scroll-box { max-height: min(56vh, 480px); }
/* members area: left sidebar (Saul, 2026-10-11) */
.wrap.app { max-width: 1200px; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.app #subtabs { display: none !important; }
.app-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 6px; }
.app-main { min-width: 0; }
.app-main > .plan-line { margin-top: 2px; }
.side { position: sticky; top: calc(12px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - 24px); overflow-y: auto; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.sn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--text-secondary); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.sn:hover { background: var(--surface-1); color: var(--text-primary); text-decoration: none; }
.sn.on { background: var(--accent-soft); color: var(--text-primary); box-shadow: inset 3px 0 0 var(--accent); }
.sn-ico { width: 20px; text-align: center; flex: 0 0 auto; }
.sn-live { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--critical); }
.sn-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--text-muted); }
.sn-live + .sn-tag { margin-left: 6px; }
.sn.sn-sub { padding: 7px 12px 7px 42px; font-size: 14px; font-weight: 600; }
.sn.sn-sub.on { background: none; box-shadow: none; color: var(--accent); }
.sn-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; margin: 16px 12px 4px; }
.sn-div { border-top: 1px solid var(--border); margin: 12px 4px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-primary); font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }
.side-scrim { display: none; }
@media (max-width: 860px) {
  .app-grid { grid-template-columns: 1fr; gap: 0; }
  .menu-btn { display: inline-flex; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; width: min(82vw, 290px); max-height: none; z-index: 60; background: var(--page); border-right: 1px solid var(--border); padding: calc(18px + env(safe-area-inset-top, 0px)) 12px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-105%); transition: transform 0.2s ease; box-shadow: 0 0 40px rgba(0,0,0,0.4); }
  .side.open { transform: none; }
  .side-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,0.5); }
  .side-scrim.open { display: block; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }
.invite-row { display: flex; gap: 8px; flex-wrap: wrap; }
.invite-row input { flex: 1 1 240px; }
/* schedule: seasons + week labels (2026-10-11) */
.sc-season { width: auto; max-width: 190px; flex: 0 0 auto; padding: 8px 10px; font-size: 13.5px; }
@media (max-width: 520px) { .sc-head { flex-wrap: wrap; } .sc-season { max-width: none; width: 100%; } }
.sc-wk { display: inline-block; min-width: 44px; font-weight: 800; color: var(--text-primary); margin-right: 6px; font-size: 12.5px; }
/* Results: final scores (2026-10-11) */
.fr-sum { margin: 0 0 10px; }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; padding-right: 4px; }
.fr { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; }
.fr-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.fr-team { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-weight: 600; color: var(--text-muted); }
.fr-team.win { color: var(--text-primary); font-weight: 800; }
.fr-team img, .fr-team i { width: 24px; height: 24px; object-fit: contain; }
.fr-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-team b { font-size: 19px; font-variant-numeric: tabular-nums; }
.fr-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); border-top: 1px solid var(--grid); padding-top: 6px; flex-wrap: wrap; }
.fr-note + .fr-note { border-top: none; padding-top: 0; }
.fr-note > span { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 900; background: var(--surface-2); flex: 0 0 auto; }
.fr-note.right > span { background: color-mix(in srgb, var(--good) 22%, transparent); color: var(--good-text); }
.fr-note.wrong > span { background: color-mix(in srgb, var(--critical) 22%, transparent); color: var(--critical); }
.fr-note.fr-pick { color: var(--text-primary); }
/* My bets (2026-10-11) */
.bet-btn { align-self: flex-start; margin-top: 4px; }
.bet-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 12px 0 6px; }
.bet-form input[type=number], .bet-form select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--page); color: var(--text-primary); font: inherit; font-size: 15px; }
.bet-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bet-teams label { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary); font-weight: 700; cursor: pointer; }
.bet-teams label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.bet-teams input { accent-color: var(--accent); }
.bet-price { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; padding-right: 4px; }
.mb { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; }
.mb.won { border-left: 3px solid var(--good); } .mb.lost { border-left: 3px solid var(--critical); }
.mb-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.mb-line { font-size: 14px; }
.mb-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill.neg-pill { color: var(--critical); border-color: color-mix(in srgb, var(--critical) 40%, transparent); background: color-mix(in srgb, var(--critical) 10%, transparent); }
/* rename: King Bets Predictor (2026-10-11) -- "Predictor" in the gold accent */
.brand-tag { margin-left: -4px; color: var(--warning-text); font-weight: 800; }
@media (max-width: 480px) { .app .brand { font-size: 16px; gap: 8px; } .app .brand .brand-tag { margin-left: -3px; } .app .topbar .nav .btn.small { padding: 6px 10px; } .app #nav a[href="/settings"] { display: none; } .app .topbar { flex-wrap: nowrap; } }
@media (max-width: 380px) { .app .brand .brand-tag { display: none; } }
/* ===== Mobile pass (Saul, 2026-10-11: "make the mobile view more user friendly") ===== */
.bnav, .mtabs, .sn-mobile, .show-phone { display: none; }
@media (max-width: 860px) {
  /* app-style chrome: bottom tabs replace the top menu button + nav */
  .app .menu-btn, .app #nav, .app-main > .plan-line { display: none !important; }
  .app .topbar { padding: 12px 0 8px; }
  .sn-mobile { display: flex; }
  .app-main { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .app .disclaimer { margin-bottom: 0; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: color-mix(in srgb, var(--page) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .bn { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 11px; font-weight: 700; padding: 6px 0; min-height: 50px; cursor: pointer; }
  .bn.on { color: var(--accent); }
  .bn-ico { position: relative; font-size: 21px; line-height: 1.1; }
  .bn-dot { position: absolute; top: 0; right: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--critical); border: 2px solid var(--page); }
  /* sticky sport + section tabs inside a sport */
  .mtabs:not([hidden]) { display: block; position: sticky; top: 0; z-index: 30; margin: 0 -16px 10px; padding: 8px 16px 0; background: var(--page); border-bottom: 1px solid var(--border); }
  .mt-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .mt-row::-webkit-scrollbar { display: none; }
  .mt-sport { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-secondary); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .mt-sport.on { background: var(--accent); border-color: var(--accent); color: #fff; }
  .mt-live { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--critical); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
  .mt-secs { gap: 0; margin-top: 6px; }
  .mt-sec { flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-secondary); font: inherit; font-size: 14.5px; font-weight: 700; padding: 10px 12px; cursor: pointer; }
  .mt-sec.on { color: var(--text-primary); border-bottom-color: var(--warning); }
  /* when in a sport, the in-page headings repeat the tabs: tighten them */
  .app .sport-head { margin-top: 10px; }
  /* compact pick cards: 3 stats on one row */
  .pick { padding: 12px 14px; gap: 8px; }
  .pick .team { font-size: 17px; }
  .pick .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 11.5px; line-height: 1.25; }
  .pick .stats b { font-size: 16px; }
  .pick .when { font-size: 12px; }
  .bet-btn { align-self: stretch; text-align: center; justify-content: center; }
  /* pop-ups become bottom sheets */
  .share-modal { align-items: end; padding: 0; }
  .share-box { max-width: none; border-radius: 20px 20px 0 0; max-height: 90dvh; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .share-box::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--border-strong); margin: -8px auto 10px; }
  /* bigger tap targets */
  .btn.small { min-height: 36px; }
  .team-chip { min-height: 32px; }
}
@media (max-width: 480px) {
  .hide-phone { display: none !important; }
  .show-phone { display: block; }
  .topbar { flex-wrap: nowrap; }
}
/* iPhone zooms into any text box under 16px: keep form fields at 16px */
@media (max-width: 860px) {
  .auth input, .settings-form input, .tp-search, .nw-select, .bet-form input, .bet-form select, .invite-row input { font-size: 16px !important; }
}
/* phone tap targets: links outside running text get a 40px touch area (2026-10-11, phone check) */
@media (max-width: 860px) {
  .brand { min-height: 40px; min-width: 40px; }
  .mk-foot-top nav { gap: 2px 18px; }
  .mk-foot-top nav a, .auth .alt a, .au-legal a, .mk-strip-more, .sport-head a, .mk-header .nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .auth .alt { margin-top: 8px; }
  .au-legal { line-height: 1.6; }
}
/* soccer + boxing (2026-10-11) */
.soc-lgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.soc-lg { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font-weight: 700; cursor: pointer; }
.soc-lg:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.soc-lg input { accent-color: var(--accent); width: 18px; height: 18px; }
.soc-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.score.mine { box-shadow: inset 3px 0 0 var(--warning); }
.soc-table td, .soc-table th { padding: 8px 10px; }
.soc-club { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.soc-club img { width: 20px; height: 20px; object-fit: contain; }
.soc-table tr.mine td { background: var(--accent-soft); }
.fb-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 40px; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; }
.fb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.fb-bar i { display: block; height: 100%; background: var(--accent); }
.fb-row b { text-align: right; }
.box-news { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; margin-bottom: 8px; }
@media (max-width: 860px) { .mk-foot-top nav a { min-width: 40px; justify-content: center; } }
/* soccer: clubs under each checked league (2026-10-11) */
.soc-lglist { display: flex; flex-direction: column; gap: 8px; }
.soc-lgblock { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.soc-lgblock .soc-lg { border: 0; border-radius: 0; }
.soc-lgblock.on { border-color: var(--accent); }
.soc-lgblock.on > .soc-lg { background: var(--accent-soft); }
.soc-count { margin-left: auto; font-size: 12.5px; color: var(--text-secondary); font-weight: 700; }
.soc-clubs { padding: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.soc-clubs-msg { padding: 10px 12px; font-size: 13px; }
.soc-save { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; bottom: 0; padding: 10px 0 2px; background: var(--surface-1); }
@media (max-width: 860px) { .soc-save { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); } .soc-save .btn.primary { flex: 1; } }
/* plans: 6 cards (2026-10-11) */
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans-grid { grid-template-columns: 1fr; } }
.year-opt { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-prices-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .mk-prices-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mk-prices-6 { grid-template-columns: 1fr; } }
.lock-list { text-align: left; max-width: 420px; margin: 10px auto 0; color: var(--text-secondary); font-size: 14px; }
/* soccer market chance (2026-10-11) */
.mkt3 { border-top: 1px solid var(--grid); padding-top: 7px; display: flex; flex-direction: column; gap: 5px; }
.mkt3-l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; }
.mkt3-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-2); }
.mkt3-bar i { display: block; height: 100%; }
.mkt3-bar .h { background: var(--accent); } .mkt3-bar .d { background: var(--text-muted); } .mkt3-bar .a { background: var(--warning); }
.mkt3-v { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; color: var(--text-secondary); flex-wrap: wrap; }
.mkt3-v b { color: var(--text-primary); }
/* sign-up agreement + verify page (2026-10-11) */
.auth label.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13.5px; line-height: 1.45; margin: 16px 0 0; color: var(--text-secondary); cursor: pointer; }
.auth label.agree input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--accent); }
.linkish { background: none; border: 0; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px; }
