/* Tarkov Ultimate Guide · fondations. Production : minifier après assemblage. */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --glaze: rgb(255 255 255 / .035);
  --layer: #131410;
  --layer-raised: #191a15;
  --line: #34362c;
  --line-quiet: #252820;
  --control-edge: #787568;
  --gold: #c8aa6e;
  --gold-high: #e1c48d;
  --gold-ink: #1d160c;
  --olive: #4a7c59;
  --olive-text: #afd1a8;
  --danger: #c0392b;
  --danger-text: #f3a094;
  --rare: #5b8def;
  --text: #e8e6e3;
  --text-soft: #c2c0b5;
  --muted: #a5a499;
  --focus: #f2d59c;
  --shadow: 0 18px 65px rgb(0 0 0 / .42);
  --glow: 0 0 25px rgb(200 170 110 / .14);
  --radius: .85rem;
  --radius-small: .48rem;
  --gutter: clamp(1rem, 3.6vw, 3.5rem);
  --measure: 83rem;
  --header-height: 4.5rem;
  --font-head: Orbitron, Rajdhani, system-ui, sans-serif;
  --font-display: Rajdhani, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: 'Share Tech Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .75, .28, 1);
}
:root[data-theme='contrast'] {
  --bg: #050505;
  --bg-secondary: #0c0c0b;
  --bg-card: #151611;
  --layer: #0e0e0c;
  --layer-raised: #151611;
  --line: #77786c;
  --line-quiet: #53544b;
  --control-edge: #9a9889;
  --muted: #d3d1c7;
  --text: #fff;
  --text-soft: #edece6;
  --gold: #f1cc88;
  --gold-high: #ffdea0;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], dialog:not([open]) { display: none !important; }
html { min-inline-size: 0; scroll-padding-block: calc(var(--site-header-offset, var(--header-height)) + 1rem) 1rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.62; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--font-head); letter-spacing: -.034em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.35vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.7vw, 2.4rem); font-weight: 750; }
h3, h4 { font-family: var(--font-display); line-height: 1.16; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; }
h4 { font-size: 1.15rem; }
small { font-size: .82rem; }
a { color: var(--gold-high); text-underline-offset: .26em; }
a:hover { color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; max-inline-size: 100%; block-size: auto; }
code, kbd, samp { font-family: var(--font-mono); }
kbd { border: 1px solid var(--line); border-radius: .3rem; padding: .12rem .38rem; color: var(--text-soft); background: var(--layer-raised); font-size: .82rem; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
:target { scroll-margin-block-start: .55rem; }
::selection { background: var(--gold-high); color: var(--gold-ink); }
:root:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.shell { inline-size: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; min-inline-size: 0; }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: .62em; align-items: center; font-family: var(--font-mono); font-size: .77rem; line-height: 1.35; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-high); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--dot::before { content: ''; inline-size: .5rem; block-size: .5rem; border-radius: 1px; transform: rotate(45deg); background: currentColor; box-shadow: var(--glow); }
.copy-soft { color: var(--text-soft); }
.copy-muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; inset: .6rem auto auto .7rem; transform: translateY(-155%); background: var(--gold-high); color: var(--gold-ink); padding: .75rem 1rem; border-radius: var(--radius-small); font-weight: 700; }
.skip-link:is(:hover, :focus) { color: var(--gold-ink); transform: none; }
