/* =============================================================================
   PC Analyzer — habillage « console »
   Monospace pour tout ce qui est donnée (mesures, composants, libellés), sans
   pour la prose. Décor sobre : grille de fond, cadres à coins marqués, barres
   segmentées. Aucune police distante : la pile monospace du système suffit.
   ========================================================================== */

/* ---- Jetons -------------------------------------------------------------- */
:root {
  color-scheme: dark;

  --bg: #060a10;
  --bg-2: #080e15;
  --surface: #0b121b;
  --surface-2: #0f1825;
  --surface-3: #14202f;
  --border: #1a2735;
  --border-hi: #27394d;

  --text: #dbe6f2;
  --muted: #7d8fa4;
  --faint: #4a5b6e;

  --accent: #4cc2ff;
  --accent-dim: #2a6f92;
  --linux: #a78bfa;
  --green: #3fb950;
  --orange: #f0883e;
  --red: #f85149;
  --gray: #8b949e;

  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;

  --r: 4px;
  --r-sm: 3px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Décor : grille + halos, atténués vers le bas pour ne pas gêner la lecture. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(76, 194, 255, .10), transparent 62%),
    radial-gradient(60% 45% at 100% 100%, rgba(167, 139, 250, .06), transparent 70%),
    linear-gradient(rgba(76, 194, 255, .032) 1px, transparent 1px) 0 0 / 100% 52px,
    linear-gradient(90deg, rgba(76, 194, 255, .032) 1px, transparent 1px) 0 0 / 52px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .25) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .25) 100%);
}

a { color: var(--accent); text-decoration-color: rgba(76, 194, 255, .35); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--accent); }
::selection { background: rgba(76, 194, 255, .3); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: var(--border-hi) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

/* ---- En-tête ------------------------------------------------------------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 10, 16, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.top::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 194, 255, .45), transparent);
}
header.top .inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
}
.brand {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}
.brand .caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin: 0 8px 0 3px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(76, 194, 255, .55);
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.brand .tag {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--accent);
  border: 1px solid rgba(76, 194, 255, .35);
  border-radius: 2px;
  padding: 2px 6px;
}
nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
nav a:hover { color: var(--text); }
nav a:hover::after { transform: scaleX(1); }

/* ---- Trame de page ------------------------------------------------------- */
main { max-width: var(--shell); margin: 0 auto; padding: 20px 22px 48px; }
section[id] { scroll-margin-top: 76px; }

section.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 140px), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  margin: 18px 0;
}
/* Équerres d'angle : repère visuel discret, sans cadre lourd. */
section.card::before,
section.card::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
  opacity: .5;
}
section.card::before { top: -1px; left: -1px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
section.card::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }

h1 { font-size: 29px; line-height: 1.2; margin: 0 0 10px; font-weight: 650; letter-spacing: -.015em; }
h1 em { font-style: normal; color: var(--accent); }

h2 {
  position: relative;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
h2::before { content: "//"; color: var(--accent); opacity: .7; }
h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 68px; height: 1px; background: var(--accent); }
h2 .sub {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted);
}

h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 10px;
}
h3::before { content: "▸ "; color: var(--accent-dim); }

/* ---- Bandeau d'analyse --------------------------------------------------- */
.hero {
  padding: 28px 26px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 12% 0%, rgba(76, 194, 255, .10), transparent 58%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--faint);
  margin-bottom: 14px;
}
.kicker b { color: var(--accent); font-weight: 600; }
.hero p.lead { color: var(--muted); max-width: 820px; margin: 0 0 20px; font-size: 14.5px; }

form.analyze { display: flex; gap: 10px; flex-wrap: wrap; }
.field { position: relative; flex: 1; min-width: 260px; display: flex; align-items: center; }
.field::before {
  content: ">";
  position: absolute;
  left: 13px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  pointer-events: none;
}
form.analyze input {
  width: 100%;
  padding: 12px 44px 12px 30px;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13.5px;
  caret-color: var(--accent);
}
form.analyze input::placeholder { color: var(--faint); }
form.analyze input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76, 194, 255, .25), 0 0 22px rgba(76, 194, 255, .12);
}
.kbd-hint {
  position: absolute;
  right: 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  border: 1px solid var(--border-hi);
  border-radius: 2px;
  padding: 1px 6px;
  pointer-events: none;
  transition: opacity .15s;
}
.field:focus-within .kbd-hint { opacity: 0; }

