/* 1SCOR in-browser scorer styles, scoped under .sc1 so they can sit inside the marketing pages.
   Used by /score/ (scoring links, body.sc1) and the free scorers at /sports/<sport>/score/.
   Design: Website canvas (Score* and FreeScore* boards) and the Scorer canvas's scoring screens. */
.sc1 {
    --bg: #090F1C; --card: #0F172A; --card-line: #1B2740; --raised: #16213A; --raised-line: #22304A;
    --text: #F1F5F9; --text-2: #C7D2E3; --text-3: #94A3B8; --text-4: #7C8CA6;
    --gold: #FFDB58; --primary: #BA0031; --danger: #F48596; --danger-line: rgba(224,86,107,.45);
    --green: #4ADE9A; --amber: #FFB547;
}
.sc1, .sc1 * { box-sizing: border-box; }
.sc1 { margin: 0; background: var(--bg); color: var(--text); }
.sc1 {
    font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
    -webkit-tap-highlight-color: transparent;
}
.sc1 a { color: var(--gold); text-decoration: none; }
.sc1 button { font-family: inherit; cursor: pointer; color: inherit; }
.sc1 button:disabled { cursor: default; }
.sc1 input { font-family: inherit; }
.sc1 .wm { font-family: 'Lexend Deca', 'Rubik', sans-serif; font-weight: 900; color: var(--gold); }

/* ── Flow pages (Website canvas) ─────────────────────────────────── */
.sc1 .page { min-height: 100vh; min-height: 100dvh; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column;
    background: radial-gradient(600px 320px at 50% 0%, rgba(108,143,214,.14), transparent 70%), var(--bg); }
