/* Liberland TV — Liberland gold + Danube teal, light by default, dark on demand (html[data-theme="dark"]) */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --gold: #f1c823; --gold-2: #ffd84a; --gold-ink: #121212; --teal: #2f5a6d; --teal-2: #3f7a92; --maroon: #7b2121; --river: #2d7fb8;
  --ink: #0b151a; --ink-2: #102028; --ink-text: #eef3f4; --ink-muted: #9fb1b9; --ink-line: #1f343e;
  --bg: #f6f4ec; --surface: #ffffff; --surface-2: #eceae0; --text: #10171b; --muted: #55626a; --line: #e0ddd0;
  --kicker: #2f5a6d; --link: #245066;
  --shadow: 0 1px 2px rgba(11,21,26,.06), 0 10px 30px rgba(11,21,26,.08);
  --radius: 16px; --wrap: 1280px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0a1216; --surface: #111d23; --surface-2: #17262e; --text: #eef3f4; --muted: #9fb1b9; --line: #213640;
  --kicker: #f1c823; --link: #ffd84a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font: 700 clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.02em; }
h2 { font: 700 clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem)/1.1 var(--serif); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-media { max-width: 1080px; margin: 0 auto 2rem; padding: 0 20px; }
.section { padding-top: clamp(3rem, 2.2rem + 2.5vw, 5rem); }
.center { text-align: center; }
.small { font-size: .85rem; color: var(--muted); }
.eyebrow { font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin-bottom: .8rem; }

/* ---------- header (always "broadcast" dark) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,21,26,.88); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); color: var(--ink-text); border-bottom: 1px solid rgba(255,255,255,.07); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; color: inherit; }
.logo-mark { width: 55px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-name { font: 800 1.2rem/1 var(--sans); letter-spacing: -.03em; }
.brand-name b { margin-left: 5px; padding: 2px 7px; border-radius: 6px; background: var(--gold); color: var(--gold-ink); }
.onair { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff6b5e; border: 1px solid rgba(255,107,94,.45); padding: 3px 7px; border-radius: 999px; }
.onair::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4b3e; animation: blink 1.6s ease-in-out infinite; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .95rem; padding: 8px 13px; border-radius: 999px; color: var(--ink-muted); white-space: nowrap; transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.header-tools { display: flex; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--gold); background: rgba(241,200,35,.1); }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 750 .95rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-accent { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 24px rgba(241,200,35,.28); }
.btn-accent:hover { background: var(--gold-2); box-shadow: 0 12px 30px rgba(241,200,35,.4); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { border-color: var(--gold); background: rgba(255,255,255,.14); }
.btn-dark { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- HERO: TV switch-on + waving flag ---------- */
.hero-tv { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #fff; min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -3; opacity: .95; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 38%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.35) 100%),
  linear-gradient(0deg, rgba(11,21,26,1) 0%, rgba(11,21,26,0) 30%),
  radial-gradient(60% 80% at 75% 45%, rgba(241,200,35,.12), transparent 60%); }
.scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 32px; padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); flex: 1; }
.hero-text { max-width: 760px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; margin-bottom: 1.4rem; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255,59,48,.6); animation: pulse 1.8s infinite; }
.hero-tv h1 { margin: 0 0 1rem; }
.h1-brand { display: block; font: 800 .95rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.h1-display { display: block; font: 700 clamp(2.4rem, 1.4rem + 4.2vw, 4.9rem)/1.02 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.h1-display em { font-style: italic; font-weight: 600; background: linear-gradient(100deg, #fff4c2 0%, var(--gold) 40%, #f7b500 60%, var(--gold) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 220% 100%; animation: shine 6s ease-in-out infinite; }
.rotator { position: relative; height: 1.6em; overflow: hidden; margin: 0 0 1.1rem; font: 800 clamp(1rem, .9rem + .5vw, 1.3rem)/1.6 var(--sans); color: var(--gold); letter-spacing: .02em; }
.rotator span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(100%); animation: rotate 12s infinite; }
.rotator span::before { content: "— "; color: rgba(255,255,255,.5); }
.rotator span:nth-child(2) { animation-delay: 2s; } .rotator span:nth-child(3) { animation-delay: 4s; } .rotator span:nth-child(4) { animation-delay: 6s; } .rotator span:nth-child(5) { animation-delay: 8s; } .rotator span:nth-child(6) { animation-delay: 10s; }
.hero-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 58ch; margin-bottom: 1.6rem; }
.hero-badge { margin: 0; justify-self: end; position: relative; width: min(100%, 360px); transform: perspective(900px) rotateY(-14deg) rotateX(4deg); animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.hero-badge img { width: 100%; }
.glare { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; -webkit-mask: url("/brand/logo-tv-720.webp") center / 100% 100% no-repeat; mask: url("/brand/logo-tv-720.webp") center / 100% 100% no-repeat; }
.glare::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); animation: sweep 5.5s ease-in-out 1.6s infinite; }
/* CRT power-on intro */
.hero-inner, .ticker { animation: crt-on .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-text > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-text > :nth-child(1) { animation-delay: .35s; } .hero-text > :nth-child(2) { animation-delay: .45s; } .hero-text > :nth-child(3) { animation-delay: .55s; } .hero-text > :nth-child(4) { animation-delay: .65s; } .hero-text > :nth-child(5) { animation-delay: .75s; }
.hero-tv::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 30px 6px rgba(255,255,255,.8); z-index: 5; pointer-events: none; animation: crt-line .7s ease-out both; }

/* ticker */
.ticker { position: relative; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.1); background: rgba(11,21,26,.85); backdrop-filter: blur(8px); font-size: .9rem; }
.ticker-label { flex-shrink: 0; background: var(--gold); color: var(--gold-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; padding: 14px 16px; }
.ticker-viewport { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker a { white-space: nowrap; padding: 12px 28px 12px 0; color: rgba(255,255,255,.88); text-decoration: none; }
.ticker a::after { content: "◆"; color: var(--gold); margin-left: 28px; font-size: .6rem; vertical-align: middle; }
.ticker a b { color: var(--gold); font-weight: 700; margin-right: 6px; }
.ticker a:hover { color: #fff; text-decoration: underline; }

/* stats */
.stats { background: var(--ink); color: var(--ink-text); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; border-left: 1px solid var(--ink-line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem)/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: .86rem; color: var(--ink-muted); }

/* ---------- video player (lite YouTube) ---------- */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); margin: 0 0 1.5rem; }
.player iframe, .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { padding: 0; cursor: pointer; background: #000; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .94; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,.35)); pointer-events: none; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px rgba(241,200,35,.25), 0 14px 34px rgba(0,0,0,.4); transition: transform .25s, box-shadow .25s; z-index: 1; }
.yt-play::after { content: ""; position: absolute; left: 32px; top: 25px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #111; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(241,200,35,.2), 0 14px 34px rgba(0,0,0,.4); }

/* ---------- sections & cards ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; position: relative; padding-left: 18px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 3px; background: linear-gradient(var(--gold) 0 50%, var(--teal) 50% 100%); }
.more { font-weight: 750; font-size: .92rem; text-decoration: none; color: var(--muted); white-space: nowrap; }
.more:hover { color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 1rem + .6vw, 28px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media > img { transform: scale(1.05); }
.card-media .pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.card-media .pv.on { opacity: 1; }
.card-media.previewing::after { content: "Preview"; position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.card-media.previewing .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); animation: progress 2.4s linear infinite; z-index: 2; }
.ph { display: grid; place-items: center; height: 100%; }
.badge { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.72); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; z-index: 1; }
.badge-play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); z-index: 1; box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform .25s; }
.card:hover .badge-play { transform: scale(1.12); }
.badge-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #111; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font: 750 1.05rem/1.3 var(--sans); letter-spacing: -.01em; margin: 0; }
.card time { font-size: .82rem; color: var(--muted); margin-top: auto; }
.kicker { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); text-decoration: none; }

/* fresh from the channel */
.fresh-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px, 1rem + 1vw, 32px); align-items: start; }
.fresh-lead .player { margin-bottom: 1rem; }
.fresh-meta h3 { font: 700 clamp(1.35rem, 1.1rem + .9vw, 1.9rem)/1.15 var(--serif); margin: .3rem 0 .5rem; }
.fresh-meta h3 a { text-decoration: none; }
.fresh-meta h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.fresh-meta p { color: var(--muted); margin-bottom: .4rem; }
.fresh-meta time { font-size: .85rem; color: var(--muted); }
.fresh-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-sm .card-body { padding: 10px 12px 14px; }
.card-sm .card-title { font-size: .92rem; }
.card-sm .badge { display: none; }

/* dark band */
.band-dark { margin-top: clamp(3rem, 2.2rem + 2.5vw, 5rem); background: radial-gradient(80% 120% at 100% 0%, rgba(47,90,109,.55), transparent 60%), var(--ink); color: var(--ink-text); padding: clamp(2.8rem, 2rem + 2.5vw, 4.5rem) 0; }
.band-lead { color: var(--ink-muted); margin: -.6rem 0 1.4rem; }
.band-dark .card { background: var(--ink-2); border-color: var(--ink-line); }
.band-dark .card time, .band-dark .more { color: var(--ink-muted); }
.band-dark .more:hover { color: #fff; }
.band-dark .kicker { color: var(--gold); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 310px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: #3a4d56 transparent; }
.rail > * { scroll-snap-align: start; }

/* where is Liberland */
.where { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.where-map { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow); }
.where-map img { width: 100%; }
.where-text h2 { margin-bottom: .8rem; }
.facts { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.facts b { display: block; font: 700 1.4rem/1.1 var(--serif); color: var(--teal); }
html[data-theme="dark"] .facts b { color: var(--gold); }
.facts span { font-size: .82rem; color: var(--muted); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 650; font-size: .93rem; transition: border-color .2s, transform .2s; }
.chips a:hover { border-color: var(--gold); transform: translateY(-2px); }
.chips span { color: var(--muted); font-size: .8rem; }

.cta { display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 28px; align-items: center; margin-top: clamp(3rem, 2.2rem + 2.5vw, 5rem); padding: clamp(1.5rem, 1rem + 2vw, 2.8rem); border-radius: calc(var(--radius) + 8px); background: linear-gradient(120deg, var(--gold) 0%, #f7d54a 55%, #f0b90b 100%); color: var(--gold-ink); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.18); }
.cta p { margin: 0; max-width: 60ch; }
.cta h2 { color: var(--gold-ink); }
.cta .actions { justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn-ghost { color: var(--gold-ink); }
.cta-logo { width: 120px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); animation: float 6s ease-in-out infinite; }

/* ---------- page heads, breadcrumbs ---------- */
.page-head h1 { margin-bottom: .4rem; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--muted); max-width: 70ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li[aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta { color: var(--muted); font-size: .9rem; }

/* ---------- article ---------- */
.article-head { padding-top: clamp(1.8rem, 1rem + 2.5vw, 3.4rem); margin-bottom: 1.5rem; }
.article-head h1 { margin-top: .5rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
.lead-img { margin: 0; }
.lead-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose { font-size: 1.09rem; overflow-wrap: anywhere; }
.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.prose h3, .prose h4 { margin-top: 1.6rem; font: 750 1.25rem/1.25 var(--sans); }
.prose img { border-radius: 12px; margin: 1.5rem auto; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); }
.prose blockquote { margin: 1.8rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 4px solid var(--gold); font: italic 600 1.3rem/1.45 var(--serif); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose .player { margin: 1.5rem 0; }
.article-foot { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1rem 0; }
.share span { font-weight: 700; margin-right: 4px; }
.share a, .share button, .tags a { font: 650 .88rem var(--sans); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover, .tags a:hover { border-color: var(--gold); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags a { color: var(--muted); }
.note { background: var(--surface-2); padding: 12px 16px; border-radius: 10px; }

/* archive */
.year { font-size: 2.6rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.archive-list { list-style: none; padding: 0; margin: 0; columns: 2 420px; column-gap: 40px; }
.archive-list li { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.archive-list time { flex: 0 0 96px; font-size: .82rem; color: var(--muted); }
.archive-list a { text-decoration: none; font-weight: 650; }
.archive-list a:hover { text-decoration: underline; }
.badge-inline { font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--gold); color: var(--gold-ink); flex-shrink: 0; }

/* forms */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-status { margin: .8rem 0 0; font-weight: 650; min-height: 1.4em; }
.form-status.ok { color: #1f7a3a; } .form-status.err { color: #b42318; }
html[data-theme="dark"] .form-status.ok { color: #6fd18f; } html[data-theme="dark"] .form-status.err { color: #ff8a80; }
.social-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2rem; }
.social-list a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .9rem; background: var(--surface); }
.social-list a:hover { border-color: var(--gold); }
.contact-aside h2 { font-size: 1.3rem; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 1rem 0; }
.page-head.center .search-form { margin: 1.5rem auto; }
.search-form input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 20px; }

/* footer */
.site-footer { margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); background: var(--ink); color: var(--ink-text); padding: 3.5rem 0 1.5rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--gold) 0 33%, #111 33% 66%, var(--gold) 66% 100%); }
.site-footer a { text-decoration: none; color: var(--ink-text); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-about p { color: var(--ink-muted); margin: 1rem 0 1.4rem; max-width: 42ch; }
.site-footer .btn-accent, .site-footer .btn-accent:hover { color: var(--gold-ink); }
.footer-h { font: 800 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.site-footer ul.cols { grid-template-columns: 1fr 1fr; }
.footer-partners { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); color: var(--ink-muted); font-size: .9rem; }
.footer-partners span { font-weight: 700; margin-right: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; color: var(--ink-muted); font-size: .85rem; }

/* reveal on scroll (only when JS marks the page) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }


/* consent banner (only when GA_ID is set) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; font-size: .92rem; color: var(--ink-muted); }
.consent a { color: var(--gold); }
.consent .btn { min-height: 42px; }
.consent .btn-ghost { color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.rail-sm { grid-auto-columns: minmax(220px, 250px); }
.official .card-sm .card-title { font-size: .9rem; }

/* keyframes */
@keyframes blink { 50% { opacity: .25; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,48,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes rotate { 0% { opacity: 0; transform: translateY(100%); } 3%, 14% { opacity: 1; transform: none; } 17%, 100% { opacity: 0; transform: translateY(-100%); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes sweep { 0% { left: -40%; } 35%, 100% { left: 130%; } }
@keyframes crt-on { 0% { clip-path: inset(50% 0 50% 0); filter: brightness(3); } 45% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(2.5); } 100% { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes crt-line { 0% { opacity: 1; transform: scaleX(0); } 40% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .fresh-grid, .where, .contact-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: auto 1fr; }
  .cta .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .header-tools { margin-left: auto; }
  .main-nav { order: 3; width: calc(100% + 40px); margin: 6px -20px 0; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 7px 9px; font-size: .9rem; }
  body { font-size: 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
  .hero-tv { min-height: 0; }
  .hero-video { object-position: 62% 50%; opacity: .55; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,21,26,1) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%); }
}
@media (max-width: 560px) {
  .onair { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .rail { grid-auto-columns: 80%; }
  .fresh-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts li { padding: 10px; }
  .facts b { font-size: 1.1rem; }
  .cta { grid-template-columns: 1fr; }
  .cta-logo { width: 90px; }
  .archive-list li { flex-direction: column; gap: 2px; }
  .archive-list time { flex: none; }
  .actions .btn-lg { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rotator span:first-child { opacity: 1; transform: none; }
  .hero-tv::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .share, .cta, .ticker, .hero-video { display: none; } }
