/* ЧРКП 2026 — демо. Дизайн-система по брендингу чемпионата:
   тёмно-синий + красный с ягодным градиентом, сетка-мембрана, дуги, Halvar Breit. */

@font-face { font-family: 'Halvar Breit'; src: url('../fonts/HalvarBreit-Bd.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Halvar Breit'; src: url('../fonts/HalvarBreit-XBd.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --navy-950: #0d1a40;
  --navy-900: #14275c;
  --navy-800: #1b336f;
  --navy: #25407f;
  --navy-600: #3a5594;
  --indigo: #343f79;
  --plum: #5d3b6e;
  --berry: #883661;
  --red: #e62d41;
  --red-600: #c9233a;
  --paper: #f3f4f9;
  --paper-2: #e8ebf4;
  --white: #fff;
  --ink: #111a3a;
  --ink-2: #454f70;
  --ink-3: #7b83a0;
  --line: #dde1ed;
  --gold: #d6a23c;
  --silver: #a3abbc;
  --bronze: #c17a4b;
  --grad-brand: linear-gradient(135deg, #e62d41 0%, #883661 48%, #343f79 100%);
  --grad-red: linear-gradient(90deg, #e62d41, #883661);
  --font-display: 'Halvar Breit', 'Onest', system-ui, sans-serif;
  --font: 'Onest', system-ui, -apple-system, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(17, 26, 58, .06), 0 8px 24px -8px rgba(17, 26, 58, .12);
  --shadow-lg: 0 2px 4px rgba(17, 26, 58, .06), 0 24px 48px -16px rgba(17, 26, 58, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography ---------- */
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1.02; }
h1, h2, h3 { margin: 0; }
.h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4vw, 48px); line-height: 1.04; color: var(--navy-900); }
.h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.15; color: var(--navy-900); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-red); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 640px; margin: 16px 0 0; }
.muted { color: var(--ink-3); }

/* ---------- buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-line { color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.chip svg { width: 16px; height: 16px; opacity: .85; }
.chip-light { background: var(--paper); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line); }

.status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-soon { color: var(--navy); background: rgba(37, 64, 127, .09); }
.status-live { color: #fff; background: var(--red); }
.status-live::before { animation: pulse 1.4s infinite; }
.status-done { color: var(--ink-3); background: var(--paper-2); }
.on-dark .status-soon { color: #fff; background: rgba(255, 255, 255, .14); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }


/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(13, 26, 64, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.logo img { height: 30px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.logo-text small { font-size: 10px; opacity: .6; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-item > button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .2s, background .2s; }
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.active, .nav-item.active > button { color: #fff; }
.nav a.active::after, .nav-item.active > button::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.nav-item { position: relative; }
.nav-item > button svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); min-width: 240px; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }
.dropdown a:hover { background: var(--paper); }
.dropdown a small { color: var(--ink-3); font-size: 13px; font-weight: 400; }
.mega { width: 760px; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.mega-day { font-size: 12px; font-weight: 700; color: var(--red); padding: 4px 14px 8px; }
.mega a { justify-content: flex-start; padding: 8px 12px; }
.mega .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; flex: none; }
.mega .ico i { width: 24px; height: 20px; }
.mega a span { display: flex; flex-direction: column; line-height: 1.25; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--red); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span + span { margin-top: 4px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* sport silhouette icon via mask */
i.sp { display: block; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--navy-950); color: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu > a, .mobile-menu summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 18px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 0 16px; }
.mobile-menu .sub a { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.mobile-menu .sub a small { display: block; opacity: .55; font-size: 12px; }

/* ---------- hero (главная) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-brand); }
.hero-bg .membrane { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; opacity: .42; }
.hero-bg .membrane.m2 { opacity: .22; transform: scale(1.6) rotate(180deg); }
.hero-bg .disc { position: absolute; left: 47%; top: 46%; width: clamp(980px, 92vw, 1480px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 42%, #2a4789 0%, var(--navy) 38%, #213a78 62%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 120px 20px rgba(13, 26, 64, .45); }
.hero-bg .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); }
.hero-bg .ring.r1 { width: 560px; height: 560px; right: -120px; top: 60px; }
.hero-bg .ring.r2 { width: 22px; height: 22px; right: 420px; top: 120px; border-width: 3px; border-color: rgba(174, 186, 230, .8); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; min-height: min(760px, calc(100vh - var(--header-h))); padding: 72px 0 64px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-title { width: min(720px, 100%); height: auto; }
.hero-title-2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.08; text-transform: uppercase; }
.slogan { display: flex; align-items: center; gap: 16px; margin: 30px 0 34px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.45vw, 19px); }
.slogan::before { content: ""; width: 64px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(230, 45, 65, 0), var(--red)); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.badge-65 { width: min(340px, 80%); aspect-ratio: 1; position: relative; }
.badge-65 img { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(8, 16, 44, .5)); }
.badge-65::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.countdown { width: 100%; max-width: 420px; padding: 20px 22px 22px; border-radius: var(--r); background: rgba(13, 26, 64, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.countdown-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-grid div { text-align: center; padding: 10px 0 8px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.countdown-grid b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-grid small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-facts div { padding: 26px 24px 30px 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-facts b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.hero-facts span { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.partners { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.partners img { height: 44px; width: auto; }
.partners .soyuz { height: 58px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.section-head .lead { margin-top: 12px; }

/* schedule */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day { background: #fff; border-radius: var(--r-lg); padding: 28px 26px 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.day::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-red); opacity: 0; transition: opacity .3s; }
.day.is-today::after { opacity: 1; }
.day-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.day-num { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .86; color: var(--navy-900); }
.day-num sup { font-size: 14px; color: var(--red); vertical-align: top; margin-left: 6px; position: relative; top: 4px; }
.day-meta { text-align: right; }
.day-meta b { display: block; font-size: 15px; text-transform: capitalize; }
.day-meta span { font-size: 14px; color: var(--ink-3); }
.venue-group { padding: 18px 0 6px; }
.venue-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.venue-name svg { width: 15px; height: 15px; color: var(--red); }
.sport-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 10px 10px; margin: 0 -10px; border-radius: 14px; transition: background .2s; }
.sport-row:hover { background: var(--paper); }
.sport-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; color: var(--navy); transition: background .25s, color .25s; }
.sport-row:hover .ico { background: var(--red); color: #fff; }
.sport-row .ico i { width: 30px; height: 26px; }
.sport-row b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.sport-row small { color: var(--ink-3); font-size: 14px; }

/* sport cards grid */
.sports-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 22px; border-radius: var(--r); color: #fff; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 100% 100%, #3b2e6c 0%, rgba(59, 46, 108, 0) 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.sport-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../membrane.svg') center / 220% no-repeat; opacity: .07; transition: opacity .35s, transform .6s var(--ease); }
.sport-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sport-card:hover::before { opacity: .14; transform: scale(1.08); }
.sport-card .illu { position: absolute; left: 14%; right: 4%; top: 42px; bottom: 96px; width: auto; height: auto; max-width: none; object-fit: contain; object-position: center; z-index: -1; transition: transform .5s var(--ease); }
.sport-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; background: linear-gradient(0deg, rgba(20, 39, 92, .92) 30%, rgba(20, 39, 92, 0)); pointer-events: none; }
.sport-card:hover .illu { transform: scale(1.07); }
.sport-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sport-card-date { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.sport-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 21px; line-height: 1.08; }
.sport-card-venue { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.sport-card .arrow { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .25s, transform .35s var(--ease); }
.sport-card:hover .arrow { background: var(--red); transform: rotate(-45deg); }
.sport-card .arrow svg { width: 18px; height: 18px; }

/* standings */
.standings-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 32px); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: var(--paper); }
.table .c { text-align: center; }
.table .r { text-align: right; }
.table .pts { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--navy-900); }
.place { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--paper); color: var(--ink-2); }
.place.p1 { background: linear-gradient(145deg, #f2cf73, var(--gold)); color: #3d2a00; }
.place.p2 { background: linear-gradient(145deg, #dfe3ea, var(--silver)); color: #262c3a; }
.place.p3 { background: linear-gradient(145deg, #e3a57a, var(--bronze)); color: #3a1c08; }
.medal { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.medal::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.medal.g::before { background: var(--gold); }
.medal.s::before { background: var(--silver); }
.medal.b::before { background: var(--bronze); }
.team-name { font-weight: 600; line-height: 1.3; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }

.live-panel { position: relative; overflow: hidden; color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--grad-brand); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; isolation: isolate; }
.live-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../membrane.svg') center / cover no-repeat; opacity: .22; }
.live-panel h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.08; }
.live-panel p { margin: 12px 0 0; color: rgba(255, 255, 255, .82); }

/* venues */
.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.venue { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.venue-top { display: flex; justify-content: space-between; align-items: center; }
.venue-date { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--red); }
.venue h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; line-height: 1.2; color: var(--navy-900); }
.venue p { margin: 0; font-size: 15px; color: var(--ink-2); }
.venue .metro { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.venue .metro::before { content: "М"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }
.venue-sports { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.venue-sports a { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); transition: background .2s, color .2s; }
.venue-sports a:hover { background: var(--navy-900); color: #fff; }
.venue .map { font-size: 14px; font-weight: 600; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.venue .map:hover { color: var(--red); }
.venue .map svg { width: 14px; height: 14px; }

/* documents / CTA strip */
.docs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.doc-card { display: flex; gap: 20px; align-items: center; padding: 22px 24px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doc-ico { width: 56px; height: 64px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--navy-900); position: relative; }
.doc-ico.pdf { background: var(--red); }
.doc-card b { display: block; font-size: 16px; line-height: 1.3; }
.doc-card small { color: var(--ink-3); font-size: 14px; }
.doc-card .dl { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy); flex: none; }
.doc-card .dl svg { width: 18px; height: 18px; }
.deadline { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 28px; background: var(--navy-900); color: #fff; isolation: isolate; }
.deadline::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: var(--grad-brand); z-index: -1; opacity: .9; }
.deadline b.big { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; margin: 8px 0 10px; }
.deadline a.mail { font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* media */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.media-card .video { border-radius: 0; box-shadow: none; }
.media-card .meta { padding: 16px 18px 18px; }
.media-card .meta b { display: block; font-size: 16px; line-height: 1.3; }
.media-card .meta small { color: var(--ink-3); font-size: 14px; }
.placeholder { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; background: linear-gradient(160deg, var(--navy), var(--navy-950)); isolation: isolate; }
.placeholder::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../membrane.svg') center / 180% no-repeat; opacity: .1; }
.placeholder .play { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.placeholder .play svg { width: 22px; height: 22px; margin-left: 3px; }
.placeholder b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; line-height: 1.15; }
.placeholder small { color: rgba(255, 255, 255, .65); font-size: 14px; margin-top: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid a, .photo-grid div { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid a:hover img { transform: scale(1.05); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-brand); }
.page-hero .disc { position: absolute; z-index: -1; width: max(1600px, 130vw); aspect-ratio: 1; left: 50%; top: 50%; border-radius: 50%; transform: translate(-58%, -62%); background: radial-gradient(circle at 50% 50%, #2a4789 0%, var(--navy) 40%, #213a78 65%); }
.page-hero .membrane { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .16; }
.page-hero-inner { padding: 56px 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: 440px; }
.page-hero-inner.solo { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 56px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 84px); line-height: .98; }
.page-sub { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .78); margin-top: 16px; max-width: 560px; }
.page-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-hero .illu-big { width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(8, 16, 44, .35)); }

/* ---------- sport page ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.fact { background: #fff; border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; }
.fact .fi { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(230, 45, 65, .08); color: var(--red); }
.fact .fi svg { width: 22px; height: 22px; }
.fact small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.fact b { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; }
.fact span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }
.fact a.link { color: var(--navy); font-weight: 600; font-size: 14px; }
.fact a.link:hover { color: var(--red); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rules li { position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); counter-increment: r; }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; color: var(--navy-900); }
.info-list { display: grid; gap: 18px; }
.info-list h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.info-list p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--paper); transition: background .2s, color .2s; }
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.tab-panel[hidden] { display: none; }

details.acc { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
details.acc + details.acc { margin-top: 12px; }
details.acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; color: var(--navy-900); }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary .plus { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--paper); position: relative; transition: background .25s, transform .35s var(--ease); }
details.acc > summary .plus::before, details.acc > summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--navy-900); border-radius: 2px; }
details.acc > summary .plus::after { transform: rotate(90deg); transition: transform .3s; }
details.acc[open] > summary .plus { background: var(--red); transform: rotate(180deg); }
details.acc[open] > summary .plus::before, details.acc[open] > summary .plus::after { background: #fff; }
details.acc[open] > summary .plus::after { transform: rotate(0); }
details.acc .acc-body { padding: 0 26px 26px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.pager a:hover { transform: translateY(-3px); }
.pager a.next { justify-content: flex-end; text-align: right; }
.pager small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pager b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 16px; color: var(--navy-900); }
.pager .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); color: var(--navy); display: grid; place-items: center; flex: none; }
.pager .ico i { width: 36px; height: 30px; }

/* ---------- document (положение) ---------- */
.doc-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 22px 16px 22px 22px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); font-size: 14px; }
.toc b { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 10px; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink-2); line-height: 1.3; transition: background .2s, color .2s; }
.toc a:hover { background: var(--paper); color: var(--ink); }
.toc a.on { color: var(--red); background: rgba(230, 45, 65, .06); }
.toc a .n { flex: none; width: 24px; font-weight: 700; color: var(--navy); }
.toc a.sub { padding-left: 42px; font-size: 13.5px; }
.doc { overflow-wrap: anywhere; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 56px); font-size: 16px; line-height: 1.65; color: #232b48; }
.doc h2 { display: flex; gap: 16px; align-items: baseline; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; color: var(--navy-900); margin: 48px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2 .num { flex: none; min-width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 18px; background: var(--grad-red); color: #fff; position: relative; top: -2px; }
.doc h2.appx { display: block; font-size: 15px; color: var(--red); }
.doc h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.25; color: var(--navy-900); margin: 34px 0 12px; }
.doc h3.sport-reg { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--paper); font-size: 18px; margin-top: 40px; }
.doc h3.sport-reg::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.doc p { margin: 0 0 10px; }
.doc p.np { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
.doc p.np .n { font-weight: 700; color: var(--navy); min-width: 32px; }
.doc p.np.l1, .doc p.np.l2 { padding-left: 18px; }
.doc p.li { position: relative; padding-left: 26px; }
.doc p.li::before { content: ""; position: absolute; left: 8px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.doc-table { overflow-x: auto; margin: 16px 0 22px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.doc-table th, .doc-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { background: var(--paper); font-size: 13px; color: var(--navy-900); }
.doc-table tr > :last-child { border-right: 0; }
.doc-table tr:last-child > * { border-bottom: 0; }
.doc b { color: var(--ink); }

/* notice */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff8e8; color: #6b4b00; font-size: 14.5px; line-height: 1.5; box-shadow: inset 0 0 0 1px #f2dca2; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* archive */
.years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.year-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(160deg, var(--navy), var(--navy-950)); isolation: isolate; transition: transform .35s var(--ease); }
.year-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../membrane.svg') center / 200% no-repeat; opacity: .1; }
.year-card:hover { transform: translateY(-6px); }
.year-card .y { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 104px); line-height: .9; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.year-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.year-card ul li::before { content: "→ "; color: var(--red); }
.year-nav { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; color: rgba(255, 255, 255, .78); background: var(--navy-950); padding: 72px 0 28px; isolation: isolate; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; bottom: -520px; border-radius: 50%; background: var(--grad-brand); opacity: .55; z-index: -1; filter: blur(2px); }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../membrane.svg') right bottom / 900px no-repeat; opacity: .06; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { margin: 0 0 16px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .5); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 18px 0 0; max-width: 340px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.footer-orgs { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.footer-orgs img { height: 40px; width: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .badge-65::before, .status-live::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav > a, .nav-item > button { padding: 0 10px; font-size: 14px; }
  .sports-grid { grid-template-columns: repeat(3, 1fr); }
  .venues { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav, .header-actions .tg-desk { display: none; }
  .burger { display: grid; place-items: center; align-content: center; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 48px 0 40px; gap: 36px; }
  .hero-side { flex-direction: row; align-items: center; justify-content: flex-start; }
  .badge-65 { width: 180px; flex: none; }
  .badge-65::before { inset: -10px; }
  .schedule { grid-template-columns: minmax(0, 1fr); }
  .standings-wrap, .two-col, .docs, .doc-layout, .hero-inner, .page-hero-inner, .schedule { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero .illu-big { max-height: 240px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .years { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .logo img { height: 26px; }
  .logo-text b { font-size: 18px; }
  .hero-side { flex-direction: column; align-items: stretch; }
  .badge-65 { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div { padding: 20px 12px 20px 0; }
  .hero-facts div + div { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(2n) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .countdown-grid b { font-size: 24px; }
  .sports-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sport-card { min-height: 220px; padding: 16px; }
  .sport-card .illu { top: 36px; bottom: 70px; left: 8%; }
  .sport-card h3 { font-size: 15px; padding-right: 34px; }
  .slogan::before { width: 28px; }
  .sport-card-venue { display: none; }
  .sport-card .arrow { width: 32px; height: 32px; right: 12px; bottom: 12px; }
  .venues, .facts, .media-grid, .pager { grid-template-columns: minmax(0, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .day { padding: 22px 18px 12px; }
  .day-num { font-size: 52px; }
  .table { font-size: 14px; }
  .table th, .table td { padding: 10px 6px; }
  .hide-sm { display: none; }
  .partners img { height: 34px; }
  .partners .soyuz { height: 44px; }
  details.acc > summary { padding: 18px; font-size: 15px; }
  details.acc .acc-body { padding: 0 18px 18px; }
  .doc { padding: 20px 16px; font-size: 15px; }
  .doc p.np { grid-template-columns: 1fr; }
  .mega { display: none; }
}

/* ---------- archive / podiums / video covers ---------- */
.podiums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.podiums-sm { grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
.podium { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.section:not(.section-white) .podium { box-shadow: var(--shadow); }
.podium-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; line-height: 1.2; color: var(--navy-900); margin-bottom: 14px; }
.podium-title small { display: block; font-family: var(--font); text-transform: none; font-weight: 500; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.podium ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.podium li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.35; font-weight: 500; }
.podium .place { width: 30px; height: 30px; font-size: 13px; }
.tbl-title { font-weight: 700; font-size: 14px; color: var(--navy-900); margin: 18px 0 8px; }
.res-sec { margin: 26px 0 4px; font-size: 12px; font-weight: 700; color: var(--red); }
.res-text { white-space: pre-line; color: var(--ink-2); font-size: 15px; margin: 0 0 8px; }
.table-sm { font-size: 14px; }
.table-sm td, .table-sm th { padding: 8px 10px; }
.standings-x th, .standings-x td { white-space: nowrap; }
.standings-x td.team-name { white-space: normal; min-width: 220px; position: sticky; left: 0; background: #fff; }
.standings-x tbody tr:hover td.team-name { background: var(--paper); }
.vcover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--navy), var(--navy-950)); overflow: hidden; }
.vcover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.vcover:hover img { transform: scale(1.04); opacity: .85; }
.vcover .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); box-shadow: 0 10px 30px -8px rgba(230, 45, 65, .9); transition: transform .3s var(--ease); }
.vcover:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.vcover .play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcover iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.albums { display: grid; gap: 28px; margin-top: 40px; }
.album-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.album-head b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; color: var(--navy-900); }
.on-dark.status-soon { color: #fff; background: rgba(255, 255, 255, .16); }
@media (max-width: 1040px) { .podiums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .podiums, .podiums-sm { grid-template-columns: 1fr; } .album-head { flex-direction: column; align-items: flex-start; } }

.card[style*="var(--paper)"] .tag { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mobile-menu summary svg, .mobile-menu > a svg { width: 20px; height: 20px; flex: none; transition: transform .25s; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mega { width: 820px; }

/* ---------- главная (структура как на cosmosport.ru) ---------- */
.home { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; padding: 56px 0 64px; }
.home .hero-bg .disc { top: 50%; width: clamp(1100px, 100vw, 1700px); }
.home-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-title .slogan { margin: 22px 0 0; }
.home-logos { display: flex; align-items: center; gap: 28px; flex: none; }
.home-logos .ros { height: 58px; width: auto; }
.home-logos .b65 { width: 150px; height: 150px; filter: drop-shadow(0 14px 28px rgba(8, 16, 44, .45)); }
.term { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; margin: 40px auto 28px; max-width: 900px; padding: 14px 28px; border-radius: 999px; background: rgba(13, 26, 64, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.7vw, 22px); text-align: center; }
.term-city { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-weight: 600; text-transform: none; font-size: 15px; color: rgba(255, 255, 255, .7); }
.term-city svg { width: 16px; height: 16px; color: var(--red); }
.t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: 14px 22px; max-width: 1040px; margin: 0 auto; }
.t-pill { display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(8px); transition: background .25s, transform .3s var(--ease), box-shadow .25s; }
.t-pill:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 16px 30px -18px rgba(8, 16, 44, .8); }
.t-ico { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #f0434f 0%, var(--red) 45%, var(--berry) 100%); box-shadow: 0 8px 18px -8px rgba(230, 45, 65, .9); transition: transform .35s var(--ease); }
.t-pill:hover .t-ico { transform: rotate(-8deg) scale(1.05); }
.t-ico i { width: 42px; height: 34px; }
.t-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.t-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t-date { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.t-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.2; color: rgba(255, 255, 255, .88); margin-top: 3px; }
.t-meta { font-size: 13px; color: rgba(255, 255, 255, .58); margin-top: 3px; }
.t-pill .status { height: 24px; font-size: 11px; }
.t-pill .status-soon { color: #fff; background: rgba(255, 255, 255, .14); }
.t-pill .status-done { color: #fff; background: rgba(230, 45, 65, .75); }
.home-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1040px; margin: 34px auto 0; }
.address-btn { display: flex; align-items: center; gap: 16px; text-align: left; padding: 8px 20px 8px 8px; border-radius: 999px; background: rgba(13, 26, 64, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); max-width: 560px; transition: background .25s, transform .3s var(--ease); }
.address-btn:hover { background: rgba(13, 26, 64, .85); transform: translateY(-2px); }
.address-btn img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: linear-gradient(160deg, #3a5594, var(--navy-900)); flex: none; }
.address-btn small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.address-btn b { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
.address-btn .arrow { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.address-btn .arrow svg { width: 16px; height: 16px; }
.home-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .8); padding: 10px 4px; }
.home-link:hover { color: #fff; }
.home-link svg { width: 18px; height: 18px; }

.modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(8, 16, 44, .7); backdrop-filter: blur(4px); }
.modal-body { padding: clamp(24px, 4vw, 44px); }
.modal-text p { margin: 0 0 12px; color: var(--ink-2); }
.modal-sign { margin: 18px 0 0; font-weight: 700; color: var(--navy-900); }
.modal-close { position: sticky; float: right; top: 12px; margin: 12px 12px 0 0; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); font-size: 24px; line-height: 1; color: var(--navy-900); }
.modal-close:hover { background: var(--red); color: #fff; }

/* подвал: оргкомитет */
.site-footer { padding: 44px 0 24px; }
.footer-row { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.f-qr { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.f-qr .qr { width: 92px; height: 92px; padding: 8px; border-radius: 14px; background: #fff; }
.f-soyuz { height: 84px; width: auto; }
.f-org { display: grid; gap: 6px; }
.f-org h4 { margin: 0 0 4px; }
.f-org a { display: inline-flex; align-items: center; gap: 8px; }
.f-org svg { width: 16px; height: 16px; color: var(--red); }
.f-social { display: flex; gap: 8px; margin-left: auto; }
.footer-bottom { margin-top: 32px; }

@media (max-width: 1040px) {
  .home-top { flex-direction: column; align-items: flex-start; }
  .home-logos { gap: 20px; }
  .home-logos .ros { height: 40px; }
  .home-logos .b65 { width: 104px; height: 104px; }
}
@media (max-width: 720px) {
  .home { padding: 32px 0 44px; }
  .home-logos { order: -1; }
  .term { border-radius: 20px; padding: 12px 16px; margin: 28px 0 20px; }
  .t-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 10px; }
  .t-pill { gap: 12px; padding: 8px 14px 8px 8px; border-radius: 22px; }
  .t-ico { width: 52px; height: 52px; }
  .t-ico i { width: 34px; height: 28px; }
  .t-date { font-size: 16px; }
  .t-name { font-size: 12.5px; }
  .address-btn { border-radius: 22px; }
  .f-social { margin-left: 0; }
  .f-soyuz { height: 64px; }
}
.home .hero-bg .ring { display: none; }

/* ---------- главная v3: баннер фоном ---------- */
/* без overflow: clip — иначе Safari при быстрой прокрутке вверх не успевает дорисовать
   срезанный низ липкого фона (полоса #25407f); хвост фона ниже секции закрывает футер */
.home { padding: 0 0 72px; background: #25407f; overflow: visible; }
.home .hero-bg { display: none; }
.home-bg { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); margin-bottom: calc(-100vh + var(--header-h)); margin-bottom: calc(-100svh + var(--header-h)); background: #25407f url('../banner-bg.jpg') center / cover no-repeat; z-index: -1; }
.home-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(28px, 4vh, 48px); }
.home .home-logos { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.4vw, 48px); order: 0; }
.home .home-logos .ros { height: clamp(52px, 5.6vw, 80px); width: auto; }
.home .home-logos .b65 { width: clamp(104px, 10.4vw, 150px); height: auto; aspect-ratio: 1; }
.home .home-logos .soyuz { height: clamp(66px, 7vw, 100px); width: auto; filter: drop-shadow(0 8px 20px rgba(8, 16, 44, .35)); }
.home-title { margin: clamp(20px, 3vh, 34px) 0 0; }
.home-title img { width: min(620px, 86vw); height: auto; }
.home-lines { display: flex; justify-content: space-between; width: min(1020px, 100%); margin: 18px 0 14px; }
.home-lines span { width: 42%; height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 55%, rgba(230, 45, 65, 0)); }
.home-lines span + span { background: linear-gradient(270deg, var(--red) 55%, rgba(230, 45, 65, 0)); }
.home-slogan { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 3vw, 42px); line-height: 1.1; }
.home .term { margin: clamp(26px, 4vh, 40px) auto 22px; }
.home .t-grid { width: 100%; text-align: left; }
.home .t-pill { background: rgba(20, 39, 92, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.home .t-pill:hover { background: rgba(20, 39, 92, .85); }
@media (max-width: 720px) {
  .home-bg { background-image: url('../banner-bg-m.jpg'); }
  .home .home-logos { gap: 14px; }
  .home-lines { margin: 14px 0 10px; }
  .home-lines span { width: 44%; height: 5px; }
}
@media (max-width: 720px) { .home .term-city { display: none; } }

/* ---------- карточки турниров на главной (белые «билеты») ---------- */
.home .t-grid { gap: 14px 18px; max-width: 1080px; }
.t-card { position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr) 76px; align-items: stretch; min-height: 104px; border-radius: 22px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 38px -18px rgba(6, 12, 36, .75); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.t-card:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -18px rgba(6, 12, 36, .85); }
.t-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; background: linear-gradient(160deg, #ef3a4a 0%, var(--red) 40%, var(--berry) 100%); }
.t-stub::after { content: ""; position: absolute; right: -1px; top: 12px; bottom: 12px; border-right: 2px dashed rgba(255, 255, 255, .55); }
.t-stub b { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: .9; }
.t-stub span { font-size: 11.5px; font-weight: 700; opacity: .9; }
.t-main { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 4px 14px 20px; min-width: 0; }
.t-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-card .status { height: 22px; padding: 0 9px; font-size: 10.5px; }
.t-card .status-soon { color: var(--navy); background: rgba(37, 64, 127, .09); }
.t-card .status-done { color: var(--ink-3); background: var(--paper-2); }
.t-time { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.t-time svg, .t-venue svg { width: 14px; height: 14px; flex: none; color: var(--red); }
.t-sport { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: 1.1; color: var(--navy-900); }
.t-venue { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-art { display: grid; place-items: center; padding-right: 14px; color: var(--navy); opacity: .16; transition: opacity .3s, color .3s, transform .4s var(--ease); }
.t-art i { width: 60px; height: 52px; }
.t-card:hover .t-art { opacity: 1; color: var(--red); transform: scale(1.06); }
@media (max-width: 720px) {
  .t-card { grid-template-columns: 70px minmax(0, 1fr) 52px; min-height: 92px; border-radius: 18px; }
  .t-stub b { font-size: 28px; }
  .t-stub span { font-size: 10px; }
  .t-main { padding: 12px 2px 12px 16px; gap: 4px; }
  .t-sport { font-size: 16px; }
  .t-art { padding-right: 10px; }
  .t-art i { width: 40px; height: 36px; }
}

/* ---------- шапка: тёмный градиент, без точек ---------- */
.site-header { background: linear-gradient(180deg, rgba(6, 12, 34, .97) 0%, rgba(9, 18, 48, .9) 100%); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 44px; background: linear-gradient(180deg, rgba(9, 18, 48, .55) 0%, rgba(9, 18, 48, 0) 100%); pointer-events: none; }
.nav a.active::after, .nav-item.active > button::after { display: none; }
.nav a.active, .nav-item.active > button { color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- подвал: чистый тёмный ---------- */
.site-footer { overflow: visible; background: #0a1433; padding: 40px 0 44px; }
.site-footer::before, .site-footer::after { display: none; }
.page-index .site-footer::before { display: none; content: ""; position: absolute; left: 0; right: 0; bottom: auto; width: auto; top: -140px; height: 140px; border-radius: 0; opacity: 1; filter: none; background: linear-gradient(180deg, rgba(10, 20, 51, 0) 0%, #0a1433 100%); z-index: 1; pointer-events: none; }
.footer-row { justify-content: space-between; gap: 28px 40px; }
.footer-row > * + *:not(.f-social) { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .1); }
.f-soyuz { height: 76px; }
@media (max-width: 1040px) { .footer-row > * + *:not(.f-social) { padding-left: 0; border-left: 0; } .footer-row { justify-content: flex-start; } }

/* ---------- Furore — шрифт заголовков из брендинга ---------- */
@font-face { font-family: 'Furore'; src: url('../fonts/Furore.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --font-display: 'Furore', 'Halvar Breit', 'Onest', system-ui, sans-serif; }
.h2, .h3, .page-title, .display, .home-title, .home-slogan, .term, .t-sport, .t-stub b, .sport-card h3, .day-num, .podium-title, .album-head b, .mobile-menu > a, .mobile-menu summary, .logo-text b { }
.h2 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; }
.page-title { line-height: 1.04; }
.home-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); line-height: 1.18; }
.home-slogan { font-weight: 400; }
.term { font-weight: 400; }

/* карточки турниров: дата — тёмный блок внутри белой карточки */
.t-card { grid-template-columns: 92px minmax(0, 1fr) 76px; }
.t-stub { margin: 12px 0 12px 12px; border-radius: 14px; background: var(--navy-900); gap: 6px; }
.t-stub::after { display: none; }
.t-stub b { font-size: 32px; font-weight: 400; }
.t-stub span { font-size: 11px; color: #ff8d98; opacity: 1; }
.t-card:hover .t-stub { background: var(--red); }
.t-card:hover .t-stub span { color: #fff; }
.t-stub { transition: background .3s; }
.t-sport { font-weight: 400; font-size: 18px; }
@media (max-width: 720px) {
  .t-card { grid-template-columns: 74px minmax(0, 1fr) 52px; }
  .t-stub { margin: 10px 0 10px 10px; border-radius: 12px; }
  .t-stub b { font-size: 26px; }
  .t-sport { font-size: 15px; }
}

/* ---------- шапка поверх баннера: без плашки, только градиент сверху ---------- */
.site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; transition: background .3s; }
.site-header::after { display: none; }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; background: linear-gradient(180deg, rgba(7, 13, 36, .9) 0%, rgba(7, 13, 36, .6) 40%, rgba(7, 13, 36, .22) 72%, rgba(7, 13, 36, 0) 100%); pointer-events: none; z-index: -1; transition: opacity .3s; }
.site-header.is-solid { background: rgba(9, 18, 48, .96); }
.site-header.is-solid::before { opacity: 0; }
.menu-open .site-header { background: var(--navy-950); }
main { margin-top: calc(-1 * var(--header-h)); }
.home-bg { top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; }
.home-inner { padding-top: calc(var(--header-h) + clamp(24px, 4vh, 44px)); }
.page-hero { padding-top: var(--header-h); }

/* фон-баннер шире экрана: синий центр шире, арки уходят к краям */
.home-bg { background-size: max(118vw, 165vh) auto; background-size: max(118vw, 165svh) auto; background-position: center center; }
.home-lines { width: min(900px, 100%); }
@media (max-width: 720px) { .home-bg { background-size: cover; } }

/* ---------- главная: программа по дням (3 белые панели) ---------- */
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 1140px; align-items: start; text-align: left; }
.dcard { position: relative; background: #fff; color: var(--ink); border-radius: 26px; padding: 24px 22px 14px; box-shadow: 0 26px 56px -26px rgba(6, 12, 36, .85); }
.dcard.is-today { box-shadow: 0 0 0 3px var(--red), 0 26px 56px -26px rgba(6, 12, 36, .85); }
.d-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.d-head b { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: .8; color: var(--navy-900); }
.d-head strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 15px; text-transform: uppercase; color: var(--navy-900); }
.d-head small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); }
.d-head .status { margin-left: auto; }
.d-venue { display: flex; align-items: center; gap: 6px; margin: 16px 0 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.d-venue svg { width: 14px; height: 14px; flex: none; color: var(--red); }
.d-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; margin: 0 -10px; border-radius: 14px; transition: background .2s; }
.d-row:hover { background: var(--paper); }
.d-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--navy); transition: background .25s, color .25s; }
.d-row:hover .d-ico { background: var(--red); color: #fff; }
.d-ico i { width: 30px; height: 26px; }
.d-name { font-family: var(--font-display); font-size: 15px; line-height: 1.15; text-transform: uppercase; color: var(--navy-900); }
.d-time { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.d-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9cfe0; flex: none; }
.d-dot.is-live { background: var(--red); box-shadow: 0 0 0 4px rgba(230, 45, 65, .18); animation: pulse 1.4s infinite; }
.d-dot.is-done { background: #8b93ad; }
@media (max-width: 1040px) { .days { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 720px) {
  .dcard { padding: 20px 16px 10px; border-radius: 22px; }
  .d-head b { font-size: 46px; }
  .d-row { gap: 12px; }
}

/* переход баннера в подвал — под контентом, а не поверх */
.home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(10, 20, 51, 0) 0%, #0a1433 100%); z-index: 0; pointer-events: none; }
.home-inner { z-index: 1; }
.site-header.is-solid { background: rgba(9, 18, 48, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }

/* Onest + спокойная типографика: без разрядки, подписи в обычном регистре */
.eyebrow { font-size: 14px; font-weight: 600; }
.site-footer h4, .toc b, .info-list h4, .fact small, .pager small, .res-sec, .d-venue, .mega-day, .countdown-label, .venue-name { font-size: 13px; font-weight: 600; }
.table th { font-size: 13px; font-weight: 600; }
.status { font-size: 12px; font-weight: 600; }
.t-stub span, .logo-text small { font-size: 12px; }
.nav > a, .nav-item > button { font-weight: 500; }

/* ---------- страница вида спорта v2: структура как на живом cosmosport.ru ---------- */
.sport-hero .page-title { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.06; max-width: 680px; }
.sport-meta { display: flex; flex-wrap: wrap; gap: 16px 44px; margin-top: 30px; }
.sport-meta > * { display: grid; gap: 4px; }
.sport-meta b { font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; line-height: 1.2; color: #fff; }
.sport-meta small { font-size: 14px; color: rgba(255, 255, 255, .62); }
.sport-meta a:hover b { color: #ffd0d5; }
.sport-actions { margin-top: 32px; }
.sport-actions .btn svg { width: 18px; height: 18px; }
.podium-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.pcard .place { width: 46px; height: 46px; font-size: 18px; flex: none; }
.pcard b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 17px; line-height: 1.2; color: var(--navy-900); }
.pcard small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.results-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.results-foot p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.results-foot p svg { width: 20px; height: 20px; flex: none; color: var(--navy); }
.sport-media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sport-media .media-card { margin: 0; }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ph { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.ph:hover img { transform: scale(1.05); opacity: .9; }
.venue-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; align-items: stretch; }
.venue-info { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.venue-info .btn { align-self: flex-start; }
.venue-map { min-height: 360px; border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.venue-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.modal-wide { width: min(880px, calc(100vw - 32px)); }
.modal-title { font-size: clamp(24px, 3vw, 34px); margin: 4px 0 24px; }
.modal-sub { margin: 30px 0 6px; }
.memo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.memo-grid .link { color: var(--navy); font-weight: 600; }
.doc-plain { box-shadow: none; padding: 0; border-radius: 0; background: none; }
.lightbox { width: auto; max-width: min(1100px, calc(100vw - 32px)); background: #000; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 48px); margin: 0 auto; }
.lightbox .modal-close { position: absolute; right: 12px; top: 12px; margin: 0; float: none; }
@media (max-width: 1040px) {
  .venue-block, .sport-media { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .podium-big, .memo-grid { grid-template-columns: minmax(0, 1fr); }
  .sport-meta { gap: 14px 28px; }
  .venue-map, .venue-map iframe { min-height: 280px; }
}
@media (max-width: 720px) {
  .sport-hero .page-hero-inner { gap: 8px; padding-bottom: 36px; }
  .sport-hero .illu-big { max-height: 150px; }
  .sport-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- итоги турнира: таблица с обводкой, медали за 1–3 места ---------- */
.res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.res-meta { display: flex; align-items: center; gap: 10px; }
.board { border: 1.5px solid #cfd5e4; border-radius: var(--r); overflow: hidden; }
.board-tabs { display: flex; gap: 28px; padding: 0 28px; overflow-x: auto; border-bottom: 1.5px solid #cfd5e4; scrollbar-width: none; }
.board-tabs .tab { height: auto; padding: 18px 0 15px; border-radius: 0; background: none; color: var(--ink-3); font-size: 15px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1.5px; }
.board-tabs .tab:hover { color: var(--navy-900); }
.board-tabs .tab[aria-selected="true"] { background: none; color: var(--navy-900); font-weight: 600; border-bottom-color: var(--red); }
.board-cols, .board-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 0 28px; }
.board-cols { padding-top: 16px; padding-bottom: 10px; font-size: 13px; color: var(--ink-3); }
.board-cols span:last-child { text-align: right; }
.age-title { padding: 18px 28px 8px; font-size: 14px; font-weight: 600; color: var(--navy-900); border-top: 1.5px solid #cfd5e4; }
.age-title:first-child { border-top: 0; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { min-height: 60px; border-top: 1px solid var(--line); }
.board-list .bn { font-family: var(--font-display); font-size: 18px; color: var(--ink-3); padding-left: 12px; }
.board-list .bn img { display: block; width: 44px; height: 44px; margin-left: -2px; }
.board-list .bt { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.3; padding: 12px 0; }
.board-list .bt small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.board-list .bp { font-family: var(--font-display); font-size: 19px; color: var(--navy-900); text-align: right; font-variant-numeric: tabular-nums; }
.board-list li.top { min-height: 68px; }
.board-list li.top .bt { font-weight: 600; }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 16px 28px 18px; border-top: 1.5px solid #cfd5e4; font-size: 14px; color: var(--ink-3); }
.board-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy-900); white-space: nowrap; }
.board-foot a svg { width: 18px; height: 18px; }
.board-foot a:hover { color: var(--red); }
.modal-title { margin-bottom: 6px; }
.modal-lead { margin: 0 0 24px; font-size: 15px; color: var(--ink-3); }
@media (max-width: 720px) {
  .board-tabs { gap: 20px; padding: 0 16px; }
  .board-cols, .board-list li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 0 16px; }
  .age-title { padding: 16px 16px 6px; }
  .board-list li { min-height: 54px; }
  .board-list .bn { font-size: 15px; padding-left: 8px; }
  .board-list .bn img { width: 36px; height: 36px; }
  .board-list .bt { font-size: 15px; }
  .board-list .bp { font-size: 16px; }
  .board-foot { padding: 14px 16px 16px; }
}

/* ---------- отступы между секциями меньше (кроме главной) ---------- */
.section { padding: clamp(40px, 5vw, 64px) 0; }

/* ---------- таблицы как в итогах турнира: обводка, медали за 1–3 места ---------- */
.medal-ico { display: block; width: 40px; height: 40px; }
.board-list .bn .medal-ico { width: 44px; height: 44px; margin-left: -2px; }
.tcard { border: 1.5px solid #cfd5e4; border-radius: var(--r); overflow: hidden; }
.tcard .card-head { padding: 20px 28px 4px; margin: 0; }
.tcard .table-scroll { margin: 0; padding: 0; }
.tcard .table th { padding-top: 14px; }
.tcard .table th:first-child, .tcard .table td:first-child { padding-left: 28px; }
.tcard .table th:last-child, .tcard .table td:last-child { padding-right: 28px; }
.tcard .table td { padding-top: 12px; padding-bottom: 12px; }
.tcard .table tbody tr:hover { background: rgba(37, 64, 127, .04); }
.tcard .standings-x td.team-name { background: var(--paper); }
.tcard .standings-x tbody tr:hover td.team-name { background: #edf0f7; }
.section-white .tcard .standings-x td.team-name { background: #fff; }
.podium li { grid-template-columns: 36px 1fr; }
.podium .medal-ico { width: 34px; height: 34px; }
@media (max-width: 720px) {
  .medal-ico { width: 34px; height: 34px; }
  .tcard .card-head { padding: 16px 16px 4px; }
  .tcard .table th:first-child, .tcard .table td:first-child { padding-left: 16px; }
  .tcard .table th:last-child, .tcard .table td:last-child { padding-right: 16px; }
}

/* ---------- положение: разделы аккордеоном, как на живом сайте ---------- */
.reg-wrap { max-width: 980px; }
.reg-list { border-top: 1.5px solid #cfd5e4; }
.reg-item { border-bottom: 1.5px solid #cfd5e4; }
.reg-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--navy-900); }
.reg-item > summary::-webkit-details-marker { display: none; }
.reg-item > summary:hover { color: var(--red); }
.reg-item .plus { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid #cfd5e4; position: relative; transition: background .2s, border-color .2s; }
.reg-item .plus::before, .reg-item .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--navy-900); transition: transform .25s, background .2s; }
.reg-item .plus::after { transform: rotate(90deg); }
.reg-item > summary:hover .plus { border-color: var(--navy-900); }
.reg-item[open] .plus { background: var(--navy-900); border-color: var(--navy-900); }
.reg-item[open] .plus::before, .reg-item[open] .plus::after { background: #fff; }
.reg-item[open] .plus::after { transform: rotate(0); }
.reg-body { padding: 0 0 28px; font-size: 16px; }
.reg-h { margin: 56px 0 24px; }
.reg-dl { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; padding: 20px 24px; border: 1.5px solid #cfd5e4; border-radius: var(--r); }
.reg-dl b { font-size: 17px; font-weight: 600; color: var(--navy-900); }
@media (max-width: 720px) {
  .reg-item > summary { font-size: 16px; padding: 18px 0; gap: 14px; }
  .reg-item .plus { width: 34px; height: 34px; }
  .reg-h { margin: 40px 0 18px; }
  .reg-dl { padding: 16px; }
  .reg-dl .hero-actions { width: 100%; } .reg-dl .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- архив: 3 видео и несколько фото, остальное — по кнопке на источник ---------- */
.arch-media { display: grid; justify-items: start; gap: 18px; }
.arch-media .media-grid { width: 100%; }
.arch-media + .arch-media { margin-top: 36px; }
.ph-grid.ph-4 { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.album-links { display: grid; border-top: 1.5px solid #cfd5e4; }
.album-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy-900); }
.album-links a:hover { color: var(--red); }
.album-links svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
@media (max-width: 720px) { .ph-grid.ph-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tcard:not(.is-open) tr.more { display: none; }
.tcard-foot { border-top: 1.5px solid #cfd5e4; }
.more-btn { display: block; width: 100%; padding: 16px 28px; text-align: left; font-weight: 600; font-size: 15px; color: var(--navy-900); }
.more-btn:hover { color: var(--red); background: rgba(37, 64, 127, .04); }

/* ---------- памятка участника (контент оргкомитета) ---------- */
.memo-table { border-top: 1.5px solid #cfd5e4; }
.memo-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.memo-row h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--navy-900); }
.memo-row p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.memo-row p:last-child { margin-bottom: 0; }
.memo-row p.memo-sub { margin-top: 12px; font-weight: 600; color: var(--ink); }
.memo-row p.memo-sub:first-child { margin-top: 0; }
@media (max-width: 720px) { .memo-row { grid-template-columns: minmax(0, 1fr); padding: 14px 0; } }

/* 8 октября: организационный день — широкая панель над тремя днями */
.dcard-wide { grid-column: 1 / -1; }
.d-ico svg { width: 22px; height: 22px; }
div.d-row:hover { background: none; }
div.d-row:hover .d-ico { background: var(--paper); color: var(--navy); }
@media (min-width: 1041px) { .dcard-wide .d-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }

/* итогов ещё нет: вместо строк таблицы — сообщение */
.board-empty { padding: 36px 28px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--ink-3); }
.table td.board-empty { padding: 36px 10px; }
