/* Radazoid v3 — 80s chrome + neon, built around the logo */
:root {
  color-scheme: dark;
  --night: #0E0830;
  --panel: #170D45;
  --raised: #241462;
  --line: #3A2A86;
  --cyan: #5CE8F2;
  --pink: #FF4FB8;
  --violet: #8A3FFF;
  --violet-text: #A77BFF;
  --sun: #FFC857;
  --text: #EEEAFF;
  --text-soft: #B5ADE0;
  --white: #FFFFFF;

  --chrome: linear-gradient(180deg, #FFFFFF 0%, #E6ECF6 34%, #8C97B4 49%, #3B3F63 51%, #C9D2E6 66%, #FFFFFF 100%);
  --sunset: linear-gradient(180deg, #FFE7A3 0%, #FFC857 30%, #FF7E8A 58%, #FF4FB8 80%, #B04BFF 100%);
  --neon: linear-gradient(90deg, var(--cyan), var(--violet) 38%, var(--pink) 70%, var(--sun));

  --head: "Exo 2", "Arial Black", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --wide: 82rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 400 1.0625rem/1.55 var(--body);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(138,63,255,.22), transparent 60%),
    radial-gradient(50rem 26rem at -10% 10%, rgba(92,232,242,.10), transparent 60%),
    var(--night);
  background-attachment: fixed;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img.art { color: transparent; font-size: 0; background: linear-gradient(135deg, var(--raised), var(--panel)); } /* no alt-text flash while a thumbnail loads */
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--pink); color: var(--night); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--night); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.05; margin: 0; text-wrap: balance; color: var(--white); }
p { text-wrap: pretty; }

.neon-line { height: 3px; background: var(--neon); box-shadow: 0 0 12px rgba(255,79,184,.55), 0 0 22px rgba(92,232,242,.25); }

/* Chrome / sunset display type for section titles */
.row-head h2, .section-title, .cat-banner h1, .page h1, .empty h1, .footer-news h2, .rail-box h2 {
  font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(14,8,48,.9)) drop-shadow(0 0 14px rgba(255,79,184,.25));
  padding-right: .1em;
}

/* ---------- Buttons and tags ---------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; font: 700 1rem/1 var(--body); text-decoration: none; padding: .7rem 1.15rem; border-radius: 999px; border: 2px solid transparent; white-space: nowrap; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.pill:hover { transform: translateY(-1px); }
.pill-yellow, .button { background: linear-gradient(180deg, #FFE08A, var(--sun) 55%, #F2A23A); color: var(--night); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 4px 14px rgba(255,200,87,.25); }
.pill-yellow:hover, .button:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 22px rgba(255,200,87,.55); }
.pill-white { background: linear-gradient(180deg, #FFFFFF 0%, #E3E9F5 45%, #B8C3DA 55%, #F4F7FC 100%); color: var(--night); padding: .85rem 1.6rem; font-size: 1.05rem; box-shadow: 0 0 18px rgba(92,232,242,.35); }
.pill-white:hover { box-shadow: 0 0 26px rgba(92,232,242,.6); }
.pill-dark { background: var(--raised); color: var(--white); border-color: var(--line); }
.pill-dark:hover { border-color: var(--cyan); }
.pill-outline { border-color: var(--cyan); color: var(--cyan); }
.pill-outline:hover { background: var(--cyan); color: var(--night); }
.tag { display: inline-block; font: 800 .78rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--cat, var(--pink)); text-decoration: none; }
.tag:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(14,8,48,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); }
.topbar-inner { max-width: var(--wide); margin-inline: auto; padding: .55rem var(--gutter); display: flex; align-items: center; gap: 1.6rem; min-height: 4.25rem; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: 200px; height: auto; filter: drop-shadow(0 0 10px rgba(92,232,242,.25)); transition: filter .25s; }
.logo:hover img { filter: drop-shadow(0 0 16px rgba(255,79,184,.5)); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.5rem; flex-wrap: wrap; }
.nav a { font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--text-soft); padding: .55rem 0; border-bottom: 2px solid transparent; transition: color .2s, text-shadow .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--pink); text-shadow: 0 0 10px rgba(255,79,184,.7); }
.search { margin-left: auto; display: flex; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0 .3rem 0 .9rem; }
.search input { background: transparent; border: 0; color: var(--white); font: inherit; font-size: .95rem; width: 9rem; padding: .5rem 0; outline: none; }
.search input::placeholder { color: var(--text-soft); }
.search button { background: none; border: 0; color: var(--cyan); padding: .45rem; cursor: pointer; border-radius: 999px; }
.search:focus-within { border-color: var(--cyan); box-shadow: 0 0 12px rgba(92,232,242,.35); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: clamp(22rem, 48vw, 34rem); overflow: hidden; background: var(--deep, var(--panel)); color: var(--white); text-align: center; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; }
.hero-art > * { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,8,48,.1) 0%, rgba(14,8,48,.55) 55%, rgba(14,8,48,.95) 100%); }
.hero::before { /* retro horizon grid */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 38%; z-index: 1; pointer-events: none; opacity: .35;
  background:
    repeating-linear-gradient(90deg, rgba(255,79,184,.7) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,79,184,.7) 0 1px, transparent 1px 32px);
  transform: perspective(300px) rotateX(58deg); transform-origin: bottom;
  mask-image: linear-gradient(0deg, #000 10%, transparent 95%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 95%);
}
.hero-text { position: relative; z-index: 2; padding: 3rem var(--gutter); max-width: 58rem; }
.hero-cat { display: inline-block; font: italic 800 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); text-shadow: 0 0 12px rgba(92,232,242,.7); text-decoration: none; margin-bottom: .85rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-style: italic; line-height: .98; text-shadow: 0 3px 0 rgba(14,8,48,.9), 0 0 30px rgba(255,79,184,.35); margin-bottom: 1.6rem; }
.hero h1 a { text-decoration: none; }
.hero h1 a:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }

