/* Trendi — dark, dense, velocity-first. Matches the Trend Radar canvas. */
:root {
  --bg: #0e0f11;
  --bar: #121316;
  --card: #141619;
  --card2: #1a1c20;
  --raised: #1d2024;
  --line: #2a2d31;
  --line2: #3a3e44;
  --row: #23262b;
  --text: #ecedee;
  --text2: #c9cdd1;
  --muted: #9ba1a6;
  --accent: #c6f432;
  --accent-hover: #e2ff8a;
  --on-accent: #0e0f11;
  --warm: #ffb37a;
  --blue: #a9c8ff;
  --danger: #ff8f8f;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* A page never scrolls sideways. Wide things (the schedule grid, tables) scroll inside their own box.
   "clip" keeps sticky bars working; "hidden" is for browsers that don't know "clip". */
html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.86em; background: var(--raised); padding: 1px 5px; border-radius: 5px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 2200px; margin: 0 auto; padding-left: clamp(16px, 3vw, 64px); padding-right: clamp(16px, 3vw, 64px); }
/* Big monitors: use the width, and scale everything up a touch so text isn't tiny on 27"+ screens */
/* The zoom also multiplies anything sized in vh, so "100vh" ends up taller than the screen (pages scroll, centred
   boxes sit low, the sidebar runs off the bottom). --vh / --dvh are one real screen height: use them, not 100vh. */
html { --vh: 100vh; --dvh: 100dvh; }
@media (min-width: 1800px) { html { zoom: 1.08; --vh: calc(100vh / 1.08); --dvh: calc(100dvh / 1.08); } }
@media (min-width: 2300px) { html { zoom: 1.18; --vh: calc(100vh / 1.18); --dvh: calc(100dvh / 1.18); } }
@media (min-width: 3000px) { html { zoom: 1.35; --vh: calc(100vh / 1.35); --dvh: calc(100dvh / 1.35); } }
@media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.main { padding-top: 28px; padding-bottom: 64px; }
.foot { padding-bottom: 32px; }

/* top bar */
.topbar { border-bottom: 1px solid var(--line); background: var(--bar); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { color: var(--accent); }
.brand:hover { color: var(--text); }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); background: var(--card2); }
.nav a.on { color: var(--text); background: var(--raised); font-weight: 600; }
.topright { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: none; }
.topright > * { flex: none; }

