@view-transition { navigation: auto; }

:root {
  --bg: #07050d;
  --bg-2: #0c0918;
  --panel: #130f22;
  --panel-2: #1b1532;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #f7f2ff;
  --soft: #d3cae8;
  --mute: #9d94ba;
  --pink: #ff2e88;
  --orange: #ff8a3c;
  --gold: #ffc857;
  --violet: #9b6bff;
  --cyan: #3ef0e0;
  --grad: linear-gradient(100deg, #ffc857 0%, #ff8a3c 30%, #ff2e88 64%, #9b6bff 100%);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --r: 22px;
  --ticker: 34px;
  --top: 112px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tone: var(--pink);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 1rem/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(155, 107, 255, 0.16), transparent 62%),
    radial-gradient(900px 560px at -8% 34%, rgba(255, 46, 136, 0.11), transparent 62%),
    radial-gradient(900px 520px at 60% 108%, rgba(255, 138, 60, 0.09), transparent 60%);
}
body.nav-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--gold); color: #1a0d05; font-weight: 800; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.script { font: 400 1.7rem/1 var(--script); color: var(--pink); transform: rotate(-3deg); transform-origin: left bottom; display: inline-block; margin-bottom: 6px; text-shadow: 0 0 26px rgba(255, 46, 136, 0.55); }

/* Reveal on scroll */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.js [data-reveal] { opacity: 0; }
.js [data-reveal].in { opacity: 1; animation: rise 0.8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }

