/* Radar GPU, thème brun. Pour changer de couleur, modifier uniquement --accent, --deep et --glow ci-dessous. */
:root {
  --bg: #FAF6F0; --surface: #FFFFFF; --ink: #2B1B0E; --muted: #6B5A4A; --line: #E4D9CB; --track: #EADFD0;
  --accent: #78350F; --on-accent: #FFFFFF; --good: #2F6B3A; --bad: #A32A1F;
  --deep: #3B1A08; --on-deep: #FBEBD9; --on-deep-muted: #D9B992; --deep-line: #5E3418;
  --glow: #F6B26B; --on-glow: #2B1203;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16100A; --surface: #20170E; --ink: #F3E8DA; --muted: #B5A28E; --line: #35281B; --track: #33261A;
    --accent: #E9A15B; --on-accent: #1E1006; --good: #7FCB8C; --bad: #FF9A8F;
    --deep: #2A1A0D; --on-deep: #FBEBD9; --on-deep-muted: #D9B992; --deep-line: #4A2F18;
    --glow: #F6B26B; --on-glow: #2B1203; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16100A; --surface: #20170E; --ink: #F3E8DA; --muted: #B5A28E; --line: #35281B; --track: #33261A;
  --accent: #E9A15B; --on-accent: #1E1006; --good: #7FCB8C; --bad: #FF9A8F;
  --deep: #2A1A0D; --on-deep: #FBEBD9; --on-deep-muted: #D9B992; --deep-line: #4A2F18;
  --glow: #F6B26B; --on-glow: #2B1203; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0 56px; }
.wrap { max-width: 1120px; margin: 0 auto; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { color: var(--accent); flex: none; }
.nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs { padding-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 48px 32px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.lead { margin-top: 20px; max-width: 58ch; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.stats { display: flex; gap: 12px 32px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.stats span { font-size: 13px; color: var(--muted); }

.panel { background: var(--deep); color: var(--on-deep); border: 1px solid var(--deep-line); border-radius: 10px; padding: 22px; min-width: 0; }
.panel-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 10px; }
.res-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.res-btn { text-align: left; font: inherit; color: var(--on-deep); background: transparent; border: 1px solid var(--deep-line); border-radius: 6px; padding: 10px 12px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.res-btn b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; }
.res-btn span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--on-deep-muted); line-height: 1.3; }
.res-btn:hover { border-color: var(--glow); }
.res-btn[aria-pressed="true"] { background: var(--on-deep); border-color: var(--on-deep); color: var(--deep); }
.res-btn[aria-pressed="true"] span { color: var(--deep); opacity: .75; }
.panel :focus-visible { outline-color: var(--glow); }
.pick { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--deep-line); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 3px; padding: 2px 6px; }
.panel .tag { color: var(--glow); border-color: var(--glow); }
.pick-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; }
.pick-verdict { margin-top: 8px; color: var(--on-deep-muted); font-size: 15px; }
.specline { margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; }
.pick-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.alt { font-size: 14px; color: var(--on-deep-muted); }
.alt a { color: var(--on-deep); text-underline-offset: 3px; }

