/* QuantCombat MMA — design system
   Direction (ui-ux-pro-max): "Real-Time / Operations" pattern in a brutalist, data-dense style —
   square corners, visible borders and grid, heavy display type, hard offset hovers —
   built on the original QuantCombat brand: near-black, acid lime, red corner / blue corner. */

/* ---------- 0. fonts (self-hosted; licences in assets/fonts/) ---------- */
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo — latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo — latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Archivo Black — latin-ext */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/archivo-black-latin-ext-297007.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo Black — latin */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/archivo-black-latin-45f5d4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono — cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-ext-8fa7c0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* IBM Plex Mono — cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-3a2f55.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* IBM Plex Mono — latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-ext-3e9c5a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono — latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-9c2bd7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono — cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-ext-14013c.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* IBM Plex Mono — cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-f5f5cc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* IBM Plex Mono — latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-ext-876101.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono — latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-e5509a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono — cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-ext-afa5d2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* IBM Plex Mono — cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-cyrillic-9d314d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* IBM Plex Mono — latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-ext-62a561.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono — latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-1cd0c0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. tokens ---------- */
:root {
  --bg: #08090a;
  --surface: #0d0f12;
  --surface-2: #14171b;
  --surface-3: #1c2026;
  --fg: #f4f3ef;          /* 18.6:1 on bg */
  --fg-2: #c6c6bf;        /* 11.6:1 */
  --fg-3: #a0a098;        /*  7.5:1 */
  --fg-4: #8a8a84;        /*  5.6:1 — smallest allowed text colour */
  --line: rgba(244, 243, 239, .13);
  --line-2: rgba(244, 243, 239, .26);
  --accent: #d4ff36;
  --on-accent: #0a0b0d;
  --accent-dim: rgba(212, 255, 54, .12);
  --red: #ff5a4d;
  --red-dim: rgba(255, 90, 77, .14);
  --blue: #4aa3ff;
  --blue-dim: rgba(74, 163, 255, .14);
  --warn: #ffb020;
  --focus: #ffffff;

  --font-display: "Archivo Black", "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs: .75rem;      /* 12px — floor for any text */
  --t-sm: .8125rem;
  --t-md: 1rem;
  --t-lg: 1.125rem;
  --t-xl: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  --t-2xl: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
  --t-3xl: clamp(2.75rem, 1.4rem + 6.4vw, 6.5rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --dur-1: 120ms; --dur-2: 220ms; --dur-3: 520ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --z-nav: 40; --z-overlay: 100; --z-modal: 1000;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--t-md);
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: var(--z-modal); background: var(--accent); color: var(--on-accent); padding: 12px 18px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* type roles */
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.015em; line-height: .92; text-wrap: balance; }
.h1 { font-size: var(--t-3xl); }
.h2 { font-size: var(--t-2xl); }
.h3 { font-size: var(--t-xl); line-height: 1; }
.kicker { font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: "// "; opacity: .75; }
.label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.lede { font-size: var(--t-lg); color: var(--fg-2); max-width: 62ch; }
.muted { color: var(--fg-3); }
.c-accent { color: var(--accent); } .c-red { color: var(--red); } .c-blue { color: var(--blue); }

