﻿/* Hallmark · checked: 2026-10-29 · genre: modern-minimal (inferred)
 * floor: 0 FAIL · restyle: night blue (navy ground, cyan and coral sides, Unbounded + Manrope), dark by default
 * built: the project · redesign: restyle · v2.0.0 */

/* Night blue: dark is the default theme; light is chosen with data-theme="light". */
:root {
  --bg: #0b1220;
  --surface: #121b2e;
  --surface-2: #1a2540;
  --surface-3: #22304f;
  --text: #e7edf7;
  --muted: #9babc4;
  --border: #24324f;
  --field-edge: #5d6e91;
  --accent: #38d6f5;
  --accent-ink: #061320;
  --accent-soft: #0f3346;
  /* Duel sides: violet and amber, deliberately not the blue/red of the two brands */
  --side-a: #b49bff;
  --side-a-soft: #2a2350;
  --side-b: #ffb547;
  --side-b-soft: #3a2a10;
  --side-c: #9fe07a;
  --side-d: #cfd8e6;
  --best: #5ee6a8;
  --best-soft: #103a2d;
  --warn: #f6c453;
  --warn-soft: #3a2e10;
  --selection: #1d4a66;
  --shadow: 0 1px 2px rgba(2, 6, 16, .5), 0 10px 28px rgba(2, 6, 16, .35);
  --shadow-up: 0 -6px 18px rgba(2, 6, 16, .5);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-control: 12px;
  --radius-inner: 8px;
  --radius-pill: 99px;
  --tabbar-h: 0px;
  --topbar-h: 69px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2f6fb;
  --surface: #fdfeff;
  --surface-2: #e7eef6;
  --surface-3: #d9e3ef;
  --text: #0d1626;
  --muted: #4b5a72;
  --border: #d2dbe8;
  --field-edge: #74839b;
  --accent: #086a8a;
  --accent-ink: #fdfeff;
  --accent-soft: #d5edf6;
  --side-a: #6544d1;
  --side-a-soft: #e9e3fb;
  --side-b: #9a5600;
  --side-b-soft: #f8ead3;
  --side-c: #3f7d12;
  --side-d: #55617a;
  --best: #11734b;
  --best-soft: #d8f1e5;
  --warn: #8a5a00;
  --warn-soft: #f8edd4;
  --selection: #c2e5f2;
  --shadow: 0 1px 2px rgba(13, 22, 38, .06), 0 6px 18px rgba(13, 22, 38, .07);
  --shadow-up: 0 -6px 18px rgba(13, 22, 38, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 80px; overflow-x: clip; scrollbar-color: var(--field-edge) var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font-body);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
  overflow-x: clip;
  caret-color: var(--accent);
}

::selection { background: var(--selection); color: var(--text); }

h1, h2, h3 { margin: 0; overflow-wrap: break-word; min-width: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; }

a { color: var(--accent); text-underline-offset: .2em; }
.muted { color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.side-a-ink { color: var(--side-a); }
.side-b-ink { color: var(--side-b); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.logo-mark { color: var(--accent); flex: none; }
.tabs {
  display: flex; gap: 2px; margin-left: auto; padding: 4px; overflow-x: auto; scrollbar-width: none;
  background: var(--surface-2); border-radius: var(--radius-pill);
}
.tab {
  font: inherit; font-size: .95rem; font-weight: 700; color: var(--muted); background: transparent; border: 0;
  padding: 8px 18px; min-height: 44px; border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.tab:hover { color: var(--text); }
.tab:active { background: var(--surface-3); }
.tab[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); }
.tab { display: inline-flex; align-items: center; }
.tab-ico { display: none; flex: none; }
.tab-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-size: .8rem;
}
.tab-count:empty { display: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--field-edge); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); cursor: pointer;
  transition: background-color .18s ease;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { background: var(--surface-3); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }

/* ---------- Intro ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end;
  padding: 48px 0 8px;
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 16px 0 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.stat { display: flex; flex-direction: column; }
.stat dd { order: -1; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.stat dt { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.stat:first-child dd { color: var(--accent); }
.status { color: var(--muted); font-size: .875rem; margin: 16px 0 0; max-width: 90ch; }

/* Compact header: the large title and figures belong to the duel; other tabs start with their content. */
body:not([data-tab="duel"]) .intro { display: none; }
body:not([data-tab="duel"]) .status { margin-top: 20px; }
.panel .section-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.status.stale { color: var(--warn); }
.panel { margin-top: 28px; animation: panel-in .28s ease-out; }
/* Movement only: content stays fully visible even if the animation never runs. */
@keyframes panel-in { from { transform: translateY(6px); } to { transform: none; } }

/* ---------- Controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.grow { flex: 1 1 220px; }
.field-label { font-size: .875rem; font-weight: 700; color: var(--muted); }
select, input[type="search"], input[type="text"], input[type="number"] {
  font: inherit; font-weight: 600; color: var(--text); background: var(--surface);
  border: 1px solid var(--field-edge); border-radius: var(--radius-control); padding: 10px 14px; min-height: 48px; width: 100%;
  transition: border-color .18s ease;
}
select:hover, input[type="search"]:hover, input[type="text"]:hover { border-color: var(--text); }
input::placeholder { color: var(--muted); font-weight: 500; }

/* Searchable CPU picker */
.combo { position: relative; }
.combo input { padding-right: 40px; background-image: none; }
.combo::after {
  content: ""; position: absolute; right: 16px; bottom: 19px; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.combo-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 25; margin: 6px 0 0; padding: 6px; list-style: none;
  max-height: min(360px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--field-edge); border-radius: var(--radius-control); box-shadow: var(--shadow);
}
.combo-list [role="option"] { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-inner); cursor: pointer; min-height: 44px; }
.combo-list [role="option"]:hover { background: var(--surface-2); }
.combo-list [role="option"][aria-selected="true"] { background: var(--surface-3); box-shadow: inset 3px 0 0 var(--accent); }
.combo-list .o-name { font-weight: 800; }
.combo-list .o-meta { font-size: .8rem; color: var(--muted); }
.combo-empty, .combo-more { padding: 12px; color: var(--muted); font-size: .875rem; }
select:disabled, input:disabled { opacity: .5; cursor: not-allowed; }
select:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--side-a); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; min-height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--field-edge); background: var(--surface); color: var(--text);
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--surface-2); border-color: var(--text); }
.btn:active { background: var(--surface-3); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary:active { filter: brightness(.94); }
.btn.ghost { background: transparent; }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: .875rem; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }

.seg { display: inline-flex; background: var(--surface-2); border-radius: var(--radius-pill); padding: 4px; align-self: flex-end; }
.seg-btn {
  font: inherit; font-weight: 700; font-size: .95rem; border: 0; background: transparent; color: var(--muted);
  padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer; min-height: 40px; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.seg-btn:hover { color: var(--text); }
.seg-btn:active { background: var(--surface-3); }
.seg-btn[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Duel ---------- */
.pickers { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.pickers .field-label { font-size: .95rem; }
.duel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; margin-top: 18px; align-items: stretch; }
.vs {
  align-self: center; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 -14px; z-index: 1;
  border-radius: 50%; background: var(--text); color: var(--bg); border: 4px solid var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.cpu-head {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); min-width: 0; overflow: hidden;
}
.cpu-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--side-a); }
.cpu-head.b::before { background: var(--side-b); }
.cpu-head.b { text-align: right; }
.cpu-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.cpu-head.a h2 { color: var(--side-a); }
.cpu-head.b h2 { color: var(--side-b); }
.cpu-head .sub { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.cpu-head .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 18px; }
.fact { min-width: 0; }
.fact b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.15; }
.fact span { font-size: .8rem; color: var(--muted); }

