Spaces:
Running
Running
Download styles.css from Battlettt/model-scout: direct link, hf CLI and curl.
- Browser
- Download file 63.6 kB
-
https://huggingface.co/spaces/Battlettt/model-scout/resolve/main/styles.css
- Command line
-
hf download hf://spaces/Battlettt/model-scout/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Battlettt/model-scout/resolve/main/styles.css
63.6 kB
| /* Model Scout: the scouting department's draft board. | |
| The needs sheet is a printed form, the results are a draft board with dark nameplates, | |
| every model gets a scouting card with a stat line. One draft-day orange accent. | |
| Self-contained: system font stacks only, no external assets, no webfonts. | |
| Every color is a semantic token defined in the two :root blocks below. */ | |
| :root { | |
| /* light: cool chalk-paper scouting form, pine-ink text, draft-day orange */ | |
| --bg: #eceee8; | |
| --surface: #f9faf6; | |
| --surface-2: #e1e4dc; | |
| --text: #121a16; | |
| --muted: #48514b; | |
| --line: #c4c9bf; | |
| --line-strong: #121a16; | |
| --accent: #c2410c; | |
| --on-accent: #ffffff; | |
| --accent-hover: #9a3412; | |
| --accent-soft: #f9e3d6; | |
| --accent-text: #a3360a; | |
| --ok: #21603a; | |
| --ok-soft: #dcecdf; | |
| --warn: #7a4a00; | |
| --warn-soft: #f6e8c3; | |
| --live: #24477a; | |
| --live-soft: #dfe7f3; | |
| --focus: #a3360a; | |
| /* the board: dark nameplates for ranks and the first-overall card */ | |
| --board: #15211b; | |
| --board-2: #1f2d26; | |
| --board-line: #34463c; | |
| --on-board: #f2f4ee; | |
| --on-board-muted: #aab5ad; | |
| --board-accent: #ff8f5c; | |
| --shadow-color: rgba(18, 26, 22, 0.10); | |
| --shadow-color-strong: rgba(18, 26, 22, 0.22); | |
| --skeleton: #dcdfd6; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| /* dark: the war room at night, chalk-white text, the orange lifted for contrast */ | |
| --bg: #0d1210; | |
| --surface: #151c19; | |
| --surface-2: #1e2823; | |
| --text: #eef1ea; | |
| --muted: #a7b1a9; | |
| --line: #2f3b35; | |
| --line-strong: #eef1ea; | |
| --accent: #ff7a3d; | |
| --on-accent: #1a0903; | |
| --accent-hover: #ff9b6b; | |
| --accent-soft: #3a1d10; | |
| --accent-text: #ff9563; | |
| --ok: #8fd6a0; | |
| --ok-soft: #15291c; | |
| --warn: #f0c25e; | |
| --warn-soft: #33290f; | |
| --live: #a2c2f2; | |
| --live-soft: #172437; | |
| --focus: #ffad85; | |
| --board: #22322a; | |
| --board-2: #2b3d34; | |
| --board-line: #405549; | |
| --on-board: #eef1ea; | |
| --on-board-muted: #a7b5ac; | |
| --board-accent: #ff8a52; | |
| --shadow-color: rgba(0, 0, 0, 0.40); | |
| --shadow-color-strong: rgba(0, 0, 0, 0.60); | |
| --skeleton: #243029; | |
| } | |
| } | |
| :root { | |
| color-scheme: light dark; | |
| /* condensed display face for headings and board numerals, from what the system already has */ | |
| --font-display: "DIN Condensed", "Bahnschrift Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; | |
| --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
| --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace; | |
| /* spacing scale */ | |
| --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; | |
| /* one shape rule: index-card corners everywhere */ | |
| --radius: 4px; | |
| --radius-sm: 2px; | |
| --shadow: 0 1px 0 var(--shadow-color), 0 8px 20px -14px var(--shadow-color-strong); | |
| --shadow-lift: 0 2px 0 var(--shadow-color), 0 18px 36px -20px var(--shadow-color-strong); | |
| /* motion: each kind of change gets its own timing */ | |
| --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); | |
| --t-hover: 120ms; | |
| --t-focus: 160ms; | |
| --t-reveal: 360ms; | |
| } | |
| /* ---------- base ---------- */ | |
| *, *::before, *::after { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } | |
| body { | |
| margin: 0; | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: var(--font-sans); | |
| font-size: 1rem; | |
| line-height: 1.5; | |
| overflow-wrap: break-word; | |
| } | |
| img, svg { max-width: 100%; } | |
| a { color: var(--accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--t-hover) ease; } | |
| a:hover { color: var(--text); text-decoration-thickness: 2px; } | |
| :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } | |
| h1, h2, h3 { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; text-wrap: balance; } | |
| h3 { font-size: 1.5rem; margin: 0 0 var(--s2); } | |
| p { margin: 0 0 var(--s3); } | |
| .muted { color: var(--muted); } | |
| small { display: block; font-size: 0.875rem; line-height: 1.45; color: var(--muted); } | |
| strong { font-weight: 650; } | |
| .wrap { width: 100%; max-width: 78rem; margin: 0 auto; padding: 0 var(--s4); } | |
| @media (min-width: 40em) { .wrap { padding: 0 var(--s5); } } | |
| .skip { | |
| position: absolute; left: var(--s3); top: var(--s3); z-index: 20; | |
| padding: var(--s3) var(--s4); min-height: 44px; | |
| background: var(--accent); color: var(--on-accent); font-weight: 650; text-decoration: none; | |
| border-radius: var(--radius-sm); | |
| transform: translateY(-200%); | |
| transition: transform var(--t-focus) var(--ease-out); | |
| } | |
| .skip:focus { transform: translateY(0); color: var(--on-accent); } | |
| /* ---------- masthead: department letterhead with the catalog scoreboard ---------- */ | |
| .masthead { background: var(--surface); border-bottom: 1px solid var(--line-strong); } | |
| .mast-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s5); align-items: end; } | |
| @media (min-width: 60em) { .mast-grid { grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 1fr); gap: var(--s7); padding-top: var(--s7); } } | |
| .kicker { | |
| margin: 0 0 var(--s3); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); | |
| } | |
| .masthead h1 { | |
| margin: 0; font-size: clamp(3.75rem, 13vw, 7.25rem); line-height: 0.86; letter-spacing: -0.005em; text-transform: uppercase; | |
| } | |
| .masthead h1 .h1-mark { color: var(--accent-text); } | |
| .tagline { margin: var(--s4) 0 0; max-width: 46ch; font-size: 1.125rem; line-height: 1.45; } | |
| .sections-bar { border-top: 1px solid var(--line); } | |
| .sections { display: flex; flex-wrap: wrap; gap: 0 var(--s1); } | |
| .sections a { | |
| flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); | |
| color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 600; | |
| border-bottom: 3px solid transparent; | |
| transition: border-color var(--t-hover) ease, color var(--t-hover) ease; | |
| } | |
| .sections a:first-child { padding-left: 0; } | |
| .sections a:hover { border-bottom-color: var(--accent); color: var(--text); } | |
| .nav-num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; } | |
| /* ---------- catalog scoreboard (data status) ---------- */ | |
| .status { | |
| min-height: 7.5rem; padding: var(--s3) var(--s4); | |
| background: var(--board); color: var(--on-board); border-radius: var(--radius); | |
| font-size: 0.9375rem; border-top: 4px solid var(--on-board-muted); | |
| transition: border-color var(--t-focus) ease; | |
| } | |
| .status::before { | |
| content: "Catalog"; display: block; margin-bottom: var(--s2); | |
| font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-board-muted); | |
| } | |
| .status p { margin: var(--s1) 0; } | |
| .status strong { color: var(--on-board); } | |
| .status[data-state="live"] { border-top-color: var(--board-accent); } | |
| .status[data-state="offline"], .status[data-state="stale"], .status[data-state="error"] { border-top-color: var(--warn); } | |
| .status .badge.live, .status .badge.warn, .status .badge.stale { background: var(--board-2); color: var(--on-board); border-color: var(--on-board-muted); } | |
| .status .loading-line { color: var(--on-board-muted); } | |
| .status .spinner { border-color: var(--board-line); border-top-color: var(--board-accent); } | |
| .loading-line { display: flex; align-items: center; gap: var(--s2); color: var(--muted); } | |
| .spinner { | |
| width: 1rem; height: 1rem; flex: none; border-radius: 50%; | |
| border: 2px solid var(--line); border-top-color: var(--accent); | |
| animation: spin 900ms linear infinite; | |
| } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* ---------- section rhythm ---------- */ | |
| main { padding-bottom: var(--s8); } | |
| .block { margin: var(--s8) 0 0; scroll-margin-top: var(--s4); } | |
| .block:first-of-type { margin-top: var(--s6); } | |
| .block:focus { outline: none; } | |
| .block:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; } | |
| .block-head { border-top: 6px solid var(--line-strong); padding-top: var(--s4); margin-bottom: var(--s5); } | |
| .block-head h2 { margin: 0 0 var(--s2); font-size: clamp(2.4rem, 7vw, 3.75rem); line-height: 0.92; text-transform: uppercase; } | |
| .block-lede { margin: 0; max-width: 68ch; color: var(--muted); font-size: 1.0625rem; } | |
| .readout { font-family: var(--font-mono); font-size: 0.875rem; font-variant-numeric: tabular-nums; } | |
| .sub-head { margin: var(--s7) 0 var(--s3); padding-top: var(--s3); border-top: 2px solid var(--line-strong); } | |
| .sub-head h3 { margin: 0 0 var(--s1); font-size: clamp(1.6rem, 4vw, 2.1rem); text-transform: uppercase; line-height: 0.95; } | |
| .sub-head p { margin: 0; max-width: 72ch; font-size: 0.9375rem; } | |
| .panel { | |
| background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); | |
| box-shadow: var(--shadow); | |
| } | |
| /* ---------- the needs sheet (profile form) ---------- */ | |
| .profiler { padding: var(--s4); border: 2px solid var(--line-strong); } | |
| @media (min-width: 40em) { .profiler { padding: var(--s5) var(--s6) var(--s6); } } | |
| .field { margin: 0 0 var(--s4); min-width: 0; } | |
| .field:last-child { margin-bottom: 0; } | |
| .field > label, .switch-box label { display: block; font-weight: 650; margin-bottom: var(--s2); } | |
| .field > small { margin-top: var(--s2); } | |
| .describe > label { font-family: var(--font-display); font-stretch: condensed; font-size: 1.6rem; line-height: 1.1; font-weight: 700; text-transform: uppercase; } | |
| .describe { padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 2px solid var(--line-strong); } | |
| .describe textarea { font-size: 1.0625rem; } | |
| .suggest-row { margin-top: var(--s3); } | |
| .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); } | |
| #suggest-result { flex: 1 1 16rem; font-size: 0.9375rem; } | |
| .groups { display: grid; grid-template-columns: 1fr; gap: var(--s5) var(--s6); } | |
| @media (min-width: 48em) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| .group { margin: 0; min-width: 0; padding: var(--s3) 0 0; border: 0; border-top: 1px solid var(--line-strong); } | |
| .group legend { | |
| display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s3) 0 0; margin-left: 0; | |
| font-family: var(--font-display); font-stretch: condensed; font-size: 1.375rem; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: var(--text); | |
| } | |
| .group-num { | |
| display: inline-grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: var(--radius-sm); | |
| background: var(--board); color: var(--on-board); font-size: 1.125rem; line-height: 1; | |
| } | |
| .group .field:first-of-type { margin-top: var(--s3); } | |
| input[type="number"], select, textarea { | |
| display: block; width: 100%; min-height: 44px; | |
| font: inherit; color: var(--text); background: var(--surface); | |
| border: 1px solid var(--line); border-bottom: 2px solid var(--muted); border-radius: var(--radius-sm); | |
| padding: var(--s2) var(--s3); | |
| transition: border-color var(--t-focus) ease, background-color var(--t-focus) ease; | |
| } | |
| textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; } | |
| input[type="number"] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } | |
| input[type="number"]:hover, select:hover, textarea:hover { border-color: var(--muted); } | |
| input[type="number"]:focus, select:focus, textarea:focus { border-color: var(--accent); } | |
| input[type="number"]:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; } | |
| input[aria-invalid="true"] { border-color: var(--warn); border-bottom-width: 3px; } | |
| ::placeholder { color: var(--muted); opacity: 1; } | |
| .affix { position: relative; } | |
| .affix-mark { position: absolute; left: var(--s3); top: 50%; transform: translateY(-50%); font-family: var(--font-mono); color: var(--muted); pointer-events: none; } | |
| .affix input { padding-left: 1.75rem; } | |
| .field-error { margin: var(--s2) 0 0; font-size: 0.875rem; font-weight: 600; color: var(--warn); min-height: 0; } | |
| .field-error:empty { display: none; } | |
| .check { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s3); align-items: start; } | |
| .check input[type="checkbox"] { | |
| width: 1.375rem; height: 1.375rem; margin: 0.6875rem 0 0; accent-color: var(--accent); cursor: pointer; | |
| } | |
| .check label { display: flex; align-items: center; min-height: 44px; margin: 0; font-weight: 650; cursor: pointer; } | |
| .check small { grid-column: 2; margin: 0; } | |
| .check input:disabled + label { color: var(--muted); cursor: not-allowed; } | |
| .disclose { margin-top: var(--s3); border-top: 1px dashed var(--line); padding-top: var(--s2); } | |
| .disclose summary { | |
| display: flex; align-items: center; gap: var(--s2); min-height: 44px; cursor: pointer; | |
| font-weight: 650; color: var(--accent-text); list-style: none; | |
| } | |
| .disclose summary::-webkit-details-marker { display: none; } | |
| .disclose summary::before { | |
| content: "+"; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; | |
| border: 1px solid currentColor; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 0.875rem; line-height: 1; | |
| } | |
| .disclose[open] summary::before { content: "-"; } | |
| .disclose p { margin: var(--s1) 0 0; font-size: 0.9375rem; } | |
| /* ---------- buttons ---------- */ | |
| .btn, button { | |
| display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); | |
| min-height: 44px; padding: var(--s2) var(--s4); | |
| font: inherit; font-weight: 650; line-height: 1.2; text-align: center; | |
| border-radius: var(--radius-sm); cursor: pointer; | |
| border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); | |
| box-shadow: 0 2px 0 var(--line-strong); | |
| transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-hover) ease, box-shadow var(--t-hover) ease; | |
| } | |
| .btn:hover, button:hover { background: var(--surface-2); } | |
| .btn.primary { background: var(--accent); border-color: var(--accent-hover); color: var(--on-accent); box-shadow: 0 2px 0 var(--accent-hover); } | |
| .btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); } | |
| .btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--line-strong); } | |
| /* ---------- draft board: the first-overall card ---------- */ | |
| .results-top { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: start; } | |
| @media (min-width: 58em) { .results-top { grid-template-columns: minmax(0, 1.9fr) minmax(17rem, 1fr); gap: var(--s5); } } | |
| .top-pick { | |
| position: relative; min-height: 22rem; padding: 0 var(--s4) var(--s4); | |
| background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); | |
| box-shadow: var(--shadow-lift); | |
| } | |
| @media (min-width: 40em) { .top-pick { padding: 0 var(--s6) var(--s5); } } | |
| .top-pick.is-empty { min-height: 12rem; border: 2px dashed var(--line-strong); box-shadow: none; padding-top: var(--s5); } | |
| .top-pick > .eyebrow:first-child, .top-pick > .loading-line { margin-top: var(--s5); } | |
| /* the announcement band: dark nameplate with the pick number */ | |
| .pick-band { | |
| display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 var(--s4); | |
| margin: 0 calc(-1 * var(--s4)) var(--s4); padding: var(--s4) var(--s4) var(--s4); | |
| background: var(--board); color: var(--on-board); border-radius: 1px 1px 0 0; | |
| } | |
| @media (min-width: 40em) { .pick-band { margin: 0 calc(-1 * var(--s6)) var(--s5); padding: var(--s5) var(--s6) var(--s4); gap: 0 var(--s5); } } | |
| .pick-no { | |
| font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: clamp(5rem, 16vw, 8.5rem); line-height: 1; | |
| margin-bottom: -0.12em; color: var(--board-accent); font-variant-numeric: tabular-nums; | |
| } | |
| .pick-band .eyebrow { color: var(--on-board-muted); margin: 0 0 var(--s1); } | |
| .pick-band h3 { margin: 0; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 0.95; color: var(--on-board); } | |
| .pick-band .provider { display: block; margin-top: var(--s2); color: var(--on-board-muted); font-size: 1rem; } | |
| .best-flag { | |
| display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s3); | |
| background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm); | |
| font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; | |
| } | |
| .best-flag svg { width: 0.9rem; height: 0.9rem; fill: currentColor; } | |
| .pick-band .best-flag { grid-column: 1 / -1; justify-self: start; margin-bottom: var(--s3); background: var(--board-accent); color: var(--board); } | |
| .eyebrow { margin: 0 0 var(--s2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } | |
| .top-pick h3 { margin: 0; } | |
| .provider { display: inline-block; font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; } | |
| /* stat boxes under the band: grade and monthly cost */ | |
| .figures { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 var(--s4); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); } | |
| .figures p { margin: 0; padding: var(--s3) var(--s4); } | |
| .figures p + p { border-top: 1px solid var(--line-strong); } | |
| @media (min-width: 30em) { .figures { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .figures p + p { border-top: 0; border-left: 1px solid var(--line-strong); } } | |
| .figure-label { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); } | |
| .figure-value { font-family: var(--font-display); font-stretch: condensed; font-variant-numeric: tabular-nums lining-nums; font-weight: 700; line-height: 0.95; letter-spacing: 0; } | |
| .figure-value small { display: inline; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; letter-spacing: 0; } | |
| .figure-value.score { font-size: clamp(3rem, 9vw, 4.25rem); } | |
| .figure-value.cost { font-size: clamp(3rem, 9vw, 4.25rem); color: var(--accent-text); } | |
| .figure-value.cost .unit { display: block; margin-top: var(--s2); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 1.4; } | |
| .figure-value.cost .unit small { display: block; font-size: 0.875rem; } | |
| .top-pick .reason { max-width: 68ch; } | |
| .reason strong, .card .reason strong { display: block; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--s1); } | |
| .skeleton { display: grid; gap: var(--s3); margin-top: var(--s5); } | |
| .skeleton span { display: block; height: 1rem; border-radius: var(--radius-sm); background: var(--skeleton); } | |
| .skeleton span:nth-child(1) { height: 3.5rem; width: 60%; } | |
| .skeleton span:nth-child(2) { width: 90%; } | |
| .skeleton span:nth-child(3) { width: 75%; } | |
| /* ---------- team priorities (weights) ---------- */ | |
| .results-side { display: grid; gap: var(--s4); align-content: start; min-width: 0; } | |
| .weights-box { padding: var(--s4) var(--s4) var(--s3); border-top: 4px solid var(--line-strong); } | |
| .weights-box h3 { font-size: 1.5rem; text-transform: uppercase; line-height: 1; } | |
| .weights { list-style: none; padding: 0; margin: var(--s3) 0; } | |
| .weights li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 3rem; align-items: center; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); } | |
| .weights li:last-child { border-bottom: 0; } | |
| .wname { font-size: 0.9375rem; font-weight: 600; text-transform: capitalize; } | |
| .wval { text-align: right; font-family: var(--font-display); font-stretch: condensed; font-size: 1.375rem; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 700; } | |
| .small-print { font-size: 0.875rem; margin: 0; } | |
| .weights-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); } | |
| .weights-head h3 { margin: 0; } | |
| .btn-small { padding: var(--s1) var(--s3); font-size: 0.875rem; } | |
| #weights-edit[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); } | |
| .weights input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--accent); background: transparent; cursor: pointer; } | |
| .weights input[type="range"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } | |
| .weights li.is-edit { padding: 0; } | |
| .weights-reset { margin-top: var(--s3); } | |
| /* ---------- scout's note: what would change the pick ---------- */ | |
| .tips-box { padding: var(--s4) var(--s4) var(--s3); background: var(--accent-soft); border: 1px solid var(--accent); border-left: 6px solid var(--accent); box-shadow: none; } | |
| .tips-box h3 { font-size: 1.5rem; text-transform: uppercase; line-height: 1; margin: 0 0 var(--s2); } | |
| .tips-box .note-tag { display: block; margin-bottom: var(--s1); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); } | |
| .tips-box .muted { color: var(--text); } | |
| .tips { list-style: none; padding: 0; margin: var(--s3) 0 0; } | |
| .tip { | |
| display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "move try" "who try"; | |
| column-gap: var(--s3); row-gap: var(--s1); align-items: center; padding: var(--s3) 0; border-top: 1px solid var(--accent); | |
| } | |
| .tip-move { grid-area: move; margin: 0; font-size: 0.9375rem; } | |
| .tip-move strong { font-family: var(--font-display); font-stretch: condensed; font-size: 1.25rem; line-height: 1; font-variant-numeric: tabular-nums; } | |
| .tip-factor { font-weight: 700; } | |
| .tip-who { grid-area: who; margin: 0; font-size: 0.875rem; } | |
| .tip-who a { font-weight: 700; } | |
| .tip-try { grid-area: try; } | |
| .tip.is-nearest .tip-move strong { color: var(--accent-text); } | |
| .tip-none { padding: var(--s3) 0; border-top: 1px solid var(--accent); font-size: 0.875rem; } | |
| #tips-status { margin-top: var(--s2); } | |
| #tips-status:empty { display: none; } | |
| /* gauge bar: width is set once from data, never animated */ | |
| .bar { | |
| position: relative; display: inline-block; width: 5rem; height: 0.375rem; vertical-align: middle; | |
| background: var(--surface-2); overflow: hidden; | |
| } | |
| .weights .bar { width: 100%; } | |
| .bar span { display: block; height: 100%; background: var(--text); } | |
| .is-top .bar span, .top-pick .bar span { background: var(--accent); } | |
| .toolbar { margin-top: var(--s4); padding: var(--s2) var(--s4); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); } | |
| .toolbar small { margin: 0 0 var(--s2) calc(1.375rem + var(--s3)); } | |
| /* ---------- the big board (comparison table) ---------- */ | |
| .table-wrap { overflow-x: auto; background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius); } | |
| table.compare { border-collapse: collapse; width: 100%; font-size: 0.9375rem; } | |
| .compare th, .compare td { padding: var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; } | |
| .compare thead th { | |
| position: sticky; top: 0; z-index: 1; background: var(--board); color: var(--on-board); | |
| font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; | |
| border-bottom: 0; vertical-align: bottom; | |
| } | |
| .compare tbody tr { transition: background-color var(--t-hover) ease; } | |
| .compare tbody tr:hover { background: var(--surface-2); } | |
| .compare tbody tr:last-child > * { border-bottom: 0; } | |
| .compare tbody th { font-weight: 650; min-width: 11rem; } | |
| .compare tbody th a { font-family: var(--font-display); font-stretch: condensed; font-size: 1.375rem; line-height: 1; font-weight: 700; color: var(--text); text-decoration: none; } | |
| .compare tbody th a:hover { color: var(--accent-text); text-decoration: underline; } | |
| .compare tbody th small { margin-top: 0.125rem; } | |
| .compare td.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; } | |
| .compare td.rank-cell { | |
| width: 4.5rem; text-align: center; padding: var(--s2); | |
| background: var(--board); color: var(--on-board); border-bottom-color: var(--board-line); | |
| font-family: var(--font-display); font-stretch: condensed; font-size: 1.75rem; font-weight: 700; line-height: 1; | |
| } | |
| .compare td.score-cell strong { font-family: var(--font-display); font-stretch: condensed; font-size: 1.875rem; line-height: 1; } | |
| .compare td.money { font-weight: 700; } | |
| .compare tr.is-top { background: var(--accent-soft); } | |
| .compare tr.is-top:hover { background: var(--accent-soft); } | |
| .compare tr.is-top td.rank-cell { background: var(--accent); color: var(--on-accent); } | |
| .compare tr.placeholder td, .compare tr.empty-row td { padding: var(--s5); text-align: center; color: var(--muted); background: none; font-family: var(--font-sans); font-size: 1rem; } | |
| .pick-tag { | |
| display: inline-block; margin: var(--s1) 0 0; padding: 0 var(--s2); border-radius: var(--radius-sm); | |
| background: var(--accent); color: var(--on-accent); | |
| font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; | |
| } | |
| /* Under 60em the table becomes a stack of labelled nameplates: no sideways scrolling on phones. */ | |
| @media (max-width: 59.99em) { | |
| .table-wrap { overflow: visible; background: none; border: 0; box-shadow: none; } | |
| table.compare, .compare tbody, .compare tr, .compare td, .compare tbody th { display: block; width: 100%; } | |
| .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } | |
| .compare tbody tr { | |
| display: grid; grid-template-columns: 3.75rem repeat(3, minmax(0, 1fr)); gap: 0 var(--s3); | |
| margin-bottom: var(--s3); padding: 0 var(--s3) var(--s2) 0; overflow: hidden; | |
| background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); | |
| } | |
| .compare tbody tr.is-top { border: 2px solid var(--accent); } | |
| .compare tbody tr > * { grid-column: 2 / -1; border-bottom: 1px solid var(--line); padding: var(--s2) 0; min-width: 0; } | |
| .compare tbody tr > td.num { grid-column: auto; } | |
| .compare tbody th { order: -1; padding-top: var(--s3); border-bottom: 1px solid var(--line-strong); } | |
| .compare td.rank-cell { | |
| grid-column: 1; grid-row: 1 / span 20; order: -2; width: auto; align-self: stretch; | |
| padding: var(--s3) 0 0; border-bottom: 0; text-align: center; font-size: 2rem; | |
| } | |
| .compare td.num { text-align: left; white-space: normal; } | |
| .compare td[data-label]::before { | |
| content: attr(data-label); display: block; margin-bottom: 0.125rem; | |
| font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); | |
| } | |
| .compare td.rank-cell[data-label]::before { color: var(--on-board-muted); } | |
| .compare tr.is-top td.rank-cell[data-label]::before { color: var(--on-accent); } | |
| .compare tbody tr > td:nth-child(10) { grid-column: span 2; } | |
| .compare td.wide-cell { grid-column: span 2; } | |
| .compare tbody tr > :last-child { border-bottom: 0; } | |
| .compare tr.placeholder, .compare tr.empty-row { display: block; padding: 0; } | |
| .compare tr.placeholder td, .compare tr.empty-row td { text-align: left; } | |
| } | |
| /* ---------- scouting cards ---------- */ | |
| .cards { display: grid; grid-template-columns: 1fr; gap: var(--s4); } | |
| @media (min-width: 44em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| @media (min-width: 74em) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } } | |
| .card { | |
| position: relative; display: flex; flex-direction: column; min-width: 0; | |
| padding: 0 var(--s4) var(--s4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); | |
| box-shadow: var(--shadow); scroll-margin-top: var(--s4); overflow: hidden; | |
| transition: box-shadow var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-hover) ease; | |
| } | |
| .card:hover { box-shadow: var(--shadow-lift); } | |
| .card:target { outline: 3px solid var(--focus); outline-offset: 2px; } | |
| .card.is-top { border: 2px solid var(--accent); } | |
| .card.is-top:hover { border-color: var(--accent); } | |
| .card .best-flag { position: absolute; top: var(--s3); right: var(--s3); z-index: 1; background: var(--board-accent); color: var(--board); } | |
| .card-head { | |
| display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s1) var(--s3); align-items: center; | |
| margin: 0 calc(-1 * var(--s4)); padding: var(--s3) var(--s4); background: var(--board); color: var(--on-board); | |
| } | |
| .card.is-top .card-head { padding-top: 2.75rem; } | |
| .rank { | |
| font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 2.25rem; line-height: 0.9; | |
| color: var(--on-board-muted); font-variant-numeric: tabular-nums; | |
| } | |
| .card.is-top .rank { color: var(--board-accent); } | |
| .card h3 { margin: 0; font-size: 1.5rem; line-height: 1; color: var(--on-board); } | |
| .card .card-head .provider { display: block; margin-top: 0.125rem; color: var(--on-board-muted); font-size: 0.875rem; } | |
| .card-score { text-align: right; font-family: var(--font-display); font-stretch: condensed; font-size: 2.25rem; font-weight: 700; line-height: 0.9; font-variant-numeric: tabular-nums; } | |
| .card-score small { display: block; margin-top: var(--s1); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--on-board-muted); } | |
| /* the stat line: five factor scores read across like a box score */ | |
| .statline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 calc(-1 * var(--s4)); border-bottom: 1px solid var(--line-strong); } | |
| .statline div { padding: var(--s2) var(--s1) var(--s2); text-align: center; min-width: 0; } | |
| .statline div + div { border-left: 1px solid var(--line); } | |
| .statline dt { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .statline dd { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 1.625rem; line-height: 1.1; font-variant-numeric: tabular-nums; } | |
| .statline .bar { display: block; width: 100%; height: 3px; margin-top: 0.125rem; background: var(--surface-2); } | |
| .card-cost { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); } | |
| .card-cost .figure-value { font-size: 2rem; } | |
| .card.is-top .card-cost .figure-value { font-size: 2.5rem; color: var(--accent-text); } | |
| .card-cost .figure-label { margin: 0; } | |
| .card-cost small { flex-basis: 100%; } | |
| .card p { margin: var(--s3) 0 0; } | |
| .facts { font-size: 0.9375rem; } | |
| .card-notes { margin-top: var(--s3); border-top: 1px dashed var(--line); padding-top: var(--s1); } | |
| .card-notes summary { display: flex; align-items: center; gap: var(--s2); min-height: 44px; cursor: pointer; font-weight: 650; color: var(--accent-text); list-style: none; } | |
| .card-notes summary::-webkit-details-marker { display: none; } | |
| .card-notes summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; border: 1px solid currentColor; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 0.875rem; line-height: 1; } | |
| .card-notes[open] summary::before { content: "-"; } | |
| .card-notes .facts:first-of-type { margin-top: var(--s1); } | |
| .source { margin-top: auto ; padding-top: var(--s3); font-size: 0.875rem; color: var(--muted); } | |
| .cards-empty { padding: var(--s5); border: 2px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); } | |
| /* ---------- flags and badges ---------- */ | |
| .flags { list-style: none; padding: 0; margin: var(--s3) 0 0; font-size: 0.875rem; display: grid; gap: var(--s1); } | |
| .flags li { padding: var(--s1) var(--s2) var(--s1) var(--s3); border-radius: var(--radius-sm); border-left: 3px solid currentColor; } | |
| .flags li.warn { background: var(--warn-soft); color: var(--warn); } | |
| .flags li.info { background: var(--surface-2); color: var(--text); border-left-color: var(--muted); } | |
| .badge { | |
| display: inline-block; padding: 0.0625rem var(--s2); border-radius: var(--radius-sm); border: 1px solid currentColor; white-space: nowrap; | |
| font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5; | |
| } | |
| .badge.ok { background: var(--ok-soft); color: var(--ok); } | |
| .badge.warn, .badge.stale { background: var(--warn-soft); color: var(--warn); } | |
| .badge.live { background: var(--live-soft); color: var(--live); } | |
| /* ---------- did not make the board (excluded) ---------- */ | |
| .excluded { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: var(--s6); } | |
| @media (min-width: 60em) { .excluded { columns: 2; } } | |
| .excluded li { break-inside: avoid; padding: var(--s2) 0 var(--s2) var(--s5); border-top: 1px solid var(--line); position: relative; font-size: 0.9375rem; } | |
| .excluded li::before { content: "x"; position: absolute; left: 0; top: var(--s2); font-family: var(--font-mono); font-weight: 700; color: var(--muted); } | |
| .excluded li strong { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--muted); } | |
| /* ---------- playbook, switch, about ---------- */ | |
| .rules { margin: 0; padding: 0; list-style: none; max-width: 82ch; } | |
| .rules li { position: relative; padding: var(--s3) 0 var(--s3) 3.75rem; border-bottom: 1px solid var(--line); } | |
| .rules li:first-child { border-top: 1px solid var(--line); } | |
| .rules.numbered { counter-reset: rule; } | |
| .rules.numbered li { counter-increment: rule; } | |
| .rules.numbered li::before { | |
| content: counter(rule); position: absolute; left: 0; top: var(--s3); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; | |
| background: var(--board); color: var(--on-board); border-radius: var(--radius-sm); | |
| font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; | |
| } | |
| .rules.numbered li:last-child::before { background: var(--accent); color: var(--on-accent); } | |
| .rules.ticks li { padding-left: var(--s5); } | |
| .rules.ticks li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 0.75rem; height: 3px; background: var(--accent); } | |
| .rules strong { font-family: var(--font-display); font-stretch: condensed; font-size: 1.3rem; line-height: 1.15; } | |
| .rules.about strong { font-family: var(--font-sans); font-size: 1rem; } | |
| .switch-layout { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: start; } | |
| @media (min-width: 60em) { .switch-layout { grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr); } } | |
| .switch-box { padding: var(--s4); border-top: 4px solid var(--line-strong); } | |
| @media (min-width: 40em) { .switch-box { padding: var(--s5); } } | |
| .switch-box h3 { text-transform: uppercase; } | |
| #switch-result { min-height: 3rem; } | |
| #switch-result ol { padding-left: var(--s5); font-family: var(--font-mono); font-size: 0.875rem; } | |
| .verdict { padding: var(--s2) var(--s3); border-radius: var(--radius-sm); border-left: 3px solid currentColor; } | |
| .verdict.ok { background: var(--ok-soft); color: var(--ok); } | |
| .verdict.warn { background: var(--warn-soft); color: var(--warn); } | |
| /* ---------- ask a model: chat, key box, side by side ---------- */ | |
| .visually-hidden { | |
| position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; | |
| clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; | |
| } | |
| button:disabled, .btn:disabled, .btn.primary:disabled { | |
| cursor: not-allowed; background: var(--surface-2); border-color: var(--line); color: var(--muted); box-shadow: none; | |
| } | |
| .btn:disabled:active { transform: none; } | |
| code { font-family: var(--font-mono); font-size: 0.9em; padding: 0 var(--s1); border-radius: var(--radius-sm); background: var(--surface-2); overflow-wrap: anywhere; } | |
| .chat-layout { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: start; } | |
| @media (min-width: 60em) { .chat-layout { grid-template-columns: minmax(17rem, 1fr) minmax(0, 2.2fr); gap: var(--s5); } } | |
| .chat-settings, .chat-main { min-width: 0; padding: var(--s4); } | |
| .chat-settings { border-top: 4px solid var(--line-strong); } | |
| .chat-main { scroll-margin-top: var(--s4); border-top: 4px solid var(--line-strong); } | |
| @media (min-width: 40em) { .chat-settings, .chat-main { padding: var(--s5); } } | |
| .chat-settings h3 { font-size: 1.5rem; text-transform: uppercase; } | |
| .chat-pane[hidden], #chat-key-box[hidden], .local-note[hidden] { display: none; } | |
| /* segmented choice: real radio inputs, the label is the 44px target and carries the focus ring */ | |
| .seg-group { margin: 0 0 var(--s3); padding: 0; border: 0; min-width: 0; } | |
| .seg-group legend { padding: 0; margin-bottom: var(--s2); font-weight: 650; } | |
| .seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 100%; } | |
| .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; } | |
| .seg label { | |
| display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s3); margin-left: -1px; | |
| border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); | |
| font-size: 0.9375rem; font-weight: 650; text-align: center; cursor: pointer; | |
| transition: background-color var(--t-hover) ease, color var(--t-hover) ease; | |
| } | |
| .seg label:first-of-type { margin-left: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); } | |
| .seg label:last-of-type { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; } | |
| .seg label:hover { background: var(--surface-2); } | |
| .seg input:checked + label { background: var(--text); color: var(--bg); } | |
| .seg input:focus-visible + label { position: relative; z-index: 1; outline: 3px solid var(--focus); outline-offset: 2px; } | |
| .key-box .field { margin-bottom: var(--s3); } | |
| .key-box input[type="password"] { | |
| display: block; width: 100%; min-height: 44px; | |
| font: inherit; font-family: var(--font-mono); color: var(--text); background: var(--surface); | |
| border: 1px solid var(--line); border-bottom: 2px solid var(--muted); border-radius: var(--radius-sm); | |
| padding: var(--s2) var(--s3); | |
| transition: border-color var(--t-focus) ease; | |
| } | |
| .key-box input[type="password"]:focus { border-color: var(--accent); } | |
| .key-box input[type="password"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; } | |
| .key-warning { | |
| margin: var(--s2) 0 0; padding: var(--s2) var(--s3); font-size: 0.875rem; | |
| background: var(--warn-soft); color: var(--warn); border-left: 3px solid currentColor; border-radius: var(--radius-sm); | |
| } | |
| .key-status { margin: var(--s2) 0 0; font-family: var(--font-mono); font-size: 0.875rem; color: var(--muted); } | |
| .key-help { margin-top: var(--s3); } | |
| .local-note { font-size: 0.9375rem; } | |
| .local-note p { margin: 0 0 var(--s2); } | |
| .stream-check { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px dashed var(--line); } | |
| .chat-status { min-height: 1.5rem; margin: 0 0 var(--s3); font-size: 0.9375rem; } | |
| .chat-status[data-level="warn"] { color: var(--warn); font-weight: 600; } | |
| .chat-status[data-level="ok"] { color: var(--ok); } | |
| .chat-log { | |
| display: grid; gap: var(--s3); align-content: start; | |
| min-height: 12rem; max-height: 32rem; overflow-y: auto; margin: 0 0 var(--s4); padding: var(--s3); | |
| background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); | |
| } | |
| .chat-empty { margin: 0; color: var(--muted); } | |
| .msg { min-width: 0; padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); } | |
| .msg-user { margin-left: clamp(0rem, 6vw, 4rem); background: var(--surface-2); border-color: var(--surface-2); } | |
| .msg-model { margin-right: clamp(0rem, 6vw, 4rem); border-left: 3px solid var(--line-strong); } | |
| .msg-error { border-left-color: var(--warn); } | |
| .msg-who { margin: 0 0 var(--s1); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); } | |
| .msg-text { white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .msg .verdict, .side-body .verdict { margin: var(--s2) 0 0; } | |
| .msg .loading-line { margin: 0; } | |
| .side-pickers { display: grid; grid-template-columns: 1fr; gap: 0 var(--s4); } | |
| .side-pickers .field { margin-bottom: var(--s4); } | |
| @media (min-width: 40em) { .side-pickers { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| .side-cols { display: grid; grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s5); } | |
| @media (min-width: 40em) { .side-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| .side-col { | |
| min-width: 0; min-height: 12rem; padding: var(--s4); | |
| background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--line-strong); border-radius: var(--radius-sm); | |
| transition: border-color var(--t-focus) ease; | |
| } | |
| .side-col[data-status="done"] { border-top-color: var(--ok); } | |
| .side-col[data-status="error"] { border-top-color: var(--warn); } | |
| .side-col[data-status="sending"] { border-top-color: var(--live); } | |
| .side-head { | |
| display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s3); align-items: start; | |
| padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid var(--line); | |
| } | |
| .side-head .eyebrow, .side-id { grid-column: 1 / -1; margin: 0; } | |
| .side-name { margin: 0; font-size: 1.5rem; } | |
| .side-id { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; } | |
| .badge.idle { background: var(--surface-2); color: var(--muted); } | |
| .side-body .loading-line { margin: 0; } | |
| .card-actions { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); } | |
| .card-actions small { margin-top: var(--s2); } | |
| footer.site { border-top: 6px solid var(--line-strong); background: var(--surface); padding: var(--s5) 0; font-size: 0.9375rem; color: var(--muted); } | |
| footer.site p { margin: 0; max-width: 72ch; } | |
| /* ---------- presets, capability chips, cost helpers ---------- */ | |
| [hidden] { display: none ; } | |
| .presets { padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--line); } | |
| .presets-label { margin: 0 0 var(--s2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); } | |
| .preset-list { display: flex; flex-wrap: wrap; gap: var(--s2); } | |
| /* phones: one swipeable row instead of four rows of tags */ | |
| @media (max-width: 39.99em) { | |
| .preset-list { | |
| flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; | |
| margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4) var(--s2); scroll-padding-inline: var(--s4); scrollbar-width: thin; | |
| } | |
| .preset { flex: none; scroll-snap-align: start; } | |
| } | |
| .preset { | |
| min-height: 44px; padding: 0 var(--s4); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); | |
| font-size: 0.9375rem; font-weight: 650; box-shadow: none; | |
| } | |
| .preset:hover { background: var(--surface-2); } | |
| .preset[aria-pressed="true"] { background: var(--board); border-color: var(--board); color: var(--on-board); } | |
| .preset-result { margin: var(--s3) 0 0; font-size: 0.9375rem; } | |
| .preset-result:empty { display: none; } | |
| .group .caps { margin: var(--s4) 0 0; padding: 0; border: 0; } | |
| .group .caps legend { | |
| display: block; padding: 0; margin: 0 0 var(--s2); | |
| font-family: var(--font-sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; text-transform: none; | |
| } | |
| .caps-row { display: flex; flex-wrap: wrap; gap: var(--s2); } | |
| .check.chip { | |
| display: inline-flex; align-items: center; gap: 0.4rem; padding: 0 0.75rem 0 0.625rem; | |
| border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); | |
| transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; | |
| } | |
| .check.chip input[type="checkbox"] { margin: 0; width: 1.125rem; height: 1.125rem; } | |
| .check.chip label { font-weight: 600; font-size: 0.9375rem; } | |
| .check.chip:hover { background: var(--surface-2); } | |
| .check.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); } | |
| .caps > small { margin-top: var(--s2); } | |
| .helper-grid { display: grid; grid-template-columns: 1fr; gap: 0 var(--s3); align-items: end; margin-top: var(--s2); } | |
| @media (min-width: 30em) { .helper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } | |
| .group .helper-grid .field, .helper-grid .field { margin: 0 0 var(--s3); } | |
| .helper-grid .field > label { font-size: 0.875rem; font-weight: 600; } | |
| .helper-readout { margin: 0 0 var(--s3); color: var(--muted); } | |
| .sample-helper { margin: var(--s2) 0 var(--s3); } | |
| .group .sample-helper .field { margin: var(--s2) 0 0; } | |
| .sample-helper .field > label { font-size: 0.875rem; font-weight: 600; } | |
| .sample-helper textarea { min-height: 4.5rem; } | |
| .sample-helper .helper-readout { margin: var(--s2) 0; } | |
| .sample-helper .btn { margin-bottom: var(--s1); } | |
| .pin-bar { margin-top: var(--s3); padding: var(--s3); border: 1px solid var(--line-strong); border-left: 6px solid var(--accent); border-radius: var(--radius); background: var(--surface); } | |
| .pin-bar[hidden] { display: none; } | |
| .pin-h { margin: 0 0 var(--s1); font-size: 0.875rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } | |
| .pin-text { margin: 0 0 var(--s2); } | |
| .pin-diff { margin: 0 0 var(--s2); padding-left: 1.25em; font-size: 0.9375rem; } | |
| .pin-diff li { margin: 0 0 2px; } | |
| .pin-actions { display: flex; flex-wrap: wrap; gap: var(--s2); } | |
| .share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s4); } | |
| .share-row .btn { min-height: 44px; font-size: 0.875rem; padding: var(--s1) var(--s3); } | |
| #share-status { flex: 1 1 16rem; font-size: 0.9375rem; overflow-wrap: anywhere; } | |
| .cards-more { display: flex; justify-content: center; margin-top: var(--s4); } | |
| #result-count { margin-top: var(--s2); color: var(--text); } | |
| /* ---------- mock drafts: how often the top pick goes first across 300 reruns ---------- */ | |
| .confidence { | |
| max-width: 68ch; margin: var(--s4) 0 0; padding: var(--s3) var(--s4) var(--s4); | |
| background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); | |
| } | |
| .conf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s3); margin: 0 0 var(--s2); } | |
| .conf-head .figure-label { margin: 0; } | |
| .conf-verdict { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } | |
| .confidence[data-verdict="stable"] .conf-verdict { color: var(--ok); } | |
| .confidence[data-verdict="likely"] .conf-verdict { color: var(--accent-text); } | |
| .confidence[data-verdict="close"] .conf-verdict, .confidence[data-verdict="tie"] .conf-verdict { color: var(--warn); } | |
| .conf-count { margin: 0 0 var(--s3); font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1; } | |
| .conf-count b { color: var(--accent-text); font-variant-numeric: tabular-nums; } | |
| /* one square per mock draft, filled in winner order */ | |
| .mock-grid { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; } | |
| @media (min-width: 40em) { .mock-grid { grid-template-columns: repeat(50, minmax(0, 1fr)); } } | |
| .mock-grid span { display: block; aspect-ratio: 1; border-radius: 1px; background: var(--line); } | |
| .mock-grid span.is-top { background: var(--accent); } | |
| .mock-grid span.r1 { background: var(--text); } | |
| .mock-grid span.r2 { background: var(--muted); } | |
| .conf-legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: var(--s3) 0 0; padding: 0; font-size: 0.875rem; } | |
| .conf-legend li { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; } | |
| .conf-legend li::before { content: ""; flex: none; width: 0.75rem; height: 0.75rem; border-radius: 1px; background: var(--line); } | |
| .conf-legend li.is-top::before { background: var(--accent); } | |
| .conf-legend li.r1::before { background: var(--text); } | |
| .conf-legend li.r2::before { background: var(--muted); } | |
| .conf-legend li span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--muted); } | |
| .conf-text { margin: var(--s3) 0 0; font-size: 0.9375rem; } | |
| /* ---------- platoon (split traffic), tryout kit, code ---------- */ | |
| .route { margin-bottom: var(--s5); padding: var(--s3); } | |
| @media (min-width: 40em) { .route { padding: var(--s4) var(--s5); } } | |
| .route-controls { display: grid; grid-template-columns: 1fr; gap: 0 var(--s4); } | |
| @media (min-width: 40em) { .route-controls { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } } | |
| .route-controls .field { margin: 0 0 var(--s3); } | |
| .route-controls .field > label { font-size: 0.875rem; font-weight: 600; } | |
| .route-controls output { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } | |
| .route-controls input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--accent); } | |
| .route-bars { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: var(--s1) var(--s2); align-items: center; margin: var(--s2) 0 var(--s3); font-size: 0.875rem; } | |
| .route-bars .rb-label { color: var(--muted); } | |
| .route-bars .rb-track { height: 0.875rem; background: var(--surface-2); border-radius: 1px; overflow: hidden; } | |
| .route-bars .rb-fill { display: block; height: 100%; background: var(--muted); } | |
| .route-bars .rb-fill.is-split { background: var(--accent); } | |
| .route-bars .rb-cost { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; } | |
| .route-readout { margin: 0; } | |
| .kit { margin-bottom: var(--s5); padding: var(--s3); } | |
| @media (min-width: 40em) { .kit { padding: var(--s4) var(--s5); } } | |
| .kit-models { margin: 0 0 var(--s3); padding-left: 1.5em; } | |
| .kit-models li { margin: 0 0 var(--s1); } | |
| .kit-models .kit-why { color: var(--muted); } | |
| .kit-models .kit-price { font-family: var(--font-mono); font-size: 0.875rem; font-variant-numeric: tabular-nums; } | |
| .kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); } | |
| .kit-actions p { margin: 0; flex: 1 1 16rem; } | |
| .snippet { margin-bottom: var(--s5); padding: var(--s3); } | |
| @media (min-width: 40em) { .snippet { padding: var(--s4) var(--s5); } } | |
| .snippet-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s2) var(--s4); margin-bottom: var(--s3); } | |
| .snippet-controls .seg-group { margin: 0; } | |
| .snippet-code { | |
| margin: 0 0 var(--s3); padding: var(--s3) var(--s4); max-height: 28rem; overflow: auto; | |
| background: var(--board); color: var(--on-board); border-radius: var(--radius-sm); | |
| font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.6; white-space: pre; tab-size: 2; | |
| } | |
| .snippet-code code { padding: 0; background: none; color: inherit; font-size: 1em; overflow-wrap: normal; } | |
| .snippet-code:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } | |
| .snippet-notes { margin: 0 0 var(--s3); padding-left: 1.25em; } | |
| .snippet-notes li { margin: 0 0 var(--s1); } | |
| /* ---------- what if the needs change ---------- */ | |
| .whatif { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--s3); } | |
| @media (min-width: 48em) { .whatif { grid-template-columns: repeat(2, minmax(0, 1fr)); } } | |
| @media (min-width: 74em) { .whatif { grid-template-columns: repeat(3, minmax(0, 1fr)); } } | |
| .wi { | |
| display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label go" "out go"; column-gap: var(--s3); row-gap: var(--s1); | |
| align-items: center; padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--line-strong); border-radius: var(--radius-sm); | |
| } | |
| .wi.is-new { border-top-color: var(--accent); } | |
| .wi-label { grid-area: label; margin: 0; font-weight: 700; } | |
| .wi-out { grid-area: out; margin: 0; font-size: 0.9375rem; color: var(--muted); } | |
| .wi-out strong { color: var(--text); } | |
| .wi-save { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ok); font-weight: 700; } | |
| .wi-cost { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--warn); font-weight: 700; } | |
| .wi .btn { grid-area: go; } | |
| .wi-none { padding: var(--s3) var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: 0.9375rem; } | |
| .whatif-status { margin-top: var(--s2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); } | |
| .whatif-status p { margin: 0; } | |
| /* ---------- transaction wire (market watch) ---------- */ | |
| #market-source { margin-top: var(--s2); max-width: 70ch; } | |
| .market-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: start; } | |
| @media (min-width: 62em) { .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } | |
| .market-col { padding: 0 var(--s4) var(--s3); min-width: 0; overflow: hidden; } | |
| .market-col h3 { | |
| display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); margin: 0 calc(-1 * var(--s4)); | |
| padding: var(--s3) var(--s4); background: var(--board); color: var(--on-board); font-size: 1.375rem; text-transform: uppercase; line-height: 1; | |
| } | |
| .mw-count { font-family: var(--font-mono); font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--on-board-muted); } | |
| .mw-list { list-style: none; padding: 0; margin: var(--s2) 0 0; } | |
| .mw-row { padding: var(--s3) 0; border-top: 1px solid var(--line); } | |
| .mw-row:first-child { border-top: 0; } | |
| .mw-row p { margin: 0; } | |
| .mw-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s2); font-weight: 700; } | |
| .mw-name .provider { font-weight: 400; font-size: 0.875rem; color: var(--muted); } | |
| .mw-facts { margin-top: var(--s1) ; font-size: 0.9375rem; font-variant-numeric: tabular-nums; } | |
| .mw-fit { margin-top: var(--s1) ; font-size: 0.875rem; color: var(--muted); } | |
| .mw-fit.is-in strong { color: var(--ok); font-weight: 650; } | |
| .mw-fit.is-out { color: var(--muted); } | |
| .mw-row.is-down .mw-facts { color: var(--ok); } | |
| .mw-row.is-yours { border-left: 3px solid var(--warn); padding-left: var(--s3); } | |
| .mw-row.is-past .mw-facts strong { color: var(--warn); } | |
| .mw-empty { padding: var(--s3) 0; font-size: 0.9375rem; color: var(--muted); } | |
| .mw-more { margin-top: var(--s2); } | |
| .mw-note { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); } | |
| .mw-note .btn { margin-top: var(--s2); } | |
| /* ---------- value pick under the top pick ---------- */ | |
| .alt-pick { | |
| max-width: 68ch; margin: var(--s4) 0 0; padding: var(--s3) var(--s4); | |
| border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); font-size: 0.9375rem; | |
| } | |
| .alt-pick .figure-label { color: var(--accent-text); } | |
| .alt-pick a { font-weight: 700; } | |
| /* ---------- value board (value map) ---------- */ | |
| .value-map { margin: 0; padding: var(--s3) var(--s3) var(--s2); } | |
| @media (min-width: 40em) { .value-map { padding: var(--s4) var(--s5) var(--s3); } } | |
| .vm-plot { min-height: 8rem; border-radius: var(--radius-sm); } | |
| .vm-plot:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; } | |
| .vm-svg .vm-pt.is-cursor { fill-opacity: 1; stroke: var(--focus); stroke-width: 3px; } | |
| .vm-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-mono); } | |
| .vm-grid { stroke: var(--line); stroke-width: 1; } | |
| .vm-tick { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; } | |
| .vm-axis { fill: var(--muted); font-family: var(--font-sans); font-size: 13px; } | |
| .vm-front { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; } | |
| .vm-pt { fill: var(--muted); fill-opacity: 0.45; stroke: var(--surface); stroke-width: 1.5; cursor: pointer; transition: fill-opacity var(--t-hover) ease; } | |
| .vm-pt:hover { fill-opacity: 1; } | |
| .vm-pt.is-front { fill: var(--text); fill-opacity: 0.9; } | |
| .vm-pt.is-top { fill: var(--accent); fill-opacity: 1; stroke: var(--surface); stroke-width: 2.5; } | |
| .vm-label { fill: var(--text); font-family: var(--font-sans); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; } | |
| .vm-label.is-top { fill: var(--accent-text); } | |
| .vm-readout { min-height: 1.5rem; margin-top: var(--s2); font-family: var(--font-mono); font-size: 0.875rem; color: var(--muted); } | |
| .vm-empty { padding: var(--s5) var(--s3); margin: 0; } | |
| /* ---------- head to head ---------- */ | |
| .h2h { scroll-margin-top: var(--s4); } | |
| .h2h:focus { outline: none; } | |
| .h2h:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; } | |
| .h2h-wrap { overflow-x: auto; background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius); } | |
| .h2h-table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; } | |
| .h2h-table th, .h2h-table td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } | |
| .h2h-table thead th { background: var(--board); color: var(--on-board); border-bottom: 0; font-family: var(--font-display); font-stretch: condensed; font-size: 1.375rem; line-height: 1.05; vertical-align: bottom; } | |
| .h2h-table thead th small { display: block; font-family: var(--font-sans); font-size: 0.8125rem; color: var(--on-board-muted); } | |
| .h2h-table tbody th { font-weight: 600; color: var(--muted); font-size: 0.875rem; width: 12rem; } | |
| .h2h-table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } | |
| .h2h-table tbody tr:last-child > * { border-bottom: 0; } | |
| .h2h-table td.is-best { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; } | |
| .h2h-best { | |
| display: inline-block; margin-left: var(--s1); padding: 0 0.375rem; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); | |
| font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.05em; | |
| } | |
| .h2h-rank { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--on-board-muted); } | |
| .h2h-remove { | |
| min-height: 32px; margin-top: var(--s2); padding: 0 var(--s2); font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; | |
| background: transparent; border-color: var(--on-board-muted); color: var(--on-board); box-shadow: none; | |
| } | |
| .h2h-remove:hover { background: var(--board-2); } | |
| .h2h-actions { margin-top: var(--s3); } | |
| /* ---------- compare buttons and the tray ---------- */ | |
| .card-actions .row { gap: var(--s2); } | |
| .compare-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); } | |
| /* ---------- hosts right now (live check on a card) ---------- */ | |
| .hosts-btn[aria-disabled="true"] { cursor: progress; color: var(--muted); } | |
| .live-hosts:empty { display: none; } | |
| .live-hosts { margin-top: var(--s3); } | |
| .live-hosts-title { margin: 0; font-size: 1.25rem; } | |
| .live-hosts-title small { display: inline; margin: 0 0 0 var(--s2); font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 400; color: var(--muted); } | |
| .live-hosts-text { margin: var(--s2) 0 0; padding-left: 1.1rem; font-size: 0.9375rem; } | |
| .live-hosts-text li + li { margin-top: var(--s1); } | |
| .card .live-hosts p { margin: var(--s2) 0 0; font-size: 0.9375rem; } | |
| .card .live-hosts .is-warn { color: var(--warn); font-weight: 600; } | |
| .live-hosts-more { margin-top: var(--s2); } | |
| .live-hosts-more summary { cursor: pointer; font-weight: 600; font-size: 0.9375rem; } | |
| .live-hosts-wrap { | |
| max-height: 22rem; overflow: auto; margin-top: var(--s2); | |
| border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); | |
| } | |
| .live-hosts-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } | |
| .live-hosts-table { border-collapse: collapse; width: 100%; min-width: 38rem; font-size: 0.8125rem; } | |
| .live-hosts-table th, .live-hosts-table td { padding: var(--s1) var(--s2); border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } | |
| .live-hosts-table thead th { position: sticky; top: 0; background: var(--surface-2); font-weight: 600; } | |
| .live-hosts-table tbody th { font-weight: 600; } | |
| .live-hosts-table thead th:first-child, .live-hosts-table tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); } | |
| .live-hosts-table tbody th { background: var(--surface); } | |
| .live-hosts-table thead th:first-child { z-index: 2; } | |
| .live-hosts-table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } | |
| .live-hosts-table td.is-low { color: var(--warn); font-weight: 700; } | |
| .live-hosts-table tbody tr:last-child > * { border-bottom: 0; } | |
| .tag-zdr { padding: 0 var(--s1); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; } | |
| .card .live-hosts .live-hosts-foot { font-size: 0.8125rem; color: var(--muted); } | |
| .compare-tray { | |
| position: fixed; left: 50%; bottom: var(--s3); z-index: 15; transform: translateX(-50%); | |
| display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); | |
| width: min(46rem, calc(100% - 2 * var(--s3))); padding: var(--s2) var(--s3); | |
| background: var(--board); color: var(--on-board); border: 2px solid var(--board-accent); border-radius: var(--radius); box-shadow: var(--shadow-lift); | |
| } | |
| .compare-tray-text { flex: 1 1 14rem; margin: 0; font-size: 0.9375rem; } | |
| .compare-tray .btn { min-height: 44px; } | |
| .compare-tray .btn:not(.primary) { background: var(--board-2); color: var(--on-board); border-color: var(--on-board-muted); box-shadow: none; } | |
| a.btn { text-decoration: none; } | |
| a.btn.primary:hover { color: var(--on-accent); } | |
| body.has-tray { padding-bottom: 7rem; } | |
| /* ---------- ranking reveal: plays only when the order changes ---------- */ | |
| @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } | |
| @keyframes settle { from { opacity: 0.4; transform: translateY(4px); } to { opacity: 1; transform: none; } } | |
| @keyframes slot { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } } | |
| .top-pick.is-reveal > * { animation: settle var(--t-reveal) var(--ease-out) both; } | |
| .top-pick.is-reveal .pick-no { animation: slot var(--t-reveal) var(--ease-out) both; } | |
| .cards.is-reveal .card { animation: rise var(--t-reveal) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); } | |
| @media (prefers-reduced-motion: reduce) { | |
| html { scroll-behavior: auto; } | |
| *, *::before, *::after { animation: none ; } | |
| .skip, .btn, button, .card, .sections a { transition-property: color, background-color, border-color; } | |
| .btn:active { transform: none; } | |
| .spinner { border-top-color: var(--accent); border-right-color: var(--accent); } | |
| } | |
| @media print { | |
| .sections-bar, .toolbar, .skip, #suggest, .presets, .share-row, .pin-actions, .cards-more, .compare-tray, .h2h-actions, .h2h-remove { display: none; } | |
| .cards .card[hidden] { display: flex ; } | |
| .card-actions, .chat-settings, .chat-form, #side-form, .tip-try, #weights-edit, .weights-reset, .mw-more, .wi .btn, #whatif-undo, .snippet-controls, #snippet-copy { display: none; } | |
| .snippet-code { max-height: none; overflow: visible; white-space: pre-wrap; } | |
| .mw-row[hidden] { display: block ; } | |
| .panel, .card, .top-pick, .table-wrap { box-shadow: none; } | |
| } | |