/* ---------- 3. layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-8); border-top: 1px solid var(--line); }
.section--tight { padding-block: var(--s-7); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.section__head .h2 { margin-top: var(--s-3); }
.stack > * + * { margin-top: var(--s-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; background-position: -1px -1px; }
.grid-bg--soft { background-image: linear-gradient(rgba(244,243,239,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244,243,239,.05) 1px, transparent 1px); background-size: 44px 44px; }

/* ---------- 4. shell: ticker, nav, footer ---------- */
.ticker { position: relative; display: flex; align-items: stretch; height: 40px; border-bottom: 1px solid var(--line); background: #0a0b0d; overflow: hidden; }
.ticker__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; z-index: 1; }
.ticker__view { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; white-space: nowrap; will-change: transform; animation: marquee 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .08em; color: var(--fg-3); text-decoration: none; height: 40px; }
.ticker__item b { color: var(--fg); font-weight: 600; }
.ticker__item:hover b { color: var(--accent); }
.ticker__item::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.ticker__btn { flex: none; width: 44px; border: 0; border-left: 1px solid var(--line); background: #0a0b0d; display: grid; place-items: center; color: var(--fg-3); }
.ticker__btn:hover { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.nav { position: sticky; top: 0; z-index: var(--z-nav); background: rgba(8, 9, 10, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__mark { width: 36px; height: 36px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-size: 19px; transform: skewX(-8deg); flex: none; }
.brand__mark span { transform: skewX(8deg); }
.brand__name { font-family: var(--font-display); font-size: 17px; letter-spacing: -.01em; line-height: 1; }
.brand__tag { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .26em; color: var(--fg-3); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--fg-2); border-bottom: 2px solid transparent; transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.nav__link:hover { color: var(--fg); border-bottom-color: var(--line-2); }
.nav__link[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: var(--s-3); }
.fresh { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; white-space: nowrap; }
.fresh__dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.fresh.is-stale { border-color: var(--warn); color: var(--warn); }
.fresh.is-stale .fresh__dot { background: var(--warn); border-radius: 0; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; place-items: center; }
.lang { display: inline-flex; border: 1px solid var(--line-2); }
.lang button { min-width: 40px; min-height: 36px; border: 0; background: transparent; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; color: var(--fg-3); }
.lang button + button { border-left: 1px solid var(--line-2); }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--fg); }

@media (max-width: 1023px) {
  .nav__toggle { display: grid; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line-2); padding: 8px var(--gutter) 20px; display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__link { min-height: 52px; font-size: var(--t-sm); border-bottom: 1px solid var(--line); padding: 0 4px; }
  .nav__link[aria-current="page"] { border-bottom-color: var(--accent); }
  .nav__right .fresh span.fresh__long { display: none; }
}
@media (max-width: 479px) { .brand__tag { display: none; } .nav__right .lang { display: none; } .nav__right .fresh { padding: 0; width: 36px; justify-content: center; } .nav__right .fresh__date { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .brand__name { font-size: 15px; } }
@media (max-width: 767px) { .hide-sm { display: none; } }

.footer { border-top: 1px solid var(--line); background: #060708; padding-block: var(--s-7) var(--s-6); margin-top: var(--s-8); }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: 1.6fr 1fr 1fr; }
.footer p, .footer li { font-size: var(--t-sm); color: var(--fg-3); max-width: 60ch; }
.footer a { color: var(--fg-2); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footer a:hover { color: var(--accent); }
.footer li + li { margin-top: 8px; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 5. primitives ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font-family: var(--font-display); font-size: var(--t-sm); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { box-shadow: 4px 4px 0 var(--fg); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: var(--t-xs); border-width: 1px; }
.btn--ghost { border-color: var(--line-2); }
.btn svg { flex: none; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link svg { transition: transform var(--dur-1) var(--ease); }
.link:hover svg { transform: translateX(3px); }

.panel { background: var(--surface); border: 1px solid var(--line); }
.panel--strong { border-color: var(--line-2); }
.panel__pad { padding: clamp(16px, 2.6vw, 28px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip small { font-size: var(--t-xs); opacity: .8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); }
.seg .chip { border: 0; min-height: 40px; }
.seg .chip + .chip { border-left: 1px solid var(--line-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid currentColor; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.tag--solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.field { position: relative; display: block; }
.field__label { display: block; margin-bottom: 8px; }
.input, .select { width: 100%; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 0; color: var(--fg); font-size: var(--t-md); transition: border-color var(--dur-1) var(--ease); }
.input::placeholder { color: var(--fg-4); }
.input:hover, .select:hover { border-color: var(--fg-3); }
.input:focus-visible, .select:focus-visible { border-color: var(--accent); }
.input--icon { padding-left: 48px; }
.field__icon { position: absolute; left: 16px; bottom: 16px; color: var(--accent); pointer-events: none; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; font-family: var(--font-display); text-transform: uppercase; font-size: var(--t-sm); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23d4ff36' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.select option { background: var(--surface); color: var(--fg); font-family: var(--font-body); text-transform: none; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); background: rgba(8, 9, 10, .72); }
.tile { padding: clamp(14px, 2vw, 24px); border-left: 1px solid var(--line); min-width: 0; }
.tile:first-child { border-left: 0; }
.tile__v { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); }
.tile__v small { font-size: .5em; margin-left: 2px; }
.tile__l { margin-top: 10px; }
.tile__n { margin-top: 4px; font-size: var(--t-xs); color: var(--fg-4); }
@media (max-width: 767px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile:nth-child(3) { border-left: 0; } .tile:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- 6. tug-of-war probability bar ---------- */
.tug { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-3); }
.tug__pct { font-size: clamp(1.25rem, .9rem + 1.3vw, 1.9rem); min-width: 2.7ch; }
.tug__pct small { font-size: .5em; }
.tug__pct--a { color: var(--red); text-align: left; }
.tug__pct--b { color: var(--blue); text-align: right; }
.tug__pct.is-dog { color: var(--fg-3); }
.tug__bar { position: relative; height: 14px; display: flex; background: var(--surface-3); }
.tug__a { background: var(--red); transition: flex-basis var(--dur-3) var(--ease); }
.tug__b { flex: 1; background: var(--blue); }
.tug__bar::after { content: ""; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: var(--fg); transform: translateX(-1px); }
.tug--lg .tug__bar { height: 22px; }
.tug--lg .tug__pct { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.5rem); }
.tug__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; }

/* method split */
.msplit { display: flex; height: 10px; background: var(--surface-3); gap: 2px; }
.msplit i { display: block; height: 100%; }
.msplit .ko { background: var(--fg); } .msplit .sub { background: var(--fg-3); } .msplit .dec { background: repeating-linear-gradient(135deg, var(--fg-4) 0 3px, transparent 3px 6px); border: 1px solid var(--fg-4); }
.mlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.mlegend span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-2); }
.mlegend i { width: 12px; height: 12px; display: inline-block; }
.mlegend .ko { background: var(--fg); } .mlegend .sub { background: var(--fg-3); } .mlegend .dec { background: repeating-linear-gradient(135deg, var(--fg-4) 0 3px, transparent 3px 6px); border: 1px solid var(--fg-4); }

/* confidence meter: bars + text, never colour alone */
.conf { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.conf__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.conf__bars i { width: 4px; background: var(--line-2); }
.conf__bars i:nth-child(1) { height: 5px; } .conf__bars i:nth-child(2) { height: 8px; } .conf__bars i:nth-child(3) { height: 11px; } .conf__bars i:nth-child(4) { height: 14px; }
.conf__bars i.on { background: var(--accent); }

/* ---------- 7. hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* background video, black & white, exactly as in the original design. It is always visible: the poster
   frame shows first and the moving picture replaces it as soon as the browser has data. */
.hero__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.04) brightness(.92); opacity: .8; }
/* veil: darker behind the copy on the left, vignette top and bottom, red / blue corner glows */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(circle 272px at calc(110% - 310px) calc(-30% + 310px), rgba(255,61,46,.16), transparent),
  radial-gradient(circle 245px at calc(-8% + 280px) calc(130% - 280px), rgba(59,155,255,.14), transparent),
  linear-gradient(180deg, rgba(8,9,10,.55) 0%, rgba(8,9,10,0) 28%, rgba(8,9,10,0) 66%, rgba(8,9,10,.85) 100%),
  linear-gradient(90deg, rgba(8,9,10,.9) 0%, rgba(8,9,10,.66) 38%, rgba(8,9,10,.28) 70%, rgba(8,9,10,.5) 100%); }
/* slow drifting grid over the footage */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(244,243,239,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(244,243,239,.045) 1px, transparent 1px); background-size: 44px 44px; animation: griddrift 5.5s linear infinite; }
@keyframes griddrift { to { background-position: 44px 44px; } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-7); align-items: end; padding-block: clamp(48px, 8vw, 104px) var(--s-7); }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero .lede { margin-top: var(--s-5); }
.hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero .tiles { margin-bottom: var(--s-7); }
@media (max-width: 1023px) { .hero__in { grid-template-columns: 1fr; gap: var(--s-6); } }

.spot { background: rgba(13, 15, 18, .86); border: 1px solid var(--line-2); position: relative; }
.spot::before, .spot::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); }
.spot::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; }
.spot::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.spot__names { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-3); align-items: center; margin: var(--s-4) 0; }
.spot__names .b { text-align: right; }
.spot__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(.95rem, .75rem + .55vw, 1.2rem); line-height: 1.05; overflow-wrap: break-word; }
.vs { font-family: var(--font-display); color: var(--fg-4); font-size: var(--t-lg); }