.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; text-decoration: none; padding: 10px 14px; border-radius: 6px; white-space: nowrap; transition: filter .15s; }
.cta:hover { filter: brightness(1.12); }
.cta.small { padding: 7px 10px; font-size: 13px; }
.panel .cta { background: var(--glow); color: var(--on-glow); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; padding: 10px 14px; border-radius: 6px; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-ghost.small { padding: 7px 10px; font-size: 13px; }

.prix { font-size: 14px; }
.prix b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.prix small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.panel .prix small { color: var(--on-deep-muted); }

.notice { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; font-size: 14.5px; }
.notice b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.notice a { text-underline-offset: 3px; }

section.block { padding-block: 64px 0; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.section-sub { margin-top: 10px; color: var(--muted); max-width: 66ch; }
.more { margin-top: 20px; }
.more a { font-weight: 600; text-underline-offset: 3px; }

.picks4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 24px; }
.pickcard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pickcard:first-child { border-color: var(--accent); }
.pickcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.pickcard p.v { color: var(--muted); font-size: 15px; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

.toplist { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.toprow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) auto auto; gap: 8px 20px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.toprow:last-child { border-bottom: 0; }
.toprow .n { font-weight: 600; font-size: 16px; }
.toprow .s { font-size: 14px; color: var(--muted); }
.toprow .b { display: flex; gap: 8px; flex-wrap: wrap; }

.usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 24px; }
.usage a { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; text-decoration: none; transition: border-color .15s; }
.usage a:hover { border-color: var(--accent); }
.usage h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.usage p { color: var(--muted); font-size: 14.5px; }
.usage span { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; color: var(--accent); }

.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 24px; }
.guidecard { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--accent); padding-top: 14px; text-decoration: none; }
.guidecard h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.guidecard p { color: var(--muted); font-size: 15px; }
.guidecard:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-top: 24px; }
.trust article { border-top: 3px solid var(--accent); padding-top: 14px; }
.trust h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 24px; margin-bottom: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 500 13px var(--font-mono); padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip:hover { border-color: var(--accent); }
.field { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.field select { font: 500 13px var(--font-mono); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; max-width: 100%; }
.count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; min-width: 1100px; border-collapse: collapse; }
table.narrow { min-width: 480px; }
th { text-align: left; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.gname { font-weight: 600; font-size: 15.5px; }
.gname a { text-decoration: none; }
.gname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gbrand { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.nvidia { background: #76B900; } .dot.amd { background: #E4002B; }
.mono { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.meter-cell { min-width: 120px; }
.meter { height: 6px; background: var(--track); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 3px; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 84ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card p.v { color: var(--muted); font-size: 15px; }

.duels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 16px; margin-top: 24px; }
.duel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.duel h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.side { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.side h4 { font-size: 15px; font-weight: 600; line-height: 1.25; margin: 0; }
.side h4 a { text-decoration: none; }
.side h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mini { margin: 0; display: grid; gap: 4px; }
.mini div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mini dt { color: var(--muted); }
.mini dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.side .cta { align-self: flex-start; margin-top: auto; }
.duel p { color: var(--muted); font-size: 15px; }

.article { max-width: 780px; padding-block: 24px 0; }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); margin-top: 8px; }
.article h2 { margin-top: 44px; }
.article p { margin-top: 14px; }
.article .actions { margin-top: 24px; padding-top: 0; }
.specs { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 16px; padding: 16px 0; border-block: 1px solid var(--line); }
.specs dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }
.lists { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; }
.lists li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; }
.lists li::before { font-family: var(--font-mono); font-weight: 500; }
.lists li.p::before { content: "+"; color: var(--good); }
.lists li.c::before { content: "\2212"; color: var(--bad); }
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 66ch; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 18px; }
.related .card { padding: 16px; }
.related .card h3 { font-size: 17px; }
.article .tablewrap { margin-top: 18px; }
.todo { background: color-mix(in srgb, var(--accent) 22%, transparent); padding: 0 4px; border-radius: 3px; }
.callout { margin-top: 18px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; font-size: 14.5px; }

.foot-site { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.foot-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.foot-site ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.foot-site a { color: var(--muted); text-underline-offset: 3px; }
.foot-site a:hover { color: var(--ink); }
.foot-legal { margin-top: 24px; font-size: 13px; max-width: 90ch; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 24px; }
  .count { margin-left: 0; }
  .toprow { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 520px) { .sides { grid-template-columns: minmax(0, 1fr); } .foot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
/* ---------- Décor de Noël (actif quand <html class="noel">) ---------- */
html.noel { --accent: #A4161A; --on-accent: #FFFFFF; --deep: #0F3D2B; --on-deep: #F4FAF5; --on-deep-muted: #A9D1B5; --deep-line: #1F5A41; --glow: #F2C14E; --on-glow: #2B1D03; --bg: #FCF7F1; }
@media (prefers-color-scheme: dark) { html.noel:not([data-theme="light"]) { --accent: #FF7B7F; --on-accent: #2A0507; --deep: #0E2A1E; --deep-line: #1F5A41; --bg: #140E0B; --surface: #1D1511; } }
html.noel[data-theme="dark"] { --accent: #FF7B7F; --on-accent: #2A0507; --deep: #0E2A1E; --deep-line: #1F5A41; --bg: #140E0B; --surface: #1D1511; }
html.noel body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 12px; z-index: 50; pointer-events: none;
  background: radial-gradient(circle at 12px 6px, #E53935 0 4px, transparent 5px) 0 0/48px 12px, radial-gradient(circle at 12px 6px, #43A047 0 4px, transparent 5px) 16px 0/48px 12px, radial-gradient(circle at 12px 6px, #F2C14E 0 4px, transparent 5px) 32px 0/48px 12px;
  animation: noel-blink 2.4s steps(2, jump-none) infinite; }
@keyframes noel-blink { 0% { opacity: 1; } 50% { opacity: .55; } 100% { opacity: 1; } }
html.noel header.top { position: relative; padding-bottom: 14px; margin-bottom: 8px; }
html.noel header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(-45deg, #C0262D 0 12px, #FFFFFF 12px 24px); opacity: .9; }
html.noel .brand::after { content: "🎅"; font-size: 20px; margin-left: 2px; }
.noel-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; margin: 14px 0 6px; padding: 12px 16px; border-radius: 10px;
  background: linear-gradient(90deg, #A4161A, #0F3D2B); color: #FFFFFF; font-size: 15px; text-align: center; }
.noel-bar a { color: #FFE9A8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.noel-flake { position: fixed; top: -24px; z-index: 40; color: #FFFFFF; text-shadow: 0 0 3px rgba(60, 90, 140, .7); pointer-events: none; user-select: none; animation: noel-fall linear infinite; }
@keyframes noel-fall { to { transform: translate3d(var(--dx, 30px), 105vh, 0) rotate(300deg); } }
@media (prefers-reduced-motion: reduce) { .noel-flake { display: none; } html.noel body::before { animation: none; } }
