/* Invertopedia. Colours come from Inverted's pfp: night navy, beak orange, pink sky, gold earring.
   Type and layout stay quiet so the colours and the stories carry it. */
:root {
  --bg: #fdf4fc;
  --bg-2: #f9e6f7;
  --card: #ffffff;
  --raised: #fcebfa;
  --ink: #110f26;
  --soft: #34306a;
  --muted: #625d94;
  --line: #f0d6ee;
  --line-2: #e2bddf;
  --accent: #a34f00;        /* beak orange, darkened to read on pink */
  --btn: #110f26;
  --btn-ink: #ffffff;
  --btn-hover: #2d2962;
  --hot: #b5179e;           /* pink, deepened for text */
  --gold: #8a6d00;
  --invert-bg: #110f26;
  --invert-ink: #fc9ef8;
  --elev: 0 1px 2px rgba(17, 15, 38, 0.06), 0 8px 24px -12px rgba(17, 15, 38, 0.18);
  --sky: linear-gradient(180deg, #fdf4fc 0%, #fadcf7 100%);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 10px;
  color-scheme: light;
}
/* Dark: follows the device unless the header toggle picked a side (html[data-theme]). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #110f26;
    --bg-2: #15132f;
    --card: #191738;
    --raised: #211e4a;
    --ink: #fbf6ee;
    --soft: #dcd5f0;
    --muted: #a39dd2;
    --line: #262257;
    --line-2: #34306c;
    --accent: #ff9f1a;
    --btn: #ff9500;
    --btn-ink: #110f26;
    --btn-hover: #ffad33;
    --hot: #fc9ef8;
    --gold: #ffd900;
    --invert-bg: #fc9ef8;
    --invert-ink: #110f26;
    --elev: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
    --sky: radial-gradient(70% 90% at 90% 0%, rgba(255, 112, 248, 0.18), transparent 65%), linear-gradient(180deg, #15132f 0%, #110f26 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #110f26;
  --bg-2: #15132f;
  --card: #191738;
  --raised: #211e4a;
  --ink: #fbf6ee;
  --soft: #dcd5f0;
  --muted: #a39dd2;
  --line: #262257;
  --line-2: #34306c;
  --accent: #ff9f1a;
  --btn: #ff9500;
  --btn-ink: #110f26;
  --btn-hover: #ffad33;
  --hot: #fc9ef8;
  --gold: #ffd900;
  --invert-bg: #fc9ef8;
  --invert-ink: #110f26;
  --elev: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
  --sky: radial-gradient(70% 90% at 90% 0%, rgba(255, 112, 248, 0.18), transparent 65%), linear-gradient(180deg, #15132f 0%, #110f26 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--invert-bg); color: var(--invert-ink); }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--hot) 60%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--hot); text-decoration-color: var(--hot); }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
.mark, .byline img, .host-pic { image-rendering: pixelated; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label.red { color: var(--accent); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.mark { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--soft); }
.nav a:hover { color: var(--ink); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; background: transparent; color: var(--soft); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.theme-toggle:hover { color: var(--ink); background: var(--raised); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* Hero */
.hero { padding: 96px 0 88px; background: var(--sky); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 20px 0 24px;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--hot); }
.lede { font-size: 20px; line-height: 1.55; color: var(--soft); margin: 0 0 32px; max-width: 32em; }

/* Signup and forms */
.signup { display: flex; gap: 10px; max-width: 520px; }
.signup input[type="email"] { flex: 1; min-width: 0; }
input, select, textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 20%, transparent); }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--btn);
  color: var(--btn-ink);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  min-height: 48px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--raised); color: var(--ink); }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.status { font-size: 14px; margin: 12px 0 0; min-height: 1.2em; }
.status.ok { color: var(--ink); }
.status.err { color: var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Infobox: the wiki card */
.infobox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--elev); overflow: hidden; }
.infobox-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.infobox-head strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.infobox dl { margin: 0; }
.infobox .row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.infobox .row:last-child { border-bottom: 0; }
.infobox dt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.infobox dd { margin: 0; }
.infobox .kill { background: var(--raised); }
.infobox .kill dd { color: var(--hot); font-weight: 600; }
.infobox-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.infobox-foot a { text-decoration: none; color: var(--accent); }
.infobox-foot a:hover { color: var(--hot); }

/* Sections */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; margin: 14px 0 18px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; margin: 0 0 6px; }
.section-lede { color: var(--soft); max-width: 36em; margin: 0 0 44px; font-size: 18px; }

.quote { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600; margin: 0; max-width: 16em; }
.quote-by { margin-top: 20px; }
.quote-body { margin-top: 28px; color: var(--soft); max-width: 36em; font-size: 19px; }

.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.parts li { padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.parts .n { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); }
.parts h3 { margin-top: 12px; }
.parts p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.55; }
.parts .tagcell { background: var(--invert-bg); border-color: transparent; color: var(--invert-ink); }
.parts .tagcell p, .parts .tagcell .n { color: inherit; opacity: 0.9; }