/* ---------- 8. fight card ---------- */
.evtabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.evtab { flex: none; text-align: left; min-height: 64px; padding: 10px 16px; border: 1px solid var(--line-2); background: transparent; transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.evtab:hover { border-color: var(--fg); }
.evtab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.evtab b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-sm); line-height: 1.15; }
.evtab span { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.evtab[aria-selected="true"] span { color: var(--on-accent); }
.evmeta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: var(--s-5) 0 var(--s-4); }

.bouts { display: grid; gap: 10px; }
.bout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 1.15fr) minmax(0, 1fr); gap: var(--s-4); align-items: center; width: 100%; text-align: left; padding: 16px 20px 16px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-2); position: relative; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.bout:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--line-2); border-color: var(--line-2); }
.bout[aria-pressed="true"] { border-color: var(--accent); border-left-color: var(--accent); background: linear-gradient(90deg, var(--accent-dim), var(--surface) 40%); box-shadow: none; transform: none; }
.bout__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.bout__f { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bout__f--b { flex-direction: row-reverse; text-align: right; }
.bout__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(.95rem, .8rem + .55vw, 1.2rem); line-height: 1.05; overflow-wrap: break-word; }
.bout__sub { margin-top: 5px; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-3); }
.bout__mid { min-width: 0; }
.bout__pick { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; align-items: center; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.bout__pick b { color: var(--fg); }
/* betting odds under a bout (only when the pipeline has an odds feed) */
.bout__odds { grid-column: 1 / -1; order: 5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 10px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-3); }
.bout__base .label { margin-right: 6px; }
.bout__value { color: var(--accent); letter-spacing: .04em; }
.oddsnote { margin: 4px 0 14px; padding: 12px 16px; border: 1px solid var(--line-2); background: var(--surface); font-size: var(--t-sm); }
.oddsnote p + p { margin-top: 4px; font-size: var(--t-xs); }
@media (max-width: 767px) {
  .bout { grid-template-columns: 1fr 1fr; padding: 14px; }
  .bout__mid { grid-column: 1 / -1; order: 3; }
  .bout__f { align-items: flex-start; }
  .bout__f .avatar { display: none; }
}