.subtabs {
  display: flex; gap: 4px; margin-top: 24px; padding: 4px; overflow-x: auto; scrollbar-width: none;
  background: var(--surface-2); border-radius: var(--radius-pill); width: fit-content; max-width: 100%;
}
.subtab {
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); background: transparent; border: 0;
  padding: 8px 18px; min-height: 44px; cursor: pointer; white-space: nowrap; border-radius: var(--radius-pill);
  transition: background-color .18s ease, color .18s ease;
}
.subtab:hover { color: var(--text); }
.subtab:active { background: var(--surface-3); }
.subtab[aria-selected="true"] { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.duel-body { padding-top: 20px; }

/* Card header with the score ring */
.head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cpu-head.b .head-top { flex-direction: row-reverse; }
.head-name { min-width: 0; }
.score-ring {
  flex: none; display: grid; place-content: center; text-align: center; width: 76px; height: 76px; border-radius: 50%;
  background: conic-gradient(var(--side-a) calc(var(--p) * 1%), var(--surface-3) 0);
  position: relative;
}
.cpu-head.b .score-ring { background: conic-gradient(var(--side-b) calc(var(--p) * 1%), var(--surface-3) 0); }
.score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score-ring b, .score-ring span { position: relative; line-height: 1; }
.score-ring b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.score-ring span { font-size: .7rem; color: var(--muted); margin-top: 3px; }
.duel-intro { color: var(--muted); font-size: 1.02rem; max-width: 80ch; margin: 18px 0 0; }
.duel-intro b { color: var(--text); }

/* Aggregate performance score */
.agg-chart { position: relative; padding: 0 2px; }
.agg-rows { position: relative; display: grid; gap: 16px; padding: 8px 0; }
.agg-row { position: relative; display: grid; gap: 6px; }
/* Names and scores sit above the landmark lines on a card-coloured patch, so the dashed lines never cross letters. */
.agg-head > div, .agg-score { position: relative; z-index: 3; background: var(--surface); box-shadow: 0 0 0 4px var(--surface); border-radius: 4px; }
.agg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.agg-head b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.agg-head .muted { font-size: .8rem; }
.agg-score { display: flex; align-items: center; white-space: nowrap; }
.agg-score b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.agg-track { height: 22px; border-radius: var(--radius-inner); background: var(--surface-2); overflow: hidden; }
.agg-bar { height: 100%; border-radius: var(--radius-inner); background: var(--accent); }
.agg-bar.a, .agg-bar.c0 { background: var(--side-a); }
.agg-bar.b, .agg-bar.c1 { background: var(--side-b); }
.agg-bar.c2 { background: var(--side-c); }
.agg-bar.c3 { background: var(--side-d); }
.plus.c0 { background: var(--side-a-soft); color: var(--side-a); }
.plus.c1 { background: var(--side-b-soft); color: var(--side-b); }
.plus.c2, .plus.c3 { background: var(--surface-2); color: var(--text); }
/* Landmark lines run through every bar; labels sit above and below, alternating. */
.lm-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--field-edge); z-index: 2; pointer-events: none; }
.lm-labels { position: relative; height: 28px; }
.lm-label {
  position: absolute; transform: translateX(-50%); white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis;
  font: inherit; font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--surface);
  border: 0; padding: 4px 6px; border-radius: var(--radius-inner); cursor: pointer; text-decoration: underline; text-underline-offset: .2em;
}
.lm-labels.top .lm-label { bottom: 0; }
.lm-labels.bottom .lm-label { top: 0; }
.lm-label:hover { color: var(--text); }
.agg-verdict { margin: 14px 0 0; font-size: 1.02rem; }
.agg { margin-bottom: 16px; }

/* Sticky CPU names. Narrow screens: the table scrolls inside its own window and the head sticks to its top.
   Wide screens: the table fits, so the window clips instead of scrolling and the head sticks under the site header. */
.table-wrap.sticky-head { max-height: calc(100dvh - var(--topbar-h) - var(--tabbar-h) - 32px); overflow: auto; }
.sticky-head thead th { position: sticky; top: 0; z-index: 3; box-shadow: inset 0 -1px 0 var(--border); }
.table-wrap.sticky-head thead th:first-child { left: 0; z-index: 4; font-size: .8rem; }
/* Group titles span the whole row; the label itself stays at the left edge while the table scrolls sideways. */
.group-label { position: sticky; left: 16px; }
@media (min-width: 1000px) {
  .table-wrap.sticky-head { max-height: none; overflow: clip; }
  .sticky-head thead th { top: var(--topbar-h); }
}

