/* Reflyt: the clean look (2026-11-20, SD: "clean, not busy, easy to read, calm colors, easy to read fonts. Professional").
   White and soft-gray surfaces, slate text, ONE accent, one typeface (Geist) for words and numbers alike.
   No glow, no grid, no pixel fonts. Every number on these pages is a real one. */

/* ===== THE COLORS (LOCKED by SD 2026-11-20: "lock this in for the style, colors"; change nothing here without SD's word).
   Every color on the site comes from these lines. --fill = SD's primary exactly (bars, big numbers, marks). --accent = the same hue, deep enough for small text
   and white button text (4.5:1+). Secondary colors are too light for small text, so they only mark things (bullets, note edges).
   The rest are tints. ===== */

/* "06. Sky & Coral": background #FFFFFF, surface #EDF6FC, text #263D54, primary #2487B2, secondary #E77C67, border #D8EAF5 */
:root {
  --bg: #FFFFFF;            /* page (SD background) */
  --soft: #EDF6FC;          /* soft bands, notes, chips (SD surface) */
  --soft2: #E1EEF7;         /* a step darker (disabled) */
  --well: #F4F9FD;          /* inside a card: the drop area */
  --panel: #FFFFFF;         /* cards */
  --bar-bg: #FFFFFFeb;      /* the top bar, see-through */
  --line: #D8EAF5;          /* hairlines, card borders (SD border) */
  --line2: #BCD5E6;         /* stronger borders (inputs, ghost buttons) */
  --ink: #263D54;           /* headings, key text (SD text) */
  --text: #3C536A;          /* body text */
  --dim: #4A6075;           /* secondary text */
  --mute: #5A6F84;          /* small print, labels */
  --fill: #2487B2;          /* SD primary: bars, big numbers, marks */
  --accent: #1E7096;        /* SD primary, deeper: buttons, links, small text */
  --accent-hover: #185C7C;
  --accent-soft: #E6F3F9;   /* primary tint behind badges, hover wells */
  --accent-line: #A9D3E6;   /* primary tint for borders */
  --warm: #F5890A;          /* the logo's orange (SD: 'a little orange'): marks only */
  --cool: #2487B2;          /* focus rings */
  --them: #B3C3D1;          /* Ruffle's bars: neutral */
  --track: #E3EEF6;         /* empty part of a bar */
  --shadow: 0 1px 2px #263D540d, 0 6px 20px #263D5412;
  --good: #15803d; --good-soft: #e9f6ee;
  --warn: #b45309; --warn-soft: #fdf3e6;
  --bad: #c62828; --bad-soft: #fdecec;
  --ui: Geist, 'Segoe UI', system-ui, -apple-system, sans-serif; --mono: 'Geist Mono', Consolas, monospace;
  --read: var(--ui); --label: var(--ui);
  --radius: 12px; --radius-s: 8px;
  --wrap: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg); font: 400 17px/1.65 var(--ui);
  min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: var(--accent); text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--cool); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* small headings over a section or a panel */
.label { font: 600 12.5px/1.4 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0; }
.label b { color: var(--accent); font-weight: 600; }

/* ------------------------------------------------ top bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bar-bg); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--ink); }
.bar nav { margin-left: auto; display: flex; gap: 26px; }
.bar nav a { font: 500 15px/1 var(--ui); color: var(--dim); text-decoration: none; padding: 8px 0; }
.bar nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .bar nav { gap: 18px; } .bar nav a.opt { display: none; } }

main { flex: 1; }
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { font-family: var(--ui); margin: 0; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; margin-top: 10px; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--dim); max-width: 36em; margin: 18px 0 0; }
.lede strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------ cards ("plates" in the markup) */
.plate { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }

/* ------------------------------------------------ hero */
.hero { padding: 64px 0 84px; background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 78%); }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 .line { display: block; }