.avatar { flex: none; width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--fg-2); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.avatar--a { border-color: var(--red); color: var(--red); background: var(--red-dim); }
.avatar--b { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }
.avatar--lg { width: 72px; height: 72px; font-size: 24px; }

/* ---------- 9. breakdown ---------- */
.bd__head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.bd__f--a { text-align: right; } .bd__f--b { text-align: left; }
.bd__name { font-size: clamp(1.5rem, .9rem + 3vw, 3.25rem); overflow-wrap: break-word; }
.bd__name a { text-decoration: none; }
.bd__name a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.bd__corner { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.bd__sub { margin-top: 10px; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-3); }
.bd__vs { font-family: var(--font-display); font-size: var(--t-xl); color: var(--fg-4); padding-top: 1.4em; }
@media (max-width: 639px) { .bd__head { grid-template-columns: 1fr; gap: var(--s-2); } .bd__f--a, .bd__f--b { text-align: left; } .bd__vs { padding: 0; } }
.verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 18px; border: 2px solid var(--accent); margin-top: var(--s-5); }
.verdict__pick { font-family: var(--font-display); text-transform: uppercase; font-size: var(--t-lg); line-height: 1.1; }
.tabs { display: flex; border: 1px solid var(--line-2); margin-top: var(--s-6); overflow-x: auto; }
.tab { flex: 1 0 auto; min-height: 48px; padding: 0 18px; border: 0; background: transparent; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.tab + .tab { border-left: 1px solid var(--line-2); }
.tab:hover { color: var(--fg); background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.tabpanel { padding-top: var(--s-5); }

/* factor bars: diverge from centre, red corner left / blue corner right */
.factors { display: grid; gap: 10px; }
.factor { display: grid; grid-template-columns: minmax(110px, 190px) 1fr minmax(56px, auto); gap: var(--s-3); align-items: center; }
.factor__l { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); text-align: right; }
.factor__bar { position: relative; height: 22px; background: var(--surface-2); }
.factor__bar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--fg-3); transform: translateX(-1px); }
.factor__fill { position: absolute; top: 0; bottom: 0; }
.factor__fill--a { right: 50%; background: var(--red); }
.factor__fill--b { left: 50%; background: var(--blue); }
.factor__v { font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.factors__axis { display: flex; justify-content: space-between; margin: 0 calc(56px + var(--s-3)) 6px calc(190px + var(--s-3)); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 639px) { .factor { grid-template-columns: 1fr auto; } .factor__l { grid-column: 1 / -1; text-align: left; } .factors__axis { margin: 0 0 6px; } }

/* head-to-head rows */
.h2h { display: grid; gap: 2px; }
.h2h__row { display: grid; grid-template-columns: minmax(48px, 80px) 1fr minmax(96px, 170px) 1fr minmax(48px, 80px); gap: var(--s-3); align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.h2h__v { font-family: var(--font-display); font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.h2h__v--a { text-align: right; } .h2h__v.lead-a { color: var(--red); } .h2h__v.lead-b { color: var(--blue); } .h2h__v.trail { color: var(--fg-3); }
.h2h__m { text-align: center; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.h2h__bar { height: 8px; background: var(--surface-2); display: flex; }
.h2h__bar--a { justify-content: flex-end; }
.h2h__bar i { display: block; height: 100%; }
.h2h__bar--a i { background: var(--red); } .h2h__bar--b i { background: var(--blue); }
.h2h__bar i.trail { opacity: .38; }
@media (max-width: 639px) { .h2h__row { grid-template-columns: 1fr auto 1fr; } .h2h__bar { display: none; } .h2h__v--b { text-align: right; } .h2h__v--a { text-align: left; } }

/* ---------- 10. charts ---------- */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); }
.chart .axis text { font-family: var(--font-mono); font-size: 12px; fill: var(--fg-3); }
.chart .pt { cursor: pointer; }
.chart .pt:focus-visible { outline: none; }
.chart .pt:focus-visible circle, .chart .pt:focus-visible rect { stroke: var(--focus); stroke-width: 3; }
.chart__tip { position: absolute; z-index: 5; pointer-events: none; min-width: 150px; max-width: 240px; padding: 10px 12px; background: var(--fg); color: var(--on-accent); font-family: var(--font-mono); font-size: var(--t-xs); line-height: 1.45; transform: translate(-50%, calc(-100% - 12px)); }
.chart__tip b { display: block; font-family: var(--font-body); font-weight: 800; font-size: var(--t-sm); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid currentColor; }
.legend i.dash { border-top-style: dashed; }
.legend i.sq { width: 11px; height: 11px; border: 0; background: currentColor; }
.spark svg { width: 100%; height: 44px; }

.bars { display: grid; gap: 8px; }
.bars__row { display: grid; grid-template-columns: 56px 1fr 64px; gap: var(--s-3); align-items: center; font-family: var(--font-mono); font-size: var(--t-xs); }
.bars__track { height: 18px; background: var(--surface-2); position: relative; }
.bars__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.bars__mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--fg); }