/* ---------- Verdict cards ---------- */
.verdicts { margin-top: 2.25rem; }
.verdict-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.vcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--deep, var(--panel)); color: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s; }
.vcard:hover { border-color: var(--cat, var(--pink)); box-shadow: 0 0 24px color-mix(in srgb, var(--cat, var(--pink)) 45%, transparent); transform: translateY(-2px); }
.vcard-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.vcard-art { aspect-ratio: 4 / 4.2; overflow: hidden; }
.vcard-art > * { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vcard-link:hover .vcard-art > * { transform: scale(1.04); }
.vcard-body { padding: 1rem 1.15rem 1.25rem; display: grid; gap: .45rem; align-content: start; flex: 1; border-top: 3px solid var(--cat, var(--pink)); }
.vcard-cat { font: italic 800 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--cat, var(--sun)); }
.vcard h3 { font-size: 1.4rem; }
.vcard p { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--text-soft); }

/* ---------- Scrolling rows ---------- */
.row { margin-top: 3.25rem; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.row-head h2, .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.row-more { font: 700 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); text-decoration: none; white-space: nowrap; }
.row-more:hover { text-shadow: 0 0 10px rgba(92,232,242,.8); }
.scroller { position: relative; }
.scroller-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, calc((100% - 4 * 1.25rem) / 4.6)); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .9rem; scrollbar-width: thin; scrollbar-color: var(--violet) transparent; }
.rcard { scroll-snap-align: start; }
.rcard a { display: block; text-decoration: none; }
.rcard-art { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: .7rem; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.rcard a:hover .rcard-art { border-color: var(--cat, var(--cyan)); box-shadow: 0 0 18px color-mix(in srgb, var(--cat, var(--cyan)) 40%, transparent); }
.rcard-art > * { width: 100%; height: 100%; object-fit: cover; }
.rcard .tag { margin-bottom: .4rem; }
.rcard h3 { font: 700 1.05rem/1.3 var(--body); color: var(--text); }
.rcard a:hover h3 { color: var(--white); text-decoration: underline; text-decoration-color: var(--pink); }
.scroll-btn { position: absolute; top: calc(50% - 2.6rem); width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(23,13,69,.9); color: var(--cyan); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.scroll-btn:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(92,232,242,.5); }
.scroll-btn[hidden] { display: none; }
.scroll-prev { left: -.75rem; }
.scroll-next { right: -.75rem; }

/* ---------- Latest feed + rail ---------- */
.latest { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; margin-top: 3.25rem; padding-bottom: 3rem; align-items: start; }
.tabs { display: flex; gap: .4rem; overflow-x: auto; margin: 1rem 0 .5rem; padding-bottom: .35rem; }
.tab { font: 700 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--line); background: var(--panel); color: var(--text-soft); padding: .7rem 1.15rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--white); border-color: var(--violet); }
.tab[aria-selected="true"] { background: linear-gradient(90deg, var(--violet), var(--pink)); border-color: transparent; color: var(--white); box-shadow: 0 0 14px rgba(255,79,184,.4); }
.fitem { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.4rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.fitem[hidden] { display: none; }
.fitem-art { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.fitem-art > * { width: 100%; height: 100%; object-fit: cover; }
.fitem h3 { font: 700 1.2rem/1.3 var(--body); }
.fitem h3 a { text-decoration: none; }
.fitem h3 a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.fitem p { color: var(--text-soft); }
.fitem-meta { margin: .4rem 0 .55rem; font-size: .92rem; color: var(--text-soft); }
.feed-empty { color: var(--text-soft); padding: 1.5rem 0; }
.pager { display: flex; gap: 1rem; justify-content: center; padding-top: 2rem; }

.rail-sticky { position: sticky; top: 5.75rem; display: grid; gap: 1.25rem; }
.rail-box { background: linear-gradient(160deg, var(--raised), var(--panel)); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset; }
.rail-box h2 { font-size: 1.55rem; margin-bottom: .5rem; }
.rail-box p { margin: 0 0 1rem; font-size: .95rem; color: var(--text-soft); }
.ad-slot { min-height: 600px; }
.rail-list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem .4rem; }
.rail-list h2 { font-size: 1.35rem; font-style: italic; text-transform: uppercase; margin-bottom: .6rem; color: var(--cyan); text-shadow: 0 0 10px rgba(92,232,242,.45); }
.rail-item { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.rail-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.rail-thumb > * { width: 100%; height: 100%; object-fit: cover; }
.rail-title { display: block; font: 700 .95rem/1.3 var(--body); margin-top: .25rem; color: var(--text); }
.rail-item:hover .rail-title { color: var(--white); text-decoration: underline; text-decoration-color: var(--pink); }

/* ---------- Category banner ---------- */
.cat-banner { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--deep, var(--panel)), var(--night) 75%); color: var(--white); padding: 3rem 0 2.75rem; border-bottom: 1px solid var(--line); }
.cat-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cat, var(--pink)); box-shadow: 0 0 16px var(--cat, var(--pink)); }
.cat-banner h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.cat-banner p { margin: .6rem 0 0; font-size: 1.15rem; color: var(--text-soft); max-width: 40rem; }