/* Comparison table: column lines and colour keys matching the bars */
.cmp-grid th + th, .cmp-grid td, .cmp-grid tr.group th { border-left: 1px solid var(--border); }
.cmp-grid tr.group th { border-left: 0; }
.cmp-grid thead th[class^="col-c"] { border-top: 4px solid var(--side-a); }
.cmp-grid thead th.col-c1 { border-top-color: var(--side-b); }
.cmp-grid thead th.col-c2 { border-top-color: var(--side-c); }
.cmp-grid thead th.col-c3 { border-top-color: var(--side-d); }

/* Winner mark next to a bar value */
.plus { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 800; }
.plus.a { background: var(--side-a-soft); color: var(--side-a); }
.plus.b { background: var(--side-b-soft); color: var(--side-b); }

/* Reasons to choose, two columns */
h4 { margin: 0 0 10px; font-size: 1rem; font-weight: 800; line-height: 1.3; }
.reasons-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.reasons { padding: 16px 18px; border-radius: var(--radius-control); background: var(--surface-2); border-top: 4px solid var(--side-a); }
.reasons.b { border-top-color: var(--side-b); }
.reasons.a h4 { color: var(--side-a); }
.reasons.b h4 { color: var(--side-b); }
.reasons ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.reasons li { padding-left: 2px; }
.reasons li::marker { color: var(--muted); }

/* Integrated graphics comparison */
.igpu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.igpu-side { padding: 16px 18px; border-radius: var(--radius-control); background: var(--surface-2); border-top: 4px solid var(--side-a); }
.igpu-side.b { border-top-color: var(--side-b); }
.igpu-side h4 { margin-bottom: 4px; }
.igpu-side.a h4 { color: var(--side-a); }
.igpu-side.b h4 { color: var(--side-b); }
.igpu-name { font-weight: 700; }
.igpu-score { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.igpu-score b { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.igpu-score .muted { font-size: .85rem; }
.igpu-side .note { margin-top: 6px; font-size: .8rem; }

/* Price and performance calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 14px 0 18px; }
.calc-verdict { margin: 14px 0 0; font-size: 1.02rem; }

/* Close alternatives */
.nb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.nb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nb-list li { display: flex; flex-direction: column; padding: 6px 0; border-top: 1px solid var(--border); }
.nb-list li:first-child { border-top: 0; }
.nb-list .link-btn { min-height: 32px; }
.nb-list .muted { font-size: .8rem; }
.duel-body > * { animation: panel-in .24s ease-out; }

.card-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-box + .card-box { margin-top: 16px; }
.card-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 16px; }

.diffs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.diffs li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--border); }
.diffs li:first-child { border-top: 0; padding-top: 0; }
.chip {
  display: inline-block; justify-self: start; font-weight: 800; font-size: .875rem;
  padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; background: var(--surface-2); color: var(--text);
}
.chip.a { background: var(--side-a-soft); color: var(--side-a); }
.chip.b { background: var(--side-b-soft); color: var(--side-b); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }

/* Two-sided bars */
.bars { display: grid; gap: 18px; }
.bar-row { display: grid; gap: 8px; }
.bar-row .label { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; font-weight: 700; }
.bar-row .label span:last-child { color: var(--muted); font-weight: 500; font-size: .85rem; }
.bar-pair { display: grid; gap: 6px; }
.bar-line { display: grid; grid-template-columns: minmax(0, 1fr) 8.5em; gap: 12px; align-items: center; font-size: .95rem; }
.bar-track { height: 14px; background: var(--surface-2); border-radius: var(--radius-pill); overflow: hidden; }
.bar { height: 100%; border-radius: var(--radius-pill); }
.bar.a { background: var(--side-a); }
.bar.b { background: var(--side-b); }
.bar-line:not(.win) .bar { opacity: .55; }
.bar-line .val { text-align: right; white-space: nowrap; color: var(--muted); }
.bar-line.win .val { font-weight: 800; color: var(--text); }