/* ---------- 11. tables & lists ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 640px; }
.table th { text-align: left; padding: 12px 14px; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--line-2); background: var(--surface); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--dur-1) var(--ease); }
.table tbody tr:hover { background: var(--surface-2); }
.table .r { text-align: right; } .table .c { text-align: center; }
.table a { text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.table a:hover { color: var(--accent); }
.res { display: inline-grid; place-items: center; width: 26px; height: 26px; font-family: var(--font-display); font-size: 13px; border: 1px solid var(--line-2); color: var(--fg-2); }
.res--W { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.res--L { background: transparent; color: var(--fg-3); }
.hit { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hit--y { color: var(--accent); } .hit--n { color: var(--red); } .hit--na { color: var(--fg-4); }
.rowbtn { background: none; border: 1px solid var(--line-2); min-height: 36px; padding: 0 10px; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.rowbtn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 12. roster ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.fcard { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-2); text-decoration: none; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.fcard:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); border-color: var(--accent); }
.fcard.is-active { border-left-color: var(--accent); }
.fcard__top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.fcard__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; overflow-wrap: break-word; }
.fcard__nick { font-size: var(--t-sm); color: var(--fg-3); font-style: italic; margin-top: 4px; }
.fcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.fcard__stats > * { display: block; padding: 10px 12px; border-left: 1px solid var(--line); }
.fcard__stats > *:first-child { border-left: 0; }
.fcard__stats b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.fcard__stats span { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.fcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.toolbar { display: grid; gap: var(--s-4); }
.toolbar__row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: flex-end; }
.empty { padding: var(--s-7) var(--s-5); border: 1px dashed var(--line-2); text-align: center; color: var(--fg-3); }
.empty b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-lg); color: var(--fg); margin-bottom: 8px; }

/* ---------- 13. page heads, fighter profile, stats ---------- */
.phead { padding-block: clamp(36px, 6vw, 72px) var(--s-7); border-bottom: 1px solid var(--line); }
.phead .h1 { margin-top: var(--s-4); font-size: clamp(2.4rem, 1.2rem + 5.6vw, 5.5rem); overflow-wrap: break-word; }
.phead .lede { margin-top: var(--s-4); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s-4); }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.profile { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (max-width: 899px) { .profile { grid-template-columns: 1fr; } }
.photo { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(120% 90% at 50% 0%, #1b2026, #0b0d10 70%); border: 1px solid var(--accent); display: grid; place-items: center; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 899px) { .photo--empty { aspect-ratio: 5 / 2; } }
.photo__mono { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 7rem); color: rgba(244,243,239,.1); }
.photo__tag { position: absolute; top: 12px; left: 12px; }
.photo__credit { margin-top: 8px; font-size: var(--t-xs); line-height: 1.5; color: var(--fg-4); overflow-wrap: anywhere; }
.photo__credit:empty { display: none; }
.photo__credit a { color: var(--fg-3); }
.credits { display: grid; gap: 6px; margin-top: 14px; font-size: var(--t-sm); }
.credits li { padding-left: 0; color: var(--fg-3); line-height: 1.5; overflow-wrap: anywhere; }
.credits li::before { display: none; }
.vitals { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-2); margin-top: var(--s-4); }
.vital { padding: 14px 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.vital:nth-child(-n+2) { border-top: 0; } .vital:nth-child(odd) { border-left: 0; }
.vital b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.scard { text-align: left; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--line-2); width: 100%; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
button.scard:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--line-2); border-color: var(--fg-3); }
.scard__h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.scard__t { font-weight: 700; font-size: var(--t-sm); line-height: 1.25; }
.scard__d { font-family: var(--font-mono); font-size: var(--t-xs); white-space: nowrap; }
.scard__d.up { color: var(--accent); } .scard__d.down { color: var(--red); } .scard__d.flat { color: var(--fg-4); }
.scard__s { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-top: 3px; }
.scard__v { font-size: 1.5rem; margin-top: 4px; }
.scard__v small { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-3); margin-left: 6px; letter-spacing: .06em; }

