@font-face{font-family:"Inter var";font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter var";font-style:normal;font-weight:100 900;font-display:swap;src:url(/static/fonts/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --bg:#F5F5F7;--card:#FFFFFF;--ink:#1D1D1F;--ink2:#424245;--muted:#6E6E73;--line:#E8E8ED;--chip:#E8E8ED;
  --accent:#0071E3;--link:#0066CC;--hero:#000000;--hero-ink:#F5F5F7;--hero-muted:#A1A1A6;
  --ok:#1F9D55;--warn:#C77700;--bad:#D70015;--rising:#C2410C;--nav:rgba(245,245,247,.78);--shadow:0 1px 2px rgba(0,0,0,.04);
  color-scheme:light;
}
:root[data-theme=dark]{
  --bg:#000000;--card:#1C1C1E;--ink:#F5F5F7;--ink2:#D2D2D7;--muted:#A1A1A6;--line:#2C2C2E;--chip:#2C2C2E;
  --accent:#0A84FF;--link:#2997FF;--hero:#1C1C1E;--nav:rgba(0,0,0,.72);--ok:#30D158;--warn:#FF9F0A;--bad:#FF453A;--rising:#FF9F0A;--shadow:none;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter var",Inter,system-ui,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter var",Inter,system-ui,sans-serif;margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--card);padding:8px 12px;border-radius:8px;z-index:20}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.muted{color:var(--muted)}
[hidden]{display:none!important}

.nav{position:sticky;top:0;z-index:10;background:var(--nav);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:56px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:700;font-size:19px;letter-spacing:-.02em}
.logo:hover{text-decoration:none}
.dot{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(0,113,227,.15)}
.sections{display:flex;gap:26px;font-size:14px;flex-wrap:wrap}
.sections a{color:var(--ink2)}
.sections a[aria-current=page]{color:var(--ink);font-weight:600}
.nav-tools{display:flex;align-items:center;gap:4px}
.icon-btn{width:44px;height:44px;border:0;background:transparent;color:var(--ink);border-radius:22px;cursor:pointer;display:grid;place-items:center}
.icon-btn:hover{background:var(--chip);text-decoration:none}
.search{display:flex;align-items:center}
.search input{width:0;opacity:0;border:0;background:var(--chip);color:var(--ink);border-radius:999px;height:36px;padding:0;font:inherit;font-size:14px;transition:width .25s,opacity .25s,padding .25s}
.search.open input,.search input:focus,.search input:not(:placeholder-shown){width:200px;opacity:1;padding:0 14px}

.hero{text-align:center;padding:72px 0 48px}
.eyebrow{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--link);letter-spacing:.01em}
.hero h1{font-size:clamp(44px,7vw,88px);line-height:1.02;letter-spacing:-.045em;font-weight:800}
.dim{color:#86868B}

.since{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:-16px auto 24px;padding:10px 12px 10px 20px;border-radius:999px;background:var(--card);width:fit-content;max-width:100%;font-size:14px;box-shadow:var(--shadow)}
.only-new .story:not(.is-new){display:none}
.new-tag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;vertical-align:middle}