.source { color: var(--muted); font-size: .85rem; margin: 18px 0 0; max-width: 85ch; }
.note { color: var(--muted); font-size: .9rem; margin: 14px 0 0; max-width: 70ch; }
.callout { background: var(--warn-soft); color: var(--text); border-radius: var(--radius-control); padding: 14px 18px; max-width: 85ch; margin: 0; }
.loading { color: var(--muted); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.video-link {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 60px; min-height: 44px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text); text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.video-link::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--text);
}
.video-link::after {
  content: ""; position: absolute; left: 29px; top: 26px; border-style: solid; border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent var(--bg);
}
.video-link:hover { border-color: var(--field-edge); background: var(--surface-3); }
.video-link:active { background: var(--border); }
.video-link b { font-size: 1rem; }
.video-link span { color: var(--muted); font-size: .875rem; }

.offers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.offers .card-box + .card-box { margin-top: 0; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.offer:first-child { border-top: 0; padding-top: 0; }
.offer .t { font-size: .95rem; min-width: 0; }
.offer .p { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.offer .s { font-size: .8rem; color: var(--muted); }
.offer .s.ok { color: var(--best); font-weight: 700; }
.offer .store { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--surface-2); font-size: .75rem; font-weight: 800; }
.offer.off .p { color: var(--muted); }
.store-search { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.store-search .muted { font-size: .85rem; }
.store-links { display: flex; flex-wrap: wrap; gap: 6px; }
.offer a { font-weight: 700; font-size: .9rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--surface); vertical-align: bottom; font-weight: 800; }
.cmp tbody th { color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp tr.group th { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .9rem; background: var(--surface-2); padding-top: 10px; padding-bottom: 10px; }
.cmp tr.group td { background: var(--surface-2); }
.cmp tbody tr:not(.group):hover td, .cmp tbody tr:not(.group):hover th { background: var(--surface-2); }
.cmp .col-head { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.cmp .col-head strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.cmp .remove { font: inherit; font-size: .875rem; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; align-self: flex-start; }
.cmp .remove:hover { color: var(--text); }
/* Close button in the top-right corner of a compared CPU column */
.cmp .col-head { position: relative; padding-right: 40px; }
.remove-x {
  position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.remove-x:hover { background: var(--side-b-soft); color: var(--text); border-color: var(--field-edge); }
.remove-x:active { background: var(--surface-3); }
@media (prefers-reduced-motion: reduce) { .remove-x { transition: none; } }
.cmp td.best { background: var(--best-soft); color: var(--best); font-weight: 800; }
.cmp tbody tr:hover td.best { background: var(--best-soft); }
.cmp td.best::after { content: " ★"; font-size: .8em; }
.cmp td.diff { color: var(--muted); white-space: nowrap; }
.cmp a { white-space: nowrap; }
.hint { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; }
.cmp-empty { border: 1px dashed var(--field-edge); border-radius: var(--radius); padding: 40px 16px; text-align: center; color: var(--muted); }
.cmp-empty .add-combo { max-width: 360px; margin: 20px auto 0; text-align: left; }
/* "Add a CPU" column at the right of the compare table while there is room for more */
.cmp thead th.col-add { width: 240px; min-width: 220px; vertical-align: bottom; border-top: 4px dashed var(--field-edge); }
.add-combo { display: grid; gap: 6px; }
.add-label { font-size: .85rem; font-weight: 800; color: var(--muted); }
.add-combo input { width: 100%; }
.cmp td.add-cell { background: transparent; }
.add-combo.add-mobile { display: none; }
.us-price { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--text); }
.lang-btn { font-family: var(--font-body); font-weight: 800; font-size: .85rem; }
.compare-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend { color: var(--muted); font-size: .875rem; margin-top: 12px; max-width: 70ch; }
.legend .best-chip { background: var(--best-soft); color: var(--best); font-weight: 800; padding: 1px 8px; border-radius: var(--radius-pill); }
.link-btn { font: inherit; font-weight: 800; color: var(--accent); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-align: left; }

/* ---------- Catalog ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 14px;
  padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.filters .field:not(.grow) { flex: 0 1 190px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; margin-top: 8px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  transition: border-color .18s ease;
}
.card:focus-within { border-color: var(--field-edge); }
.card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.card .series { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.badge { font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; background: var(--surface-2); color: var(--text); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 0; padding: 12px; background: var(--surface-2); border-radius: var(--radius-control); }
.specs div { min-width: 0; }
.specs dt { font-size: .75rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 800; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.price small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.price.none { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--muted); }
.card-actions { display: flex; gap: 6px; }
.add-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
#resultCount { font-weight: 600; }

/* Catalog list view: one row per CPU */
.view-seg { margin-left: auto; }
.cat-list { display: grid; gap: 8px; margin-top: 8px; }
/* A fixed actions column keeps the header and every row on the same grid. */
.cat-head, .cat-row {
  display: grid; align-items: center; gap: 18px;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, .75fr) minmax(0, .7fr) minmax(0, 1.6fr) minmax(0, 1fr) 236px;
}
.cat-head { padding: 4px 19px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.cat-head span:nth-child(7), .cr-price { text-align: right; }
.cat-row {
  padding: 12px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-control);
  transition: border-color .18s ease;
}
.cat-row:hover, .cat-row:focus-within { border-color: var(--field-edge); }
.cat-row.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cr-name { min-width: 0; }
.cr-name h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.cr-name .muted { display: block; font-size: .8rem; margin-top: 2px; }
.cr-cell { font-weight: 700; white-space: nowrap; }
.cr-label { display: none; }
.cr-score { display: grid; grid-template-columns: minmax(0, 1fr) 3.2em; gap: 10px; align-items: center; }
.cr-score b { font-family: var(--font-display); font-weight: 600; text-align: right; }
.cr-track { height: 10px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.cr-bar { height: 100%; border-radius: var(--radius-pill); background: var(--accent); }
.cr-price b { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.cr-price .muted { font-size: .85rem; }
.cr-actions { display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 1100px) {
  .cat-head, .cat-row { grid-template-columns: minmax(0, 2fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, .75fr) minmax(0, 1.5fr) minmax(0, 1fr) 236px; }
  .cat-head span:nth-child(4), .cat-row .cr-cell:nth-of-type(4) { display: none; }
}
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.more { text-align: center; margin-top: 20px; }

.static-list { margin-top: 16px; }
.static-list p { color: var(--muted); max-width: 65ch; }

/* ---------- Tray ---------- */
.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: var(--shadow-up);
}
.tray-inner { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.tray-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.subtabs::-webkit-scrollbar, .tray-items::-webkit-scrollbar { display: none; }
.tray-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--surface-2); border-radius: var(--radius-pill); padding: 5px 6px 5px 14px; font-size: .875rem; font-weight: 700;
}
.tray-chip button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1;
  width: 30px; height: 30px; border-radius: var(--radius-pill);
}
.tray-chip button:hover { background: var(--surface-3); color: var(--text); }
.tray-chip button:active { background: var(--field-edge); }

.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 40;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 700; box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
}

.footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
.footer p { max-width: 80ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Phone: tabs move to a bottom bar like an app; the duel gets tighter. */
@media (max-width: 760px) {
  :root { --tabbar-h: 68px; --topbar-h: 57px; }
  body { padding-bottom: calc(var(--tabbar-h) + 88px + env(safe-area-inset-bottom)); }
  /* backdrop-filter would trap the fixed tab bar inside the header, so the header goes solid here. */
  .topbar { backdrop-filter: none; background: var(--bg); }
  .topbar-inner { min-height: 56px; }
  .logo { margin-right: auto; }
  .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; margin: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-radius: 0;
    background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-up);
  }
  .tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 56px; padding: 4px 2px; border-radius: var(--radius-control); font-size: .72rem; line-height: 1.1;
  }
  .tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
  .tab-ico { display: block; }
  .tab-count { position: absolute; top: 4px; left: calc(50% + 8px); margin: 0; min-width: 18px; height: 18px; font-size: .7rem; background: var(--side-b); color: var(--accent-ink); }
  .tray { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(var(--tabbar-h) + 80px); }

  .intro { padding-top: 20px; gap: 14px; }
  .lead { font-size: 1rem; margin-top: 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 10px 12px; }
  .pickers { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .swap { justify-self: center; transform: rotate(90deg); width: 40px; height: 40px; }
  .duel-head { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
  .vs { justify-self: center; margin: -12px 0; width: 46px; height: 46px; font-size: .8rem; }
  .cpu-head { padding: 16px; }
  .cpu-head.b { text-align: left; }
  .cpu-head.b .head-top { flex-direction: row; }
  .cpu-head .facts { gap: 10px 14px; margin-top: 12px; }
  .score-ring { width: 58px; height: 58px; }
  .score-ring::before { inset: 6px; }
  .score-ring b { font-size: 1.1rem; }
  /* All six duel sections visible at once on a phone: a 3 x 2 grid, no sideways scrolling and no scroll bar */
  .subtabs { margin-top: 16px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); overflow: visible; border-radius: var(--radius); }
  /* The middle column is wider so «Характеристики» fits on one line */
  .subtab { padding: 8px 4px; font-size: .85rem; text-align: center; border-radius: var(--radius-inner); }
  .offers, .reasons-grid, .calc, .nb, .igpu-grid { grid-template-columns: minmax(0, 1fr); }
  .bar-line { grid-template-columns: minmax(0, 1fr) 7.5em; }
  .diffs li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .filters { padding: 12px; }
  .filters .field:not(.grow) { flex: 1 1 140px; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; }
  .card-box { padding: 16px; }
  .card-box + .card-box { margin-top: 12px; }

  /* Catalog rows stack into a compact block on a phone */
  .view-seg { margin-left: 0; }
  .cat-head { display: none; }
  .cat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 14px;
    grid-template-areas: "name price" "c1 c2" "c3 c4" "score score" "act act";
  }
  .cat-row .cr-cell:nth-of-type(5) { grid-area: c4; }
  .cr-name { grid-area: name; }
  .cr-price { grid-area: price; text-align: right; }
  .cat-row .cr-cell:nth-of-type(2) { grid-area: c1; }
  .cat-row .cr-cell:nth-of-type(3) { grid-area: c2; }
  .cat-row .cr-cell:nth-of-type(4) { grid-area: c3; display: block; }
  .cr-cell { font-size: .9rem; white-space: nowrap; }
  .cr-label { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
  .cr-score { grid-area: score; }
  .cr-actions { grid-area: act; }
  .cr-actions .btn { flex: 1; }

  /* Comparison tables on a phone: no sideways scrolling. Each characteristic is a full-width title with the
     values of the compared CPUs in equal columns below it; the row of CPU names sticks under the header. */
  .table-wrap.sticky-head { max-height: none; overflow: clip; }
  table.cmp.stackable { display: block; min-width: 0; }
  .cmp.stackable thead { display: block; position: sticky; top: var(--topbar-h); z-index: 5; background: var(--surface); box-shadow: 0 1px 0 var(--border), var(--shadow); }
  .cmp.stackable tbody { display: block; }
  .cmp.stackable tr { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .table-wrap.sticky-head .cmp.stackable thead th,
  .cmp.stackable tbody th,
  .cmp.stackable td { position: static; z-index: auto; box-shadow: none; min-width: 0; }
  .cmp.stackable thead th { padding: 10px 8px; border-bottom: 0; }
  .cmp.stackable thead th:first-child { display: none; }
  /* Full width for the CPU name; the close button sits at the bottom right, beside the brand line. */
  .cmp.stackable .col-head { min-width: 0; gap: 2px; padding-right: 0; }
  .cmp.stackable .col-head strong { font-family: var(--font-body); font-weight: 800; font-size: .85rem; line-height: 1.2; overflow-wrap: break-word; }
  .cmp.stackable .col-head .muted { font-size: .7rem; padding-right: 30px; min-height: 28px; display: flex; align-items: center; }
  .cmp.stackable .remove-x { width: 28px; height: 28px; top: auto; bottom: -2px; right: -4px; }
  /* On a phone the add field gets its own full-width line under the CPU names */
  .cmp.stackable thead th.col-add, .cmp.stackable td.add-cell { display: none; }
  .add-combo.add-mobile { display: grid; margin-top: 16px; }
  .cmp.stackable tbody th[scope="row"] {
    grid-column: 1 / -1; white-space: normal; background: transparent; border-bottom: 0;
    padding: 10px 10px 2px; font-size: .78rem;
  }
  .cmp.stackable tbody th[scope="row"] .hint { display: inline; margin-left: 6px; }
  .cmp.stackable tr.group th { grid-column: 1 / -1; padding: 8px 10px; }
  .cmp.stackable td { padding: 4px 10px 10px; font-size: .9rem; overflow-wrap: anywhere; border-left: 0; }
  .cmp.stackable td + td { border-left: 1px solid var(--border); }
  .cmp.stackable td.best::after { content: " ★"; }
  .cmp.stackable tbody tr:not(.group):hover td, .cmp.stackable tbody tr:not(.group):hover th { background: transparent; }
  .cmp.stackable tbody tr:not(.group):hover td.best { background: var(--best-soft); }

  /* Sockets on a phone: one card per socket, column titles become row labels. */
  .sockets-table, .sockets-table tbody, .sockets-table tr, .sockets-table th, .sockets-table td { display: block; }
  table.sockets-table { min-width: 0; }
  .sockets-table thead { display: none; }
  .sockets-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .sockets-table tr:last-child { border-bottom: 0; }
  .sockets-table tbody th { position: static; white-space: normal; padding: 0 0 8px; border: 0; background: transparent; font-size: .9rem; }
  .sockets-table tbody th .link-btn { font-size: 1.1rem; }
  .sockets-table td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; font-size: .9rem; }
  .sockets-table td::before { content: attr(data-label); flex: none; max-width: 45%; color: var(--muted); text-align: left; }
  .sockets-table tbody tr:hover td, .sockets-table tbody tr:hover th { background: transparent; }
}