/* ---------- 14. dialog ---------- */
dialog.modal { width: min(960px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 0; border: 2px solid var(--accent); background: var(--surface); color: var(--fg); }
dialog.modal::backdrop { background: rgba(4, 5, 6, .82); }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.modal__body { padding: 20px; }
.modal__x { flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; }
.modal__x:hover { border-color: var(--accent); color: var(--accent); }
dialog.modal[open] { animation: pop var(--dur-2) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }

/* ---------- 15. news ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.feature:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.feature__art, .ncard__art { position: relative; min-height: 220px; background: linear-gradient(135deg, #14181d, #0a0c0e); overflow: hidden; display: grid; place-items: center; }
.feature__art { min-height: 320px; }
.art__big { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 7.5rem); line-height: .85; color: rgba(244,243,239,.08); text-transform: uppercase; text-align: center; padding: 12px; overflow-wrap: break-word; }
.art__tag { position: absolute; top: 14px; left: 14px; }
.feature__body { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); }
@media (max-width: 767px) { .feature { grid-template-columns: 1fr; } .feature__art { min-height: 180px; } }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ncard { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.ncard:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); border-color: var(--accent); }
.ncard__art { min-height: 150px; }
.ncard__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ncard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.25em; }
.prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--fg-2); }
.prose h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-xl); line-height: 1.05; margin-top: 2em; }
.prose h3 { font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-sm); color: var(--fg); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
/* legal notice: label / value pairs */
.legal { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; padding: 20px 22px; border: 1px solid var(--line-2); background: var(--surface); }
.legal dt { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding-top: 4px; }
.legal dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
@media (max-width: 479px) { .legal { grid-template-columns: 1fr; gap: 2px; } .legal dd + dt { margin-top: 12px; } }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; color: var(--fg-2); line-height: 1.65; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-family: var(--font-display); text-transform: uppercase; font-size: var(--t-xl); line-height: 1.1; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: var(--t-xs); font-style: normal; letter-spacing: .14em; color: var(--fg-3); }
.prose .statblock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding: 20px 22px; border: 1px solid var(--line-2); background: var(--surface); }
.prose .statblock b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--accent); line-height: 1; }