.banner { background: #1d2310; border-bottom: 1px solid #3a4a12; color: #e6f5b8; font-size: 14px; }
.banner .wrap { padding-top: 10px; padding-bottom: 10px; }
.flash { background: var(--raised); border-bottom: 1px solid var(--line); font-size: 14px; }
.flash .wrap { padding-top: 10px; padding-bottom: 10px; }

/* type */
.h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.h2 { margin: 0; font-size: 20px; font-weight: 700; }
.h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.small2 { font-size: 14px; }
.xsmall { font-size: 12px; }
.strong { font-weight: 600; }
.body2 { color: var(--text2); }
.m0 { margin: 0; }
.mt4 { margin-top: 4px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt22 { margin-top: 22px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; } .mb22 { margin-bottom: 22px; }
.err { color: var(--danger); }
.center-text { text-align: center; align-items: center; }

/* layout helpers */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.wrapflex { flex-wrap: wrap; }
.grow { flex: 1 1 auto; }
.minw0 { min-width: 0; }
.gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; } .gap14 { gap: 14px; } .gap16 { gap: 16px; } .gap18 { gap: 18px; }
.inline { display: inline; margin: 0; }
.plain { list-style: none; margin: 0; padding: 0; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.maincol { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.rail { flex: 1 1 300px; max-width: 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.layout.brief .maincol { flex-basis: 560px; gap: 18px; }
.leftcol { flex: 1 1 300px; max-width: 380px; min-width: 0; }
@media (max-width: 720px) { .leftcol { max-width: none; } }
.two { display: flex; flex-wrap: wrap; gap: 18px; }
.two > * { flex: 1 1 280px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: start; }

/* cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pad { padding: 18px; }
@media (min-width: 900px) { .pad { padding: 20px; } }
.strongborder { border-color: var(--line2); background: #17191c; }
.empty { border: 1px dashed var(--line2); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.empty.big { padding: 48px 24px; }
.empty .h3 { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--raised); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 600;
  min-height: 44px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--line2); color: var(--text); background: #24272c; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 700; }
.btn.primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.icon-btn { width: 44px; padding: 0; flex: none; }
.btn[disabled], .btn[aria-busy='true'] { opacity: 0.6; cursor: progress; }

/* inputs */
.sel, .inp {
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font: inherit; font-size: 15px; min-height: 44px; width: 100%;
}
.sel { width: auto; }
textarea.inp { resize: vertical; min-height: 80px; }
.inp:focus, .sel:focus { border-color: var(--line2); outline: 2px solid var(--accent); outline-offset: 1px; }
.inp:disabled { opacity: 0.6; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field .sel { width: 100%; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; color: var(--text); font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.chip-check { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; min-height: 40px; cursor: pointer; color: var(--text); font-size: 13px; }
.chip-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.chip-check:has(input:checked) { border-color: var(--accent); background: rgba(198, 244, 50, 0.08); }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; margin-bottom: 28px; }
.seg { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg-btn { color: var(--muted); text-decoration: none; border-radius: 8px; padding: 9px 14px; min-height: 40px; display: inline-flex; align-items: center; font-size: 14px; }
.seg-btn:hover { color: var(--text); }
.seg-btn.on { background: #23262b; color: var(--text); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { color: var(--text); text-decoration: none; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 14px; font-size: 13px; min-height: 40px; display: inline-flex; align-items: center; }
.chip-btn:hover { color: var(--text); border-color: var(--muted); }
.chip-btn.on { border-color: var(--accent); color: var(--accent); background: rgba(198, 244, 50, 0.08); }
.chip { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; display: inline-flex; align-items: center; }
.chip.strong { color: var(--text); border-color: var(--line2); font-weight: 600; }
.chip.demo { color: var(--warm); border-color: rgba(255, 179, 122, 0.4); }

/* pills */
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.pill.tiny { padding: 1px 6px; font-size: 11px; }
.stage-rising { background: rgba(198, 244, 50, 0.14); color: var(--accent); }
.stage-peaking { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.stage-cooling { background: rgba(255, 154, 77, 0.16); color: var(--warm); }
.status-assigned { background: rgba(120, 170, 255, 0.16); color: var(--blue); }
.status-filmed { background: rgba(255, 154, 77, 0.16); color: var(--warm); }
.status-posted { background: rgba(198, 244, 50, 0.14); color: var(--accent); }
.status-generating { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.run-ok { background: rgba(198, 244, 50, 0.14); color: var(--accent); }
.run-partial { background: rgba(255, 154, 77, 0.16); color: var(--warm); }
.run-error { background: rgba(255, 120, 120, 0.16); color: var(--danger); }
.run-running { background: rgba(120, 170, 255, 0.16); color: var(--blue); }
.g-up { color: var(--accent); }
.g-down { color: var(--warm); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--accent); }
.dot.off { background: var(--line2); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.table-wrap.flat { border: 0; background: transparent; border-radius: 0; }
.tbl { width: 100%; min-width: 760px; border-collapse: collapse; }
.tbl.compact { min-width: 520px; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; padding: 12px 8px; }
.tbl th:first-child, .tbl td:first-child { padding-left: 16px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 16px; }
.tbl.compact th:first-child, .tbl.compact td:first-child { padding-left: 0; }
.tbl td { padding: 12px 8px; border-top: 1px solid var(--row); vertical-align: middle; }
.snd { display: flex; align-items: center; gap: 12px; }
.snd-art { width: 40px; height: 40px; border-radius: 8px; background: #23262b; object-fit: cover; flex: none; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.strong-link { color: var(--text); font-weight: 600; text-decoration: none; }
.strong-link:hover { color: var(--accent); }
.spark polyline { stroke: var(--text); }
.stage-line-rising polyline { stroke: var(--accent); }
.stage-line-cooling polyline { stroke: var(--warm); }

/* video grid */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; }
.vthumb { position: relative; aspect-ratio: 9 / 13; background: var(--raised); overflow: hidden; }
.vthumb[data-preview] { cursor: pointer; }
/* hover preview: a 9:16 player centre-cropped into the 9:13 card */
.vthumb .preview { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 9 / 16; transform: translateY(-50%); border: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; background: #000; }
.vthumb .preview.on { opacity: 1; }
.vthumb .badge, .vthumb .pill.tr { z-index: 2; }
.vthumb .play-hint { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: rgba(14, 15, 17, 0.85); display: flex; align-items: center; justify-content: center; color: var(--text); }
.vthumb.playing .play-hint { opacity: 0; }
.vthumb .sound-hint { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: none; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; background: rgba(14, 15, 17, 0.85); color: var(--text); padding: 5px 8px; border-radius: 6px; }
.vthumb.playing.muted .sound-hint { display: inline-flex; }
.vthumb.playing .badge.bl { opacity: 0; }
.tallthumb .player { width: 100%; height: 100%; border: 0; display: block; background: #000; }
@media (prefers-reduced-motion: reduce) { .vthumb .preview { transition: none; } }
.thumb, .mini { width: 100%; height: 100%; overflow: hidden; background: var(--raised); display: flex; align-items: center; justify-content: center; color: #5e646b; }
.thumb img, .mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini { width: 36px; height: 52px; border-radius: 6px; flex: none; }
.mini svg { width: 18px; height: 18px; }
.badge { position: absolute; font-size: 11px; font-weight: 600; background: rgba(14, 15, 17, 0.85); padding: 4px 8px; border-radius: 6px; }
.badge.tl { top: 10px; left: 10px; }
.badge.bl { bottom: 10px; left: 10px; font-size: 12px; }
.vthumb .pill.tr { position: absolute; top: 10px; right: 10px; border-radius: 6px; font-size: 11px; font-weight: 700; padding: 4px 8px; }
.vthumb .stage-peaking { background: rgba(14, 15, 17, 0.85); }
.vbody { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cap { margin: 0; font-size: 13px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cap3 { color: var(--text2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sound-link { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; min-width: 0; }
.sound-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sound-link svg { width: 14px; height: 14px; flex: none; }
.sound-link:hover { color: var(--text); }
.vactions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.vactions form { margin: 0; }
.vactions .grow { flex: 1; }

/* rail bits */
.pick { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: var(--card2); }
.list-rows li + li { border-top: 1px solid var(--row); }
.rowlink { color: var(--text); text-decoration: none; padding: 12px 0; min-height: 44px; }
.rowlink:hover { color: var(--text); }
.rowlink:hover .strong { color: var(--accent); }

/* sound page */
.sound-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 16px; }
.art-lg { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.stats4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sound-head .stats4 { grid-template-columns: repeat(4, minmax(90px, 1fr)); flex: 1 1 380px; }
@media (max-width: 560px) { .sound-head .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--card); }
.stat .mono { font-size: 16px; }
.tip { background: var(--card2); border-radius: 8px; padding: 10px 12px; color: var(--text2); }

/* brief */
.tallthumb { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.copyrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card2); border-radius: 10px; padding: 8px 8px 8px 14px; }
.copyrow span { min-width: 0; overflow-wrap: anywhere; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--accent); animation: spin 0.9s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* briefs board */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.brief-tile { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: var(--card2); color: var(--text); text-decoration: none; }
.brief-tile:hover { color: var(--text); outline: 1px solid var(--line2); }

/* creators */
details.creator > summary { list-style: none; cursor: pointer; min-height: 44px; }
details.creator > summary::-webkit-details-marker { display: none; }
details.creator + details.creator { margin-top: 12px; }
.maincol > details.creator { margin: 0; }

/* settings */
.sticky-save { position: sticky; bottom: 12px; z-index: 5; }
.sticky-save .btn { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.test-out { margin-left: 8px; }
.test-out.ok { color: var(--accent); }
.test-out.bad { color: var(--danger); }
.run summary { cursor: pointer; min-height: 40px; }
.log { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text2); white-space: pre-wrap; overflow-x: auto; max-height: 360px; margin: 10px 0 0; }
.ingest-status { margin: -10px 0 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); font-size: 14px; }
.ingest-status .log { max-height: 180px; }

/* login */
.login-wrap { min-height: var(--vh); display: flex; align-items: center; justify-content: center; padding: 16px; }
.login { width: 100%; max-width: 380px; }

/* toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 60; }

/* ================= Home (animated, search-first) ================= */
.block { display: block; }
.accent { color: var(--accent); }
.home { overflow: hidden; }
.hero { position: relative; overflow: hidden; height: 860px; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.radar { position: absolute; left: 50%; top: 430px; width: 1160px; height: 1160px; margin: -580px 0 0 -580px; pointer-events: none; }
.radar svg { position: absolute; inset: 0; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, rgba(198, 244, 50, 0.05) 340deg, rgba(198, 244, 50, 0.22) 360deg); animation: spin 8s linear infinite; }
.radar-fade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at center, rgba(14, 15, 17, 0.92) 0, rgba(14, 15, 17, 0.78) 34%, rgba(14, 15, 17, 0) 62%); }
.blips { position: absolute; left: 50%; top: 430px; width: 1160px; height: 1160px; margin: -580px 0 0 -580px; pointer-events: none; }
.blip { position: absolute; width: 0; height: 0; pointer-events: auto; color: var(--text); text-decoration: none; }
.blip-dot, .blip-ring { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; }
.blip-dot { background: var(--accent); animation: ping 8s linear infinite; animation-delay: var(--d); }
.blip-ring { border: 1.5px solid var(--accent); animation: ring 8s ease-out infinite; animation-delay: var(--d); }
.blip-tag { position: absolute; left: 16px; top: -17px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 22, 25, 0.92); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px; animation: tag 8s ease-out infinite; animation-delay: var(--d); }
.blip.left .blip-tag { left: auto; right: 16px; }
.blip-tag b { font-weight: 700; }
.blip-tag i { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); }
.blip:hover .blip-tag { border-color: var(--accent); opacity: 1 !important; }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(20, 22, 25, 0.8); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--text2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live 1.6s ease-in-out infinite; }
.hero-h { margin: 0; font-size: clamp(40px, 6.4vw, 70px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; }
.hero-h span { color: var(--accent); }
.hero-sub { margin: 0; max-width: 600px; color: #a4aaaf; font-size: 18px; }
.hero-search { width: 100%; max-width: 780px; margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.sbar { position: relative; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1.5px solid var(--accent); border-radius: 20px; padding: 10px 10px 10px 22px; animation: glow 2.8s ease-out 1s infinite; }
.sbar.sm { border-radius: 14px; padding: 6px 6px 6px 16px; border-color: var(--line2); animation: none; }
.sbar.sm:focus-within { border-color: var(--accent); }
.sbar-ico { color: var(--accent); display: flex; flex: none; animation: bob 3s ease-in-out infinite; }
.sbar-field { position: relative; flex: 1; min-width: 0; text-align: left; }
.sbar-field input { width: 100%; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 19px; padding: 16px 0; }
.sbar.sm .sbar-field input { font-size: 15px; padding: 10px 0; }
.sbar-field input::-webkit-search-cancel-button { filter: invert(0.6); }
.hero .sbar-field input::placeholder { color: transparent; }
.sbar-field input::placeholder, .hero .sbar-field input:focus::placeholder { color: #6e757b; }
.sghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 19px; color: #6e757b; white-space: nowrap; overflow: hidden; max-width: 100%; pointer-events: none; }
.caret { display: inline-block; width: 2px; height: 22px; margin-left: 2px; vertical-align: -4px; background: var(--accent); animation: blink 1s step-end infinite; }
.sbar-field input:focus ~ .sghost, .sbar-field input:not(:placeholder-shown) ~ .sghost { display: none; }
.sbar-go { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 13px; padding: 0 22px; min-height: 54px; font: inherit; font-weight: 800; cursor: pointer; }
.sbar-go:hover { background: var(--accent-hover); }
.sbar.sm .sbar-go { min-height: 44px; border-radius: 10px; padding: 0 16px; font-weight: 700; }
.search-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.search-opts.center { justify-content: center; }
.search-opts label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.search-opts .sel { background: var(--card); border-radius: 10px; }
.tries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; }
.try { color: #d5d8db; text-decoration: none; border: 1px solid #2e3237; background: rgba(20, 22, 25, 0.75); border-radius: 999px; padding: 0 15px; min-height: 42px; display: inline-flex; align-items: center; font-size: 13px; }
.try:hover { color: var(--text); border-color: var(--accent); }
.rise { animation: rise 0.7s ease-out both; animation-delay: var(--d, 0s); }

.ticker { border-top: 1px solid #1f2226; border-bottom: 1px solid #1f2226; background: #0f1113; overflow: hidden; padding: 6px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; color: var(--text); text-decoration: none; padding: 8px 18px; min-height: 40px; }
.tick:hover { color: var(--accent); }
.tick .mono { font-size: 12px; color: #8e959b; }
.tick-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tick-dot.fmt { background: #5e646b; }
.tick-dot.stage-peaking { background: var(--text); }
.tick-dot.stage-cooling { background: var(--warm); }

.now { padding: 64px 0 24px; }
.now-head { margin-bottom: 18px; align-items: flex-end; }
.sect-h { margin: 0 0 4px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.strip { overflow: hidden; padding: 10px 0 18px; }
.strip-track { display: flex; width: max-content; gap: 18px; padding-left: 24px; animation: marqueeR 70s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.rcard { width: 200px; flex: none; border: 1px solid var(--row); border-radius: 16px; background: #131518; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease; }
.rcard:hover { transform: translateY(-6px); border-color: var(--line2); }
.rcard .vthumb { aspect-ratio: auto; height: 290px; }
.rbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 20px; padding-top: 32px; padding-bottom: 88px; }
.panel { border: 1px solid var(--row); border-radius: 20px; background: #121417; padding: 22px 22px 10px; min-width: 0; }
.panel-head { align-items: flex-end; margin-bottom: 10px; }
.panel-h { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.prow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #1e2125; min-height: 72px; animation: rise 0.6s ease-out both; animation-delay: calc(0.1s + var(--i) * 0.08s); }
.prank { width: 18px; flex: none; font-size: 13px; color: #8e959b; }
.pnum { width: 70px; flex: none; text-align: right; font-size: 13px; }
.pspark { flex: none; }
.spark.draw polyline { stroke-dasharray: 320; animation: draw 1.6s ease-out both; animation-delay: calc(0.3s + var(--i) * 0.1s); }
.pbar { width: 120px; flex: none; height: 8px; border-radius: 4px; background: #1e2125; overflow: hidden; }
.pbar span { display: block; height: 100%; border-radius: 4px; background: var(--accent); transform-origin: left; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(0.3s + var(--i) * 0.1s); }
.sp-play { position: relative; width: 48px; height: 48px; flex: none; border: 0; border-radius: 12px; background: var(--raised); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; padding: 0; }
.sp-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.sp-play > span { position: relative; z-index: 1; display: flex; }
.sp-play .sp-pause, .sp-play .eqbars { display: none; }
.sp-play.playing .sp-ico { display: none; }
.sp-play.playing .eqbars { display: flex; }
.sp-play.playing:hover .eqbars { display: none; }
.sp-play.playing:hover .sp-pause { display: flex; }
.sp-play:hover { outline: 1px solid var(--accent); }
.eqbars { align-items: flex-end; gap: 3px; height: 18px; }
.eqbars span { width: 3px; height: 100%; background: var(--accent); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eqbars span:nth-child(2) { animation-duration: 1.2s; animation-delay: -0.3s; }
.eqbars span:nth-child(3) { animation-duration: 1s; animation-delay: -0.6s; }
@media (max-width: 640px) {
  .pspark, .pbar { display: none; }
  .hero { height: auto; min-height: 640px; padding: 72px 16px; }
  .sbar { padding-left: 14px; }
  .sbar-go { padding: 0 14px; }
  .sghost, .sbar-field input { font-size: 16px; }
  .panel { padding: 18px 16px 8px; }
}
@media (max-width: 760px) { .blips { display: none; } }

/* search results */
.rsearch { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; background: var(--card2); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 4px 4px 12px; font-size: 13px; min-height: 40px; }
.fchip b { font-weight: 600; }
.fchip-x { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.fchip-x:hover { color: var(--text); background: var(--raised); }
.fchip:not(:has(.fchip-x)) { padding-right: 12px; }
.working { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.working-p { margin: 0; font-size: 16px; line-height: 1.55; }
.wstats { margin: 0; display: flex; gap: 28px; }
.wstats dt { font-size: 12px; color: var(--muted); }
.wstats dd { margin: 2px 0 0; font-size: 22px; }
.eyebrow.accent { color: var(--accent); }
.why { margin: 0; font-size: 13px; color: var(--text2); }
.badge.match { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.badge.hide { display: none; }
.searching { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 22px; }
.mini-radar { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line2); flex: none; overflow: hidden; }
.mini-radar span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 250deg, rgba(198, 244, 50, 0.5) 360deg); animation: spin 1.4s linear infinite; }
.skeleton .sk { aspect-ratio: 9 / 15; background: linear-gradient(90deg, var(--card) 0, var(--card2) 50%, var(--card) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 6% { transform: scale(1.5); opacity: 1; } 40% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1); opacity: 0.35; } }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.9; } 35% { transform: scale(3.2); opacity: 0; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes tag { 0% { opacity: 0.3; transform: translateY(4px); } 5% { opacity: 1; transform: translateY(0); } 55% { opacity: 1; transform: translateY(0); } 75% { opacity: 0.3; } 100% { opacity: 0.3; transform: translateY(4px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.28), 0 24px 60px rgba(0, 0, 0, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(198, 244, 50, 0), 0 24px 60px rgba(0, 0, 0, 0.5); } 100% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0), 0 24px 60px rgba(0, 0, 0, 0.5); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .home *, .searching *, .skeleton * { animation: none !important; }
  .sbar { animation: none; }
  .ticker-track, .strip-track { animation: none; }
  .ticker, .strip { overflow-x: auto; }
}

/* Trends dropdown in the top nav */
.navdd { position: relative; display: inline-flex; }
.navdd-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: var(--muted); font: inherit; padding: 10px 12px; border-radius: 8px; min-height: 44px; cursor: pointer; }
.navdd-btn svg { transition: transform 0.2s ease; }
.navdd:hover .navdd-btn, .navdd:has(:focus-visible) .navdd-btn, .navdd.open .navdd-btn { color: var(--text); background: var(--card2); }
.navdd:hover .navdd-btn svg, .navdd:has(:focus-visible) .navdd-btn svg, .navdd.open .navdd-btn svg { transform: rotate(180deg); }
.navdd.on .navdd-btn { color: var(--text); font-weight: 600; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 40; padding-top: 8px; min-width: 230px; }
.dd-menu::before { content: ''; position: absolute; inset: 8px 0 0; background: #15171a; border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.navdd:hover .dd-menu, .navdd:has(:focus-visible) .dd-menu, .navdd.open .dd-menu { display: block; animation: ddIn 0.16s ease-out; }
.dd-group { position: relative; padding: 0 6px; }
.dd-group:first-child { padding-top: 6px; }
.dd-group:last-child { padding-bottom: 6px; }
.nav .dd-item { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--text); padding: 10px 12px; border-radius: 10px; min-height: 44px; position: relative; }
.nav .dd-item svg:first-child { color: var(--muted); flex: none; }
.nav .dd-item:hover, .dd-group:hover > .dd-item, .dd-group:focus-within > .dd-item { background: var(--raised); color: var(--text); }
.dd-group:hover > .dd-item svg:first-child, .dd-group:focus-within > .dd-item svg:first-child { color: var(--accent); }
.dd-note { font-size: 11px; color: var(--muted); }
.dd-sub { display: none; position: absolute; left: 100%; top: -2px; padding-left: 8px; min-width: 230px; z-index: 41; }
.dd-sub::before { content: ''; position: absolute; inset: 0 0 0 8px; background: #15171a; border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.dd-group:hover > .dd-sub, .dd-group:focus-within > .dd-sub { display: block; animation: ddIn 0.14s ease-out; }
.dd-sub-item { position: relative; display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 1px; margin: 6px; padding: 9px 12px !important; border-radius: 10px; color: var(--text) !important; min-height: 44px; }
.dd-sub-item + .dd-sub-item { margin-top: -4px; }
.dd-sub-item span { font-weight: 600; }
.dd-sub-item small { font-size: 12px; color: var(--muted); }
.dd-sub-item:hover, .dd-sub-item:focus-visible { background: var(--raised) !important; }
.dd-sub-item:hover span { color: var(--accent); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dd-menu, .dd-sub { animation: none !important; } }
/* touch / narrow screens: submenus open inline under each platform */
@media (max-width: 760px), (hover: none) {
  .dd-menu { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; }
  .dd-sub { position: static; display: block; padding: 0 0 4px 26px; min-width: 0; }
  .dd-sub::before { display: none; }
  .dd-sub-item { margin: 2px 0; }
  .navdd:hover .dd-menu, .navdd:has(:focus-visible) .dd-menu { display: none; }
  .navdd.open .dd-menu { display: block; }
}

/* ================= Halo header + floating pill nav ================= */
.halo { padding-top: 16px; position: relative; z-index: 21; }
.halo-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.halo-left { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; }
.live-dot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: live 1.6s ease-in-out infinite; }
.halo-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 28px; letter-spacing: -0.03em; }
.halo-logo:hover { color: var(--text); }
.halo-logo svg { width: 34px; height: 34px; color: var(--accent); }
.halo-logo svg path { transform-origin: 13px 13px; animation: spin 6s linear infinite; }
.halo-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.halo-ic { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.halo-ic:hover { border-color: var(--accent); color: var(--accent); }
.halo-sel { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 13px; padding: 0 30px 0 14px; max-width: 180px; }
.halo-sel:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.pillbar { position: sticky; top: 10px; z-index: 20; display: flex; justify-content: center; padding: 14px 16px 6px; pointer-events: none; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(20, 22, 25, 0.78); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); max-width: 100%; overflow-x: auto; scrollbar-width: none; transition: box-shadow 0.25s ease, background 0.25s ease; }
.pill::-webkit-scrollbar { display: none; }
.pillbar.stuck .pill { background: rgba(14, 15, 17, 0.88); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(198, 244, 50, 0.08); }
.pl { flex: none; display: inline-flex; align-items: center; gap: 6px; color: #a4aaaf; text-decoration: none; padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 14px; min-height: 40px; background: transparent; border: 0; cursor: pointer; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.pl:hover, .pl[aria-expanded='true'] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.pl.on { color: var(--on-accent); background: var(--accent); font-weight: 700; }
.pl.on:hover { color: var(--on-accent); background: var(--accent-hover); }
.pl-dd svg { transition: transform 0.2s ease; }
.pl-dd[aria-expanded='true'] svg { transform: rotate(180deg); }
.pl-sep { flex: none; width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.pl-count { font-size: 11px; background: #23262b; color: var(--text); border-radius: 999px; padding: 1px 7px; }
.pl.on .pl-count { background: rgba(14, 15, 17, 0.2); color: var(--on-accent); }
.pl-icon { padding: 9px 12px; }

.mega { pointer-events: auto; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); width: min(920px, calc(100vw - 32px)); display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; background: #15171a; border: 1px solid var(--line2); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.mega.open { display: grid; animation: ddIn 0.18s ease-out; }
.mg-head { display: flex; align-items: center; gap: 8px; padding: 0 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mg-head span { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mg-head span.live { color: var(--accent); }
.mg-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
.mg-row:hover, .mg-row:focus-visible { background: var(--raised); color: var(--text); }
.mg-row:hover b { color: var(--accent); }
.mg-row b { display: block; font-size: 14px; }
.mg-row small { display: block; font-size: 12px; color: var(--muted); }
.mg-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.mg-row:hover .mg-ico { color: var(--accent); }
.mg-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 200px; padding: 16px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow: hidden; }
.mg-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid #2a2d31; box-shadow: 0 0 0 26px rgba(42, 45, 49, 0.25), 0 0 0 52px rgba(42, 45, 49, 0.12); }
.mg-card:hover { border-color: var(--accent); color: var(--text); }
.mg-card b { font-size: 20px; position: relative; z-index: 1; }
.mg-card small { font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.mg-badge { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; background: rgba(198, 244, 50, 0.16); color: var(--accent); padding: 4px 8px; border-radius: 6px; z-index: 1; }
.mg-rate { position: absolute; top: 14px; right: 14px; font-size: 12px; color: var(--muted); z-index: 1; }

/* the old top bar is replaced; content starts right under the pill */
.main { padding-top: 22px; }
@media (min-width: 641px) { .hero { height: 800px; } .radar, .blips { top: 380px; } }
@media (max-width: 760px) {
  .halo-row { grid-template-columns: auto 1fr; }
  .halo-left { display: none; }
  .halo-logo { font-size: 22px; }
  .halo-logo svg { width: 28px; height: 28px; }
  .pillbar { justify-content: flex-start; padding: 12px 12px 6px; }
  .mega { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; transform: none; grid-template-columns: 1fr; max-height: calc(var(--vh) - 80px); overflow-y: auto; }
  .mg-card { min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .live-dot2, .halo-logo svg path, .mega.open { animation: none !important; } }

/* ================= Podium + rich list (Hashtags, Sounds) ================= */
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-bottom: 34px; }
.pod { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; background: #131518; border: 1px solid var(--row); color: var(--text); text-decoration: none; overflow: hidden; min-height: 300px; transition: transform 0.2s ease, border-color 0.2s ease; }
.pod.first { border-color: var(--accent); }
a.pod:hover, .pod:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.pod > * { position: relative; }
.pod-num { position: absolute !important; right: 14px; top: -26px; font-size: 150px; font-weight: 900; letter-spacing: -0.06em; color: #1a1d21; line-height: 1; pointer-events: none; }
.pod-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pod-name { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; color: var(--text); text-decoration: none; overflow-wrap: anywhere; line-height: 1.1; }
.pod-name.sm { font-size: 22px; }
a.pod-name:hover { color: var(--accent); }
.pod-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pod-big .mono { font-size: 42px; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.pod-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.pod-sound { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pod-spark { width: 100%; height: 56px; display: block; }
.pod-spark polyline { stroke-width: 2.5; }
.spark-empty { height: 56px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 12px; }
.sbox { display: block; background: #1a1c20; border-radius: 12px; padding: 9px 12px; min-width: 0; }
.sbox-l { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sbox-v { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbar { display: block; height: 4px; border-radius: 2px; background: #23262b; margin-top: 5px; overflow: hidden; }
.mbar span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.pod .btn { justify-content: center; text-align: center; }
.tstrip { display: flex; gap: 5px; flex: none; }
.tthumb { width: 40px; height: 56px; border-radius: 7px; overflow: hidden; background: #23262b; display: flex; align-items: center; justify-content: center; color: #5e646b; flex: none; }
.tthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tthumb svg { width: 16px; height: 16px; }
.pod .tstrip .tthumb { width: 54px; height: 76px; border-radius: 9px; }
.sect-h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.rlist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rlist { display: flex; flex-direction: column; gap: 10px; }
.rrow { display: grid; grid-template-columns: 44px auto minmax(160px, 1.3fr) minmax(340px, 3fr) 100px 120px; align-items: center; gap: 18px; padding: 12px 18px; border-radius: 16px; background: #131518; border: 1px solid var(--row); color: var(--text); text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.rrow:hover { border-color: var(--line2); background: #16181c; color: var(--text); }
.rrank { font-size: 22px; color: #3a3e44; }
.rname b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; transition: color 0.2s ease; }
.rname small { display: block; font-size: 12px; color: var(--muted); }
.rlink { color: var(--text); text-decoration: none; display: block; }
.rrow:hover .rname b { color: var(--accent); }
.rstats { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; }
.rstats .sbox-v { font-size: 16px; }
.rspark { display: block; width: 100%; height: 22px; margin-top: 2px; }
.rstage { justify-self: start; }
.rgo { justify-self: end; border: 1px solid var(--line); background: var(--raised); border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--text); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.rrow:hover .rgo, .rgo:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.snd-row .sp-play { width: 52px; height: 52px; }
.sp-play.big { width: 72px; height: 72px; border-radius: 14px; }
@media (max-width: 1180px) {
  .rrow { grid-template-columns: 36px auto minmax(0, 1fr) auto; grid-template-areas: 'rank thumbs name stage' 'stats stats stats stats'; row-gap: 12px; }
  .rrank { grid-area: rank; font-size: 18px; }
  .rrow > .tstrip, .rrow > .sp-play { grid-area: thumbs; }
  .rname { grid-area: name; }
  .rstage { grid-area: stage; justify-self: end; }
  .rstats { grid-area: stats; }
  .rgo { display: none; }
}
@media (max-width: 640px) {
  .rrow { padding: 12px; gap: 10px; }
  .rrow > .tstrip { display: none; }
  .rrow { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: 'rank name stage' 'stats stats stats'; }
  .snd-row { grid-template-columns: 30px auto minmax(0, 1fr); grid-template-areas: 'rank thumbs name' 'stats stats stats'; }
  .snd-row .rstage { display: none; }
  .rstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pod-num { font-size: 110px; }
  .pod-big .mono { font-size: 34px; }
}

/* ================= Simplified nav: TikTok / Instagram dropdowns ================= */
.pill.simple { overflow: visible; gap: 4px; padding: 6px; }
.pdd { position: relative; display: inline-flex; }
.pl-plat { padding: 10px 20px; font-size: 15px; font-weight: 600; gap: 8px; }
.pl-plat svg:first-child { flex: none; }
.pmenu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 260px; padding: 6px; z-index: 40; background: #15171a; border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.pmenu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.pdd.open .pmenu { display: block; animation: ddIn 0.16s ease-out; }
@media (hover: hover) and (pointer: fine) { .pdd:hover .pmenu { display: block; animation: ddIn 0.16s ease-out; } }
.pdd:has(:focus-visible) .pmenu { display: block; }
.pm-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none; min-height: 48px; }
.pm-item:hover, .pm-item:focus-visible { background: var(--raised); color: var(--text); }
.pm-item:hover b, .pm-item.cur b { color: var(--accent); }
.pm-item:hover .mg-ico, .pm-item.cur .mg-ico { color: var(--accent); }
.pm-item b { display: block; font-size: 14px; }
.pm-item small { display: block; font-size: 12px; color: var(--muted); }
.halo-ic.on { border-color: var(--accent); color: var(--accent); }

.trend-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.trend-head .eyebrow { margin-bottom: 4px; }
.ktabs { display: flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.ktab { color: var(--muted); text-decoration: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.ktab:hover { color: var(--text); background: var(--card2); }
.ktab.on { color: var(--on-accent); background: var(--accent); }

.tvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tvc { display: flex; flex-direction: column; border-radius: 18px; background: #131518; border: 1px solid var(--row); overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease; }
.tvc:hover { transform: translateY(-3px); border-color: var(--line2); }
.tvc .vthumb { aspect-ratio: 9 / 13; }
.tvc-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tvc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.tvc-stats .sbox { padding: 8px 10px; }
.tvc-stats .sbox-v { font-size: 15px; }
.tvc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tvc-foot .btn.sm { min-height: 34px; padding: 6px 10px; font-size: 12px; flex: none; }
@media (max-width: 640px) { .pl-plat { padding: 9px 14px; } .ktabs { width: 100%; } .ktab { flex: 1; justify-content: center; padding: 10px 8px; } }

/* AI search under the platform buttons */
.headsearch { display: flex; justify-content: center; padding: 6px 16px 4px; }
.sbar.hs { width: 100%; max-width: 720px; border-radius: 16px; padding: 6px 6px 6px 18px; animation: none; border-color: var(--line2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.sbar.hs:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.1), 0 10px 30px rgba(0, 0, 0, 0.35); }
.sbar.hs .sbar-field input { font-size: 16px; padding: 11px 0; }
.sbar.hs .sghost { font-size: 16px; }
.sbar.hs .caret { height: 18px; }
.sbar.hs .sbar-go { min-height: 44px; border-radius: 11px; padding: 0 18px; font-weight: 700; }
.headsearch .sbar-field input::placeholder { color: transparent; }
.headsearch .sbar-field input:focus::placeholder { color: #6e757b; }
@media (max-width: 640px) { .sbar.hs { padding-left: 12px; } .sbar.hs .sbar-go { padding: 0 12px; } }

/* ---------- Breakout + video insight ---------- */
.chip.brk { color: #ffb37a; border-color: rgba(255, 179, 122, 0.45); background: rgba(255, 179, 122, 0.08); font-weight: 600; gap: 4px; }
.sbox-v.g-brk { color: #ffb37a; }
.what { margin: 0; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.what-l { color: var(--text); font-weight: 600; margin-right: 6px; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