/* ---------- Search ---------- */
.search-big { display: flex; gap: .6rem; margin: 1rem 0 1.5rem; max-width: 36rem; }
.search-big input { flex: 1; font: inherit; color: var(--white); background: var(--panel); padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
.search-big input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 12px rgba(92,232,242,.35); }

/* ---------- Article ---------- */
.story-head { max-width: 58rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.story-head .tag { font-size: .9rem; margin-bottom: .8rem; }
.story-head h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-style: italic; line-height: 1; }
.dek { color: var(--text-soft); font-size: 1.25rem; margin: .8rem 0 0; max-width: 46rem; }
.byline { font-size: .95rem; color: var(--text-soft); margin: 1rem 0 0; }
.story-art { margin: 0 auto 2rem; }
.story-art-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 0 40px rgba(138,63,255,.25); }
.story-art-frame > * { width: 100%; height: 100%; object-fit: cover; }
.story-art figcaption, .prose figcaption { margin-top: .5rem; font-size: .85rem; color: var(--text-soft); }
.story-art figcaption a, .prose figcaption a { color: var(--text-soft); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; padding-bottom: 1rem; }
.story-main { max-width: 42rem; font-size: 1.15rem; line-height: 1.7; }
.verdict { background: linear-gradient(120deg, color-mix(in srgb, var(--cat, var(--pink)) 14%, var(--panel)), var(--panel)); border: 1px solid var(--line); border-left: 5px solid var(--cat, var(--pink)); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.35rem; margin-bottom: 1.75rem; }
.verdict h2 { font-size: 1.05rem; font-style: italic; text-transform: uppercase; letter-spacing: .08em; color: var(--cat, var(--pink)); margin-bottom: .35rem; }
.verdict p { margin: 0; font-size: 1.2rem; font-weight: 600; line-height: 1.45; color: var(--white); }
.disclosure { font-size: .92rem; color: var(--text-soft); border-left: 3px solid var(--sun); padding-left: .85rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: 1.85rem; font-style: italic; margin-top: 1.9em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.5em; color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration-color: rgba(92,232,242,.5); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--white); text-decoration-color: var(--pink); }
.prose a[rel~="sponsored"] { color: var(--sun); text-decoration-color: rgba(255,200,87,.5); }
.prose strong { color: var(--white); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--pink); }
.prose blockquote { margin: 1.5em 0; padding-left: 1rem; border-left: 4px solid var(--cat, var(--pink)); font-style: italic; color: var(--text-soft); }
.prose figure { margin: 1.75em 0; }
.sources { margin-top: 2.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .98rem; }
.sources h2 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.sources p { color: var(--text-soft); margin: .4rem 0 .6rem; }
.sources ul { padding-left: 1.2em; margin: 0; }
.sources a { color: var(--cyan); }
.story-cta { margin-top: 2.5rem; background: linear-gradient(120deg, var(--raised), var(--panel)); border: 1px solid var(--line); color: var(--white); border-radius: var(--radius); padding: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.story-cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--neon); }
.story-cta h2 { font-size: 1.55rem; font-style: italic; max-width: 24ch; }

