:root { color-scheme:dark; --ink:#d9edf7; --muted:#8eafc0; --paper:#06131c; --card:#0b1b26; --surface:#102936; --green:#2ed6a1; --green-deep:#104c3b; --green-border:#1b795b; --lime:#7dd3fc; --line:#1d4052; --red:#f43f5e; --amber:#f0b429; }
* { box-sizing:border-box; }
.auth-gate { min-height:100dvh; display:grid; place-items:center; padding:24px; }
.auth-card { width:min(430px,100%); padding:30px; border:1px solid var(--line); border-radius:18px; background:var(--card); box-shadow:0 24px 70px rgba(0,0,0,.35); }
.auth-card h1 { margin:0; font-size:2.2rem; }
.auth-card h2 { margin-top:28px; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0; }
.auth-tabs button,.account-button { border:1px solid var(--line); border-radius:9px; padding:10px; color:var(--ink); background:var(--surface); cursor:pointer; }
.auth-tabs button.active { color:#8fffd8; border-color:var(--green-border); background:var(--green-deep); }
.auth-form { display:grid; gap:14px; }
.auth-form label { display:grid; gap:6px; font-weight:700; }
.auth-form input { width:100%; padding:12px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); font-size:16px; }
.auth-form small { color:var(--muted); font-weight:400; }
.auth-message,#activation-message { min-height:1.5em; color:var(--red); }
.free-only { display:none; }
body.free-plan .pro-only { opacity:.58; filter:saturate(.62); pointer-events:none; user-select:none; }
body.free-plan .free-only { display:block; }
body.free-plan.viewing-shared #result,body.free-plan.viewing-shared .coupon { opacity:1; filter:none; pointer-events:auto; user-select:auto; }
.account-button { flex:0 0 auto; white-space:nowrap; }
.brand-area { display:flex; align-items:center; gap:12px; }
.plan-badge { display:inline-flex; align-items:center; min-height:24px; padding:3px 9px; border:1px solid rgba(255,255,255,.42); border-radius:999px; color:#dceafa; background:rgba(255,255,255,.08); font-size:.7rem; font-weight:500; letter-spacing:.08em; }
.plan-badge.pro { color:#352500; border-color:#ffd24a; background:#ffd24a; }
.import-code-form { margin:18px 0; padding:16px; border-radius:14px; background:#f3f6f9; }
.import-code-form label { display:block; margin-bottom:8px; color:#10233f; font-weight:500; }
.import-code-form > div { display:grid; grid-template-columns:1fr auto; gap:8px; }
.import-code-form input { min-width:0; padding:12px; border:1px solid #b9c6d3; border-radius:10px; color:#101820; background:#fff; font:500 1rem ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; text-transform:uppercase; }
.import-code-form .primary { width:auto; padding-inline:20px; }
#import-code-message { min-height:1.4em; margin:8px 0 0; color:#005bb3; }
.share-code { display:block; margin:18px 0; padding:16px; border-radius:14px; color:#073b68; background:#e8f3ff; font:500 1.7rem ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.12em; }
.shared-readonly { display:inline-flex; align-items:center; min-height:42px; padding:8px 14px; border-radius:18px; color:#073b68; background:#e8f3ff; font-weight:500; }
.subscription-panel { margin:18px 0; padding:18px; border-radius:16px; color:#10233f; background:#f3f6f9; text-align:left; }
.subscription-panel > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.subscription-panel > div span,.subscription-panel > div strong { font-weight:500; }
.subscription-panel > div strong { color:#0067c8; font-size:1.2rem; white-space:nowrap; }
.subscription-panel p { color:#53657a; }
.subscription-panel button { width:100%; margin-top:8px; }
.test-payment-note { display:block; margin-top:12px; color:#6d7783; text-align:center; }
body { margin:0; background:radial-gradient(circle at 82% 0,#0c3039 0,transparent 34%),var(--paper); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
main { width:min(1080px,calc(100% - 32px)); margin:0 auto; padding:0 0 80px; }
.topbar { position:sticky; top:0; z-index:100; display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 -16px 28px; padding:12px 16px; border-bottom:1px solid rgba(46,214,161,.3); border-radius:0 0 14px 14px; background:rgba(6,19,28,.94); box-shadow:0 10px 30px rgba(0,0,0,.3); backdrop-filter:blur(14px); }
.brand-lockup { flex:0 0 auto; }
.topbar h1 { margin:0; font-size:clamp(1.65rem,4vw,2.35rem); line-height:1; letter-spacing:-.025em; }
.topbar .brand-subtitle { margin:4px 0 0; font-size:.68rem; letter-spacing:.2em; }
.topbar .status { margin:0; text-align:right; }
.topbar-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; min-width:0; }
.saved-topbar-button { flex:0 0 auto; padding:9px 12px; border:1px solid var(--green-border); border-radius:9px; color:#8fffd8; background:var(--green-deep); font-weight:800; cursor:pointer; white-space:nowrap; }
.saved-topbar-button span { display:inline-grid; place-items:center; min-width:21px; height:21px; margin-left:5px; padding:0 5px; border-radius:999px; color:#062331; background:var(--green); font-size:.75rem; }
.hero-copy { margin-bottom:28px; }
.eyebrow,.step { color:var(--green); font-weight:800; letter-spacing:.13em; font-size:.76rem; }
h1 { color:#8bd4ff; font-family:Georgia,serif; font-size:clamp(2.6rem,7vw,5.6rem); line-height:.92; letter-spacing:-.045em; margin:8px 0 18px; text-shadow:0 0 28px rgba(74,181,232,.12); }
.brand-subtitle { margin:-8px 0 20px; color:var(--green); font-size:clamp(1.15rem,2.5vw,1.65rem); font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
h2 { color:#edf8fd; font:700 clamp(1.35rem,3vw,2rem) Georgia,serif; margin:4px 0 18px; }
.intro { max-width:680px; color:var(--muted); font-size:1.08rem; }
.status { display:inline-block; margin-top:12px; padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:var(--card); box-shadow:inset 0 1px rgba(255,255,255,.025); }
.panel { background:linear-gradient(145deg,rgba(13,32,44,.98),rgba(8,25,35,.98)); border:1px solid var(--line); border-radius:18px; box-shadow:0 14px 34px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.025); padding:clamp(20px,4vw,36px); margin:20px 0; }
.segmented { display:flex; gap:8px; margin-bottom:28px; position:relative; }
button,input,select { font:inherit; }
.type,.mode,.custom-type { flex:1; padding:13px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--surface); cursor:pointer; font-weight:700; }
.type:hover,.mode:hover,.custom-type:hover { border-color:#397087; }
.type.active,.mode.active,.custom-type.active { color:#8fffd8; background:var(--green-deep); border-color:var(--green-border); }
.mode { min-height:76px; text-align:left; }
.mode small { display:block; margin-top:4px; color:var(--muted); font-weight:400; }
.mode.active small { color:#acdcca; }
.type { position:relative; }
.type::after { content:attr(data-tooltip); position:absolute; z-index:20; left:50%; bottom:calc(100% + 12px); width:min(320px,80vw); padding:11px 13px; border:1px solid var(--green-border); border-radius:9px; color:var(--ink); background:#06131c; box-shadow:0 12px 28px rgba(0,0,0,.38); font-size:.8rem; font-weight:500; line-height:1.4; text-align:left; opacity:0; visibility:hidden; transform:translate(-50%,6px); transition:.16s ease; pointer-events:none; }
.type:hover::after,.type:focus-visible::after { opacity:1; visibility:visible; transform:translate(-50%,0); }
.u-row { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; font-size:.9rem; overflow-wrap:anywhere; }
.u-sign { box-shadow:inset 0 0 0 2px #58d6af,0 0 0 1px rgba(88,214,175,.2); }
.pct b { position:relative; }
.u-badge { position:absolute; top:-7px; right:-12px; display:grid; place-items:center; width:15px; height:15px; border-radius:50%; color:#03251c; background:#72edc0; font:800 9px/1 Inter,system-ui,sans-serif; font-style:normal; }
.risk { display:block; padding:20px 0 28px; border-block:1px solid var(--line); }
.risk > span:first-child,.range-labels { display:flex; justify-content:space-between; gap:12px; }
#risk-output { color:var(--green); font-weight:800; }
input[type=range] { width:100%; accent-color:var(--green); margin:18px 0 6px; }
.range-labels { color:var(--muted); font-size:.82rem; }
.options { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:16px; align-items:end; margin:28px 0; }
.options label { display:grid; gap:7px; font-weight:700; font-size:.9rem; }
.options small { color:var(--muted); font-weight:400; }
input[type=number],select { width:100%; background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:11px; color:var(--ink); }
.price { padding:9px 0; display:flex; justify-content:space-between; align-items:baseline; color:var(--muted); }
.price strong { color:var(--green); font-size:1.5rem; }
.sum { grid-column:1/-1; margin:0; font-weight:700; color:var(--green); }
.sum.invalid,#message,#custom-message { color:var(--red); }
.primary { width:100%; border:1px solid var(--green-border); border-radius:10px; padding:15px; color:#8fffd8; background:var(--green-deep); font-weight:800; cursor:pointer; }
.primary:disabled { opacity:.45; cursor:wait; }
.hidden { display:none !important; }
#message { min-height:1.5em; margin:12px 0 0; }
.result-head { display:flex; justify-content:space-between; gap:20px; align-items:start; }
.result-price { color:var(--green); font:700 2.2rem Georgia,serif; }
.metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; margin:20px 0; }
.metric { background:var(--surface); border:1px solid rgba(71,133,157,.18); border-radius:10px; padding:12px; }
.metric span { display:block; color:var(--muted); font-size:.78rem; }
.match { display:grid; grid-template-columns:32px minmax(160px,1fr) repeat(3,54px); gap:8px; align-items:center; padding:10px 0; border-top:1px solid var(--line); }
.teams { min-width:0; overflow:hidden; }
.teams > span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.live-state { display:block; color:var(--green); font-weight:800; }
.sign-choice { display:grid; gap:4px; min-width:0; text-align:center; }
.pct { position:relative; display:grid; place-items:center; min-height:38px; text-align:center; border:1px solid var(--line); border-radius:7px; padding:5px 2px; background:var(--surface); font-variant-numeric:tabular-nums; transition:.2s ease; }
.pct b { display:block; font-size:.78rem; color:var(--muted); }
.distribution-below { color:var(--muted); font-size:.72rem; font-variant-numeric:tabular-nums; }
.filled .pct:not(.picked) { opacity:.28; background:transparent; }
.pct.picked { color:#eafff8; background:#106448; border-color:var(--green); box-shadow:0 0 14px rgba(46,214,161,.16); }
.pct.picked b { color:#8fffd8; }
.filled .pct.picked + .distribution-below { color:#8fffd8; font-weight:700; }
.pct.live-outcome { outline:3px solid var(--amber); outline-offset:2px; }
.custom-help { max-width:720px; color:var(--muted); }
.custom-system-options { display:grid; grid-template-columns:repeat(2,minmax(160px,1fr)); gap:14px; align-items:end; margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:10px; background:rgba(16,41,54,.55); }
.custom-system-options label { display:grid; gap:7px; font-weight:700; font-size:.9rem; }
.custom-system-options small { grid-column:1/-1; color:var(--muted); }
.custom-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:22px 0; }
.custom-summary > div { padding:14px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.custom-summary span,.custom-summary strong { display:block; }
.custom-summary span { color:var(--muted); font-size:.78rem; }
.custom-summary strong { margin-top:2px; color:var(--green); font-size:1.25rem; }
.custom-actions { display:grid; grid-template-columns:auto 1fr; gap:10px; }
.custom-actions .text-button { margin:0; }
.custom-pick { width:100%; color:var(--ink); cursor:pointer; }
.custom-pick:hover { border-color:#397087; }
.custom-pick.selected { color:#eafff8; background:#106448; border-color:var(--green); box-shadow:0 0 14px rgba(46,214,161,.16); }
.custom-pick.selected b { color:#8fffd8; }
.coupon-note { color:var(--muted); max-width:720px; }
.submitted-button { border:0; border-radius:9px; padding:12px 20px; color:#062331; background:var(--lime); font-weight:800; cursor:pointer; }
.submitted-button.saved { color:#8fffd8; background:var(--green-deep); cursor:default; }
.result-actions { display:flex; flex-wrap:wrap; gap:10px; }
.result-actions .text-button { margin:0; }
.submit-button { border:1px solid var(--green-border); border-radius:9px; padding:12px 20px; color:#8fffd8; background:var(--green-deep); font-weight:800; cursor:pointer; }
.submit-button:disabled { color:#607985; background:#17303c; cursor:not-allowed; }
dialog { width:min(430px,calc(100% - 32px)); padding:30px; border:1px solid var(--line); border-radius:18px; color:var(--ink); background:var(--card); box-shadow:0 24px 70px rgba(0,0,0,.48); text-align:center; }
dialog::backdrop { background:rgba(1,8,13,.72); backdrop-filter:blur(4px); }
dialog h2 { margin:10px 0; }
dialog p { color:var(--muted); }
.dialog-check { display:grid; place-items:center; width:52px; height:52px; margin:auto; border:1px solid var(--green-border); border-radius:50%; color:#8fffd8; background:var(--green-deep); font-size:1.7rem; font-weight:900; }
.dialog-note { padding:9px; border:1px solid var(--line); border-radius:8px; background:var(--surface); font-size:.84rem; }
dialog .primary { margin-top:8px; }
.submit-steps { padding-left:22px; color:var(--muted); text-align:left; }
.submit-steps li { margin:7px 0; }
.dialog-actions { display:flex; gap:9px; }
.dialog-actions button { flex:1; margin-top:8px; }
.saved-title { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.saved-dialog { width:min(720px,calc(100% - 32px)); max-height:min(78vh,760px); overflow:auto; text-align:left; }
.dialog-close { width:40px; height:40px; border:1px solid var(--line); border-radius:50%; color:var(--ink); background:var(--surface); font-size:1.55rem; line-height:1; cursor:pointer; }
.saved-empty { padding:18px; border:1px dashed var(--line); border-radius:10px; text-align:center; }
.saved-note { margin-top:-8px; color:var(--muted); font-size:.86rem; }
.saved-card { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0; border-top:1px solid var(--line); }
.saved-card.selected { margin-inline:-12px; padding-inline:12px; border-radius:9px; background:var(--surface); }
.saved-card strong,.saved-card span,.saved-card small { display:block; }
.saved-card span { color:var(--muted); }
.saved-card small { margin-top:3px; color:var(--muted); }
.saved-actions { display:flex; gap:7px; }
.saved-actions button,.text-button { border:1px solid var(--green); border-radius:8px; padding:8px 11px; color:var(--green); background:transparent; font-weight:700; cursor:pointer; }
.saved-actions .delete { color:var(--red); border-color:var(--line); }
.live-result { margin-top:22px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.live-heading { display:flex; justify-content:space-between; gap:12px; font-weight:800; }
.live-heading small { color:var(--muted); font-weight:400; }
.live-dot { display:inline-block; width:9px; height:9px; margin-right:8px; border-radius:50%; background:#58717e; }
.live-dot.active { background:#d94b3d; box-shadow:0 0 0 4px rgba(217,75,61,.13); }
.live-dot.error { background:var(--red); }
.live-summary { display:grid; grid-template-columns:auto 1fr auto 1fr; gap:8px 12px; align-items:center; margin:16px 0; }
.live-summary strong { color:var(--green); font:700 2.3rem Georgia,serif; }
.live-summary span { color:var(--muted); font-size:.82rem; }
.live-levels { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.live-levels span { padding:8px; border:1px solid rgba(71,133,157,.16); border-radius:7px; background:var(--card); font-size:.75rem; text-align:center; }
.live-levels b { display:block; color:var(--green); font-size:1.05rem; }
@media (max-width:700px) {
  body { padding-bottom:env(safe-area-inset-bottom); }
  main { width:100%; padding:0 10px 46px; }
  .topbar { margin:0 -10px 18px; padding:10px 12px; border-radius:0; }
  .topbar h1 { font-size:1.55rem; }
  .topbar .brand-subtitle { font-size:.56rem; }
  .topbar .status { max-width:58%; padding:6px 8px; font-size:.7rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .topbar-actions { gap:6px; }
  .saved-topbar-button { padding:8px; font-size:.78rem; }
  .saved-topbar-button span { min-width:18px; height:18px; margin-left:3px; }
  .hero-copy { padding:0 8px; margin-bottom:18px; }
  .intro { font-size:.96rem; }
  .status { max-width:100%; font-size:.82rem; }
  .panel { padding:18px 14px; border-radius:14px; margin:12px 0; box-shadow:0 8px 20px rgba(0,0,0,.18); }
  .segmented { flex-direction:column; }
  .type::after { left:8px; right:8px; bottom:calc(100% + 7px); width:auto; transform:translateY(5px); }
  .type:hover::after,.type:focus-visible::after { transform:translateY(0); }
  .type,.mode,.custom-type,.primary,.submitted-button,.submit-button { min-height:48px; }
  input[type=number],select { min-height:46px; font-size:16px; }
  input[type=range] { height:30px; }
  input[type=range]::-webkit-slider-thumb { width:26px; height:26px; }
  .options { grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
  #mathematical-options { grid-template-columns:1fr; }
  .price { padding:10px 2px; }
  .result-head { display:block; }
  .result-price { margin-top:-10px; }
  .metrics { grid-template-columns:1fr 1fr; }
  .result-actions { display:grid; grid-template-columns:1fr; }
  .custom-summary { grid-template-columns:1fr 1fr; }
  .custom-summary > div:last-child { grid-column:1/-1; }
  .custom-actions { grid-template-columns:1fr; }
  .custom-system-options { grid-template-columns:1fr; }
  .custom-system-options small { grid-column:auto; }
  .live-summary { grid-template-columns:auto 1fr; }
  .live-levels { grid-template-columns:repeat(2,1fr); }
  .live-heading { display:block; }
  .live-heading small { display:block; margin:5px 0 0 17px; }
  .saved-card { display:block; }
  .saved-actions { margin-top:10px; }
  .saved-actions button { min-height:42px; flex:1; }
  .saved-title { display:block; }
  .text-button { min-height:42px; margin-bottom:12px; }
  .match { grid-template-columns:28px repeat(3,1fr); grid-template-areas:"number teams teams teams" ". one x two"; gap:7px; padding:13px 0; }
  .match > strong { grid-area:number; align-self:start; padding-top:2px; }
  .match > .teams { grid-area:teams; min-height:39px; }
  .match > .sign-choice:nth-of-type(1) { grid-area:one; }
  .match > .sign-choice:nth-of-type(2) { grid-area:x; }
  .match > .sign-choice:nth-of-type(3) { grid-area:two; }
  .pct { min-height:44px; }
  .pct b { font-size:.76rem; }
  .distribution-below { font-size:.75rem; }
  dialog { width:calc(100% - 16px); max-height:calc(100dvh - 16px); margin:auto auto 8px; padding:24px 18px calc(18px + env(safe-area-inset-bottom)); border-radius:20px 20px 12px 12px; }
  .saved-dialog { width:calc(100% - 16px); max-height:calc(100dvh - 16px); }
  .dialog-actions { flex-direction:column-reverse; }
  .dialog-actions button { min-height:48px; margin:0; }
}

/* NewTimes ljusa spelmanér */
:root { color-scheme:light; --ink:#101820; --muted:#53657a; --paper:#f3f6f9; --card:#ffffff; --surface:#f4f7fa; --green:#0067c8; --green-deep:#e8f3ff; --green-border:#9fc5e8; --lime:#f2a900; --line:#dce4ec; --red:#f0182d; --amber:#f2a900; }
body { background:var(--paper); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
main { width:min(980px,calc(100% - 32px)); }
.topbar { margin:0 -16px 24px; padding:14px 18px; border:0; border-radius:0 0 22px 22px; background:#073b68; box-shadow:0 8px 24px rgba(7,59,104,.18); backdrop-filter:none; }
.topbar h1,.brand-lockup h1 { color:#fff; font-family:inherit; font-weight:500; text-shadow:none; letter-spacing:0; }
.topbar .brand-subtitle,.brand-subtitle { color:#ffd24a; font-weight:500; }
.topbar .status { color:#dceafa; border-color:rgba(255,255,255,.24); background:rgba(255,255,255,.08); box-shadow:none; }
.saved-topbar-button { color:#fff; border:0; border-radius:18px; background:#0067c8; font-weight:500; }
.saved-topbar-button span { color:#073b68; background:#fff; }
.account-button { color:#fff; border-color:rgba(255,255,255,.38); background:transparent; }
.hero-copy { margin-bottom:20px; }
.intro { color:var(--muted); }
.eyebrow,.step { color:#0067c8; font-weight:500; }
h1,h2 { color:#10233f; font-family:inherit; font-weight:500; text-shadow:none; }
h2 { font-size:clamp(1.35rem,3vw,1.9rem); }
.panel { padding:clamp(20px,4vw,32px); border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 10px 28px rgba(7,42,78,.07); }
.play-mode { background:transparent; border:0; box-shadow:none; padding-inline:0; }
.mode-switch { gap:12px; }
.mode { position:relative; min-height:92px; padding:16px 38px 16px 18px; border:0; border-radius:18px; color:#10233f; background:#fff; box-shadow:0 8px 22px rgba(7,42,78,.09); font-weight:500; }
.mode:first-child { border-left:4px solid #0067c8; }
.mode:last-child { border-left:4px solid #f0182d; }
.mode::before { content:'›'; position:absolute; right:16px; top:50%; transform:translateY(-50%); font-size:1.7rem; font-weight:400; }
.mode:first-child::before { color:#0067c8; }
.mode:last-child::before { color:#f0182d; }
.mode small,.mode.active small { color:#53657a; }
.mode.active { color:#10233f; background:#fff; border-top:0; border-right:0; border-bottom:0; box-shadow:0 10px 26px rgba(7,42,78,.14); }
.segmented { gap:8px; }
.type,.custom-type { border:1px solid #b9c6d3; border-radius:10px; color:#10233f; background:#fff; font-weight:500; }
.type.active,.custom-type.active { color:#fff; border-color:#0067c8; background:#0067c8; }
.type::after { color:#fff; border:0; background:#073b68; }
.risk { border-color:var(--line); }
#risk-output,.price strong,.sum { color:#0067c8; font-weight:500; }
input[type=range] { accent-color:#0067c8; }
input[type=number],select,.auth-form input { color:#101820; border-color:#b9c6d3; background:#fff; }
.primary { color:#2f2505; border:0; border-radius:22px; background:#f2a900; font-weight:500; }
.primary:disabled { color:#7a838d; background:#e2e7ec; opacity:1; }
.metric,.custom-summary > div,.live-result { color:#10233f; border-color:var(--line); background:#f4f7fa; }
.metric span,.custom-summary span,.coupon-note { color:#53657a; }
.result-price,.custom-summary strong,.live-summary strong,.live-levels b { color:#0067c8; font-family:inherit; font-weight:500; }
.submitted-button { color:#fff; border-radius:20px; background:#0067c8; font-weight:500; }
.submitted-button.saved { color:#fff; background:#073b68; }
.submit-button { color:#fff; border:0; border-radius:20px; background:#0067c8; font-weight:500; }
.submit-button:disabled { color:#7a838d; background:#e2e7ec; }
.coupon.panel { padding:0; overflow:hidden; }
.coupon > div:first-child { display:flex; align-items:center; justify-content:space-between; padding:17px 20px; background:#073b68; }
.coupon > div:first-child .step { color:#ffd24a; }
.coupon > div:first-child h2 { margin:2px 0 0; color:#fff; }
#matches { background:#fff; }
.match { padding:14px 18px; border-top:1px solid #e1e7ee; }
.match > strong { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#fff; background:#0067c8; font-weight:500; }
.teams { color:#071a32; font-weight:500; }
.pct { min-height:44px; color:#101820; border:1px solid #b9c6d3; border-radius:10px; background:#fff; font-weight:500; }
.pct b,.distribution-below { color:#101820; font-weight:500; }
.pct.picked,.custom-pick.selected { color:#005bb3; border:2px solid #0067c8; background:#fff; box-shadow:inset 0 0 0 2px #d6eaff; }
.pct.picked b,.custom-pick.selected b,.filled .pct.picked + .distribution-below { color:#005bb3; }
.filled .pct:not(.picked) { opacity:.42; background:#f4f7fa; }
dialog { color:#10233f; border-color:var(--line); background:#fff; box-shadow:0 24px 70px rgba(7,42,78,.24); }
dialog::backdrop { background:rgba(7,42,78,.46); }
dialog h2 { color:#10233f; }
dialog p,.saved-note,.saved-card span,.saved-card small { color:#53657a; }
.dialog-note,.saved-card.selected,.live-levels span { border-color:var(--line); background:#f4f7fa; }
.dialog-check { color:#fff; border:0; background:#0067c8; }
.dialog-close { color:#10233f; border-color:var(--line); background:#f4f7fa; }
.saved-actions button,.text-button { color:#0067c8; border-color:#0067c8; background:#fff; font-weight:500; }
.saved-actions .delete { color:#f0182d; border-color:#f1b6bd; }
.auth-gate { background:#f3f6f9; }
.auth-card { border:0; border-radius:24px; background:#fff; box-shadow:0 20px 60px rgba(7,42,78,.16); }
.auth-card .brand-lockup { margin:-30px -30px 28px; padding:24px 30px 20px; border-radius:24px 24px 0 0; background:#073b68; }
.auth-card .brand-lockup h1 { font-size:2rem; }
.auth-card h2 { color:#10233f; }
.auth-card > p { color:#53657a; }
.auth-tabs button { color:#10233f; border-color:#b9c6d3; background:#fff; }
.auth-tabs button.active { color:#fff; border-color:#0067c8; background:#0067c8; }
.auth-form label { color:#10233f; font-weight:500; }
.auth-form small { color:#53657a; }
.auth-message,#activation-message { color:#c20f25; }

@media (max-width:700px) {
  main { padding-inline:12px; }
  .topbar { margin-inline:-12px; padding:12px; border-radius:0 0 22px 22px; }
  .topbar-actions { flex-wrap:wrap; }
  .topbar .status { order:3; max-width:100%; width:100%; text-align:left; }
  .mode-switch { display:grid; grid-template-columns:1fr 1fr; }
  .segmented:not(.mode-switch) { flex-direction:row; }
  .type,.custom-type { padding-inline:8px; }
  .panel { border-radius:16px; }
  .coupon.panel { border-radius:18px; }
  .match { padding:14px 12px; }
  .match > strong { padding:0; }
  .auth-gate { padding:12px; }
  .auth-card { padding:24px 18px; }
  .auth-card .brand-lockup { margin:-24px -18px 24px; padding:22px 20px 18px; }
}