.lead{position:relative;overflow:hidden;border-radius:28px;background:var(--hero);color:var(--hero-ink);padding:56px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-end;min-height:440px;box-shadow:0 30px 80px rgba(0,0,0,.18)}
.glow{position:absolute;border-radius:50%;pointer-events:none}
.g1{right:-120px;top:-120px;width:560px;height:560px;background:radial-gradient(circle at 30% 30%,rgba(41,151,255,.55),rgba(41,151,255,0) 65%)}
.g2{right:160px;bottom:-200px;width:420px;height:420px;background:radial-gradient(circle,rgba(191,90,242,.45),rgba(191,90,242,0) 65%)}
.lead-main{position:relative;flex:999 1 520px;min-width:0}
.lead-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px;font-size:13px;color:var(--hero-muted)}
.lead-meta a{color:var(--hero-muted)}
.pill{padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:var(--hero-ink);font-weight:600}
.lead h2{font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.035em;font-weight:700;margin-bottom:18px}
.lead h2 a{color:var(--hero-ink)}
.lead .dek{margin:0 0 28px;font-size:19px;line-height:1.5;color:#C7C7CC;max-width:640px}
.lead-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 22px;border-radius:999px;border:0;background:var(--accent);color:#fff;font-weight:600;font-size:15px;line-height:1;font-family:inherit;cursor:pointer}
.btn:hover{text-decoration:none;filter:brightness(1.08)}
.btn.ghost{background:rgba(127,127,127,.16);color:inherit}
.btn.light{background:#F5F5F7;color:#1D1D1F}
.btn.follow[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.lead .signals,.lead .signals a{color:var(--hero-muted)}
.lead .signals{margin-top:22px}
.lead .save{color:var(--hero-ink);background:rgba(255,255,255,.12);width:44px;height:44px;border-radius:22px}
.also{position:relative;flex:1 1 240px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.also-h{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hero-muted)}
.also a{color:var(--hero-ink);display:flex;justify-content:space-between;gap:12px}
.also time{color:var(--hero-muted)}

.score{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:inherit;font-variant-numeric:tabular-nums}
.score:hover{text-decoration:none}
.ring-bg{fill:none;stroke:rgba(127,127,127,.25);stroke-width:4}
.ring-fg{fill:none;stroke:var(--accent);stroke-width:4;stroke-linecap:round}
.lead .ring-fg{stroke:#2997FF}
.rising{color:var(--rising);font-weight:700}
.score .rising{font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.signals{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted);margin-top:8px}
.signals:empty{display:none}
.signals a{color:var(--muted)}
.signals b{font-weight:600;color:inherit}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:20px}
.card{background:var(--card);border-radius:24px;box-shadow:var(--shadow)}
.cards .card{display:flex;flex-direction:column;gap:14px;padding:28px;min-height:220px}
.card-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.card-meta a{color:var(--muted)}
.cards h3{font-size:24px;line-height:1.15;letter-spacing:-.025em;font-weight:700}
.cards h3 a,.row-title{color:var(--ink)}
.cards p{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.card-foot{margin-top:auto;display:flex;align-items:center;gap:12px}
.card-foot .save{margin-left:auto}
.more{font-size:13px;font-weight:600}
.badge{flex:0 0 auto;width:36px;height:36px;border-radius:10px;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;letter-spacing:-.02em}
.badge.sm{width:28px;height:28px;border-radius:8px;font-size:11px}
.save{flex:0 0 auto;width:36px;height:36px;border-radius:18px;border:0;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.save:hover{background:var(--chip)}
.save[aria-pressed=true]{color:var(--accent)}
.save[aria-pressed=true] path{fill:currentColor}

.block{margin-top:88px}
.block-h{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.block-h h2,.split-main>h2{font-size:40px;letter-spacing:-.035em;font-weight:700}
.block-h p{margin:6px 0 0;font-size:17px;color:var(--muted);max-width:640px}
.ranked{list-style:none;margin:0;padding:8px 24px;background:var(--card);border-radius:24px;box-shadow:var(--shadow)}
.ranked li{display:flex;gap:18px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line)}
.ranked li:last-child{border-bottom:0}
.rank{flex:0 0 36px;font-size:30px;font-weight:800;letter-spacing:-.04em;color:var(--muted);opacity:.45;line-height:1}
.ranked-body{flex:1 1 auto;min-width:0}
.papers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.paper{background:var(--card);border-radius:20px;padding:24px;color:var(--ink);display:flex;flex-direction:column;gap:18px;justify-content:space-between;box-shadow:var(--shadow);transition:transform .2s}
.paper:hover{text-decoration:none;transform:translateY(-2px)}
.paper-top{display:flex;justify-content:space-between;align-items:center}
.paper-n{font-size:44px;font-weight:800;letter-spacing:-.04em;color:var(--muted);opacity:.3}
.votes{padding:6px 12px;border-radius:999px;background:var(--bg);font-size:13px;font-weight:600}
.paper h3{font-size:18px;line-height:1.3;letter-spacing:-.015em;font-weight:600}

.split{display:flex;flex-wrap:wrap;gap:48px}
.split-main{flex:999 1 560px;min-width:0}
.split-main>h2{margin-bottom:20px}
.split-side{flex:1 1 280px;display:flex;flex-direction:column;gap:16px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.chip{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:999px;border:0;background:var(--chip);color:var(--ink);font-weight:500;font-size:14px;font-family:inherit;cursor:pointer}
.chip:hover{text-decoration:none;filter:brightness(.97)}
.chip.on,.chip[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.list{list-style:none;margin:0;padding:8px 24px}
.row{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.row-body{flex:1 1 auto;min-width:0}
.row-title{display:block;font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.35}
.meta{font-size:13px;color:var(--muted);margin-top:3px}
.meta a{color:var(--muted)}
.row-side{flex:0 0 auto;display:flex;align-items:center;gap:6px}
.side{padding:24px}
.side h3{font-size:19px;font-weight:700;letter-spacing:-.02em;margin-bottom:6px}
.side p{margin:0 0 16px;font-size:14px}
.side.dark{background:#1D1D1F;color:#F5F5F7}
:root[data-theme=dark] .side.dark{background:#2C2C2E}
.side.dark p{color:#A1A1A6}
.health{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:16px}
.hd{width:14px;height:14px;border-radius:4px;background:var(--ok)}
.hd.warn{background:var(--warn)}
.hd.bad{background:var(--bad)}
.empty{padding:40px;text-align:center;color:var(--muted)}

.page-h{padding:64px 0 32px;max-width:820px}
.page-h h1,.story-page h1{font-size:clamp(40px,6vw,64px);letter-spacing:-.04em;line-height:1.04;font-weight:800;margin-bottom:16px}
.big-search{display:flex;gap:10px;margin:8px 0 16px}
.big-search input{flex:1;min-height:52px;border-radius:16px;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:0 18px;font:inherit;font-size:18px}
.story-page{padding:56px 0 0;max-width:880px}
.crumbs{font-size:14px;color:var(--muted);margin:0 0 16px}
.crumbs a{color:var(--muted)}
.story-page .dek{font-size:21px;line-height:1.5;color:var(--ink2);margin:0 0 28px}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:40px 0 20px}
.metric{background:var(--card);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:4px;box-shadow:var(--shadow)}
.metric.big{grid-column:1/-1;flex-direction:row;align-items:center;gap:22px}
.metric-n{font-size:34px;font-weight:800;letter-spacing:-.04em;line-height:1.1;font-variant-numeric:tabular-nums}
.metric.big .metric-n{font-size:56px;display:block}
.metric-l{font-size:14px;color:var(--muted)}
.chart{padding:24px;margin-bottom:20px;color:var(--accent)}
.chart h2,.timeline h2{font-size:21px;letter-spacing:-.02em;margin-bottom:16px;color:var(--ink)}
.chart svg{width:100%;height:120px;display:block}
.timeline{padding:24px}
.timeline ol{list-style:none;margin:0;padding:0}
.timeline li{display:flex;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.timeline li a{color:var(--ink);font-weight:600}
.table-wrap{overflow-x:auto;padding:8px 16px}
.status{width:100%;border-collapse:collapse;font-size:14px}
.status th{text-align:left;font-weight:600;color:var(--muted);padding:12px 10px;border-bottom:1px solid var(--line)}
.status td{padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.status tr:last-child td{border-bottom:0}
.st{font-weight:600}.st.ok{color:var(--ok)}.st.warn{color:var(--warn)}.st.bad{color:var(--bad)}
.prose{font-size:17px}
.prose h2{font-size:28px;letter-spacing:-.03em;margin:36px 0 10px}
.prose li{margin:6px 0}

.foot{margin-top:96px;border-top:1px solid var(--line);padding:28px 0;font-size:12px;color:var(--muted)}
.foot-in{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.foot-links{display:flex;gap:20px}
.foot-links a{color:var(--ink2)}

@media (max-width:720px){
  .wrap{padding:0 16px}
  .sections{order:3;width:100%;gap:18px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px;white-space:nowrap}
  .hero{padding:44px 0 32px}
  .lead{padding:28px;border-radius:22px;min-height:0}
  .block{margin-top:60px}
  .block-h h2,.split-main>h2{font-size:32px}
  .list,.ranked{padding:4px 16px}
  .row{gap:12px}
  .row .badge{width:30px;height:30px;font-size:11px}
  .ranked li{flex-wrap:wrap;gap:8px 14px}
  .ranked-body{flex:1 1 calc(100% - 50px)}
  .ranked .row-side{margin-left:50px}
  .rank{flex-basis:36px;font-size:24px}
  .search.open input,.search input:focus{width:140px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

.repos{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.repo{display:flex;flex-direction:column;gap:12px;padding:24px;color:var(--ink);transition:transform .2s}
.repo:hover{text-decoration:none;transform:translateY(-2px)}
.repo-top{display:flex;gap:8px;align-items:center}
.repo-host{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--chip);color:var(--ink2)}
.repo-new{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--accent);color:#fff}
.repo h3{font-size:19px;line-height:1.25;letter-spacing:-.02em;font-weight:700;word-break:break-word}
.repo-owner{color:var(--muted);font-weight:500}
.repo p{margin:0;font-size:14px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.repo-stats{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--muted)}
.repo-stars{font-weight:700;color:var(--ink)}
.repo-gain{font-weight:600;color:var(--ok)}
.setup-form{padding:28px;display:flex;flex-direction:column;gap:24px;margin-top:24px}
.field label{display:block;font-weight:600;margin-bottom:8px}
.field input{width:100%;min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:0 14px;font:inherit;font-size:16px}
.hint{margin:8px 0 0;font-size:13px;color:var(--muted)}
.results{padding:20px 24px;margin-top:20px}
.results p{margin:6px 0}
.setup-form .btn{align-self:flex-start}

.sub-form{display:flex;flex-direction:column;gap:12px}
.sub-row{display:flex;gap:8px;flex-wrap:wrap}
.sub-row input{flex:1 1 180px;min-width:0;min-height:44px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:0 16px;font:inherit;font-size:15px}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45;color:var(--muted)}
.consent input{margin-top:2px;width:16px;height:16px;flex:0 0 auto}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.news h3{font-size:21px}
.news.big{padding:28px;margin-top:24px;max-width:560px}
.inline{display:inline;margin:0}
.admin-tabs{margin:8px 0 24px}
.page-h.wide{max-width:none}
.page-h.narrow{max-width:460px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:8px 0 24px}
.admin-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.admin-bar .chips{margin:0}
.tag{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--chip);color:var(--ink2);margin-left:4px}
tr.off td{opacity:.5}
.status .meta{max-width:340px;overflow:hidden;text-overflow:ellipsis}
.meta.err{color:var(--bad)}
.field select{width:100%;min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:0 12px;font:inherit;font-size:16px}
.field input[type=color]{width:64px;padding:4px;min-height:44px}

.hero-links{text-align:center;margin:-28px 0 40px;font-size:17px;font-weight:500}
.today-hero{padding-bottom:36px}
.today-sub{margin:20px auto 0;max-width:620px;color:var(--muted);font-size:17px}
.day-nav{display:flex;gap:8px;justify-content:center;margin-top:20px}
.today-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.today-list li{display:flex;gap:20px;align-items:flex-start;padding:24px 28px}
.today-n{flex:0 0 52px;font-size:44px;font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--muted);opacity:.35}
.today-list li:nth-child(-n+3) .today-n{color:var(--accent);opacity:1}
.today-body{flex:1 1 auto;min-width:0}
.today-body h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;font-weight:700;margin:4px 0 6px}
.today-body h2 a{color:var(--ink)}
.today-body p{margin:0 0 6px;color:var(--muted);font-size:15px}
.today-list .row-side{flex-direction:column;align-items:flex-end;gap:8px}
.wide-news{display:flex;gap:32px;align-items:center;flex-wrap:wrap;padding:32px}
.wide-news>div{flex:1 1 280px}
.wide-news .sub-form{flex:1 1 360px}
.archive-h{font-size:32px;letter-spacing:-.03em;margin-bottom:16px}
.repo-lic{font-size:12px;color:var(--muted)}
.share{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0 0}
.share .muted{font-size:14px;margin-right:4px}
.og-preview{display:block;width:100%;max-width:600px;height:auto;border-radius:16px;margin-top:20px;box-shadow:0 10px 40px rgba(0,0,0,.15)}
@media (max-width:720px){.today-list li{padding:18px;gap:12px}.today-n{flex-basis:32px;font-size:28px}.today-list .row-side{display:none}.today-body h2{font-size:19px}}

.map-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;font-size:14px;color:var(--ink2);margin:-12px 0 8px}
.map-legend span{display:flex;align-items:center;gap:8px}
.map-legend i{width:11px;height:11px;border-radius:50%;display:inline-block}
.map-legend b{color:var(--muted);font-weight:600}
.block.first{margin-top:48px}
.heat-scale{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.heat-scale i{width:120px;height:10px;border-radius:5px;background:linear-gradient(90deg,var(--line),var(--ink));display:inline-block}
.heat-wrap{padding:20px;overflow-x:auto}
.heat{display:grid;gap:6px;min-width:940px}
.heat-day{font-size:13px;font-weight:600;color:var(--muted);text-align:center;padding-bottom:4px}
.heat-topic{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700}
.heat-topic i{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
.heat-cell{height:88px;border-radius:12px;padding:9px 10px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;color:var(--ink);transition:transform .15s}
.heat-cell:hover{text-decoration:none;transform:scale(1.03)}
.heat-cell.light{color:#fff}
.heat-cell.empty{background:var(--bg)}
.heat-cell b{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1}
.heat-cell small{font-size:11px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.heat-total{height:56px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;font-size:12px}
.heat-total i{width:60%;border-radius:4px;background:var(--ink);display:block}
.wheel-wrap{padding:12px}
.wheel{width:100%;height:auto;display:block;font-family:inherit}
.w-ring{fill:none;stroke:var(--line);stroke-width:1}
.w-spoke{stroke:var(--line);stroke-dasharray:3 5}
.w-small{font-size:11px;fill:var(--muted)}
.w-day{font-size:13px;font-weight:600;fill:var(--muted)}
.w-dot{stroke:var(--card);stroke-width:1.5;transition:r .15s}
.w-dot:hover{stroke:var(--ink);stroke-width:2}
.w-label{font-size:13px;font-weight:700;fill:var(--ink)}
.w-core{fill:var(--ink)}
.w-core-n{font-size:34px;font-weight:800;fill:var(--bg)}
.w-core-l{font-size:12px;font-weight:600;fill:var(--muted)}
.w-core-s{font-size:11px;fill:var(--muted)}
.w-now{font-size:13px;font-weight:800;fill:var(--link)}

.heat-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:13px}
.heat-cell{height:96px;justify-content:space-between;outline-offset:2px}
.heat-cell.sel{outline:3px solid var(--ink)}
.hc-top{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.hc-top b{font-size:15px;font-weight:800;letter-spacing:-.01em}
.hc-top small{font-size:11px;font-weight:600;opacity:.8;white-space:nowrap}
.hc-bars{display:flex;align-items:flex-end;gap:3px;height:40px}
.hc-bars i{flex:0 0 9px;border-radius:3px;background:rgba(29,29,31,.75)}
.heat-cell.light .hc-bars i{background:rgba(255,255,255,.9)}
:root[data-theme=dark] .heat-cell:not(.light){color:#F5F5F7}
:root[data-theme=dark] .heat-cell:not(.light) .hc-bars i{background:rgba(245,245,247,.8)}
.heat-panel{display:none;margin-top:16px;padding:28px 32px;border-top:6px solid}
html:not(.js) .heat-panel:target,.heat-panel.open{display:block}
.hp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.hp-topic{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hp-head h3{font-size:30px;font-weight:800;letter-spacing:-.03em}
.hp-head p.muted{margin:6px 0 0;font-size:15px}
.hp-actions{display:flex;gap:8px}
.hp-list{list-style:none;margin:0;padding:0}
.hp-list li{display:grid;grid-template-columns:36px minmax(0,1fr) 200px 56px;gap:16px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}
.hp-n{font-size:22px;font-weight:800;color:var(--muted);opacity:.5}
.hp-body a{font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.hp-bar{height:8px;border-radius:4px;background:var(--bg);overflow:hidden}
.hp-bar i{display:block;height:8px;border-radius:4px}
.hp-score{text-align:right;font-size:22px;font-weight:800;letter-spacing:-.03em}
@media (max-width:720px){.hp-list li{grid-template-columns:28px minmax(0,1fr) 44px}.hp-bar{display:none}.heat-panel{padding:20px}}

.nl-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.nl-chip{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--chip);color:var(--ink2)}
.nl-count{font-size:13px;color:var(--muted);white-space:nowrap}
.nl-count b{color:var(--ink);font-size:16px}
.nl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.nl-card{padding:24px;display:flex;flex-direction:column;gap:12px}
.nl-head{display:flex;gap:14px;align-items:center}
.nl-head h3{font-size:20px;font-weight:700;letter-spacing:-.02em}
.nl-head p{margin:2px 0 0;font-size:13px}
.nl-blurb{margin:0;font-size:14px;color:var(--ink2)}
.nl-issues{list-style:none;margin:0;padding:0}
.nl-issues li{padding:12px 0;border-top:1px solid var(--line);font-size:14px}
.nl-issue{display:flex;justify-content:space-between;gap:12px}
.nl-issues a{color:var(--ink);font-weight:600}
.nl-issues time{flex:0 0 auto;font-size:12px;color:var(--muted)}

.nl-quote{margin-top:12px;padding:12px 16px;border-radius:14px;background:var(--bg);font-size:15px;line-height:1.5;color:var(--ink2)}
.nl-quote b{color:var(--ink);font-weight:600}
.nl-pick{margin-top:8px;padding:10px 12px;border-radius:12px;background:var(--bg);font-size:13px;line-height:1.45;color:var(--ink2)}
.nl-pick a{font-weight:700;color:var(--link)}
.nl-pick div{margin-top:3px}
.quotes{padding:28px 32px;margin-bottom:20px}
.q-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.q-head h2{font-size:26px;font-weight:800;letter-spacing:-.03em}
.q{margin:0;padding:20px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px}
.q:first-of-type{margin-top:12px}
.q blockquote{margin:0;font-size:18px;line-height:1.5;letter-spacing:-.01em;color:var(--ink)}
.q figcaption{margin-top:10px;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;color:var(--muted)}
.q figcaption b{color:var(--ink)}
.q figcaption a{font-weight:600}
.q-note{margin:8px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.q-note.center{text-align:center;border:0;margin-top:32px}

textarea{width:100%;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:12px 14px;font:inherit;font-size:15px;line-height:1.55;resize:vertical}
.grid-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px 20px}
.btn-row{display:flex;gap:10px;flex-wrap:wrap}
.lead-s{max-width:760px;margin:0 0 16px}
.ai-test{padding:24px 28px;margin-top:20px}
.ai-test h3{margin:0 0 8px}
.ai-row{padding:14px 0;border-top:1px solid var(--line)}
.ai-row p{margin:6px 0 4px;font-size:15px;line-height:1.5}
.ai-desc{max-width:520px;font-size:14px;line-height:1.5}
.chip[disabled]{opacity:.45;cursor:not-allowed}

/* Newsletters v3 */
.accent{color:var(--link)}
.nl3-desc{margin:6px 0 0;font-size:15px;line-height:1.55;color:var(--ink2)}
.nl3-desc.lg{margin-top:10px;font-size:16px;color:var(--ink)}
.nl3-quote{margin-top:10px;padding-left:12px;border-left:2px solid var(--line);font-size:13px;line-height:1.45;color:var(--muted)}
.nl3-quote b{color:var(--ink);font-weight:600}
.nl3-issues{display:flex;flex-direction:column;gap:16px}
.nl3-card{padding:26px 28px}
.nl3-head{display:flex;gap:14px;align-items:center;padding-bottom:16px}
.nl3-h{flex:1;min-width:0}
.nl3-h h3{margin:2px 0 0;font-size:20px;font-weight:700;letter-spacing:-.02em;line-height:1.3}
.nl3-h h3 a{color:var(--ink)}
.nl3-count{font-size:13px;color:var(--muted);white-space:nowrap}
.nl3-list{list-style:none;margin:0;padding:0}
.nl3-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:24px;padding:16px 0;border-top:1px solid var(--line)}
.nl3-site{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.nl3-title{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.nl3-act{text-align:right;padding-top:18px}
.nl3-btn{display:inline-flex;align-items:center;min-height:36px;font-size:13px;font-weight:600;padding:0 14px;border-radius:999px;background:var(--bg);color:var(--link);white-space:nowrap}
.nl3-btn.ours{background:var(--accent);color:#fff}
.nl3-btn:hover{text-decoration:none;filter:brightness(1.05)}
.nl3-more{border-top:1px solid var(--line)}
.nl3-more summary{padding:14px 0 0;text-align:center;font-size:15px;font-weight:600;color:var(--link);cursor:pointer;list-style:none}
.nl3-more summary::-webkit-details-marker{display:none}
.nl3-more summary::after{content:" ▾"}
.nl3-more[open] summary::after{content:" ▴"}
.nl3-more[open] summary{padding-bottom:4px}
@media (max-width:700px){
  .nl3-card{padding:20px}
  .nl3-head{flex-wrap:wrap}
  .nl3-count{flex-basis:100%;margin-left:54px}
  .nl3-row{grid-template-columns:1fr;gap:10px}
  .nl3-act{text-align:left;padding-top:0}
}
.nl3-list.first>.nl3-row:first-child{border-top:0;padding-top:4px}

/* ---------- Homepage hero: radar ---------- */
.rdr{display:grid;grid-template-columns:minmax(0,1fr) 460px;grid-template-areas:"text radar" "foot radar";column-gap:64px;align-items:center;margin:24px 0 40px;padding:56px 56px 52px;border-radius:32px;background:#000;color:#F5F5F7;overflow:hidden}
:root[data-theme=dark] .rdr{background:#0B0B0C;border:1px solid var(--line)}
.rdr-text{grid-area:text;align-self:end;max-width:400px}
.rdr-radar{grid-area:radar;justify-self:center}
.rdr-foot{grid-area:foot;align-self:start}
.rdr-live{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#30D158}
.rdr-dot{width:8px;height:8px;border-radius:50%;background:#30D158;flex:0 0 auto;animation:rdr-pulse 1.2s ease-in-out infinite}
.rdr h1{margin:14px 0 0;font-size:clamp(40px,5.2vw,64px);line-height:1.02;letter-spacing:-.045em;font-weight:800}
.rdr-dim{color:#86868B}
.rdr-sub{margin:18px 0 0;font-size:17px;line-height:1.5;color:#A1A1A6}
.rdr-stats{display:flex;gap:32px;margin:28px 0 0}
.rdr-stats div{display:flex;flex-direction:column-reverse}
.rdr-stats dd{margin:0;font-size:32px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.rdr-stats dt{font-size:13px;color:#A1A1A6}
.rdr-cta{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:24px;padding:0 20px;border-radius:999px;background:#fff;color:#000;font-weight:600}
.rdr-cta:hover{text-decoration:none;background:#E8E8ED}
.rdr-upd{margin:14px 0 0;font-size:13px;color:#86868B}
.rdr-box{position:relative;width:460px;height:460px}
.rdr-ring{position:absolute;border-radius:50%;border:1px solid #1F3B5C}
.rdr-axis{position:absolute;background:#16273C}
.rdr-v{left:50%;top:0;width:1px;height:100%}.rdr-h{top:50%;left:0;height:1px;width:100%}
.rdr-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(10,132,255,0) 0deg,rgba(10,132,255,0) 290deg,rgba(10,132,255,.5) 360deg);animation:rdr-sw 6s linear infinite}
.rdr-blip{position:absolute;border-radius:50%;transform:translate(-50%,-50%);opacity:.3;animation:rdr-bl 6s linear infinite}
.rdr-labels{list-style:none;margin:0;padding:0}
.rdr-lab{position:absolute;left:var(--dx);top:var(--dy);width:210px;opacity:.2;animation:rdr-lab 6s ease infinite;z-index:2}
.rdr-lab a{display:block;padding:8px 12px;border-radius:12px;background:rgba(20,20,22,.92);border:1px solid #3A3A3C;color:#F5F5F7;font-size:13px;line-height:1.3}
.rdr-lab a:hover,.rdr-lab a:focus-visible{border-color:#A1A1A6;text-decoration:none}
.rdr-lab:hover,.rdr-lab:focus-within{opacity:1;animation-play-state:paused;z-index:3}
.rdr-lab b{display:block;font-size:12px;font-weight:700}
.rdr-lab span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rdr-no-d{display:none}
@keyframes rdr-sw{to{transform:rotate(360deg)}}
@keyframes rdr-bl{0%{opacity:1;box-shadow:0 0 0 0 currentColor}5%{box-shadow:0 0 0 14px rgba(0,0,0,0)}55%{opacity:.4}100%{opacity:.3}}
@keyframes rdr-lab{0%{opacity:.2;transform:translateY(4px)}4%{opacity:1;transform:none}62%{opacity:1}75%,100%{opacity:.2}}
@keyframes rdr-pulse{50%{opacity:.35}}
@media (max-width:899px){
  .rdr{grid-template-columns:1fr;grid-template-areas:"text" "radar" "foot";margin:0 -24px 32px;padding:28px 20px 32px;border-radius:0 0 28px 28px}
  .rdr-text{max-width:none}
  .rdr-sub{display:none}
  .rdr h1{font-size:40px}
  .rdr-radar{margin-top:28px}
  .rdr-box{width:min(320px,calc(100vw - 70px));height:min(320px,calc(100vw - 70px))}
  .rdr-lab{left:var(--mx);top:var(--my);width:150px}
  .rdr-lab a{font-size:12px;padding:7px 10px}
  .rdr-lab b{font-size:11px}
  .rdr-no-d{display:block}
  .rdr-no-m{display:none}
  .rdr-stats{justify-content:space-between;gap:12px;margin-top:24px}
  .rdr-stats dd{font-size:24px}
}
@media (max-width:720px){.rdr{margin:0 -16px 28px}}
@media (prefers-reduced-motion:reduce){.rdr-sweep,.rdr-blip,.rdr-lab,.rdr-dot{animation:none}.rdr-lab{opacity:1}.rdr-blip{opacity:.8}}

/* admin analytics */
.an-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:0 24px}
.an-card{padding:20px 24px}
.an-bar{display:grid;grid-template-columns:170px 1fr 48px;gap:12px;align-items:center;padding:6px 0;font-size:14px}
.an-bar div{height:10px;border-radius:5px;background:var(--chip);overflow:hidden}
.an-bar i{display:block;height:100%}
.an-bar b{text-align:right}
.an-row{display:flex;justify-content:space-between;padding:7px 0;border-top:1px solid var(--line);font-size:14px}
.an-row:first-child{border-top:0}
.an-pill{display:inline-block;margin:2px 6px 2px 0;padding:2px 8px;border-radius:999px;border:1px solid;font-size:12px}

/* Trends */
.tr-block{margin-top:24px}
.tr-card{padding:22px 28px 14px}
.tr-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.tr-head h2{font-size:28px;font-weight:800;letter-spacing:-.03em}
.tr-head .muted{font-size:13px}
.tr-row{display:grid;grid-template-columns:28px 200px 150px 120px 72px minmax(0,1fr);gap:16px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.tr-cols{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-top:0;padding:4px 0}
.tr-rank{font-size:15px;font-weight:800;color:var(--muted);opacity:.6}
.tr-term{font-size:16px;font-weight:700;color:var(--ink)}
.tr-spark{width:140px;height:34px}
.tr-views{font-size:14px;color:var(--ink2)}.tr-views b{color:var(--ink)}
.tr-change{font-size:16px;font-weight:800}.tr-change.up{color:var(--ok)}.tr-change.down{color:var(--bad)}
.tr-story{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-more summary{padding:12px 0;text-align:center;font-weight:600;color:var(--link);cursor:pointer;list-style:none;border-top:1px solid var(--line)}
.tr-more summary::-webkit-details-marker{display:none}
.tr-more[open] summary{display:none}
.tr-pages{display:flex;justify-content:center;align-items:center;gap:14px;padding:14px 0 4px;border-top:1px solid var(--line)}
@media (max-width:820px){
  .tr-card{padding:18px 16px 10px}
  .tr-cols{display:none}
  .tr-row{grid-template-columns:minmax(0,1fr) 96px 56px;grid-template-areas:"term spark change" "views views views" "story story story";gap:2px 10px}
  .tr-rank{display:none}
  .tr-term{grid-area:term}.tr-spark{grid-area:spark;width:96px;height:30px}.tr-change{grid-area:change;text-align:right;font-size:15px}
  .tr-views{grid-area:views;font-size:12px}.tr-story{grid-area:story;font-size:12px}
}

/* ---------- Videos (YouTube) ---------- */
.vd-tabs{justify-content:center;margin:-8px 0 20px;flex-wrap:wrap}
.vd-list{display:flex;flex-direction:column;gap:16px;max-width:1168px;margin:0 auto;padding:0 16px}
.vd-row{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:28px;padding:20px 24px}
.vd-info{display:flex;flex-direction:column;gap:12px;min-width:0}
.vd-top{display:flex;gap:14px;align-items:flex-start}
.vd-ring{flex:none;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--c) calc(var(--p)*1%),var(--chip) 0)}
.vd-ring span{width:50px;height:50px;border-radius:50%;background:var(--card);display:grid;place-items:center;font-size:19px;font-weight:800}
.vd-k{margin:0;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted)}
.vd-t{margin:2px 0 0;font-size:17px;line-height:1.25;letter-spacing:-.01em}
.vd-t a{color:var(--ink)}
.vd-stats{display:flex;gap:18px;flex-wrap:wrap}
.vd-stats b{display:block;font-size:17px;font-weight:800}
.vd-stats span{font-size:11px;color:var(--muted)}
.vd-spark{display:flex;flex-direction:column;gap:2px;font-size:11px}
.vd-spark svg{width:100%;height:34px}
.vd-hidden{margin:0;font-size:11px;color:var(--muted)}
.vd-read{font-size:13px;font-weight:600}
.vd-vids{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-content:start}
.vd-v{display:flex;flex-direction:column;gap:4px;color:var(--ink);min-width:0}
.vd-th{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#111}
.vd-th img{width:100%;height:100%;object-fit:cover;display:block}
.vd-short{position:absolute;left:6px;top:6px;padding:2px 6px;border-radius:6px;background:#FF0033;color:#FFF;font-size:10px;font-weight:800;font-style:normal}
.vd-dur{position:absolute;right:6px;bottom:6px;padding:1px 5px;border-radius:5px;background:rgba(0,0,0,.75);color:#FFF;font-size:10px;font-weight:700;font-style:normal}
.vd-vt{font-size:12px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vd-vm{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vd-v:hover .vd-vt{color:var(--link)}
.vd-empty{padding:24px;text-align:center}
.vd-foot{max-width:760px;margin:20px auto 40px;padding:0 16px;font-size:12px;text-align:center}
@media (max-width:900px){
  .vd-list{padding:0 12px}
  .vd-row{grid-template-columns:1fr;gap:12px;padding:16px 0 16px 16px}
  .vd-info{padding-right:16px}
  .vd-ring{width:56px;height:56px}.vd-ring span{width:44px;height:44px;font-size:17px}
  .vd-t{font-size:16px}
  .vd-vids{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-right:16px;-webkit-overflow-scrolling:touch}
  .vd-v{flex:0 0 220px;scroll-snap-align:start}
}

/* ---------- Admin SEO ---------- */
.seo-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.seo-kpi{background:var(--card);border-radius:18px;padding:14px 16px;box-shadow:var(--shadow)}
.seo-kpi .l{font-size:12px;font-weight:600;color:var(--muted)}
.seo-kpi .n{font-size:26px;font-weight:800;letter-spacing:-.03em}
.seo-kpi .d{font-size:12px;font-weight:700;margin-left:6px}
.seo-kpi svg{width:100%;height:30px;margin-top:4px}
.seo-up{color:var(--ok)}.seo-down{color:var(--bad)}
.seo-legacy{background:#FFF4E5;color:#5C3300;border-radius:22px;padding:18px 20px;margin-top:16px}
.seo-legacy h2{margin:0;font-size:18px;color:#5C3300}
.seo-legacy p{font-size:13px;line-height:1.45}
.seo-legacy .chip{background:#FFFFFF;color:#5C3300}
.seo-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:16px}
.seo-card{padding:18px 22px}
.seo-card h2{margin:0 0 10px;font-size:20px}
.seo-t{width:100%;border-collapse:collapse;font-size:13px}
.seo-t th{font-size:11px;font-weight:700;letter-spacing:.05em;color:var(--muted);text-align:right;padding:0 0 6px}
.seo-t th:first-child,.seo-t td:first-child{text-align:left}
.seo-t td{border-top:1px solid var(--line);padding:8px 0;text-align:right;color:var(--ink2)}
.seo-t td:first-child{font-weight:600;color:var(--ink);max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seo-opp{padding:12px 0;border-top:1px solid var(--line);font-size:13px}
.seo-opp s{color:var(--muted)}
.seo-opp .ai{color:var(--ok);font-weight:700}
.seo-opp form{display:inline}
.seo-bar{display:flex;height:10px;border-radius:6px;overflow:hidden;background:var(--chip)}
.seo-leg{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:12px}
.seo-leg i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
@media (max-width:900px){.seo-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-grid{grid-template-columns:1fr}}
@media (prefers-color-scheme:dark){.seo-legacy{background:#3A2A12;color:#FFE2BF}.seo-legacy h2{color:#FFE2BF}}

/* ---------- period + sort controls (Trends, Videos) ---------- */
.ctl{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px auto 0;padding:0 16px;position:relative;z-index:5}
.ctl-note{text-align:center;font-size:13px;margin:10px 16px 18px}
.dd{position:relative}
.dd-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:999px;background:var(--card);color:var(--ink);font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;list-style:none;box-shadow:0 0 0 1px var(--line);user-select:none}
.dd-btn::-webkit-details-marker{display:none}
.dd-btn.dark{background:var(--ink);color:var(--bg);box-shadow:none}
.dd[open] .dd-chev{transform:rotate(180deg)}
.dd-menu{position:absolute;left:0;top:48px;min-width:240px;background:var(--card);border-radius:16px;padding:6px;box-shadow:0 12px 40px rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.05);z-index:30}
.ctl .dd:last-of-type .dd-menu{left:auto;right:0}
.dd-h{margin:0;padding:8px 14px 6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.dd-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:10px;color:var(--ink);font-size:15px}
.dd-item small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.dd-item:hover{background:var(--bg)}
.dd-item.on{background:var(--bg);font-weight:700}.dd-item.on svg{color:var(--link)}
.dd-item.off{color:var(--muted);opacity:.6;cursor:not-allowed}
.sw{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink);margin-left:4px}
.sw-t{width:40px;height:24px;border-radius:12px;background:var(--chip);position:relative;transition:background .2s}
.sw-t span{position:absolute;left:2px;top:2px;width:20px;height:20px;border-radius:50%;background:#FFF;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .2s}
.sw-t.on{background:#34C759}.sw-t.on span{left:18px}
@media (max-width:600px){.ctl{justify-content:flex-start}.ctl-note{text-align:left}.dd-menu{min-width:230px}}

/* ---------- 410 page for the previous site's URLs ---------- */
.gone-btn{margin:8px 0 20px;display:inline-flex}
.gone-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;max-width:640px}
.gone-list a{display:block;background:var(--card);border-radius:18px;padding:16px 18px;color:var(--ink);box-shadow:var(--shadow)}
.gone-list b{display:block;font-size:17px;line-height:1.3;margin-top:2px}
.gone-src{font-size:12px;color:var(--muted)}

/* ---------- expanded charts (Trends, Videos) ---------- */
.ch-open{display:block;border:0;background:none;padding:0;cursor:zoom-in;color:inherit;font:inherit;text-align:left;border-radius:8px}
.ch-open:hover{background:var(--bg)}
.ch-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:var(--chip);color:var(--ink);border-radius:999px;padding:6px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.ch-dlg{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);border:0;border-radius:28px;padding:24px 36px 26px;background:var(--card);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.3);box-sizing:border-box}
.ch-dlg::backdrop{background:rgba(0,0,0,.4)}
.ch-grab{display:none}
.ch-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ch-kicker{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ch-title{margin:4px 0 0;font-size:clamp(20px,3vw,30px);line-height:1.2;font-weight:800;letter-spacing:-.02em}
.ch-close{flex:none;width:34px;height:34px;border-radius:50%;border:0;background:var(--chip);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.ch-bar-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.ch-per{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--chip);overflow-x:auto;max-width:100%}
.ch-per button{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;font-weight:700;padding:7px 12px;border-radius:999px;cursor:pointer;white-space:nowrap}
.ch-per button[aria-pressed=true]{background:var(--card);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.ch-opts{display:flex;gap:16px;flex-wrap:wrap}
.ch-sw{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;cursor:pointer}
.ch-sw input{position:absolute;opacity:0;width:1px;height:1px}
.ch-sw span{width:34px;height:20px;border-radius:10px;background:var(--chip);position:relative;transition:background .2s;order:2}
.ch-sw span::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:left .2s}
.ch-sw input:checked+span{background:#34C759}.ch-sw input:checked+span::after{left:16px}
.ch-sw input:focus-visible+span{outline:2px solid var(--link);outline-offset:2px}
.ch-stats{display:flex;gap:32px;flex-wrap:wrap;margin-top:16px;min-height:44px}
.ch-stats b{display:block;font-size:22px;font-weight:800;letter-spacing:-.02em}
.ch-stats b.up{color:var(--ok)}.ch-stats b.down{color:var(--bad)}.ch-stats b.link{color:var(--link)}.ch-stats b.hot{color:#FF3B30}
.ch-stats span{font-size:11px;color:var(--muted)}
.ch-wrap{position:relative;margin-top:12px}
.ch-plot{min-height:250px;touch-action:pan-y}
.ch-plot.loading{opacity:.4}
.ch-plot svg{display:block;font-family:inherit}
.ch-ax{font-size:11px;fill:var(--muted)}
.ch-grid{stroke:var(--line)}.ch-tick{stroke:#C7C7CC}
.ch-prev{fill:var(--bg)}
.ch-bar{fill:var(--ink);opacity:.3}
.ch-story{stroke:var(--link);stroke-dasharray:2 3}
.ch-dot{fill:var(--link);stroke:var(--card);stroke-width:2}
.ch-guide{stroke:var(--ink);opacity:.25}
.ch-tip{position:absolute;pointer-events:none;background:#1D1D1F;color:#FFF;border-radius:10px;padding:7px 10px;font-size:13px;white-space:nowrap;z-index:2}
.ch-tip span{display:block;font-size:11px;color:#A1A1A6}
.ch-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:12px;color:var(--muted)}
.ch-legend i{display:inline-block;vertical-align:middle;margin-right:6px}
.ch-legend .ln{width:14px;height:3px;border-radius:2px}.ch-legend .ln.trend{background:var(--ok)}.ch-legend .ln.yt{background:#FF3B30}
.ch-legend .dt{width:9px;height:9px;border-radius:50%;background:var(--link)}
.ch-legend .br{width:8px;height:10px;border-radius:2px;background:var(--ink);opacity:.3}
@media (max-width:600px){
  .ch-dlg{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:24px 24px 0 0;padding:10px 16px 24px;max-height:92vh}
  .ch-grab{display:block;width:40px;height:5px;border-radius:3px;background:#D1D1D6;margin:0 auto 12px}
  .ch-stats{gap:20px}.ch-stats b{font-size:19px}
}
.tr-spark-btn{width:max-content}.tr-spark-btn .tr-spark{display:block}
.vd-acts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.vd-spark.ch-open{width:100%}
@media (max-width:900px){.tr-spark-btn{grid-area:spark}}