/* the slot a SWF goes into */
.slot { margin-top: 30px; padding: 20px; }
.hero .slot { margin-top: 26px; }
.slot .label { margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.well {
  display: grid; place-items: center; gap: 6px; text-align: center; cursor: pointer; min-height: 156px; padding: 24px 16px;
  background: var(--well); border: 2px dashed var(--line2); border-radius: 10px; transition: border-color .15s, background .15s;
}
.well:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.well.over { border-color: var(--fill); background: var(--accent-soft); }
.well .big { font: 600 20px/1.2 var(--ui); color: var(--ink); }
.well .small { font: 400 15px/1.5 var(--ui); color: var(--mute); }
.well .file { font: 500 14px/1.4 var(--mono); color: var(--ink); word-break: break-all; }
.well.busy { cursor: default; }

.tick { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; cursor: pointer; font-size: 15.5px; color: var(--text); line-height: 1.45; }
.tick input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 20px; height: 20px; margin: 1px 0 0; background: #fff; border: 1.5px solid var(--line2); border-radius: 5px; cursor: pointer; }
.tick input:checked { background: var(--fill); border-color: var(--fill); }
.tick input:checked::after { content: ''; position: absolute; left: 5.5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick.want { color: var(--ink); }
.tick.want input { border-color: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }

/* a progress bar: upload progress */
.leds { display: grid; grid-template-columns: repeat(var(--n, 24), 1fr); gap: 0; height: 8px; border-radius: 99px; overflow: hidden; background: var(--track); }
.leds i { background: transparent; }
.leds i.on { background: var(--fill); }
.meter { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.meter .num { font: 600 15px/1 var(--read); color: var(--accent); min-width: 4ch; text-align: right; }
.msg { margin: 12px 0 0; font-size: 15px; color: var(--dim); min-height: 1.4em; }
.msg.bad { color: var(--bad); }
.fine { margin: 14px 0 0; font: 400 13.5px/1.6 var(--ui); color: var(--mute); }

/* the screen a game plays on */
.screen { margin: 0; padding: 12px; }
.screen .head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; }
.screen .head .label:last-child { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; color: var(--mute); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.dot.off { background: var(--line2); }
.glass { position: relative; background: #0b0f17; border-radius: 8px; aspect-ratio: var(--ar, 800 / 480); overflow: hidden; }
.glass::after { content: ''; position: absolute; inset: 0; background: #0b0f1740; pointer-events: none; }
.glass:has(iframe)::after { display: none; }
.glass img, .glass iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.glass .play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; padding: 13px 22px; cursor: pointer; z-index: 1;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius-s); font: 600 15px/1 var(--ui); box-shadow: 0 6px 24px #0b0f1759;
}
.glass .play:hover { background: var(--accent-hover); }
.screen figcaption { padding: 12px 4px 2px; font-size: 14px; color: var(--mute); }

/* ------------------------------------------------ readouts: four plain facts under the hero */
.readouts { padding: 0; border-top: 0; }
.readouts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.readout { padding: 30px 24px 32px 0; }
.readouts .readout + .readout { border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 960px) { .readouts .readout + .readout { border-left: 0; padding-left: 0; } .readouts .readout { border-top: 1px solid var(--line); } }
.readout .n { font: 700 34px/1 var(--read); color: var(--ink); letter-spacing: -.02em; margin: 10px 0 10px; }
.readout p:not(.label) { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }

/* ------------------------------------------------ steps (older 4-step list) */
.steps-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps-list li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps-list .k { font: 700 22px/1 var(--read); color: var(--accent); }
.steps-list h3 { margin: 14px 0 8px; }
.steps-list p { margin: 0; color: var(--dim); font-size: 15.5px; }

/* ------------------------------------------------ lists of facts */
.cols { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0 12px 26px; position: relative; color: var(--dim); font-size: 16.5px; }
.facts li + li { border-top: 1px solid var(--line); }
.facts li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.facts.no li::before { background: transparent; border: 1.5px solid var(--mute); width: 6px; height: 6px; }
.facts strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------ prices */
.prices-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 860px) { .prices-grid { grid-template-columns: 1fr 1fr; } }
.price { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.price .amount { font: 700 48px/1 var(--read); color: var(--ink); margin: 16px 0 6px; letter-spacing: -.03em; }
.price .amount small { font: 500 14px/1 var(--ui); color: var(--mute); letter-spacing: 0; margin-left: 8px; text-transform: lowercase; }
.price .per { font: 400 15px/1.5 var(--ui); color: var(--mute); margin: 0 0 18px; }
.price .facts { margin-top: auto; border-top: 1px solid var(--line); }
.price .facts li { font-size: 15.5px; }
.price.lit { border: 1.5px solid var(--fill); }
.price.lit .amount { color: var(--fill); }
.note { margin-top: 20px; padding: 18px 22px; color: var(--dim); font-size: 16px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.note.plate { box-shadow: none; }
.note strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------ buttons ("keys" in the markup) */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius-s); font: 600 16px/1.2 var(--ui); letter-spacing: 0; text-transform: none;
  transition: background .15s, box-shadow .15s;
}
.key:hover { background: var(--accent-hover); color: #fff; }
.key.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line2); }
.key.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.key[disabled] { background: var(--soft2); color: var(--mute); cursor: not-allowed; }
label.key { user-select: none; }

/* ------------------------------------------------ questions */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--ui); color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 20px; color: var(--dim); max-width: 46em; }