/* Video embeds (click-to-play) */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.yt button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt button:hover img { opacity: 1; }
.yt .play { position: relative; width: 4.5rem; height: 4.5rem; border-radius: 999px; background: rgba(14,8,48,.75); border: 2px solid var(--cyan); box-shadow: 0 0 24px rgba(92,232,242,.6); display: grid; place-items: center; }
.yt .play::after { content: ""; margin-left: .3rem; border-style: solid; border-width: .8rem 0 .8rem 1.3rem; border-color: transparent transparent transparent var(--white); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Simple pages ---------- */
.page { max-width: 44rem; padding-block: 2.5rem 4rem; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.page a { color: var(--cyan); }
.empty { padding-block: 5rem; text-align: center; }
.empty h1 { font-size: 3rem; }
.empty p { max-width: 40ch; margin: 1rem auto 2rem; color: var(--text-soft); }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--panel), var(--night)); color: var(--text-soft); margin-top: 3rem; }
.footer-inner { max-width: var(--wide); margin-inline: auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
.footer-news h2 { font-size: 2rem; }
.footer-news p { max-width: 42ch; }
.footer .button { display: inline-block; font-weight: 700; text-decoration: none; padding: .7rem 1.2rem; border-radius: 999px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; font-weight: 600; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(92,232,242,.6); }
.fine { grid-column: 1 / -1; font-size: .86rem; color: #8C84BC; border-top: 1px solid var(--line); padding-top: 1.25rem; margin: 0; }

/* ---------- Admin ---------- */
.admin { padding-block: 2rem 4rem; }
.admin h1 { font-size: 2.6rem; margin-bottom: 1rem; }
.admin a { color: var(--cyan); }
.admin table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.admin th, .admin td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font: 700 1rem var(--head); color: var(--white); }
.admin .pass { color: #5BF0A0; font-weight: 600; }
.admin .fail { color: #FF6B8E; font-weight: 600; }
.admin form.inline { display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.admin .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: 1.5rem; }
.admin button { font: 700 1rem var(--body); padding: .65rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--white); cursor: pointer; }
.admin button:hover { border-color: var(--cyan); }
.admin button.approve { background: var(--sun); border-color: var(--sun); color: var(--night); }
.admin input[type=password], .admin input[type=text] { font: inherit; color: var(--white); background: var(--panel); padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; width: min(22rem, 100%); }
.admin .audit-list { list-style: none; padding: 0; margin: 0; }
.admin .preview { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-top: 1rem; }
.admin .error { color: #FF6B8E; }
.admin .kicker { font: italic 700 1rem var(--head); color: var(--cat, var(--pink)); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: .25rem 1.1rem; }
  .search input { width: 6rem; }
  .logo img { width: 170px; }
}
@media (max-width: 960px) {
  .topbar-inner { flex-wrap: wrap; gap: .5rem 1rem; }
  .nav { order: 3; width: 100%; }
  .nav ul { gap: 1.2rem; flex-wrap: nowrap; overflow-x: auto; }
  .verdict-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .rail-sticky { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .scroller-track { grid-auto-columns: minmax(14rem, 42%); }
}
@media (max-width: 600px) {
  .logo img { width: 150px; }
  .search { display: none; }
  .topbar .pill-yellow { padding: .55rem .9rem; font-size: .88rem; margin-left: auto; }
  .verdict-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .vcard h3 { font-size: 1.15rem; }
  .vcard p { display: none; }
  .scroller-track { grid-auto-columns: 72%; }
  .scroll-btn { display: none; }
  .fitem { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
  .fitem h3 { font-size: 1.05rem; }
  .fitem p { display: none; }
  .fitem-meta { font-size: .86rem; }
  .story-main { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .vcard-link:hover .vcard-art > *, .vcard:hover, .pill:hover { transform: none; }
}

/* ---------- Ads (sold placements) ---------- */
.ad { position: relative; margin-inline: auto; }
.ad-label { position: absolute; top: -1.15rem; left: 0; font: 600 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); opacity: .8; }
.ad-link { display: block; position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--white); height: 100%; }
.ad-link img { width: 100%; height: 100%; object-fit: cover; }
.ad-band { padding-top: 2.4rem; }
.ad-billboard { max-width: 970px; aspect-ratio: 970 / 250; }
.ad-leaderboard { max-width: 728px; aspect-ratio: 728 / 90; }
.ad-halfpage { width: 300px; max-width: 100%; aspect-ratio: 300 / 600; margin-top: 1.4rem; }
.ad-rectangle { width: 300px; max-width: 100%; aspect-ratio: 300 / 250; }
.ad-inline { display: flex; justify-content: center; padding: 1.6rem 0 .4rem; }
.rail .ad { margin-top: 1.6rem; }

.ad-design .ad-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ad-design .ad-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,8,48,.88) 0%, rgba(14,8,48,.55) 45%, rgba(14,8,48,0) 80%); }
.ad-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem; padding: 4% 5%; max-width: 62%; }
.ad-logo { max-height: 34%; max-width: 50%; width: auto !important; height: auto !important; object-fit: contain !important; }
.ad-headline { font: italic 900 clamp(1rem, 2.6vw, 2rem)/1.02 var(--head); text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.ad-sub { font: 500 clamp(.75rem, 1.2vw, 1rem)/1.3 var(--body); color: #E8E4FF; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.ad-cta { display: inline-block; margin-top: .25rem; font: 800 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: .55rem .9rem; border-radius: 999px; background: linear-gradient(180deg, #FFE08A, var(--sun) 55%, #F2A23A); color: var(--night); }
/* Leaderboard: one line, logo + headline + button */
.ad-leaderboard .ad-copy { flex-direction: row; align-items: center; max-width: 100%; gap: .9rem; padding: 0 2.5%; }
.ad-leaderboard .ad-sub { display: none; }
.ad-leaderboard .ad-logo { max-height: 70%; max-width: 18%; }
.ad-leaderboard .ad-headline { font-size: clamp(.85rem, 1.9vw, 1.35rem); }
.ad-leaderboard .ad-cta { margin: 0 0 0 auto; }
.ad-leaderboard.ad-design .ad-link::after { background: linear-gradient(90deg, rgba(14,8,48,.9), rgba(14,8,48,.5)); }
/* Tall and square units: text at the bottom */
.ad-halfpage .ad-copy, .ad-rectangle .ad-copy { max-width: 100%; justify-content: flex-end; padding: 8% 8% 9%; }
.ad-halfpage.ad-design .ad-link::after, .ad-rectangle.ad-design .ad-link::after { background: linear-gradient(0deg, rgba(14,8,48,.92) 0%, rgba(14,8,48,.6) 40%, rgba(14,8,48,0) 75%); }
.ad-halfpage .ad-headline { font-size: 1.9rem; }
.ad-rectangle .ad-headline { font-size: 1.35rem; }
.ad-halfpage .ad-logo { max-height: 18%; }
.ad-rectangle .ad-logo { max-height: 22%; }

.ad-house .ad-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 5%; border-style: dashed; border-color: var(--line); background: repeating-linear-gradient(135deg, rgba(138,63,255,.08) 0 12px, transparent 12px 24px), var(--panel); }
.ad-house-text { display: grid; gap: .2rem; }
.ad-house-text strong { font: italic 900 1.2rem/1 var(--head); color: var(--white); }
.ad-house-text span { font-size: .85rem; color: var(--text-soft); }
.ad-halfpage.ad-house .ad-link, .ad-rectangle.ad-house .ad-link { flex-direction: column; justify-content: center; text-align: center; }
.ad-leaderboard.ad-house .ad-house-text span { display: none; }

.rcard-sponsored .rcard-art { border-color: var(--sun); }
.tag-sponsored { color: var(--sun) !important; }

@media (max-width: 600px) {
  .ad-billboard { aspect-ratio: 320 / 100; }
  .ad-leaderboard { aspect-ratio: 320 / 50; }
  .ad-billboard .ad-sub, .ad-billboard .ad-logo { display: none; }
  .ad-billboard .ad-headline { font-size: 1rem; }
  .ad-billboard .ad-cta, .ad-leaderboard .ad-cta { font-size: .65rem; padding: .4rem .6rem; }
  .ad-billboard .ad-copy { max-width: 75%; gap: .2rem; }
  .ad-leaderboard .ad-logo { display: none; }
  .ad-leaderboard .ad-headline { font-size: .8rem; }
  .ad-house .ad-house-text span { display: none; }
  .ad-house-text strong { font-size: .95rem; }
}

/* Advertise pages */
.ad-rates { max-width: var(--wide); }
.rate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; margin-top: 1rem; }
.rate-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .5rem; align-content: start; }
.rate-card h2 { font-size: 1.5rem; font-style: italic; }
.rate-card p { margin: 0; color: var(--text-soft); font-size: .95rem; }
.rate-price { font: italic 900 2rem/1 var(--head) !important; color: var(--sun) !important; }
.rate-price span { font: 500 .9rem var(--body); color: var(--text-soft); }
.rate-size { font-weight: 600; color: var(--text) !important; }
.rate-avail { color: var(--cyan) !important; font-weight: 600; }
.rate-card .pill { justify-self: start; margin-top: .4rem; }
.rate-shape { height: 7rem; display: grid; place-items: center; background: var(--night); border-radius: 8px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.rate-shape span { position: relative; z-index: 1; font: 700 .75rem var(--head); color: var(--night); background: var(--sun); padding: .2rem .45rem; border-radius: 4px; }
.rate-shape::before { content: ""; position: absolute; background: linear-gradient(135deg, var(--violet), var(--pink)); border-radius: 3px; opacity: .85; }
.rate-shape-billboard::before { width: 88%; height: 26%; top: 10%; }
.rate-shape-leaderboard::before { width: 70%; height: 11%; top: 44%; }
.rate-shape-halfpage::before { width: 22%; height: 84%; right: 8%; }
.rate-shape-rectangle::before { width: 30%; height: 50%; right: 8%; }
.rate-shape-card::before { width: 38%; height: 55%; left: 31%; }
.rate-shape-takeover::before { inset: 8%; background: repeating-linear-gradient(135deg, var(--violet) 0 10px, var(--pink) 10px 20px); }
.ad-how { margin-top: 2.5rem; max-width: 46rem; }
.ad-book, .ad-order { max-width: 52rem; }
.ad-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; margin: 0 0 1.25rem; display: grid; gap: .9rem; background: var(--panel); }
.ad-form legend { font: italic 800 1.05rem var(--head); color: var(--cyan); padding: 0 .4rem; }
.ad-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.ad-form input[type=text], .ad-form input:not([type]), .ad-form input[type=email], .ad-form input[inputmode], .ad-form input[type=password], .ad-form select, .ad-form textarea {
  font: inherit; font-weight: 400; color: var(--white); background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .75rem; width: 100%; }
.ad-form input:focus, .ad-form select:focus, .ad-form textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 10px rgba(92,232,242,.3); }
.ad-form input[type=file] { font-size: .9rem; color: var(--text-soft); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .9rem; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.choice label { display: flex; align-items: center; gap: .45rem; font-weight: 500; }
.hint { font-size: .85rem; color: var(--text-soft); margin: .2rem 0; }
.form-errors { background: rgba(255,79,184,.12); border: 1px solid var(--pink); border-radius: var(--radius); padding: .8rem 1.1rem; margin: 1rem 0; }
.form-errors ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.order-status { padding: .7rem 1rem; border-radius: 8px; background: var(--panel); border-left: 4px solid var(--sun); }
.status-approved { border-left-color: #5BF0A0; }
.status-refunded, .status-rejected { border-left-color: var(--pink); }
.ad-preview { margin: 1.4rem 0; }
.ad-preview-frame { padding-top: 1.3rem; }
.ad-preview-card { max-width: 22rem; }
.ad-form.regen { margin-top: 1.5rem; display: grid; gap: .6rem; }
.pay { margin-top: 1.6rem; }
.ad-review .ad-preview-frame { margin: 1rem 0; }