/* ---------- 16. model page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); counter-reset: step; }
.step { padding: 22px; border-left: 1px solid var(--line); counter-increment: step; }
.step:first-child { border-left: 0; }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-lg); line-height: 1.1; margin-bottom: 8px; }
.step p { font-size: var(--t-sm); color: var(--fg-2); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(3) { border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } .step { border-left: 0; } .step + .step { border-top: 1px solid var(--line); } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 899px) { .two, .three { grid-template-columns: 1fr; } }
.note { padding: 14px 16px; border-left: 3px solid var(--warn); background: rgba(255, 176, 32, .07); font-size: var(--t-sm); color: var(--fg-2); }
.note b { color: var(--fg); }
.evres { border: 1px solid var(--line); background: var(--surface); }
.evres > summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 18px; cursor: pointer; list-style: none; min-height: 56px; }
.evres > summary::-webkit-details-marker { display: none; }
.evres > summary:hover { background: var(--surface-2); }
.evres[open] > summary { border-bottom: 1px solid var(--line); }
.evres__name { font-family: var(--font-display); text-transform: uppercase; font-size: var(--t-md); line-height: 1.15; }

/* ---------- 17. loading & motion ---------- */
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; min-height: 80px; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { animation: rise var(--dur-3) var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .hero::after { animation: none; }
  .ticker__view { overflow-x: auto; }
  .btn:hover, .bout:hover, .fcard:hover, .ncard:hover, .feature:hover, button.scard:hover { transform: none; }
}
@media print { .ticker, .nav, .footer, .hero__media { display: none; } body { background: #fff; color: #000; } }

/* ---------- 18. matchup lab ---------- */
.lab-picks { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-3); align-items: end; }
.lab-picks .btn { min-height: 52px; padding: 0 16px; font-size: 1.25rem; }
@media (max-width: 639px) { .lab-picks { grid-template-columns: 1fr; } .lab-picks .btn { justify-self: start; } }

/* ---------- 19. advertising ---------- */
.ad { margin: var(--s-6) auto; }
.ad__label { margin: 0 0 6px; text-align: center; font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-4); }
.ad__box { display: flex; justify-content: center; align-items: center; min-height: 100px; border: 1px dashed var(--line); background: var(--surface); overflow: hidden; }
.ad.is-filled .ad__box { border-color: transparent; background: transparent; }
.ad ins.adsbygoogle { display: block; width: 100%; }
.ad.is-unfilled, .ads-blocked .ad { display: none; }
@media (min-width: 768px) { .ad__box { min-height: 120px; } }
