/* Free plan (design handoff free-plan, 1 Nov 2026; docs/design/free-plan): the sign-up, Welcome, the quota
   widget on the account page and the upgrade entry. On top of style.css: its tokens and classes stay; this
   adds the designer's components (components.css) and page parts (layout.css), as they are, and the few
   tokens they need. Bar widths come from data-p (free.js sets --v/--h/--w: no inline styles under the CSP). */
:root {
  --navy: #0D1330; --amber-hover: #FFC94D; --r-md: 12px; --r-pill: 999px;
  --meter-track: #E4E7EE; --meter-use: #2340F5; --meter-warn: #FFB81C; --meter-full: #D6203A; --meter-today: #535C78;
  --code-bg: #0A0F2A; --code-head: #161E45; --code-line: rgba(255,255,255,.12);
  --code-fg: #DCE1F5; --code-mut: #8E97B8; --code-key: #FF9ED8; --code-str: #FFFFFF; --code-num: #FFB81C; --code-pun: #9DAEFF; --code-ok: #8FE3BC;
}
@media (prefers-color-scheme: dark) {
  :root { --meter-track: #232A52; --meter-use: #93A2FF; --meter-full: #FF6B7A; --meter-today: #C3C8D9; --code-bg: #060A1F; --code-head: #111839; }
}
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 15px; height: 15px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Quota meter ---------- */
.qm { --qm-fill: var(--meter-use); display: grid; gap: 10px; min-width: 0; }
.qm[data-state="warn"] { --qm-fill: var(--meter-warn); }
.qm[data-state="full"] { --qm-fill: var(--meter-full); }
.qm-hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.qm-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.qm-reset { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.qm-reset .ic { width: 15px; height: 15px; }
.qm-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.qm-big b { font-size: 40px; line-height: 1; font-weight: 800; font-stretch: 72%; letter-spacing: -.01em; }
.qm-big .of { font-size: 20px; font-weight: 700; font-stretch: 72%; color: var(--fg-2); }
.qm-big .lbl { font-size: 15px; color: var(--fg-2); }
.qm[data-state="warn"] .qm-big b { color: var(--warn); }
.qm[data-state="full"] .qm-big b { color: var(--err); }
.qm-bar { position: relative; height: 12px; border-radius: var(--r-pill); background: var(--meter-track); overflow: visible; }
.qm-bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 0%); border-radius: var(--r-pill); background: var(--qm-fill); min-width: 12px; }
.qm-mark { position: absolute; top: -4px; bottom: -4px; left: var(--at, 80%); width: 2px; border-radius: 1px; background: var(--fg-3); opacity: .55; }
.qm-leg { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.qm-leg b { color: var(--fg); font-weight: 700; }
.qm-min { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.qm-min b { color: var(--fg); }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 14px; height: 14px; border-radius: 4px; background: var(--meter-track); }
.pips i.on { background: var(--qm-fill); }
.qm-note { font-size: 13px; color: var(--fg-3); }
/* Compact: one line, for the docs Try it panel and headers */
.qm-compact { display: grid; grid-template-columns: auto minmax(60px, 1fr); align-items: center; gap: 6px 12px; font-size: 13.5px; }
.qm-compact .qm-bar { height: 8px; }
.qm-compact .qm-bar > i { min-width: 8px; }
.qm-compact .qm-txt { font-variant-numeric: tabular-nums; color: var(--fg-2); white-space: nowrap; }
.qm-compact .qm-txt b { color: var(--fg); }
.qm-compact .qm-sub { grid-column: 1 / -1; font-size: 12.5px; color: var(--fg-3); }

/* ---------- Quota widget (dashboard) ---------- */
.qw { display: grid; gap: 20px; }
.qw-top { display: grid; gap: 20px; }
.qw-cols { display: grid; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.qw-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.qw-sub h3 { font-size: 14px; font-weight: 700; }
.qw-sub span { font-size: 12.5px; color: var(--fg-3); }
@media (min-width: 760px) { .qw-cols { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; } }

/* Last 7 days: one series, thin bars, rounded tops, the daily limit as a line, today in the secondary ink */
.ch7 { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; padding-top: 22px; }
.ch7-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 11.5px; line-height: 14px; color: var(--fg-3); text-align: right; font-variant-numeric: tabular-nums; height: 132px; }
.ch7-y span:first-child { transform: translateY(-7px); }
.ch7-y span:last-child { transform: translateY(7px); }
.ch7-plot { position: relative; height: 132px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; align-items: end;
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat; }
.ch7-cap { position: absolute; left: 0; right: 0; top: 0; border-top: 2px dashed var(--fg-3); opacity: .7; }
.ch7-cap span { display: none; }
.ch7-b { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.ch7-b i { width: min(26px, 70%); height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; background: var(--meter-use); }
.ch7-b.today i { background: var(--meter-today); }
.ch7-b.hit i { background: var(--meter-full); }
.ch7-b .tip { position: absolute; bottom: calc(var(--h) + 6px); left: 50%; transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; background: var(--fg); color: var(--surface); font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; }
.ch7-b:hover .tip, .ch7-b:focus-visible .tip, .ch7-b.show .tip { opacity: 1; }
.ch7-b:hover i { filter: brightness(1.12); }
.ch7-x { grid-column: 2; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; font-size: 11.5px; color: var(--fg-3); text-align: center; }
.ch7-x b { color: var(--fg); }
.ch7-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--fg-2); }
.ch7-key span { display: inline-flex; align-items: center; gap: 6px; }
.ch7-key i { width: 10px; height: 10px; border-radius: 3px; background: var(--meter-use); }
.ch7-key i.t { background: var(--meter-today); } .ch7-key i.h { background: var(--meter-full); }
.ch7-key i.l { width: 16px; height: 0; border-radius: 0; background: none; border-top: 2px dashed var(--fg-3); }
details.as-table { margin-top: 10px; font-size: 13.5px; }
details.as-table summary { cursor: pointer; color: var(--fg-2); font-weight: 600; }
details.as-table table { margin-top: 8px; font-size: 13px; }
details.as-table th, details.as-table td { padding: 6px 10px; }