/* Buttons */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 0.95rem/1 var(--ui); letter-spacing: 0.01em; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.btn { background: var(--grad); background-size: 160% 100%; color: #17091c; box-shadow: 0 14px 34px -12px rgba(255, 46, 136, 0.75); }
.btn::after { content: "→"; font-weight: 800; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 44px -12px rgba(255, 46, 136, 0.9); }
.btn:hover::after { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, 0.07); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: transform 0.45s var(--ease); view-transition-name: site-header; }
.site-header.is-scrolled { transform: translateY(calc(var(--ticker) * -1)); }
.ticker { display: flex; align-items: center; height: var(--ticker); background: var(--grad); color: #1a0a18; overflow: hidden; font: 800 0.72rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; }
.ticker-live { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 20px; background: #14081c; color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.ticker-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 46, 136, 0.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 46, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 136, 0); } }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-seq { display: flex; flex: none; margin: 0; }
.ticker-seq span { display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-seq span::after { content: "✦"; margin: 0 22px; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

.bar {
  display: flex; align-items: center; gap: 18px;
  width: min(100% - 24px, calc(var(--wrap) + 40px)); height: 62px; margin: 10px auto 0; padding: 0 12px 0 20px;
  border-radius: 20px; border: 1px solid var(--line);
  background: rgba(12, 8, 24, 0.66);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  transition: background 0.35s;
}
.site-header.is-scrolled .bar { background: rgba(12, 8, 24, 0.9); }
.logo { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; flex: none; line-height: 1; }
.logo-a { font: 400 1.62rem/1 var(--display); letter-spacing: 0.035em; text-transform: uppercase; color: #fff; }
.logo-b { font: 400 1.62rem/1 var(--script); color: var(--pink); transform: rotate(-6deg) translate(-4px, 3px); text-shadow: 0 0 18px rgba(255, 46, 136, 0.7); }
.primary-nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; flex: 1; min-width: 0; }
.primary-nav a { position: relative; padding: 9px 13px; border-radius: 999px; font: 700 0.9rem/1 var(--ui); color: var(--soft); text-decoration: none; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.primary-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--grad); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tool { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font: 700 0.86rem/1 var(--ui); color: var(--soft); text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tool:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: var(--line-2); }
.tool svg { width: 17px; height: 17px; flex: none; }
.tool kbd { font: 700 0.7rem/1 var(--ui); padding: 4px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: var(--mute); }
.lang { position: relative; }
.lang summary { list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(16, 11, 30, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -20px #000; display: grid; gap: 2px; animation: pop 0.25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.lang-menu a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--soft); }
.lang-menu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-menu a[aria-current="true"] { color: #fff; background: rgba(255, 46, 136, 0.18); }
.nav-toggle { display: none; }

.drawer { position: fixed; inset: 0; z-index: 55; padding: calc(var(--top) + 18px) 24px 32px; background: rgba(7, 5, 13, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer[hidden] { display: none !important; }
.drawer a { padding: 10px 4px; font: 400 2.1rem/1.1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; color: #fff; border-bottom: 1px solid var(--line); animation: rise 0.5s var(--ease) backwards; }
.drawer a:nth-child(2) { animation-delay: 40ms; } .drawer a:nth-child(3) { animation-delay: 80ms; }
.drawer a:nth-child(4) { animation-delay: 120ms; } .drawer a:nth-child(5) { animation-delay: 160ms; }
.drawer a:nth-child(6) { animation-delay: 200ms; } .drawer a:nth-child(7) { animation-delay: 240ms; }
.drawer a:nth-child(n+8) { font: 700 1rem/1.3 var(--ui); text-transform: none; color: var(--soft); border-bottom: 0; padding: 8px 4px; animation-delay: 280ms; }
.drawer a:nth-child(8) { margin-top: 16px; }
.drawer a[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Search palette */
.palette { width: min(100% - 28px, 680px); max-height: min(78vh, 720px); margin: 11vh auto auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.palette::backdrop { background: rgba(5, 3, 10, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.palette[open] { animation: pop 0.3s var(--ease); }
.palette-box { position: relative; border-radius: 24px; background: #110c20; box-shadow: 0 40px 120px -30px #000, 0 0 0 1px var(--line-2); overflow: hidden; }
.palette-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.palette-field { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.palette-field svg { width: 22px; height: 22px; color: var(--pink); flex: none; }
.palette-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 1.15rem/1.2 var(--ui); outline: none; }
.palette-field input::placeholder { color: var(--mute); }
.palette-field input::-webkit-search-cancel-button { display: none; }
.palette-field button { border: 1px solid var(--line-2); background: transparent; border-radius: 8px; padding: 6px 9px; font: 800 0.7rem/1 var(--ui); color: var(--mute); cursor: pointer; }
.palette-label { padding: 14px 22px 6px; font: 800 0.7rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.palette-list { max-height: min(48vh, 420px); overflow-y: auto; padding: 4px 10px 10px; overscroll-behavior: contain; }
.palette-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 9px 10px; border-radius: 14px; text-decoration: none; }
.palette-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.palette-item small { display: block; font: 800 0.66rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 5px; }
.palette-item strong { display: block; font: 700 0.98rem/1.3 var(--ui); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.palette-item:hover, .palette-item.is-on { background: rgba(255, 255, 255, 0.08); }
.palette-empty { padding: 18px 22px 22px; color: var(--mute); }
.palette-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--mute); }
.palette-foot a { color: var(--gold); font-weight: 800; text-decoration: none; white-space: nowrap; }
.palette-foot a:hover { text-decoration: underline; }

/* Home hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--top) + 48px) 0 170px; }
.hero-media { position: absolute; inset: -4% 0 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(7, 5, 13, 0.94) 0%, rgba(7, 5, 13, 0.7) 36%, rgba(7, 5, 13, 0.12) 72%, rgba(7, 5, 13, 0.3) 100%),
  linear-gradient(180deg, rgba(7, 5, 13, 0.7) 0%, rgba(7, 5, 13, 0) 26%, rgba(7, 5, 13, 0) 58%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 800 0.74rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 12px var(--tone); animation: pulse 1.8s infinite; }
.display { margin: 22px 0 0; font: 400 clamp(3.1rem, 8.4vw, 7.6rem)/1.08 var(--display); letter-spacing: 0.005em; text-transform: uppercase; text-wrap: balance; }
.display span { display: block; }
.display .grad { width: fit-content; max-width: 100%; padding-bottom: 0.06em; filter: drop-shadow(0 10px 40px rgba(255, 46, 136, 0.45)); }
.hero .dek { margin-top: 22px; max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hud { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 16px 9px 10px; border-radius: 14px; background: rgba(7, 5, 13, 0.55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 700 0.8rem/1 var(--ui); color: var(--soft); }
.hud-orb { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #ffe9b0 0 32%, #ff8a3c 34% 60%, #ff2e88 100%); box-shadow: 0 0 18px rgba(255, 138, 60, 0.7); }
.hud[data-phase="night"] .hud-orb { background: radial-gradient(circle at 36% 38%, #fff 0 34%, #b9a6ff 36% 100%); box-shadow: 0 0 18px rgba(155, 107, 255, 0.8); }
.hud strong { font: 400 1.25rem/1 var(--display); letter-spacing: 0.06em; color: #fff; }

.hero-feed { padding: 18px; border-radius: 26px; border: 1px solid var(--line-2); background: rgba(12, 8, 24, 0.62); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 40px 90px -40px #000; }
.hero-feed h2 { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; font: 800 0.74rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.hero-feed h2 i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: pulse 1.8s infinite; }
.feed-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 10px 8px; border-radius: 16px; text-decoration: none; transition: background 0.25s; }
.feed-item + .feed-item { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.feed-item:hover { background: rgba(255, 255, 255, 0.07); }
.feed-item img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; }
.feed-item small { display: block; margin-bottom: 5px; font: 800 0.66rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tone); }
.feed-item strong { font: 700 0.95rem/1.3 var(--ui); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-item time { display: block; margin-top: 5px; font-size: 0.74rem; color: var(--mute); }
.feed-all { display: flex; justify-content: space-between; margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--line); font: 800 0.84rem/1 var(--ui); color: var(--gold); text-decoration: none; }
.feed-all::after { content: "→"; transition: transform 0.3s var(--ease); }
.feed-all:hover::after { transform: translateX(4px); }

/* License plates */
.plates { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -96px; }
.plate { position: relative; overflow: hidden; padding: 12px 16px 14px; border-radius: 18px; text-align: center; color: #23123c; background: linear-gradient(180deg, #fffaf0 0%, #ffe9c7 100%); box-shadow: inset 0 0 0 4px #fffaf0, inset 0 0 0 6px rgba(35, 18, 60, 0.28), 0 30px 60px -28px #000, 0 2px 0 rgba(255, 255, 255, 0.5); transform: rotate(var(--tilt, 0deg)); transition: transform 0.45s var(--ease); }
.plate:nth-child(1) { --tilt: -1.6deg; } .plate:nth-child(2) { --tilt: 1.1deg; } .plate:nth-child(3) { --tilt: -0.8deg; } .plate:nth-child(4) { --tilt: 1.7deg; }
.plate:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); }
.plate::before { content: ""; position: absolute; left: 50%; bottom: -70%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 60, 0.55) 0 38%, rgba(255, 46, 136, 0.28) 39% 52%, rgba(255, 200, 87, 0.22) 53% 66%, transparent 67%); }
.plate::after { content: ""; position: absolute; inset: 12px 14px auto; height: 7px; background: radial-gradient(circle at 3.5px 3.5px, #8f8aa0 0 3px, transparent 3.5px) left / 7px 7px no-repeat, radial-gradient(circle at 3.5px 3.5px, #8f8aa0 0 3px, transparent 3.5px) right / 7px 7px no-repeat; }
.plate > * { position: relative; }
.plate small { display: block; font: 400 1.35rem/1 var(--script); color: #e0246f; }
.plate strong { display: block; margin: 2px 0 4px; font: 400 clamp(1.7rem, 3.5vw, 3rem)/1.08 var(--display); letter-spacing: 0.05em; white-space: nowrap; text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9), 0 -1px 0 rgba(35, 18, 60, 0.25); }
.plate span { display: block; font: 800 0.66rem/1.35 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; color: #6d4424; }

/* Sections */
.section { padding-top: clamp(64px, 9vw, 120px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2, .duo-copy h2 { font: 400 clamp(2.1rem, 4.8vw, 3.8rem)/1.04 var(--display); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.section-head p:not(.script) { margin-top: 12px; max-width: 620px; color: var(--mute); }
.link-arrow { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 800 0.88rem/1 var(--ui); text-decoration: none; transition: background 0.25s; }
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { background: rgba(255, 255, 255, 0.08); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Cards */
[data-cat="news"], [data-page="news"] { --tone: var(--pink); }
[data-cat="world"], [data-page="world"] { --tone: var(--cyan); }
[data-cat="guides"], [data-page="guides"] { --tone: var(--gold); }
[data-cat="reviews"], [data-page="reviews"] { --tone: var(--violet); }
[data-cat="platforms"], [data-page="platforms"] { --tone: var(--orange); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); text-decoration: none; isolation: isolate; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tone) 65%, transparent); box-shadow: 0 34px 70px -36px var(--tone); }
.card-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-art img { transform: scale(1.07); }
.badge-new { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 8px; background: var(--pink); color: #fff; font: 800 0.66rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 8px 22px -6px var(--pink); }
.badge-new[hidden] { display: none; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.cat { display: inline-flex; align-items: center; gap: 8px; font: 800 0.68rem/1 var(--ui); letter-spacing: 0.15em; text-transform: uppercase; color: var(--tone); }
.cat::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--tone); }
.card h3 { font: 800 1.16rem/1.28 var(--ui); letter-spacing: -0.01em; text-wrap: balance; }
.card-body > p:not(.meta) { font-size: 0.92rem; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin-top: auto; padding-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--mute); }
.card.over { min-height: 250px; justify-content: flex-end; border-color: transparent; }
.card.over .card-art { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.card.over .card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 5, 13, 0.05) 0%, rgba(7, 5, 13, 0.35) 42%, rgba(7, 5, 13, 0.94) 100%); }
.card.over .card-body { flex: none; padding: 22px 24px 24px; }
.card.over .card-body > p:not(.meta) { color: var(--soft); }
.card.over .meta { color: var(--soft); opacity: 0.8; }
.card.lead h3 { font: 400 clamp(1.9rem, 3.6vw, 3.1rem)/1.14 var(--display); letter-spacing: 0.01em; max-width: 16em; }
.card.lead .card-body { padding: clamp(22px, 3vw, 36px); gap: 14px; }
.card.lead .card-body > p:not(.meta) { font-size: 1.02rem; max-width: 36em; }
.bento { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: minmax(260px, auto); gap: 22px; }
.bento .lead { grid-row: span 2; min-height: 560px; }

/* Postcards */
.postcard-rail { display: flex; gap: 14px; height: 500px; }
.postcard { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px; overflow: hidden; border-radius: 26px; color: #fff; text-decoration: none; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); transition: flex-grow 0.7s var(--ease), box-shadow 0.4s; }
.postcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.postcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 5, 13, 0.3) 0%, rgba(7, 5, 13, 0) 30%, rgba(7, 5, 13, 0.25) 55%, rgba(7, 5, 13, 0.94) 100%); }
.postcard small { position: absolute; left: 18px; top: 16px; font: 400 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85); }
.postcard strong { font: 400 1.7rem/1.05 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.postcard span { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 0.9rem; line-height: 1.4; color: var(--soft); transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.4s; }
.postcard:hover, .postcard:focus-visible { flex-grow: 2.6; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 70px -40px var(--pink); }
.postcard:hover img, .postcard:focus-visible img { transform: scale(1.06); }
.postcard:hover span, .postcard:focus-visible span { max-height: 5em; opacity: 1; margin-top: 8px; }
.schematic { margin-top: 18px; font-size: 0.84rem; color: var(--mute); max-width: 720px; }

/* Duo */
.duo { position: relative; display: grid; align-items: end; min-height: 560px; overflow: hidden; border-radius: 32px; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.duo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.duo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 5, 13, 0.95) 0%, rgba(7, 5, 13, 0.66) 40%, rgba(7, 5, 13, 0.05) 74%), linear-gradient(0deg, rgba(7, 5, 13, 0.7), transparent 40%); }
.duo-copy { max-width: 600px; padding: clamp(24px, 5vw, 60px); }
.duo-copy > p:not(.script) { margin: 16px 0 26px; font-size: 1.05rem; color: var(--soft); }
.duo-tags { position: absolute; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px); display: flex; gap: 12px; }
.duo-tag { width: 220px; padding: 14px 16px; border-radius: 18px; background: rgba(12, 8, 24, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; transition: transform 0.35s var(--ease), background 0.3s; }
.duo-tag:hover { transform: translateY(-4px); background: rgba(12, 8, 24, 0.8); }
.duo-tag strong { display: block; font: 400 1.5rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.duo-tag:first-child strong { color: var(--pink); } .duo-tag:last-child strong { color: var(--cyan); }
.duo-tag span { display: block; margin-top: 6px; font-size: 0.82rem; line-height: 1.35; color: var(--soft); }

/* Topic chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 700 0.88rem/1 var(--ui); color: var(--soft); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.chip:hover span { background: rgba(255, 255, 255, 0.08); color: #fff; }
.chip input:checked + span { background: var(--tone); color: #12081a; box-shadow: 0 10px 26px -10px var(--tone); }
.chip input:checked + span::before { background: #12081a; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.chips-note { flex-basis: 100%; font-size: 0.8rem; color: var(--mute); }
.grid-empty { padding: 30px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--mute); text-align: center; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; display: block; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); padding: 0 22px; transition: border-color 0.3s, background 0.3s; }
.faq-item[open] { border-color: rgba(255, 46, 136, 0.5); background: var(--panel-2); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font: 800 1.05rem/1.35 var(--ui); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font: 700 1.1rem/1 var(--ui); color: var(--gold); transition: transform 0.35s var(--ease), background 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--pink); color: #fff; }
.faq-item p { padding: 0 0 22px; color: var(--soft); max-width: 68ch; }
.faq-item a, .schematic a { color: var(--gold); }

/* Ads */
.ad-slot:empty { display: none; }
.ad-slot.is-filled { width: min(100% - 40px, 1000px); margin: 34px auto; padding: 12px; border-radius: 18px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.03); text-align: center; overflow: hidden; }
.ad-slot.is-filled img { margin-inline: auto; border-radius: 10px; height: auto; }
.ad-label { margin-bottom: 8px; font: 800 0.62rem/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.ad-slot[data-ad-slot="leaderboard"].is-filled { margin: calc(var(--top) + 14px) auto 0; }
.ad-slot[data-ad-slot="leaderboard"].is-filled ~ main > :first-child { padding-top: 44px; min-height: 0; }
.prose .ad-slot.is-filled, .toc .ad-slot.is-filled { width: 100%; }
.toc .ad-slot.is-filled { margin: 18px 0 0; }

/* Story */
.progress { position: fixed; left: 0; top: 0; z-index: 80; width: 0; height: 3px; background: var(--grad); box-shadow: 0 0 14px rgba(255, 46, 136, 0.8); }
.story-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(84svh, 760px); padding: calc(var(--top) + 70px) 0 54px; }
.story-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.story-hero .hero-shade { background: linear-gradient(180deg, rgba(7, 5, 13, 0.72) 0%, rgba(7, 5, 13, 0.18) 30%, rgba(7, 5, 13, 0.78) 66%, var(--bg) 100%), linear-gradient(90deg, rgba(7, 5, 13, 0.6), transparent 70%); }
.story-head { max-width: 940px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 20px; font: 700 0.8rem/1.3 var(--ui); color: var(--mute); }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-current] { color: var(--mute); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-hero h1 { margin-top: 18px; font: 400 clamp(2.2rem, 5.4vw, 4.5rem)/1.14 var(--display); letter-spacing: 0.005em; text-wrap: balance; text-shadow: 0 6px 40px rgba(7, 5, 13, 0.7); }
.story-hero .dek { margin-top: 18px; max-width: 720px; font: 400 clamp(1.1rem, 1.7vw, 1.4rem)/1.5 var(--serif); color: var(--soft); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 0.86rem; font-weight: 600; color: var(--soft); }
.by-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #17091c; font: 400 1.05rem/1 var(--display); letter-spacing: 0.04em; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 26px; }
.prose { min-width: 0; max-width: 760px; font: 400 1.22rem/1.72 var(--serif); color: #ece5f9; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { position: relative; margin-top: 2em; padding-top: 18px; font: 800 clamp(1.45rem, 2.6vw, 1.9rem)/1.2 var(--ui); letter-spacing: -0.015em; color: #fff; text-wrap: balance; scroll-margin-top: 100px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 54px; height: 4px; border-radius: 4px; background: var(--grad); }
.story-prose > p:first-of-type::first-letter { float: left; margin: 0.08em 0.12em 0 0; font: 400 3.9em/0.82 var(--display); color: var(--pink); }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color 0.2s, color 0.2s; }
.prose a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--pink); }
.note { padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(62, 240, 224, 0.28); border-left: 4px solid var(--cyan); background: rgba(62, 240, 224, 0.06); font: 500 1rem/1.6 var(--ui); color: var(--soft); }
.note.rumor { border-color: rgba(255, 200, 87, 0.32); border-left-color: var(--gold); background: rgba(255, 200, 87, 0.07); }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font: 500 0.95rem/1.5 var(--ui); }
.prose caption { padding: 14px 16px; text-align: left; font-weight: 800; color: var(--gold); background: rgba(255, 255, 255, 0.03); }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.story-video { overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2); background: #000; box-shadow: 0 34px 80px -40px rgba(255, 46, 136, 0.6); }
.story-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.story-video.portrait { max-width: 380px; margin-inline: auto; }
.story-video.portrait iframe { aspect-ratio: 9 / 16; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2.2em; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--ui); }
.share-row > span { font: 800 0.74rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-right: 4px; }
.share-row .btn-ghost { min-height: 44px; padding: 0 18px; font-size: 0.86rem; text-decoration: none; color: var(--text); }
.similar-sec h2, .comment-sec h2 { font: 400 clamp(2rem, 4vw, 3.2rem)/1.04 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.similar-list { list-style: none; margin: 22px 0 0; padding: 0; }
.similar-list a { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font: 650 1.15rem/1.35 var(--ui); }
.similar-list li:last-child a { border-bottom: 1px solid var(--line); }
.similar-list a:hover { color: var(--pink); }
.comment-sec { padding-top: 10px; }
.comment-sec h3 { margin: 8px 0; font: 650 1rem/1.3 var(--ui); letter-spacing: 0; text-transform: none; }
.comment-list { display: grid; gap: 0; margin: 18px 0 26px; }
.comment-list article { padding: 14px 0; border-top: 1px solid var(--line); }
.comment-list strong { display: block; font: 700 0.92rem/1.3 var(--ui); }
.comment-list p { margin: 6px 0 0; }
.comment-sec .form-grid { max-width: 560px; margin-top: 18px; }
.comment-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.comment-as { color: var(--mute); }
.comment-status { color: var(--pink); }
.comment-dialog { width: min(100% - 28px, 460px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); }
.comment-dialog::backdrop { background: rgba(5, 3, 10, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.comment-dialog[open] { animation: pop 0.3s var(--ease); }
.comment-dialog-box { position: relative; border-radius: 24px; background: #110c20; box-shadow: 0 40px 120px -30px #000; padding: 26px 22px 22px; }
.comment-dialog-box::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad); pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.comment-dialog-box h3 { margin: 0 36px 0 0; font: 650 1.15rem/1.35 var(--ui); letter-spacing: 0; text-transform: none; }
.comment-dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 0; padding: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font: 400 1.7rem/1 var(--ui); cursor: pointer; }
.comment-dialog-close:hover { filter: brightness(1.2); }
.comment-dialog form[hidden] { display: none !important; }
.comment-dialog form { animation: comment-fields 0.55s cubic-bezier(0.22, 1.25, 0.36, 1); }
@keyframes comment-fields { from { opacity: 0; transform: translateY(12px); } }
.comment-tabs { display: flex; gap: 8px; margin: 16px 0 4px; }
.comment-tabs button { border: 1px solid var(--line-2); background: transparent; color: var(--soft); border-radius: 999px; min-height: 40px; padding: 0 16px; font: 750 0.86rem/1 var(--ui); cursor: pointer; }
.comment-tabs button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.comment-dialog .form-grid { max-width: none; }
.prose .faq { margin-top: 2em; font-family: var(--ui); }
.prose .faq-item p { font: 500 1rem/1.6 var(--ui); }
.sources { font-family: var(--ui); }
.sources h2 { font-size: 1.2rem; }
.sources ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sources li { margin: 0 !important; }
.sources a { display: inline-flex; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 700 0.84rem/1.2 var(--ui); text-decoration: none; color: var(--soft); }
.sources a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.toc { position: sticky; top: 96px; font-family: var(--ui); }
.toc-box { padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.toc-box summary { list-style: none; cursor: pointer; font: 800 0.72rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary { display: flex; align-items: center; justify-content: space-between; }
.toc-box summary::after { content: "+"; font: 700 1.1rem/1 var(--ui); letter-spacing: 0; color: var(--gold); transition: transform 0.3s var(--ease); }
.toc-box[open] summary::after { transform: rotate(45deg); }
.toc-box nav { display: grid; gap: 2px; margin-top: 14px; border-left: 2px solid var(--line); }
.toc-box a { margin-left: -2px; padding: 8px 0 8px 14px; border-left: 2px solid transparent; font: 600 0.9rem/1.35 var(--ui); color: var(--mute); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc-box a:hover { color: #fff; }
.toc-box a.is-active { color: #fff; border-left-color: var(--pink); }
.stars { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 3px; padding: 9px 13px; border-radius: 999px; background: rgba(12, 8, 24, 0.78); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -18px #000; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 1.05rem; line-height: 1; opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.4s var(--ease); pointer-events: none; }
.stars.show { opacity: 1; transform: none; }
.stars b { color: rgba(255, 255, 255, 0.22); transition: color 0.3s, text-shadow 0.3s, transform 0.3s var(--ease); }
.stars b.on { color: var(--gold); text-shadow: 0 0 14px rgba(255, 200, 87, 0.9); transform: scale(1.12); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; display: grid; gap: 4px; min-width: 240px; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 18px; background: #120c22; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -24px #000; text-align: center; opacity: 0; transform: translate(-50%, 30px); transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast strong { font: 400 1.5rem/1.1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 22px rgba(255, 200, 87, 0.6); }
.toast span { font-size: 0.88rem; font-weight: 600; color: var(--soft); }
.toast strong:empty, .toast span:empty { display: none; }

/* Page heroes */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--top) + 60px) 0 50px; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(760px 380px at 12% 0%, color-mix(in srgb, var(--tone) 40%, transparent), transparent 70%), radial-gradient(700px 360px at 92% 10%, rgba(155, 107, 255, 0.32), transparent 70%), linear-gradient(180deg, #140b26, var(--bg)); }
.page-hero.has-art { display: flex; align-items: flex-end; min-height: min(64svh, 540px); }
.page-hero.has-art .hero-shade { background: linear-gradient(180deg, rgba(7, 5, 13, 0.7) 0%, rgba(7, 5, 13, 0.2) 34%, rgba(7, 5, 13, 0.8) 72%, var(--bg) 100%); }
.page-hero h1 { font: 400 clamp(2.7rem, 7.4vw, 6rem)/1.03 var(--display); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; max-width: 16em; }
.page-hero .dek { margin-top: 16px; max-width: 680px; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--soft); }
.count { display: inline-flex; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--tone) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 55%, transparent); font: 800 0.76rem/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; }
.page-body { padding-top: 34px; }
.cat-grid .card:first-child { grid-column: span 2; }
.cat-grid .card:first-child .card-art { aspect-ratio: 16 / 8; }
.cat-grid .card:first-child h3 { font-size: 1.6rem; }

/* Search */
.search-form { display: flex; gap: 8px; margin-top: 24px; max-width: 580px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font-weight: 600; }
.search-form input::placeholder { color: var(--mute); }
.search-form button { border: 0; cursor: pointer; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--grad); color: #17091c; font: 800 0.9rem/1 var(--ui); }
.results { display: grid; gap: 12px; }
.result { display: block; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: transform 0.3s var(--ease), border-color 0.3s; }
.result:hover { transform: translateX(6px); border-color: rgba(255, 46, 136, 0.55); }
.result span { font: 800 0.68rem/1 var(--ui); letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink); }
.result strong { display: block; margin: 8px 0 6px; font: 800 1.15rem/1.3 var(--ui); }
.result p { color: var(--mute); font-size: 0.94rem; }
[data-empty] { margin-top: 20px; color: var(--mute); }

/* Desk */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.step { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.step strong { display: block; font: 400 1.35rem/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin-top: 10px; color: var(--mute); font-size: 0.95rem; }
.desk-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.panel { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.panel label { display: block; margin: 18px 0 8px; font: 800 0.72rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.panel label:first-child { margin-top: 0; }
.panel select, .form-grid input, .form-grid textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #0d0919; font-weight: 600; }
.panel select:focus, .form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.panel h2 { font: 800 0.72rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.panel .btn, .panel .btn-ghost { width: 100%; }
.local-list { display: grid; gap: 8px; margin-top: 12px; color: var(--mute); font-size: 0.9rem; }
.local-list button { text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 600; }
.local-list button:hover { border-color: var(--pink); }
.sheet { display: grid; gap: 12px; font-size: 0.96rem; }
.sheet p strong { display: block; margin-bottom: 3px; font: 800 0.68rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sheet code { padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 0.88rem; word-break: break-all; }
.sheet ol { margin: 0; padding-left: 1.3em; color: var(--soft); }
.sheet small { color: var(--mute); }
.sheet code.schema { display: block; padding: 16px; border-radius: 14px; background: #0a0714; white-space: pre-wrap; max-height: 320px; overflow: auto; font: 500 0.8rem/1.55 ui-monospace, Consolas, monospace; color: #c9f7f1; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 6px; background: var(--cyan); }
.meter.warn span { background: var(--gold); } .meter.bad span { background: var(--pink); }
.page-title { margin: 12px 0; font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); text-transform: uppercase; }
.panel .kicker { border-radius: 14px; text-transform: none; letter-spacing: 0; font-weight: 600; line-height: 1.4; }
.draft { font-size: 1.08rem; }

/* Forms */
.form-grid { display: grid; gap: 16px; max-width: 640px; margin-top: 10px; font-family: var(--ui); }
.form-grid label { display: grid; gap: 8px; font: 800 0.72rem/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.form-grid input, .form-grid textarea { font: 600 1rem/1.5 var(--ui); letter-spacing: 0; text-transform: none; color: var(--text); }
.form-grid textarea { min-height: 170px; resize: vertical; }
.form-grid .btn { justify-self: start; }

/* Gate and 404 */
.gate { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: 60px 0; }
.gate .logo { margin-bottom: 30px; }
.gate .logo-a, .gate .logo-b { font-size: 2.2rem; }
.gate .dek { margin-top: 18px; display: inline-flex; padding: 8px 14px; border-radius: 10px; background: var(--pink); color: #fff; font: 800 0.8rem/1 var(--ui); letter-spacing: 0.16em; }
.gate-lines { margin-top: 16px; display: grid; gap: 4px; color: var(--soft); font-size: 0.95rem; }
.lang-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lang-picks .btn::after { content: none; }

/* Footer */
.site-footer { position: relative; margin-top: clamp(80px, 10vw, 140px); padding: 64px 0 0; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 12, 38, 0.7), rgba(7, 5, 13, 0.2)); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 36px; }
.foot-grid .logo { margin-bottom: 16px; }
.foot-grid h2 { margin-bottom: 14px; font: 800 0.72rem/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.foot-grid p { max-width: 44ch; font-size: 0.9rem; color: var(--mute); }
.foot-grid p + p { margin-top: 10px; }
.foot-links { display: grid; gap: 10px; }
.foot-links a { font-weight: 700; font-size: 0.95rem; color: var(--soft); text-decoration: none; width: fit-content; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.foot-links a:hover { color: #fff; background-size: 100% 2px; }
.legal { margin-top: 26px; max-width: 900px; font-size: 0.78rem; line-height: 1.6; color: var(--mute); }
.legal + .legal { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.legal a { color: var(--soft); }
.wordmark { margin: 36px 0 -0.1em; font: 400 clamp(3.4rem, 15.6vw, 15rem)/1.02 var(--display); letter-spacing: 0.01em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 46, 136, 0.9), rgba(155, 107, 255, 0.28) 70%, rgba(155, 107, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* Responsive */
@media (max-width: 1120px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-bottom: 150px; }
  .hero-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .hero-feed h2, .feed-all { grid-column: 1 / -1; }
  .feed-item + .feed-item { border-top: 0; border-radius: 16px; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .prose { max-width: none; }
  .desk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --top: 104px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .lead { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .postcard-rail { height: 420px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 10px; scrollbar-width: none; }
  .postcard-rail::-webkit-scrollbar { display: none; }
  .postcard { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
  .postcard:hover, .postcard:focus-visible { flex-grow: 0; }
  .postcard span { max-height: none; opacity: 1; margin-top: 8px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; margin-bottom: 4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .duo { min-height: 0; padding-top: 240px; }
  .duo::after { background: linear-gradient(180deg, rgba(7, 5, 13, 0) 0%, rgba(7, 5, 13, 0.82) 46%, rgba(7, 5, 13, 0.97) 100%); }
  .duo-tags { position: static; padding: 0 clamp(24px, 5vw, 60px) clamp(24px, 5vw, 60px); margin-top: -8px; }
  .duo-tag { width: auto; flex: 1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --top: 100px; --r: 20px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .bar { height: 58px; padding: 0 8px 0 14px; gap: 8px; }
  .logo-a, .logo-b { font-size: 1.36rem; }
  .tool { height: 40px; padding: 0 11px; }
  .search-open span, .search-open kbd { display: none; }
  .hero { min-height: 0; padding: calc(var(--top) + 34px) 0 124px; }
  .hero-media img { object-position: 70% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 5, 13, 0.82) 0%, rgba(7, 5, 13, 0.52) 34%, rgba(7, 5, 13, 0.72) 70%, var(--bg) 100%); }
  .hero-feed { grid-template-columns: 1fr; padding: 14px; border-radius: 22px; }
  .feed-item + .feed-item { border-top: 1px solid var(--line); border-radius: 0; }
  .cta-row .btn, .cta-row .btn-ghost { flex: 1 1 100%; }
  .plates { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -84px; }
  .plate { padding: 10px 10px 12px; border-radius: 14px; }
  .plate small { font-size: 1.1rem; }
  .plate span { font-size: 0.58rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid-3, .bento { grid-template-columns: 1fr; }
  .bento .lead { min-height: 440px; }
  .cat-grid .card:first-child { grid-column: auto; }
  .cat-grid .card:first-child .card-art { aspect-ratio: 16 / 10; }
  .cat-grid .card:first-child h3 { font-size: 1.16rem; }
  .duo { border-radius: 24px; padding-top: 200px; }
  .duo-tags { flex-direction: column; }
  .story-hero { min-height: 0; padding: calc(var(--top) + 150px) 0 34px; }
  .byline { align-items: flex-start; font-size: 0.8rem; }
  .prose { font-size: 1.12rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ad-slot.is-filled { width: min(100% - 32px, 1000px); }
  .stars { right: 12px; bottom: 12px; font-size: 0.92rem; padding: 8px 11px; }
  .drawer a { font-size: 1.8rem; }
}

@media (hover: none) {
  .postcard span { max-height: none; opacity: 1; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker-track { animation: none; }
  .js [data-reveal] { opacity: 1; }
  @view-transition { navigation: none; }
}
@media print {
  .site-header, .drawer, .palette, .comment-dialog, .site-footer, .toc, .ad-slot, .progress, .stars, .toast, .share-row { display: none !important; }
  body { background: #fff; color: #000; }
  .story-hero { min-height: 0; padding: 20px 0; }
  .story-bg, .hero-shade { display: none; }
  .prose, .story-hero .dek, .byline { color: #000; }
}