.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.layer { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.layer p { color: var(--soft); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.layer ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.layer li { padding: 9px 0 9px 18px; border-top: 1px solid var(--line); position: relative; color: var(--soft); }
.layer li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); }
.layer .label { display: block; margin-bottom: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 14px; font-weight: 500; color: var(--soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; background: var(--card); }

.entries { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.entries li { border-bottom: 1px solid var(--line); }
.entries a, .entries .soon { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 22px 12px; margin: 0 -12px; text-decoration: none; border-radius: 8px; transition: background 0.15s; }
.entries a:hover { background: var(--raised); color: var(--ink); }
.entries a:hover h3 { color: var(--hot); }
.entries .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.entries h3 { margin: 0 0 2px; }
.entries p { margin: 0; color: var(--soft); font-size: 15px; }
.entries .soon { color: var(--muted); }
.entries .soon .num { color: var(--muted); }
.entries .soon h3 { color: var(--muted); font-weight: 500; }

.cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta p { color: var(--soft); margin: 0 0 12px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Footer */
footer { padding: 36px 0 48px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Article (entry pages) */
.article-head { padding: 72px 0 48px; background: var(--sky); border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(40px, 5.6vw, 64px); margin: 14px 0 16px; }
.article-head .lede { margin: 0; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding: 56px 24px 88px; align-items: start; }
.article .infobox { position: sticky; top: 88px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 26px; margin: 52px 0 14px; display: flex; gap: 12px; align-items: baseline; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0; }
.prose p, .prose li { color: var(--soft); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--hot); }
.prose strong { color: var(--ink); font-weight: 600; }
.timeline { list-style: none; padding: 0 !important; margin: 0; border-left: 1px solid var(--line-2); }
.timeline li { padding: 0 0 18px 22px; position: relative; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); }
.timeline li.dead::before { background: var(--hot); border-color: var(--hot); }
.timeline time { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); display: block; margin-bottom: 2px; }
.killbox { background: var(--invert-bg); padding: 22px 26px; margin: 8px 0; border-radius: var(--r); }
.killbox p { color: var(--invert-ink); font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; margin: 0; }
.rule-box { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--card); padding: 20px 24px; border-radius: var(--r); }
.rule-box p { color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; margin: 0; }
.note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; }
.note p, .note li { color: var(--muted); }

/* Forms page */
.form { display: grid; gap: 24px; padding: 8px 0 88px; }
.field label { display: block; font-weight: 600; margin-bottom: 2px; font-size: 16px; }
.field .hint { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 400; }
.field .req { color: var(--hot); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.check input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--hot); }
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 14px 0 16px; }

/* Host */
.byline { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.byline img { width: 36px; height: 36px; border-radius: 50%; }
.byline b { color: var(--ink); font-weight: 600; }
.byline a { text-decoration: none; }
.byline a:hover b { color: var(--hot); }
.host { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: center; }
.host-pic { width: 240px; height: 240px; border-radius: 20px; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--hot) 70%, transparent); }
.host p { color: var(--soft); max-width: 36em; }
.host .sig { font-weight: 600; color: var(--hot); font-size: 20px; letter-spacing: -0.02em; margin-top: 18px; }
.host .btn.ghost { margin-top: 6px; }

@media (max-width: 900px) {
  .hero .wrap, .cta, .article { grid-template-columns: 1fr; }
  .article .infobox { position: static; order: -1; }
  .layers { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .host { grid-template-columns: 1fr; gap: 32px; }
  .host-pic { width: 160px; height: 160px; border-radius: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .article { padding: 40px 16px 64px; }
  .nav { gap: 18px; font-size: 13px; }
  .nav .hide-sm { display: none; }
  .brand { font-size: 17px; }
  .hero { padding: 56px 0 64px; }
  .lede { font-size: 18px; }
  section { padding: 64px 0; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .infobox .row { grid-template-columns: 100px minmax(0, 1fr); padding: 11px 16px; }
  .infobox-head, .infobox-foot { padding-left: 16px; padding-right: 16px; }
  .entries a, .entries .soon { grid-template-columns: 44px minmax(0, 1fr); padding: 18px 8px; margin: 0 -8px; }
  .entries .arrow { display: none; }
  .two { grid-template-columns: 1fr; }
}

/* ---------- Visual layer ---------- */
.ico { width: 22px; height: 22px; flex: none; }

/* Hero: dot grid + a fanned deck of entries */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--hot) 22%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 80% at 78% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 80% at 78% 40%, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; }
.deck { position: relative; padding-top: 96px; }
.deck .infobox { position: relative; z-index: 2; }
.deck-card {
  position: absolute; z-index: 1; top: 0; width: 49%; padding: 14px 18px 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--elev);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.dc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 4px; }
.deck-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.deck-card .big { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; color: var(--hot); }
.deck-card.back-2 { left: -10px; transform: rotate(-4deg); background: var(--invert-bg); border-color: transparent; }
.deck-card.back-2 strong, .deck-card.back-2 .big { color: var(--invert-ink); }
.deck-card.back-2 .label { color: color-mix(in srgb, var(--invert-ink) 70%, transparent); }
.deck-card.back-1 { right: -10px; top: 6px; transform: rotate(4deg); }
.deck:hover .back-1 { transform: rotate(6deg) translate(8px, -10px); }
.deck:hover .back-2 { transform: rotate(-6deg) translate(-8px, -10px); }