/* By sport: one hue, sorted by size; numbers in text ink */
.split { list-style: none; display: grid; gap: 10px; }
.split li { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 14px; }
.split .sb { height: 8px; border-radius: var(--r-pill); background: var(--meter-track); overflow: hidden; }
.split .sb i { display: block; height: 100%; width: var(--w); border-radius: var(--r-pill); background: var(--meter-use); }
.split b { text-align: right; font-variant-numeric: tabular-nums; }


/* ---------- Sport chips (radio group) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--fg); font-size: 14.5px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.chip span .ic { width: 17px; height: 17px; color: var(--fg-2); }
.chip span:hover { border-color: var(--fg-2); }
.chip input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--surface); }
.chip input:checked + span .ic { color: var(--amber); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 480px) { .chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; } }

/* ---------- Code block (always dark) ---------- */
.code { border-radius: 14px; background: var(--code-bg); color: var(--code-fg); overflow: hidden; min-width: 0; border: 1px solid rgba(255,255,255,.06); }
.code-hd { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 10px; background: var(--code-head); border-bottom: 1px solid var(--code-line); }
.code-tab { height: 30px; padding: 0 12px; border-radius: 7px; border: 0; background: transparent; color: #FFFFFFB8; font-size: 13px; font-weight: 700; cursor: pointer; }
.code-tab[aria-selected="true"] { background: #FFFFFF; color: var(--navy); }
.code-meta { margin-left: auto; font-size: 12.5px; color: var(--code-mut); }
.code-copy { margin-left: auto; height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--code-line); background: transparent; color: #FFFFFFD9; font-size: 13px; font-weight: 700; cursor: pointer; }
.code-copy:hover { background: #FFFFFF14; }
.code-copy .ic { width: 15px; height: 15px; }
.code-meta + .code-copy { margin-left: 8px; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; white-space: pre; tab-size: 2; }
.code .k { color: var(--code-key); } .code .s { color: var(--code-str); } .code .n { color: var(--code-num); } .code .pn { color: var(--code-pun); } .code .c { color: var(--code-mut); }
.code .key { color: var(--amber); }
.code-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-top: 1px solid var(--code-line); }
.code-foot .btn { height: 40px; }
.code-foot small { font-size: 12.5px; color: var(--code-mut); }

/* ---------- Response viewer ---------- */
.rv { border-radius: 14px; background: var(--code-bg); color: var(--code-fg); overflow: hidden; border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.rv-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 11px 14px; background: var(--code-head); border-bottom: 1px solid var(--code-line); font-size: 13px; }
.rv-ok { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--code-ok); }
.rv-ok i { width: 8px; height: 8px; border-radius: 50%; background: #38C487; }
.rv-er { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #FF9EAA; }
.rv-er i { width: 8px; height: 8px; border-radius: 50%; background: #FF6B7A; }
.rv-meta { color: var(--code-mut); font-variant-numeric: tabular-nums; }
.rv-q { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: var(--r-pill); background: #FFFFFF14; color: #FFFFFFE0; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--code-line); }
.rv-tab { position: relative; height: 34px; padding: 0 10px; border: 0; background: none; color: #FFFFFFA6; font-size: 13px; font-weight: 700; cursor: pointer; }
.rv-tab[aria-selected="true"] { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--amber); }
.rv-body { max-height: 440px; overflow: auto; }
.rv-cap { padding: 10px 14px; border-top: 1px solid var(--code-line); font-size: 12.5px; color: var(--code-mut); }

/* JSON viewer: native details/summary, so it folds without script */
.jv { margin: 0; padding: 14px 16px; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--code-fg); }
.jv details { padding-left: 18px; }
.jv summary { list-style: none; margin-left: -18px; cursor: pointer; white-space: nowrap; }
.jv summary::-webkit-details-marker { display: none; }
.jv summary::before { content: ""; display: inline-block; width: 0; height: 0; margin: 0 8px 1px 2px; border-left: 5px solid var(--code-pun); border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .12s; vertical-align: middle; }
.jv details[open] > summary::before { transform: rotate(90deg); }
.jv .cc, .jv .cnt { display: none; }
.jv details:not([open]) > summary > .cc { display: inline; }
.jv details:not([open]) > summary > .cnt { display: inline; color: var(--code-mut); font-style: normal; margin-left: 8px; font-size: 12px; }
.jv .c { color: var(--code-mut); }
.jv .row { white-space: nowrap; }
.jv .end { margin-left: -18px; }
.jv .k { color: var(--code-key); } .jv .s { color: var(--code-str); } .jv .n { color: var(--code-num); } .jv .pn { color: var(--code-pun); } .jv .b { color: #9DAEFF; }

/* Response headers */
.rh { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
.rh th, .rh td { padding: 7px 14px; border-bottom: 1px solid var(--code-line); text-align: left; color: var(--code-fg); font-weight: 400; white-space: nowrap; }
.rh th { color: var(--code-mut); }
.rh tr.hl th { color: var(--amber); } .rh tr.hl td { color: #FFFFFF; font-weight: 700; }
.rh tr:last-child th, .rh tr:last-child td { border-bottom: 0; }

/* ---------- Plan options (radio cards) and switch ---------- */
.opts { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.upo { position: relative; display: block; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.upo > input { position: absolute; opacity: 0; }
.opt-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 18px 18px 16px; }
.opt-dot { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.upo > input:checked ~ .opt-row .opt-dot { border-color: var(--accent); }
.upo > input:checked ~ .opt-row .opt-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.upo:has(> input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.upo > input:focus-visible ~ .opt-row .opt-dot { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt-name { font-size: 17px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.opt-desc { grid-column: 2; font-size: 14px; color: var(--fg-2); }
.opt-lim { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.opt-lim span { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 700; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.opt-price { text-align: right; font-variant-numeric: tabular-nums; }
.opt-price b { display: block; font-size: 28px; line-height: 1; font-weight: 800; font-stretch: 72%; }
.opt-price small { font-size: 12.5px; color: var(--fg-3); font-weight: 600; }
.opt-more { display: none; padding: 0 18px 18px 56px; }
.upo > input:checked ~ .opt-more { display: grid; gap: 10px; }
.upo .badge-best { position: absolute; top: -11px; right: 18px; height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--amber); color: var(--navy); font-size: 11.5px; font-weight: 800; }
@media (max-width: 480px) { .opt-row { grid-template-columns: 24px minmax(0, 1fr); } .opt-price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; } .opt-price b { display: inline; font-size: 24px; } .opt-more { padding-left: 18px; } }

.pick { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.pick .fl { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 800; color: var(--fg-2); }
.pick b { font-size: 15px; } .pick small { font-size: 12.5px; color: var(--fg-3); }
.pick .pr { grid-row: span 2; font-weight: 800; font-variant-numeric: tabular-nums; }

.sw { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 4px 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.sw input { position: absolute; opacity: 0; }
.sw-t { font-size: 15.5px; font-weight: 750; }
.sw-d { grid-column: 1; font-size: 13.5px; color: var(--fg-2); }
.sw-k { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 28px; border-radius: var(--r-pill); background: var(--line-strong); position: relative; transition: background .15s; }
.sw-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sw input:checked ~ .sw-k { background: var(--accent); }
.sw input:checked ~ .sw-k::after { transform: translateX(18px); }
.sw input:focus-visible ~ .sw-k { outline: 3px solid var(--focus); outline-offset: 2px; }
.sw:has(input:checked) { border-color: var(--accent); }

/* Facts list with icons (what you get) */
.gets { list-style: none; display: grid; gap: 12px; }
.gets li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.gets i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--amber); }
.gets i .ic { width: 17px; height: 17px; }
.gets li.minus i { color: #9AA1BA; }
.gets b { color: #FFFFFF; }

/* ---------- Page parts (layout.css) ---------- */
.ph { display: grid; gap: 6px; }
.ph-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* Two-column account pages */
.cols { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .cols { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; } .cols .side { position: sticky; top: 88px; display: grid; gap: 20px; } }
.cols .side, .cols .main { display: grid; gap: 20px; min-width: 0; }
.ac-mfacts { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-mfacts span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; font-weight: 750; }
.ac-mfacts .ic { width: 14px; height: 14px; stroke-width: 2.4; }
/* Welcome */
.steps-n { counter-reset: st; display: grid; gap: 16px; }
.stp { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; }
.stp-n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 800; }
.key-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.key-row .secret { display: flex; align-items: center; }
@media (max-width: 560px) { .key-row { grid-template-columns: 1fr; } }
.nexts { list-style: none; display: grid; }
.nexts li + li { border-top: 1px solid var(--line); }
.nexts a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 2px 12px; align-items: center; padding: 12px 0; color: var(--fg); text-decoration: none; }
.nexts a:hover b { text-decoration: underline; }
.nexts .ni { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.nexts .ni .ic { width: 18px; height: 18px; }
.nexts small { color: var(--fg-2); font-size: 13.5px; }
.nexts .ch { grid-row: span 2; color: var(--fg-3); }
.up-mini { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--navy); color: #B4BAD0; }
.up-mini b { color: #FFFFFF; }
.up-mini ul { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.up-mini li { display: flex; justify-content: space-between; gap: 10px; }
.up-mini li span:last-child { color: #FFFFFF; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Dashboard */
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--fg-3); } .kv dd { font-weight: 600; min-width: 0; }
.mask { font-family: var(--mono); font-size: 14px; padding: 8px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.code-mini { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--code-bg); color: var(--code-fg); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.code-mini .k { color: var(--code-key); } .code-mini .s { color: var(--code-str); } .code-mini .pn { color: var(--code-pun); } .code-mini .c { color: var(--code-mut); }
/* Upgrade */
.up-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .up-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; } .up-sum { position: sticky; top: 88px; } }
.up-sum { display: grid; gap: 14px; }
.sum-l { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.sum-l li { display: flex; justify-content: space-between; gap: 12px; }
.sum-l li span:first-child { color: var(--fg-2); }
.sum-l li b { font-variant-numeric: tabular-nums; text-align: right; }
.sum-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sum-t b { font-size: 34px; line-height: 1; font-weight: 800; font-stretch: 72%; font-variant-numeric: tabular-nums; }
.bar-m { display: none; }
@media (max-width: 959px) {
  .up-sum.card { display: none; }
  .bar-m { display: flex; position: sticky; bottom: 0; z-index: 20; align-items: center; gap: 12px; margin: 0 -20px -64px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -16px 32px -24px rgba(13,19,48,.45); }
  .bar-m .p { display: grid; line-height: 1.2; } .bar-m .p b { font-size: 22px; font-weight: 800; font-stretch: 72%; } .bar-m .p small { font-size: 12px; color: var(--fg-3); }
  .bar-m .btn { margin-left: auto; }
}
@media (max-width: 480px) { .bar-m { margin: 0 -16px -48px; } }
/* Welcome on phones and tablets: key, then today's requests, then the first request, then next steps */
@media (max-width: 959px) { .cols.w .main, .cols.w .side { display: contents; } .w-key { order: 1; } .w-quota { order: 2; } .w-first { order: 3; } .w-next { order: 4; } }

/* ---------- On the account site's own classes ---------- */
/* Sign-up: the panel goes under the form on phones (style.css hides it below 1040 px on the log-in) */
.ac-side { display: block; background: radial-gradient(120% 80% at 80% 0%, #2340F5 0%, #1529B8 32%, #0D1330 70%, #060A1F 100%); color: #B4BAD0; }
.ac-side .ac-sb { position: static; max-width: 520px; margin: 0 auto; padding: 36px 20px; align-content: center; min-height: 100%; gap: 22px; }
.ac-side .ac-sh { color: #FFFFFF; font-size: 28px; line-height: 1.06; font-stretch: 122%; }
.ac-side .gets li { display: grid; font-size: 15px; font-weight: 400; }
.ac-side .ac-sp { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.ac-side .ac-sp b { color: #FFFFFF; }
.ac-side .ac-sp a { color: #FFFFFF; font-weight: 700; }
@media (min-width: 1040px) { .ac-mfacts { display: none; } .ac-side .ac-sb { padding: 64px 56px; } .ac-side .ac-sh { font-size: 34px; } }
.ac-big.mail { background: var(--accent-soft); color: var(--accent); }
.fp-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; color: var(--fg-2); cursor: pointer; }
.fp-check input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.fp-check input:checked { background: var(--accent); border-color: var(--accent); }
.fp-check input:checked::after { content: ""; width: 11px; height: 6px; border: 2.4px solid var(--accent-fg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.fp-check input[aria-invalid="true"] { border-color: var(--err); }
.fp-check a { font-weight: 700; }
.fp-alert p + p { margin-top: 2px; color: var(--fg-2); }
.fp-acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.fp-acts .btn-quiet, .alert-acts .btn-quiet { height: auto; padding: 0; text-decoration: underline; }
.fp-box { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.fp-h3 { font-size: 15px; font-weight: 700; }
.fp-t { font-size: 14.5px; color: var(--fg-2); }
.fp-resend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fp-15 { font-size: 15px; } .fp-b { font-weight: 800; }
/* Welcome, upgrade */
.fp.wide { gap: 24px; }
.fp .alert, .fp-qw .alert { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; border-radius: var(--r-md); }
.fp .alert-acts, .fp-qw .alert-acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.fp .card-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.fp .secret { margin: 0; }
.fp-fr { display: grid; gap: 14px; }
.sp-p { display: grid; gap: 12px; }
.ex-cap { font-size: 12.5px; color: var(--code-mut); padding: 10px 14px; border-top: 1px solid var(--code-line); }
.code-tab.on { display: inline-flex; align-items: center; background: #FFFFFF; color: var(--navy); }
.fp-key { display: grid; gap: 8px; }
.fp-key input { height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--code-line); background: #FFFFFF14; color: #FFFFFF; font-family: var(--mono); font-size: 13px; min-width: 0; width: 100%; }
.fp-key label { font-size: 12.5px; color: var(--code-mut); font-weight: 600; }
.up-mini .btn { justify-self: start; }
.up-mini small { font-size: 12.5px; }
.fp-back { font-weight: 700; }
.up-col { display: grid; gap: 16px; min-width: 0; }
.opts legend { margin-bottom: 12px; }
.split + .small { margin-top: 12px; }
.fp-qw .alert { margin-bottom: 0; }
.fp-num { text-align: right; }
.fp-pick-none { font-size: 14px; color: var(--fg-2); }
/* Welcome: the sport chips show their panel without script */
.sp-p { display: none; }
.fp-fr:has(#sp-soccer:checked) .sp-p[data-sp="soccer"], .fp-fr:has(#sp-basketball:checked) .sp-p[data-sp="basketball"],
.fp-fr:has(#sp-american-football:checked) .sp-p[data-sp="american-football"], .fp-fr:has(#sp-baseball:checked) .sp-p[data-sp="baseball"],
.fp-fr:has(#sp-hockey:checked) .sp-p[data-sp="hockey"], .fp-fr:has(#sp-cricket:checked) .sp-p[data-sp="cricket"],
.fp-fr:has(#sp-tennis:checked) .sp-p[data-sp="tennis"] { display: grid; }

.jv .row { display: block; }
.ac-go:disabled { background: var(--surface-2); color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line); cursor: not-allowed; }
.fp-alert b.tnum { display: inline; }
.split, .nexts, .sum-l, .up-mini ul, .gets { padding: 0; margin: 0; }
.fp.narrow { max-width: 640px; margin: 0 auto; display: grid; gap: 20px; }
.fp-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--fg-2); font-size: 15px; }
.fp-list b { color: var(--fg); }
/* Common questions (layout.html faq-free / faq-buy) */
.faq { margin-top: 10px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 10px 0; font-size: 15px; font-weight: 700; }
.faq details p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.faq-more { margin-top: 12px; font-size: 14.5px; color: var(--fg-2); }
.faq-more a { font-weight: 750; }