.sc1 .page.done { background: radial-gradient(600px 320px at 50% 0%, rgba(74,222,154,.12), transparent 70%), var(--bg); }
.sc1 .page > header { height: 64px; display: flex; align-items: center; padding: 0 16px; flex-shrink: 0; }
.sc1 .page > header .wm { font-size: 22px; }
.sc1 .body { flex-grow: 1; padding: 8px 16px 0; display: flex; flex-direction: column; gap: 18px; }
.sc1 .foot { padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 10px; }
.sc1 .lede { display: flex; flex-direction: column; gap: 6px; }
.sc1 h1 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
.sc1 .sub { font-size: 15px; color: var(--text-3); line-height: 1.45; }
.sc1 .fine { text-align: center; font-size: 12px; color: var(--text-4); line-height: 1.5; }
.sc1 .card { border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sc1 .row { display: flex; align-items: center; gap: 8px; }
.sc1 .grow { flex-grow: 1; min-width: 0; }
.sc1 .tname { font-size: 16px; font-weight: 600; }
.sc1 .pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.sc1 .pill.live { background: rgba(244,67,54,.14); color: #FF8A80; }
.sc1 .pill.live::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #FF8A80; }
.sc1 .pill.final { background: rgba(148,163,184,.14); color: var(--text-2); }
.sc1 .vs { display: flex; align-items: center; gap: 10px; }
.sc1 .vs .side { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; }
.sc1 .vs .side.r { justify-content: flex-end; }
.sc1 .vs .nm { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc1 .vs .nm.win { font-weight: 600; } .sc1 .vs .nm.lose { color: var(--text-3); }
.sc1 .vs .sc { font-size: 18px; font-weight: 800; }
.sc1 .meta { font-size: 13px; color: var(--text-3); }
.sc1 .av { width: 40px; height: 40px; border-radius: 50%; background: var(--raised-line); color: var(--text-2); font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; background-size: cover; background-position: center; }
.sc1 .av.win { border: 2px solid var(--gold); }
.sc1 .btn { height: 52px; border-radius: 14px; border: 1px solid var(--raised-line); background: transparent; color: var(--text); font-size: 16px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-align: center; padding: 0 16px; }
.sc1 .btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.sc1 .btn.primary:disabled { opacity: .45; }
.sc1 .btn.google { background: #fff; border-color: #fff; color: #1F1F1F; }
.sc1 .btn.apple { background: #000; color: #fff; }
.sc1 .btn.link { height: 44px; border: none; font-size: 14px; color: var(--text-2); font-weight: 400; }
.sc1 .btn.danger { border-color: var(--danger-line); color: var(--danger); }
.sc1 .field { height: 52px; border-radius: 14px; border: 1px solid var(--raised-line); background: var(--card); color: var(--text); font-size: 17px; padding: 0 16px; width: 100%; }
.sc1 .field:focus { outline: none; border-color: var(--gold); }
.sc1 .field.code { letter-spacing: 8px; text-align: center; font-size: 22px; font-weight: 700; }
.sc1 .err { color: var(--danger); font-size: 14px; line-height: 1.4; }
.sc1 .badge { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; }
.sc1 .badge.ok { background: rgba(74,222,154,.14); }
.sc1 .badge.warn { background: rgba(255,219,88,.12); }
.sc1 .center { min-height: 100vh; min-height: 100dvh; padding: 0 16px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(600px 320px at 50% 30%, rgba(108,143,214,.14), transparent 70%), var(--bg); color: var(--text-2); }
.sc1 .box { width: 100%; max-width: 360px; padding: 32px 28px; text-align: center; background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; }
.sc1 .box .wm { font-size: 26px; margin-bottom: 20px; }
.sc1 .box h1 { margin: 0 0 8px; font-size: 20px; color: #fff; }
.sc1 .box p { margin: 0 0 20px; font-size: 15px; line-height: 1.45; }
.sc1 .box .btn { height: auto; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; margin-top: 10px; }
.sc1 .box .lnk { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--text-3); background: none; border: none; }
.sc1 .spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--raised-line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Cue scoring screen (Scorer canvas: ScoringSnooker / ScoringBilliards) ── */
.sc1 .scr { height: 100vh; height: 100dvh; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; }
.sc1 .hdr { height: 56px; display: flex; align-items: center; padding: 0 16px; flex-shrink: 0; gap: 8px; }
.sc1 .hdr .t1 { font-size: 16px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc1 .hdr .t2 { font-size: 12px; font-weight: 500; letter-spacing: .6px; color: var(--text-2); display: flex; align-items: center; gap: 6px; text-transform: uppercase; }
.sc1 .rated { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 9px; font-size: 10px; font-weight: 700; letter-spacing: .5px; border: none; }
.sc1 .rated.on { background: rgba(255,219,88,.14); color: var(--gold); }
.sc1 .rated.off { background: rgba(148,163,184,.14); color: var(--text-3); }
.sc1 .conn { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 10px; font-weight: 700; letter-spacing: .5px; flex-shrink: 0; }
.sc1 .conn.on { background: rgba(74,222,154,.12); color: var(--green); }
.sc1 .conn.off { background: rgba(244,67,54,.14); color: #FF8A80; }
.sc1 .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 16px 8px; flex-shrink: 0; }
.sc1 .ob { height: 44px; border-radius: 14px; border: 1px solid var(--raised-line); background: transparent; color: var(--text); font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; }
.sc1 .ob.danger { border-color: var(--danger-line); color: var(--danger); }
.sc1 .cards { display: flex; gap: 8px; padding: 0 16px; flex-shrink: 0; }
.sc1 .pc { flex: 1 1 0; min-width: 0; position: relative; border-radius: 16px; border: 1px solid var(--card-line); background: var(--card); padding: 14px 8px 10px;
    display: flex; flex-direction: column; align-items: center; gap: 4px; overflow: hidden; }
.sc1 .pc.on { border: 2px solid var(--gold); background: rgba(255,219,88,.05); }
.sc1 .ftab { position: absolute; top: 0; min-width: 34px; height: 30px; padding: 0 8px; background: var(--gold); color: var(--bg); border: none;
    font-family: 'Lexend Deca', 'Rubik', sans-serif; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.sc1 .ftab.r { right: 0; border-radius: 0 16px 0 12px; } .sc1 .ftab.l { left: 0; border-radius: 16px 0 12px 0; }
.sc1 .pav { width: 48px; height: 48px; border-radius: 50%; background: var(--raised-line); color: var(--text-2); font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-size: cover; background-position: center; }
.sc1 .pc.on .pav { border: 2px solid var(--gold); }
.sc1 .pn { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 5px; max-width: 100%; white-space: nowrap; overflow: hidden; }
.sc1 .pn span.n { overflow: hidden; text-overflow: ellipsis; }
.sc1 .mk { width: 10px; height: 10px; border-radius: 5px; border: 1px solid #3E5068; flex-shrink: 0; }
.sc1 .att { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--bg); background: var(--gold); border-radius: 5px; padding: 2px 5px; line-height: 1.2; }
.sc1 .att-sp { height: 15px; }
.sc1 .scl { display: flex; gap: 6px; align-items: baseline; }
.sc1 .score { position: relative; display: inline-block; font-size: 44px; line-height: 1; font-weight: 800; color: var(--gold); transition: transform .15s; }
.sc1 .score.bump { transform: scale(1.08); text-shadow: 0 0 18px rgba(255,219,88,.45); }
.sc1 .plus { font-size: 13px; font-weight: 800; color: var(--bg); background: var(--gold); align-self: center; border-radius: 8px; padding: 1px 6px; box-shadow: 0 0 12px rgba(255,219,88,.5); }
.sc1 .hc { font-size: 11px; font-weight: 700; color: var(--bg); background: var(--text-2); border-radius: 6px; padding: 2px 6px; align-self: center; }
.sc1 .brk { font-size: 22px; font-weight: 700; color: var(--gold); min-height: 26px; line-height: 26px; }
.sc1 .sn { font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--amber); background: rgba(255,181,71,.12); border-radius: 5px; padding: 2px 6px; }
.sc1 .diff { text-align: center; font-size: 12px; color: var(--text-3); padding: 6px 0; flex-shrink: 0; }
.sc1 .strip { margin: 0 16px; min-height: 44px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); padding: 0 10px; display: flex; align-items: center; gap: 6px;
    overflow-x: auto; flex-shrink: 0; scrollbar-width: none; }
.sc1 .strip.fb { background: rgba(255,219,88,.1); border-color: rgba(255,219,88,.45); font-size: 13px; color: var(--text); padding: 8px 12px; line-height: 1.35; }
.sc1 .strip.fb b { color: var(--gold); letter-spacing: .6px; font-size: 11px; margin-right: 6px; }
.sc1 .strip.ask { flex-wrap: wrap; padding: 10px 12px; font-size: 13px; line-height: 1.35; color: var(--text); background: rgba(255,219,88,.1); border-color: rgba(255,219,88,.45); }
.sc1 .strip.ask .acts { display: flex; gap: 8px; width: 100%; }
.sc1 .strip.ask .acts button { flex: 1; height: 36px; border-radius: 10px; border: 1px solid var(--raised-line); background: var(--raised); font-size: 14px; font-weight: 600; }
.sc1 .redchip { height: 28px; padding: 0 8px; border-radius: 14px; border: 1px solid var(--raised-line); background: var(--raised); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.sc1 .redchip i { width: 10px; height: 10px; border-radius: 5px; background: #D12B2B; }
.sc1 .vsep { width: 1px; height: 24px; background: var(--raised-line); flex-shrink: 0; }
.sc1 .eb { width: 28px; height: 28px; border-radius: 14px; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc1 .ph { font-size: 13px; color: var(--text-4); }
.sc1 .bot { display: flex; gap: 8px; padding: 8px 16px 0; flex-shrink: 0; }
.sc1 .back { flex: 1 1 0; min-width: 0; border-radius: 14px; border: 1px solid var(--raised-line); background: transparent; font-size: 15px; font-weight: 600;
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; padding: 4px; }
.sc1 .back small { font-size: 11px; font-weight: 500; color: var(--text-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc1 .back:disabled { opacity: .45; }
.sc1 .ev { flex: 3 1 0; min-width: 0; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.sc1 .ev > span { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--text-3); text-align: center; }
.sc1 .ev .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sc1 .eb2 { height: 44px; border-radius: 12px; font-size: 14px; font-weight: 700; letter-spacing: .4px; display: flex; align-items: center; justify-content: center;
    background: var(--raised); border: 1px solid var(--raised-line); color: var(--text); }
.sc1 .eb2.foul { background: rgba(224,86,107,.14); border-color: rgba(224,86,107,.4); color: var(--danger); }
.sc1 .pad { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 0; flex-shrink: 0; }
.sc1 .pad .r { display: flex; gap: 16px; justify-content: center; }
.sc1 .ball { position: relative; width: 72px; height: 56px; flex-shrink: 0; border-radius: 14px; border: none; color: #fff; font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; }
.sc1 .ball.wide { width: auto; min-width: 72px; padding: 0 12px; font-size: 16px; flex: 1 1 0; max-width: 120px; }
.sc1 .ball.dim { opacity: .38; }
.sc1 .ball.lit { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(255,219,88,.85), 0 0 14px rgba(255,219,88,.35); }
.sc1 .ball .fbv { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: var(--bg); font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.sc1 .sfoot { margin-top: auto; padding: 14px 0; text-align: center; flex-shrink: 0; }
.sc1 .sfoot .wm { font-size: 20px; opacity: .7; }

/* ── Rally / football (Scorer canvas: RallyScoring) ── */
.sc1 .rl1 { padding: 14px 16px 2px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text-2); flex-shrink: 0; }
.sc1 .rl2 { text-align: center; font-size: 13px; color: var(--text-3); flex-shrink: 0; }
.sc1 .rl2 b { color: var(--text); }
.sc1 .rmid { flex-grow: 1; display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.sc1 .rcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
/* flex-basis auto: with overflow hidden and a 0 basis, the card collapsed to its padding in the
   auto-height column (phones); on a laptop .scr.wide stretches the column and the card grows. */
.sc1 .rcol .pc { width: 100%; flex-basis: auto; }
.sc1 .serve { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--bg); background: var(--gold); border-radius: 5px; padding: 2px 5px; line-height: 1.2; }
.sc1 .plus1 { width: 100%; height: 72px; border-radius: 16px; border: none; background: var(--primary); color: #fff; font-size: 26px; font-weight: 700; margin-top: 12px; }
.sc1 .plus1.sm { height: 52px; font-size: 16px; margin-top: 8px; background: transparent; border: 1px solid var(--raised-line); }
.sc1 .rbot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 24px; flex-shrink: 0; }
.sc1 .rbot .ob { height: 52px; flex-direction: column; line-height: 1.15; }
.sc1 .rbot .ob small { font-size: 11px; font-weight: 500; color: var(--text-3); }
.sc1 .goals { margin: 8px 16px 0; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); padding: 10px 12px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.sc1 .goals b { width: 100%; font-size: 11px; letter-spacing: 1px; color: var(--text-3); }

/* ── Sheets ── */
.sc1 .scrim { position: fixed; inset: 0; background: rgba(4,8,18,.66); z-index: 10; display: flex; align-items: flex-end; justify-content: center; }
.sc1 .sheet { width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--card); border-radius: 24px 24px 0 0; padding: 10px 20px 28px;
    display: flex; flex-direction: column; gap: 14px; animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
.sc1 .handle { width: 32px; height: 4px; border-radius: 2px; background: #3E5068; align-self: center; flex-shrink: 0; }
.sc1 .sheet h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.sc1 .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--text-3); text-transform: uppercase; }
.sc1 .lbl { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--text-3); text-transform: uppercase; }
.sc1 .msg { font-size: 15px; color: var(--text-2); line-height: 1.45; margin: 0; }
.sc1 .note { font-size: 13px; color: var(--text-3); line-height: 1.45; margin: 0; }
.sc1 .opts { display: flex; flex-direction: column; gap: 8px; }
.sc1 .opts.two { display: grid; grid-template-columns: 1fr 1fr; }
.sc1 .opt { height: 52px; border-radius: 14px; border: 1px solid var(--raised-line); background: transparent; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.sc1 .opt.sel { border-color: var(--gold); background: rgba(255,219,88,.08); color: var(--gold); }
.sc1 .opt.gold { border-color: rgba(255,219,88,.55); background: rgba(255,219,88,.06); color: var(--gold); }
.sc1 .opt:disabled { opacity: .38; }
.sc1 .seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; gap: 4px; }
.sc1 .seg button { height: 40px; border-radius: 9px; border: none; background: transparent; font-size: 14px; font-weight: 600; color: var(--text-3); }
.sc1 .seg button.sel { background: var(--raised-line); color: var(--text); }
.sc1 .stats { display: flex; flex-direction: column; gap: 8px; border-radius: 16px; background: var(--bg); padding: 14px 16px; }
.sc1 .stats .big { font-size: 32px; font-weight: 800; text-align: center; }
.sc1 .stats .kv { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-3); }
.sc1 .stats .kv b { color: var(--text); font-weight: 600; }
.sc1 .sw { display: flex; align-items: center; gap: 12px; }
.sc1 .sw .txt { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.sc1 .sw .txt small { font-size: 12px; color: var(--text-3); font-weight: 400; line-height: 1.4; }
.sc1 .tg { width: 46px; height: 28px; border-radius: 14px; border: none; background: var(--raised-line); position: relative; flex-shrink: 0; }
.sc1 .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: var(--text-3); transition: left .15s; }
.sc1 .tg.on { background: var(--gold); } .sc1 .tg.on::after { left: 21px; background: var(--bg); }
.sc1 .chips { display: flex; gap: 8px; }
.sc1 .chip { flex: 1; height: 56px; border-radius: 14px; border: none; font-size: 22px; font-weight: 700; color: #fff; }
.sc1 .chip.sel { box-shadow: 0 0 0 3px var(--gold); }
.sc1 .award { font-size: 15px; color: var(--text-2); }
.sc1 .award b { color: var(--gold); }
.sc1 .grid7 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sc1 .grid7 button { height: 48px; border-radius: 12px; border: 1px solid var(--raised-line); background: transparent; font-size: 17px; font-weight: 700; }
.sc1 .grid7 button.sel { border-color: var(--gold); color: var(--gold); background: rgba(255,219,88,.08); }
.sc1 .fh { display: flex; flex-direction: column; }
.sc1 .fh .fr { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--card-line); font-size: 14px; }
.sc1 .fh .fr:last-child { border-bottom: none; }
.sc1 .fh .fn { width: 32px; color: var(--text-3); font-weight: 600; }
.sc1 .fh .fs { width: 72px; font-weight: 700; }
.sc1 .fh .fw { flex-grow: 1; color: var(--text-2); }
.sc1 .fh .fb { color: var(--text-3); font-size: 13px; }
.sc1 .inplay { font-size: 10px; font-weight: 700; letter-spacing: .6px; color: var(--gold); }
.sc1 .fgrid { display: flex; gap: 6px; overflow-x: auto; }
.sc1 .fgrid .c { min-width: 52px; border-radius: 12px; background: var(--bg); padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; }
.sc1 .fgrid .c span { color: var(--text-3); font-size: 11px; font-weight: 600; }
.sc1 .fgrid .c .w { color: var(--gold); }
.sc1 .tb { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.sc1 .tb span:last-child { color: var(--text-3); }
.sc1 .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--raised); border: 1px solid var(--raised-line); color: var(--text);
    padding: 12px 16px; border-radius: 12px; font-size: 14px; z-index: 20; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.sc1 .hidden { display: none !important; }
@media (max-height: 700px) { .sc1 .ball { height: 50px; } .sc1 .pad { gap: 8px; } .sc1 .score { font-size: 38px; } }

/* Inside the marketing pages: undo styles.css's .btn / .chip extras. */
.sc1 .btn:hover, .sc1 .btn:active { transform: none; text-decoration: none; }
.sc1 .btn { min-height: 0; line-height: 1.2; }
.sc1 .chip { display: block; padding: 0; letter-spacing: 0; text-transform: none; }
.sc1 h1, .sc1 h2 { letter-spacing: normal; }

/* ── Free scorer (/sports/<sport>/score/; Website canvas FreeScore* boards) ── */
/* #app covers the sport page while scoring or showing the result; sheets and the toast sit above it. */
.sc1.fs-overlay { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; background: var(--bg); }
.sc1.fs-overlay[hidden] { display: none; }
body.fs-open { overflow: hidden; }
.sc1.fs-layer .scrim { z-index: 1010; }
.sc1.fs-layer .toast { z-index: 1020; }
.sc1 .fs-desk { display: none; }
#fs-card.sc1 { background: transparent; }

.sc1 .fs-setup { border-radius: 20px; background: var(--card); border: 1px solid var(--raised-line); padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.sc1 .fs-setup .lbl { font-size: 12px; letter-spacing: .06em; margin-top: 4px; }
.sc1 .fs-head { display: flex; align-items: center; gap: 8px; }
.sc1 .fs-head h2 { margin: 0; font-size: 17px; font-weight: 700; flex-grow: 1; color: var(--text); }
.sc1 .fs-tag { font-size: 12px; color: var(--text-3); }
.sc1 .fs-setup .seg { border: 1px solid var(--raised-line); border-radius: 14px; }
.sc1 .seg.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc1 .fs-fields { display: flex; flex-direction: column; gap: 8px; }
.sc1 .fs-side { font-size: 12px; color: var(--text-4); margin-top: 2px; }
.sc1 .fs-field { height: 50px; border-radius: 14px; border: 1px solid var(--raised-line); background: var(--bg); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.sc1 .fs-field:focus-within { border-color: var(--gold); }
.sc1 .fs-field i { font-style: normal; width: 26px; height: 26px; border-radius: 13px; background: var(--raised-line); color: var(--text-2); font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex: none; }
.sc1 .fs-field input { flex: 1 1 auto; min-width: 0; height: 100%; border: none; background: transparent; color: var(--text); font-size: 16px; outline: none; padding: 0; }
.sc1 .fs-field input::placeholder { color: var(--text-4); }
.sc1 .fs-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); border: 1px solid var(--raised-line); }
.sc1 .fs-chip { flex: 1 1 0; min-width: max-content; height: 38px; padding: 0 10px; border-radius: 10px; border: none; background: transparent; color: var(--text-3);
    font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc1 .fs-chip.sel { background: var(--raised-line); color: var(--text); }
.sc1 .fs-row { display: flex; align-items: center; gap: 12px; min-height: 50px; border-radius: 14px; border: 1px solid var(--raised-line); background: var(--bg); padding: 6px 6px 6px 14px; }
.sc1 .fs-row .grow { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.sc1 .fs-row .grow b { font-weight: 600; }
.sc1 .fs-row small { font-size: 12px; color: var(--text-3); }
.sc1 .fs-step { display: flex; align-items: center; gap: 6px; }
.sc1 .fs-step b { min-width: 28px; text-align: center; font-size: 17px; font-weight: 700; }
.sc1 .fs-step button { width: 38px; height: 38px; border-radius: 10px; border: none; background: var(--raised-line); color: var(--text); font-size: 20px; font-weight: 600; }
.sc1 .fs-step button:disabled { opacity: .35; }
.sc1 .fs-add { height: 38px; padding: 0 14px; border-radius: 10px; border: none; background: transparent; color: var(--gold); font-size: 15px; font-weight: 500; }
.sc1 .fs-fixed { font-size: 14px; line-height: 1.45; color: var(--text-2); border-radius: 14px; background: var(--bg); border: 1px solid var(--raised-line); padding: 12px 14px; }
.sc1 .fs-hc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc1 .fs-hc label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-3); min-width: 0; }
.sc1 .fs-hc label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc1 .fs-hc input { height: 46px; border-radius: 12px; border: 1px solid var(--raised-line); background: var(--bg); color: var(--text); font-size: 17px; font-weight: 600; padding: 0 12px; width: 100%; outline: none; }
.sc1 .fs-hc input:focus { border-color: var(--gold); }
.sc1 .fs-setup .btn.primary { height: 54px; font-size: 17px; margin-top: 6px; }
.sc1 .fs-setup .fine { margin: -4px 0 0; }
.sc1 .fs-last-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--card-line); padding-top: 12px; font-size: 14px; color: var(--text-2); }
.sc1 .fs-link { border: none; background: none; color: var(--gold); font-size: 14px; font-weight: 600; padding: 6px 0; flex-shrink: 0; }
.sc1 .fs-resume { border: 2px solid var(--gold); gap: 14px; }
.sc1 .fs-resume .fs-head h2 { font-size: 16px; font-weight: 600; }
.sc1 .fs-note { margin: 0; border-radius: 14px; background: rgba(255,219,88,.08); border: 1px solid rgba(255,219,88,.3); padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.sc1 .btn svg { flex-shrink: 0; }
/* Free scorer done screen: the way on to the full product (Website canvas FreeScorePhoneDoneApp). */
.sc1 .fs-app { margin-top: 8px; border-radius: 20px; padding: 20px 18px 18px; background: linear-gradient(120deg, #800020, #BA0031); display: flex; flex-direction: column; gap: 14px; }
.sc1 .fs-app .fs-eb { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.sc1 .fs-app h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: #fff; }
.sc1 .fs-app ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sc1 .fs-app li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.94); }
.sc1 .fs-app li svg { flex-shrink: 0; margin-top: 1px; }
.sc1 .fs-app .btn.white { margin-top: 4px; background: #fff; border-color: #fff; color: #800020; font-weight: 700; }
.sc1 .fs-app .note { font-size: 13px; color: rgba(255,255,255,.85); text-align: center; }

/* Keyboard hints and the laptop scoreboard (FreeScoreDeskScoring) */
.sc1 kbd.fs-k { font-family: inherit; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid #3E5068; border-bottom-width: 2px;
    color: var(--text-2); align-items: center; justify-content: center; margin-left: 10px; vertical-align: middle; }
.sc1 .plus1 kbd.fs-k { border-color: rgba(255,255,255,.5); color: #fff; font-size: 15px; min-width: 30px; height: 30px; margin-left: 16px; }
@media (min-width: 900px) and (hover: hover) {
    .sc1 .fs-desk { display: inline-flex; }
    .sc1 .fs-bar.fs-desk { display: flex; }
    .sc1 .fs-bar { height: 72px; align-items: center; gap: 18px; padding: 0 40px; flex-shrink: 0; }
    .sc1 .fs-bar .wm { font-size: 26px; }
    .sc1 .fs-full { height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--raised-line); background: transparent; color: var(--text); font-size: 15px; font-weight: 600;
        display: inline-flex; align-items: center; }
    .sc1 .scr.wide { max-width: none; background: radial-gradient(900px 420px at 50% 0%, rgba(63,99,176,.16), transparent 70%), var(--bg); }
    .sc1 .scr.wide .rl1 { font-size: 20px; padding-top: 0; }
    .sc1 .scr.wide .rl2 { font-size: 16px; }
    .sc1 .scr.wide .rmid { gap: 28px; padding: 16px 40px 0; align-items: stretch; }
    .sc1 .scr.wide .pc { border-radius: 28px; padding: 36px 32px 28px; gap: 10px; flex-grow: 1; justify-content: center; }
    .sc1 .scr.wide .pc.on { border-width: 3px; }
    .sc1 .scr.wide .ftab { min-width: 64px; height: 56px; padding: 0 14px; font-size: 32px; }
    .sc1 .scr.wide .ftab.r { border-radius: 0 25px 0 18px; } .sc1 .scr.wide .ftab.l { border-radius: 25px 0 18px 0; }
    .sc1 .scr.wide .pav { display: none; }
    .sc1 .scr.wide .pn { font-size: 34px; }
    .sc1 .scr.wide .serve { font-size: 14px; letter-spacing: 1.4px; border-radius: 8px; padding: 5px 10px; }
    .sc1 .scr.wide .score { font-size: min(300px, 32vh); letter-spacing: -.03em; }
    .sc1 .scr.wide .plus1 { height: 96px; border-radius: 20px; font-size: 34px; display: flex; align-items: center; justify-content: center; }
    .sc1 .scr.wide .rbot { padding-left: 40px; padding-right: 40px; }
    .sc1 .scr.wide .rbot.r3 { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 24px 40px 32px; }
    .sc1 .scr.wide .rbot .ob { height: 56px; padding: 0 20px; min-width: 200px; }
    .sc1 .fs-last { justify-content: center; font-size: 14px; color: var(--text-4); }
    .sc1 .scr.wide .goals { margin: 12px 40px 0; }
}