/* ---------- Static pages for search engines (one per CPU and per pair, built by scripts/build-pages.ps1) ---------- */
.static-nav { display: flex; gap: 4px; margin-left: auto; }
.static-nav a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: var(--radius-pill); min-height: 44px; display: inline-flex; align-items: center; }
.static-nav a:hover { color: var(--text); background: var(--surface-2); }
a.icon-btn { text-decoration: none; }
.static-main { padding-top: 24px; }
.crumbs { color: var(--muted); font-size: .875rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.static-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; margin: 14px 0 0; overflow-wrap: break-word; min-width: 0; }
.static-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.static-facts .fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.static-actions { margin: 20px 0; }
.static-actions .btn { text-decoration: none; display: inline-flex; align-items: center; }
.card-box h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 0 0 16px; }
table.cmp.static-specs, table.cmp.static-pair { width: 100%; min-width: 0; }
.static-specs th { width: 40%; white-space: normal; }
.static-specs td, .static-pair td, .static-pair th { overflow-wrap: anywhere; }
.static-pair tbody th { white-space: normal; }
.static-links, .static-points, .static-offers { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.static-links { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.static-links a, .cmp th a { color: var(--accent); font-weight: 700; }
.static-points li { padding-left: 18px; position: relative; }
.static-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.static-offers li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.static-offers li:last-child { border-bottom: 0; padding-bottom: 0; }
.static-offers a { color: var(--accent); white-space: nowrap; }
.static-pair { width: 100%; }
@media (max-width: 760px) {
  body.static-page { padding-bottom: 32px; }
  .static-nav a { padding: 8px 6px; font-size: .85rem; }
  .static-page .topbar-inner { gap: 8px; }
  .static-nav { gap: 0; }
  .static-offers li { grid-template-columns: minmax(0, 1fr) auto; }
  table.cmp.static-pair, table.cmp.static-specs { font-size: .85rem; }
  .static-pair th, .static-pair td, .static-specs th, .static-specs td { padding: 9px 8px; }
  .static-pair a { white-space: normal; }
  .static-pair tbody th { width: 34%; }
  .static-offers li a { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .static-nav a:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .duel-body > * { animation: none; }
  .tab, .subtab, .seg-btn, .btn, .icon-btn, .card, .video-link, select, input[type="search"], input[type="text"] { transition: none; }
}