/* ------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); background: var(--soft); padding: 30px 0 38px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font: 400 14.5px/1.6 var(--ui); color: var(--mute); }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--accent); text-decoration: underline; }
footer .right { margin-left: auto; }

/* ------------------------------------------------ the job page */
.job { padding: 48px 0 80px; }
.job .top { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: end; justify-content: space-between; }
.job h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; word-break: break-word; }
.job .meta { font: 400 14.5px/1.6 var(--ui); color: var(--mute); margin: 6px 0 0; }
.console { margin-top: 28px; padding: 26px 24px 24px; }
.stages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.stages li { padding: 0; font: 500 14px/1.4 var(--ui); color: var(--mute); }
.stages li::before { content: ''; display: block; height: 6px; margin-bottom: 10px; border-radius: 99px; background: var(--track); }
.stages li.done { color: var(--dim); } .stages li.done::before { background: var(--accent-line); }
.stages li.now { color: var(--ink); font-weight: 600; } .stages li.now::before { background: var(--fill); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
@media (max-width: 620px) { .stages { grid-template-columns: 1fr 1fr; } }
.clock { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.clock .n { font: 700 38px/1 var(--read); color: var(--ink); letter-spacing: -.02em; }
.clock .what { color: var(--dim); font-size: 16.5px; }
.ready { display: grid; gap: 20px; margin-top: 28px; align-items: start; }
@media (min-width: 1000px) { .ready { grid-template-columns: minmax(0, 1fr) 340px; } }
.buy { padding: 24px; display: grid; gap: 16px; }
.buy .amount { font: 700 40px/1 var(--read); color: var(--ink); letter-spacing: -.02em; }
.buy p:not(.label) { margin: 0; color: var(--dim); font-size: 15.5px; }
.buy .key { width: 100%; }
.buy hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.verdict { display: flex; gap: 10px; align-items: center; }
.failed { margin-top: 28px; padding: 26px 24px; border-color: #f2c4c4; background: var(--bad-soft); box-shadow: none; }
.failed .label { color: var(--bad); }
.failed p:not(.label) { color: var(--text); max-width: 44em; }
.hide { display: none !important; }

/* ------------------------------------------------ plain pages (terms, guides) */
.page { padding: 52px 0 80px; max-width: 760px; }
.page h2 { font-size: 24px; margin-top: 38px; }
.page p:not(.label), .page li { color: var(--dim); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.mt { margin-top: 14px; }
.mb { margin-bottom: 12px; }

/* ------------------------------------------------ buying (job page) */
.buy-in { display: grid; gap: 16px; }
.buy h3 { margin: 0; }
.code { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code input { min-width: 0; height: 48px; padding: 0 14px; background: #fff; border: 1.5px solid var(--line2); border-radius: var(--radius-s); color: var(--ink); font: 500 15px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.code input::placeholder { color: var(--mute); letter-spacing: 0; text-transform: none; font-family: var(--ui); }
.code input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.codeshow { font: 600 20px/1.3 var(--mono); color: var(--accent); letter-spacing: .02em; word-break: break-all; user-select: all; }
.key.wait { background: var(--soft2); color: var(--dim); cursor: progress; }
.buy .key { text-align: center; line-height: 1.35; padding: 12px 18px; }
.buy .code .key { width: auto; padding: 0 18px; }

/* ------------------------------------------------ the automatic check (job page) */
.check { margin: 12px 4px 4px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.check .label { display: flex; align-items: center; gap: 10px; }
.check p:not(.label) { margin: 8px 0 0; color: var(--dim); font-size: 15.5px; }
.check .facts { margin-top: 10px; }
.check .facts li { font-size: 15px; padding: 9px 0 9px 22px; }
.check .facts li::before { top: 18px; }
.pill { display: inline-block; font: 600 12px/1 var(--ui); letter-spacing: .02em; text-transform: none; padding: 5px 10px; border-radius: 99px; background: var(--soft2); color: var(--dim); }
.pill.good { color: var(--good); background: var(--good-soft); }
.pill.warn { color: var(--warn); background: var(--warn-soft); }
.pill.bad { color: var(--bad); background: var(--bad-soft); }
.dot.pulse { animation: pulse 1.2s ease-in-out infinite; }
.dot.warn { background: var(--warn); }
.dot.bad { background: var(--bad); }

/* ------------------------------------------------ admin (/admin; class names start "dash-", never "ad-": ad blockers hide those) */
.dash .bar .label { color: var(--accent); }
.dash .bar .wrap { gap: 16px; }
.dash-range { margin-left: auto; display: flex; gap: 0; border: 1px solid var(--line2); border-radius: var(--radius-s); overflow: hidden; }
.dash-range button { background: #fff; border: 0; color: var(--dim); font: 500 13.5px/1 var(--ui); padding: 9px 12px; cursor: pointer; }
.dash-range button + button { border-left: 1px solid var(--line2); }
.dash-range button:hover { color: var(--ink); }
.dash-range button.on { background: var(--accent); color: #fff; }
.dash-main { padding-top: 22px; padding-bottom: 60px; }
.dash-note { margin: 0 0 16px; font: 400 14px/1.5 var(--ui); color: var(--mute); }
.dash-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0; border: 0; }
.dash-tile { padding: 16px 16px 14px; }
.dash-val { font: 700 30px/1 var(--read); color: var(--ink); margin: 12px 0 10px; letter-spacing: -.02em; }
.dash-delta { margin: 0; font: 400 13px/1.4 var(--ui); color: var(--mute); }
.dash-delta.up { color: var(--good); }
.dash-delta.down { color: var(--warn); }
section.dash-panel { padding: 18px 18px 16px; margin-top: 16px; }
.dash-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dash-head h2 { font-size: 17px; margin: 0; letter-spacing: -.005em; }
.dash-head h3 { font-size: 15px; margin: 0; color: var(--dim); font-weight: 500; }
.dash-head2 { margin-top: 18px; }
.dash-sub { font: 400 13px/1.4 var(--ui); color: var(--mute); }
.dash-svg { width: 100%; height: auto; display: block; overflow: visible; }
.dash-grid-line { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.dash-axis { fill: var(--mute); font: 400 12px var(--ui); }
.dash-col { fill: var(--fill); }
.dash-hit { fill: transparent; cursor: crosshair; }
.dash-hit:hover { fill: #172B3A0a; }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1fr 1fr; } .dash-grid4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .dash-grid4 { grid-template-columns: 1fr 1fr; } }
.dash-grid section.dash-panel { margin-top: 16px; }
.dash-bars { display: grid; gap: 6px; }
.dash-bar { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; align-items: center; gap: 10px; font-size: 14px; padding: 3px 0; cursor: default; }
.dash-bar:hover { background: var(--soft); }
.dash-bar-name { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-bar-track { height: 12px; position: relative; background: var(--track); border-radius: 99px; overflow: hidden; }
.dash-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fill); border-radius: 99px; }
.dash-bar-val { font: 500 13.5px/1 var(--ui); color: var(--ink); min-width: 3ch; text-align: right; }
.dash-bar-extra { grid-column: 2 / -1; font: 400 12.5px/1.3 var(--ui); color: var(--mute); margin-top: -2px; }
.dash-empty { margin: 4px 0; color: var(--mute); font-size: 14.5px; caption-side: top; text-align: left; }
.dash-att { padding: 12px 0; border-top: 1px solid var(--line); }
.dash-att:first-child { border-top: 0; padding-top: 2px; }
.dash-att-top { margin: 0; font-size: 14.5px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.dash-att-top a { color: var(--ink); font-weight: 500; }
.dash-att .facts { margin-top: 8px; }
.dash-att .facts li { font-size: 14px; padding: 6px 0 6px 22px; border-top: 0; }
.dash-att .facts li::before { top: 15px; }
.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th { text-align: left; font: 600 12px/1.3 var(--ui); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dash-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); color: var(--dim); white-space: nowrap; }
.dash-table td a { color: var(--ink); }
.dash-table tr:hover td { background: var(--soft); }
.dash-tip { position: fixed; z-index: 50; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 10px; box-shadow: var(--shadow); }
.dash-tip-head { font: 600 12.5px/1.4 var(--ui); color: var(--ink); margin-bottom: 3px; }
.dash-tip-row { font: 400 13px/1.5 var(--ui); color: var(--dim); }
.dash-empty-chart { padding: 34px 0; text-align: center; border: 1px dashed var(--line2); border-radius: var(--radius-s); margin: 0; }
section.dash-waiting { margin-top: 16px; padding: 16px 18px; border-color: var(--accent-line); }
.dash-waiting .label { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.dash-waiting p:not(.label) { margin: 8px 0 0; color: var(--dim); font-size: 15px; max-width: 70em; }
.dash-remove { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.dash-game { display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }   /* (a long name ends in "…" so the table fits; the full name is on hover) */
.dash-btn { background: #fff; border: 1px solid var(--line2); border-radius: 6px; color: var(--dim); font: 500 12.5px/1 var(--ui); padding: 6px 9px; cursor: pointer; white-space: nowrap; }
.dash-btn:hover { color: var(--ink); border-color: var(--mute); }
.dash-btn.armed { border-color: var(--bad); color: var(--bad); }
.dash-btn[disabled] { opacity: .6; cursor: progress; }
.dash-warn { color: var(--warn); }

/* ================================================ the home page sections */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.more { margin: 30px 0 0; }
.more .key, .ctas .key { text-align: center; }

/* the compatibility showcase */
.compare { background: var(--soft); }
.compare h2 { max-width: 18em; }
.tiles { display: grid; gap: 16px; margin-top: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.tile .n { font: 700 clamp(38px, 4.4vw, 48px)/1 var(--read); color: var(--fill); margin: 14px 0 12px; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tile .n i { font-style: normal; color: var(--line2); font-weight: 500; }
.tile .n small { font: 500 16px/1 var(--ui); letter-spacing: 0; color: var(--mute); }
.tile p:not(.label) { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }

/* the infographic slot (SD's graphic; tools/benchmarks.json names the files) */
.graphic { margin: 24px 0 0; padding: 12px; }
.graphic .zoom { display: block; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.graphic img { display: block; width: 100%; height: auto; }
.graphic figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; padding: 12px 4px 2px; font-size: 14px; color: var(--mute); }
@media (max-width: 640px) { .graphic { margin-left: -6px; margin-right: -6px; padding: 6px; } }
.slot-empty { border: 2px dashed var(--line2); box-shadow: none; }
.graphic-empty { aspect-ratio: 16 / 10; display: grid; place-content: center; gap: 8px; text-align: center; padding: 24px; border-radius: 8px; background: var(--soft); }
.graphic-empty p:not(.label):not(.fine) { margin: 0; font-size: 19px; color: var(--ink); font-weight: 500; }

.proof { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 980px) { .proof { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.board { margin: 0; padding: 22px 24px 18px; }
.board > .label { margin-bottom: 8px; }
.board .fine { margin-top: 12px; }
.side { display: grid; gap: 20px; align-content: start; }
.side .more { margin: 0; }
.method dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 14px 0 2px; font-size: 15px; }
.method dt { font: 600 12.5px/1.75 var(--ui); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.method dd { margin: 0; color: var(--text); }

/* the six test sets */
.score { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.score caption { text-align: left; caption-side: bottom; padding-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--mute); }
.score th, .score td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.score thead th { font: 600 12px/1.3 var(--ui); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.score tbody th { font-weight: 600; color: var(--ink); }
.score .kind { display: block; font-size: 13.5px; font-weight: 400; color: var(--mute); margin-top: 2px; }
.score .num { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 14px; }
.score td.us { font: 700 20px/1.2 var(--read); color: var(--fill); }
.score td.them { font: 500 20px/1.2 var(--read); color: var(--mute); }
.score .of { display: block; font: 400 12.5px/1.4 var(--ui); color: var(--mute); margin-top: 4px; }
.score .lead { display: inline-block; font: 600 13px/1 var(--ui); color: var(--accent); background: var(--accent-soft); padding: 6px 9px; border-radius: 99px; }
.score td.wide { color: var(--dim); font-size: 15px; max-width: 30em; }
@media (max-width: 520px) { .score { font-size: 14.5px; } .score td.us, .score td.them { font-size: 17px; } .score .num { padding-left: 8px; } .score .kind { display: none; } }
.wide-table { overflow-x: auto; margin-top: 28px; }
@media (max-width: 760px) { .wide-table .wide { display: none; } }

/* the real-game chart: one bar per player, one 0..146 scale for every bar */
.led-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.games-chart { margin-top: 12px; }
.gc-group + .gc-group { margin-top: 20px; }
.gc-title { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.gc-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px; align-items: center; gap: 12px; margin-top: 8px; }
.gc-who { font: 500 14.5px/1 var(--ui); color: var(--dim); }
.led { display: block; width: 100%; height: 16px; border-radius: 99px; overflow: hidden; }
.led .track { fill: var(--track); }
.led .bar.us { fill: var(--fill); }
.led .bar.them { fill: var(--them); }
.gc-v { font: 700 19px/1 var(--read); text-align: right; }
.gc-row.us .gc-v { color: var(--fill); }
.gc-row.them .gc-v { color: var(--mute); font-weight: 500; }
.gc-scale { display: flex; justify-content: space-between; margin: 12px 56px 0 74px; font-size: 13px; color: var(--mute); }
html.js .chart .bar { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.2, .7, .2, 1); }
html.js .chart .gc-row.them .bar { transition-delay: .12s; }
html.js .chart.in .bar { clip-path: inset(0 0 0 0); }
html.js .chart .gc-v { opacity: 0; transition: opacity .3s .8s; }
html.js .chart.in .gc-v { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.js .chart .bar { clip-path: none; } html.js .chart .gc-v { opacity: 1; } }

/* from SWF to HTML5: three real screens */
.flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flow .shot { padding: 0; margin: 0; overflow: hidden; }
.flow .shot img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 450; object-fit: cover; object-position: top left; background: var(--soft); }
.flow .k { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; font: 600 19px/1.2 var(--ui); color: var(--ink); }
.flow .k span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 14px/1 var(--ui); }
.flow p:not(.k) { margin: 0; color: var(--dim); font-size: 16px; }

/* Reflyt and Ruffle: two paths */
.paths { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { padding: 24px; }
.path.lit { border: 1.5px solid var(--fill); }
.path > p:not(.label) { margin: 0; color: var(--dim); font-size: 16px; }
.pipe { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.pipe li { position: relative; font: 500 14px/1 var(--ui); color: var(--ink); padding: 9px 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.pipe li + li::before { content: '\2192'; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); font: 600 17px/1 var(--ui); color: var(--warm); }
.path.lit .pipe li:last-child { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
#ruffle .lede { margin-top: 28px; max-width: 46em; }

/* prices: what's free, what you get, what if it doesn't */
.terms3 { display: grid; gap: 16px; margin-top: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.terms3 > div { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.terms3 p:not(.label) { margin: 8px 0 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }

/* who makes it */
.maker { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .maker { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.maker-n { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.maker-n .readout { padding: 22px 20px; }
.maker-n .readout .n { font-size: clamp(30px, 3.6vw, 38px); margin-bottom: 0; color: var(--fill); }

/* the benchmarks page */
.bench-top { padding: 52px 0 72px; background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 78%); }
.bench h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: 15em; }
.stamp { margin: 16px 0 0; font-size: 14px; color: var(--mute); }
.note.stack { display: block; margin-top: 22px; border-left: 3px solid var(--warm); }
.note.stack p:not(.label) { margin: 10px 0 0; max-width: 52em; }
.note.stack .facts { margin-top: 12px; }
.note.stack .facts li { font-size: 15.5px; }
.bench .cols { align-items: start; }
.cta-band { background: var(--soft); }
.cta-band h2 { margin-top: 0; }

/* the full-size view of the infographic (app.js makes it) */
.zoombox { border: 0; border-radius: var(--radius); background: #fff; color: var(--ink); padding: 14px; max-width: min(96vw, 2000px); max-height: 94vh; box-shadow: 0 20px 60px #172B3A40; }
.zoombox::backdrop { background: #172B3A99; }
.zoombox form { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.zoombox .key { min-height: 38px; }
.zoombox img { display: block; max-width: 100%; max-height: calc(94vh - 84px); width: auto; height: auto; margin: 0 auto; }

/* phones */
@media (max-width: 520px) {
  .pipe { flex-direction: column; align-items: flex-start; gap: 26px; }
  .pipe li + li::before { content: '\2193'; left: 14px; top: -21px; transform: none; }
  section { padding: 64px 0; }
}


/* the SWF -> browser explainer (from SD's Reflyt graphic: generic SWF document, no Adobe logo) */
.explain { margin: 34px auto 0; max-width: 640px; text-align: center; }
.explain svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 18px #263D5414); }
.explain figcaption { margin-top: 4px; font: 600 19px/1.3 var(--ui); color: var(--ink); }
.x-doc { fill: var(--panel); stroke: var(--line2); stroke-width: 2.5; }
.x-fold { fill: var(--soft); stroke: var(--line2); stroke-width: 2.5; stroke-linejoin: round; }
.x-swf { font: 700 42px var(--ui); fill: var(--ink); letter-spacing: .02em; }
.x-sub { font: 500 17px var(--ui); fill: var(--mute); }
.x-chev { fill: none; stroke: var(--fill); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.x-chev.c1 { opacity: .3; } .x-chev.c2 { opacity: .55; } .x-chev.c3 { opacity: .85; }
.x-win { fill: var(--panel); stroke: var(--line2); stroke-width: 2.5; }
.x-bar { fill: var(--fill); }
.x-dot { fill: #fff; opacity: .9; }
.x-playbg { fill: var(--accent-soft); }
.x-play { fill: var(--fill); }
.x-arrow { fill: none; stroke: var(--warm); stroke-width: 7; stroke-linecap: round; }
.x-head { fill: var(--warm); }

/* the logo in the top bar */
.brand-mark { display: block; width: 34px; height: 34px; }
.brand-word { display: block; height: 27px; width: auto; margin-top: 3px; }

/* a little orange: the logo's swoosh under the headline's second line */
.hero h1 .line:last-child { display: inline-block; }
.hero h1 .line:last-child::after {
  content: ''; display: block; height: 16px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 90 3 205 1 296 7' fill='none' stroke='%23F5890A' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* the trademark line in every public footer */
footer .legal { flex: 1 0 100%; order: 10; margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--mute); }

/* the headline "Bring your Flash games / back to life!": the first line stays whole wherever it fits */
.hero h1 { font-size: clamp(32px, 7.4vw, 50px); }
@media (min-width: 960px) { .hero h1 { font-size: clamp(36px, 3.6vw, 48px); } }
@media (min-width: 400px) { .hero h1 .line:first-child { white-space: nowrap; } }