/* Receipts ticker */
.ticker { display: flex; overflow: hidden; background: var(--invert-bg); color: var(--invert-ink); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; flex: none; gap: 0; margin: 0; padding: 0; list-style: none; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker li a { display: flex; align-items: baseline; gap: 10px; padding: 16px 28px; white-space: nowrap; text-decoration: none; color: inherit; border-right: 1px solid color-mix(in srgb, var(--invert-ink) 22%, transparent); }
.ticker li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ticker b { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.ticker span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
@keyframes tick { to { transform: translateX(-100%); } }

/* Quote: oversized mark */
.quote { position: relative; }
.quote::before { content: "\201C"; position: absolute; left: -0.06em; top: -0.42em; font-size: 2.8em; line-height: 1; color: var(--hot); opacity: 0.16; pointer-events: none; }

/* Host art: pixel confetti + speech bubble */
.host-art { position: relative; width: 240px; height: 240px; }
.host-art .px { position: absolute; width: 14px; height: 14px; }
.px.p1 { background: #ff9500; top: -22px; left: 26px; }
.px.p2 { background: #fc9ef8; top: 40px; right: -30px; width: 10px; height: 10px; }
.px.p3 { background: #ffd900; bottom: -18px; right: 34px; width: 10px; height: 10px; }
.px.p4 { background: #ff70f8; bottom: 52px; left: -28px; }
.px.p5 { background: #ff9500; top: -8px; right: 8px; width: 8px; height: 8px; opacity: 0.7; }
.bubble { position: absolute; right: -36px; bottom: -14px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px 14px 14px 4px; padding: 8px 14px; font-size: 14px; font-weight: 600; box-shadow: var(--elev); white-space: nowrap; }

/* Stats band */
.stats { padding: 56px 0; background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats-grid div { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid var(--hot); }
.stats-grid b { font-size: clamp(36px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stats-grid span { font-size: 14px; color: var(--muted); max-width: 16em; }

/* Format cards get a hover lift */
.parts li { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.parts li:hover { transform: translateY(-3px); box-shadow: var(--elev); border-color: var(--line-2); }

/* Entries: featured + coming soon */
.featured { display: grid; grid-template-columns: 280px minmax(0, 1fr); text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--elev); transition: transform 0.2s, border-color 0.2s; }
.featured:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--ink); }
.featured-num { background: var(--invert-bg); color: var(--invert-ink); padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; position: relative; overflow: hidden; }
.featured-num::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--invert-ink) 25%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; opacity: 0.5; pointer-events: none; }
.featured-num .label { color: inherit; opacity: 0.75; }
.featured-num b { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.featured-num span:last-child { font-size: 14px; opacity: 0.8; }
.featured-body { padding: 32px 32px; }
.featured-body h3 { font-size: 30px; letter-spacing: -0.03em; margin: 10px 0 8px; }
.featured-body p { color: var(--soft); margin: 0 0 16px; max-width: 34em; }
.featured-body .more { font-weight: 600; color: var(--accent); font-size: 15px; }
.featured:hover .more { color: var(--hot); }
.soon-label { margin: 48px 0 16px; }
.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.soon-card { display: flex; flex-direction: column; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.soon-card:hover { transform: translateY(-3px); box-shadow: var(--elev); border-color: var(--line-2); }
.soon-top { display: flex; align-items: center; gap: 8px; color: var(--hot); margin-bottom: 18px; }
.soon-top .ico { width: 20px; height: 20px; }
.pill { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: 999px; padding: 2px 10px; }
.soon-num { font-size: 36px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.soon-unit { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.soon-card h3 { margin-bottom: 6px; }
.soon-card p { margin: 0 0 14px; color: var(--soft); font-size: 15px; line-height: 1.55; }
.soon-card .src { margin-top: auto; font-size: 13px; color: var(--muted); text-decoration: none; }
.soon-card .src:hover { color: var(--hot); }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cats li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font-weight: 500; font-size: 15px; }
.cats .ico { color: var(--hot); }

@media (max-width: 900px) {
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .deck { max-width: 520px; }
}
@media (max-width: 700px) {
  .host-art { width: 160px; height: 160px; }
  .bubble { right: -110px; bottom: 20px; }
  .featured { grid-template-columns: 1fr; }
  .featured-num { padding: 24px; }
  .featured-num b { font-size: 52px; }
  .featured-body { padding: 24px; }
}
@media (max-width: 600px) {
  .soon-grid { grid-template-columns: 1fr; }
  .deck { padding-top: 90px; }
  .deck-card { width: 50%; padding: 12px 14px 24px; }
  .deck-card .big { font-size: 22px; }
  .deck-card.back-1 { right: -4px; }
  .deck-card.back-2 { left: -4px; }
  .ticker li a { padding: 14px 20px; }
  .quote::before { font-size: 2.4em; top: -0.4em; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
  .ticker-track[aria-hidden] { display: none; }
  .deck-card, .parts li, .soon-card, .featured { transition: none; }
}