button, .btn {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(76, 194, 255, .17), rgba(76, 194, 255, .06));
  border: 1px solid rgba(76, 194, 255, .45);
  transition: box-shadow .18s, border-color .18s, color .18s;
}
button:hover { color: #e8f7ff; border-color: var(--accent); box-shadow: 0 0 20px rgba(76, 194, 255, .2); }
button:active { transform: translateY(1px); }
button[disabled] { opacity: .45; cursor: wait; box-shadow: none; }
button.ghost {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}
button.ghost:hover { color: var(--text); border-color: var(--border-hi); box-shadow: none; }
button.small { padding: 6px 11px; font-size: 10px; letter-spacing: .1em; }

/* ---- Journal d'analyse --------------------------------------------------- */
.notice {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left-width: 2px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--text);
}
.notice::before { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; flex: none; padding-top: 2px; }
.notice.ok { border-left-color: var(--green); }
.notice.ok::before { content: "[ OK ]"; color: var(--green); }
.notice.warn { border-left-color: var(--orange); }
.notice.warn::before { content: "[ !! ]"; color: var(--orange); }
.notice.info { border-left-color: var(--accent); }
.notice.info::before { content: "[ .. ]"; color: var(--accent); }
.notice.pending::before { content: none; }

/* Rotor de terminal : 4 images fixes défilées d'un caractère à la fois. */
.spinner {
  display: inline-block;
  width: 1ch;
  overflow: hidden;
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.spinner::before { content: "|/-\\"; display: block; white-space: pre; animation: rotor .5s steps(4) infinite; }
@keyframes rotor { to { transform: translateX(-4ch); } }

.log { margin-top: 12px; padding-left: 13px; border-left: 1px solid var(--border-hi); display: flex; flex-direction: column; gap: 5px; }
.log-line { display: flex; gap: 9px; font-family: var(--font-mono); font-size: 12px; line-height: 1.55; color: var(--muted); }
.log-line::before { flex: none; }
.log-line.info::before { content: "▸"; color: var(--accent-dim); }
.log-line.warn::before { content: "!"; color: var(--orange); }

/* ---- Pastilles ----------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex;
  /* baseline + alignement à gauche : sur mobile les libellés passent sur deux
     lignes, le marqueur doit rester collé à la première et le texte à gauche. */
  align-items: baseline;
  text-align: left;
  gap: 7px;
  padding: 6px 11px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: color .15s, border-color .15s, background .15s;
}
.chip::before { content: "·"; color: var(--faint); }
.chip:hover { color: var(--text); border-color: var(--border-hi); background: var(--surface-3); box-shadow: none; }
.chip.active {
  color: var(--accent);
  border-color: rgba(76, 194, 255, .5);
  background: rgba(76, 194, 255, .08);
  box-shadow: inset 2px 0 0 var(--accent);
}
.chip.active::before { content: "▸"; color: var(--accent); }
.chip.on {
  color: var(--linux);
  border-color: rgba(167, 139, 250, .45);
  background: rgba(167, 139, 250, .09);
  box-shadow: inset 2px 0 0 var(--linux);
}
.chip.on::before { content: "+"; color: var(--linux); }
.chip[disabled] { opacity: .35; cursor: not-allowed; }

/* ---- Badges -------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  border: 1px solid;
  border-left-width: 2px;
  white-space: nowrap;
}
.badge-green { background: rgba(63, 185, 80, .1); color: var(--green); border-color: rgba(63, 185, 80, .4); border-left-color: var(--green); }
.badge-orange { background: rgba(240, 136, 62, .1); color: var(--orange); border-color: rgba(240, 136, 62, .4); border-left-color: var(--orange); }
.badge-red { background: rgba(248, 81, 73, .1); color: var(--red); border-color: rgba(248, 81, 73, .4); border-left-color: var(--red); }
.badge-unknown { background: rgba(139, 148, 158, .1); color: var(--gray); border-color: rgba(139, 148, 158, .35); border-left-color: var(--gray); }
.badge-accent { background: rgba(76, 194, 255, .1); color: var(--accent); border-color: rgba(76, 194, 255, .35); border-left-color: var(--accent); }
.badge-linux { background: rgba(167, 139, 250, .1); color: var(--linux); border-color: rgba(167, 139, 250, .35); border-left-color: var(--linux); }
.badge-lg { font-size: 12px; padding: 8px 15px; letter-spacing: .13em; }

/* ---- Tableaux ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-hi);
  white-space: nowrap;
}
td { padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:hover td { background: rgba(76, 194, 255, .025); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
td.name { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); }
/* Première colonne uniquement (rôle, caractéristique) : dense et discrète. Les autres
   cellules `muted` — noms de modules noyau notamment — gardent leur casse d'origine. */
td.muted:first-child {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  padding-top: 13px;
}
td.mono { font-size: 11.5px; overflow-wrap: anywhere; }
tr.details-row td {
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent-dim);
  font-size: 12.5px;
  color: var(--muted);
}
tr.details-row:hover td { background: var(--surface-2); }

/* ---- Barres segmentées --------------------------------------------------- */
.bar {
  height: 6px;
  background: var(--surface-3);
  border-radius: 1px;
  overflow: hidden;
  margin-top: 8px;
  min-width: 90px;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(76, 194, 255, .45);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
  mask-image: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 6px);
}
.bar.linux i { background: var(--linux); box-shadow: 0 0 12px rgba(167, 139, 250, .45); }
.bar.green i { background: var(--green); box-shadow: 0 0 12px rgba(63, 185, 80, .4); }
.bar.orange i { background: var(--orange); box-shadow: 0 0 12px rgba(240, 136, 62, .4); }
.bar.red i { background: var(--red); box-shadow: 0 0 12px rgba(248, 81, 73, .4); }
.bar.gray i { background: var(--gray); box-shadow: none; }

/* ---- Contrôles ----------------------------------------------------------- */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-bottom: 20px;
  padding: 14px 16px;
  align-items: end;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.controls label.check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding-bottom: 9px;
  color: var(--text);
  font-size: 10.5px;
  cursor: pointer;
}
select {
  appearance: none;
  background-color: var(--bg-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237d8fa4' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 9px;
  color: var(--text);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  padding: 9px 30px 9px 11px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  min-width: 165px;
  cursor: pointer;
}
select:hover { border-color: var(--accent-dim); }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }

/* ---- Blocs de mesure ----------------------------------------------------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.kpi {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 15px 16px;
}
.kpi::before { content: ""; position: absolute; top: -1px; left: -1px; width: 11px; height: 1px; background: var(--accent); opacity: .55; }
.kpi .value {
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(76, 194, 255, .2);
}
.kpi .value small { font-size: 13px; color: var(--muted); font-weight: 400; }
.kpi .label { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 7px; }

.score-big { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.score-big .score {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(76, 194, 255, .3);
}
.score-big .score small { font-size: 14px; color: var(--muted); font-weight: 400; }
.score-meter { max-width: 340px; margin: 0 0 18px; }

/* ---- Listes -------------------------------------------------------------- */
ul.plain { list-style: none; margin: 9px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
ul.plain li { position: relative; padding-left: 15px; line-height: 1.55; color: var(--text); }
ul.plain li::before { position: absolute; left: 0; font-family: var(--font-mono); font-size: 11px; }
ul.reasons li { color: var(--muted); }
ul.reasons li::before { content: "·"; color: var(--faint); }
ul.actions li::before { content: "→"; color: var(--orange); }
ul.ok-list li::before { content: "+"; color: var(--green); }
ul.warn-list li::before { content: "!"; color: var(--orange); }

/* ---- Utilitaires --------------------------------------------------------- */
.mono { font-family: var(--font-mono); font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.play {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.meta { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.play-excellent, .play-smooth { color: var(--green); }
.play-playable { color: var(--accent); }
.play-limited { color: var(--orange); }
.play-unplayable, .play-incompatible { color: var(--red); }
.fps { font-family: var(--font-mono); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }
.fps small { font-size: 11px; color: var(--muted); font-weight: 400; white-space: nowrap; }

/* ---- Distributions recommandées ------------------------------------------ */
.rank { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-right: 9px; }
.rank::before { content: "#"; opacity: .55; }
.distro-row {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 18px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.distro-row:last-child { margin-bottom: 0; }
.distro-row b { font-family: var(--font-mono); font-size: 13.5px; margin-right: 8px; }

/* ---- Colonnes et comparateur --------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.pro-card .tools { font-size: 12px; color: var(--muted); margin-top: 9px; }
.pro-card .tools b { color: var(--linux); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }
.pro-card > b { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }

#comparer th { white-space: normal; }
#comparer thead th { vertical-align: bottom; font-size: 11px; letter-spacing: .06em; text-transform: none; color: var(--text); }
#comparer tbody th {
  width: 190px;
  font-size: 10.5px;
  letter-spacing: .09em;
  color: var(--faint);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  padding-top: 13px;
}
td.best { color: var(--green); background: rgba(63, 185, 80, .06); box-shadow: inset 2px 0 0 rgba(63, 185, 80, .55); }
td.best .fps { color: var(--green); }

/* ---- Pied de page -------------------------------------------------------- */
footer {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 22px 46px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
footer::before { content: "// "; font-family: var(--font-mono); color: var(--accent-dim); }

/* ---- Adaptatif ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .two-col, .distro-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  nav { display: none; }
  main { padding: 12px 13px 32px; }
  section.card { padding: 16px 15px; }
  .hero { padding: 22px 16px; }
  h1 { font-size: 23px; }
  .kbd-hint { display: none; }
  form.analyze input { padding-right: 14px; }
  .controls { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
