:root {
  --ink: #11162b;
  --muted: #666f84;
  --line: #e4e7ef;
  --paper: #fff;
  --soft: #f6f7fb;
  --violet: #6543f2;
  --violet-deep: #4b2cc4;
  --violet-soft: #eeebff;
  --navy: #081a3b;
  --blue: #2a72e5;
  --green: #17866b;
  --green-soft: #eaf8f3;
  --gold: #9b6b08;
  --gold-soft: #fff4d8;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fbfbfd;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: #fbfbfd; }
body.has-consent-gate { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(101,67,242,.3); outline-offset: 3px; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 12px clamp(22px,3.6vw,58px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.brand { color: var(--ink); text-decoration: none; font-size: clamp(1.38rem,1.8vw,1.86rem); font-weight: 850; letter-spacing: -.035em; }
.brand i { color: var(--violet); font-style: normal; }
nav { display: flex; justify-content: center; gap: 4px; }
nav a { padding: 9px 10px; border-radius: 9px; color: #454b5d; text-decoration: none; white-space: nowrap; font-size: .83rem; font-weight: 680; }
nav a:hover { background: #f2f0ff; }
nav a[aria-current="page"] { color: var(--violet-deep); background: var(--violet-soft); }
.account { min-width: 86px; min-height: 42px; padding: 0 14px; border: 1px solid #cfd4e0; border-radius: 11px; color: var(--ink); background: #fff; font-size: .82rem; font-weight: 750; cursor: pointer; }
.account .avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 7px; overflow: hidden; border-radius: 8px; color: #fff; background: var(--violet); font-size: .7rem; }
.account .avatar img { width: 100%; height: 100%; object-fit: cover; }

main { width: min(1440px,calc(100% - 48px)); margin: 0 auto; padding: 25px 0 60px; }
.radar-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; color: #5a6276; text-decoration: none; font-size: .75rem; font-weight: 720; }
.back-link svg { width: 16px; height: 16px; }
.radar-heading h1 { margin: 0; font-size: clamp(2rem,3vw,3.25rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.radar-heading p { max-width: 62ch; margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.radar-status { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; padding-bottom: 2px; }
.radar-status span { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: 9px; color: #245cac; background: #edf4ff; font-size: .72rem; font-weight: 820; }
.radar-status span:nth-child(2) { color: #14745c; background: var(--green-soft); }
.radar-status svg { width: 16px; height: 16px; }
.radar-status small { flex-basis: 100%; color: #7c8496; text-align: right; font-size: .65rem; }

.feature-stage { display: grid; grid-template-columns: minmax(0,1.34fr) minmax(390px,.94fr); gap: 22px; align-items: stretch; }
.player-column { min-width: 0; }
.player-shell { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; color: #fff; background: radial-gradient(circle at 38% 38%,#1d3a79,#08152f 55%,#050b19); box-shadow: 0 22px 46px rgba(8,26,59,.2); }
.player-shell.is-portrait iframe { position: absolute; inset: 0 auto 0 50%; width: auto; max-width: 100%; height: 100%; aspect-ratio: 9/16; transform: translateX(-50%); }
.player-shell iframe, .player-shell .player-cover { width: 100%; height: 100%; display: block; border: 0; }
.player-shell iframe { background: #050b19; animation: player-enter .55s cubic-bezier(.16,1,.3,1) both; }
.player-shell:not(.is-ready):not(.is-connected) iframe { opacity: .35; }
.player-cover { position: relative; display: grid !important; place-items: stretch; overflow: hidden; background: #08152f; }
.player-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(3,9,23,.08),rgba(3,9,23,.68)); }
.player-cover .cover-image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.player-cover.uses-coded-cover .cover-image { display: none; }
.coded-cover { position: absolute; inset: 0; display: grid; align-content: center; gap: 10px; padding: clamp(26px,6vw,70px); background: radial-gradient(circle at 82% 20%,rgba(119,88,255,.62),transparent 36%),linear-gradient(145deg,#173b78,#07142e); }
.coded-cover::after { content: ""; position: absolute; right: 8%; bottom: -22%; width: 32%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.05),0 0 0 62px rgba(255,255,255,.035); }
.coded-cover strong { color: #b9cbff; font-size: clamp(.72rem,1.6vw,1.05rem); letter-spacing: .16em; text-transform: uppercase; }
.coded-cover span { max-width: 26ch; color: #fff; font-size: clamp(1.1rem,3vw,2rem); font-weight: 850; line-height: 1.24; letter-spacing: -.035em; }
.cover-message { position: relative; z-index: 3; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; color: #fff; background: linear-gradient(180deg,transparent,rgba(2,8,20,.92)); }
.cover-message > span:first-child { font-size: .78rem; font-weight: 760; }
.cover-message a, .player-unavailable { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.42); border-radius: 11px; color: #fff; background: rgba(8,26,59,.9); text-decoration: none; font-size: .78rem; font-weight: 820; }
.player-unavailable { max-width: calc(100% - 32px); justify-content: center; text-align: center; }
.player-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.player-loading > span, .feed-loading > span { width: 30px; height: 30px; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.player-loading strong { font-size: .88rem; }
.player-loading small { color: #aebbd2; font-size: .68rem; }
.player-connection-notice { position: absolute; z-index: 5; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 11px; color: #fff; background: rgba(5,14,34,.88); font-size: .78rem; backdrop-filter: blur(9px); }
.player-connection-notice button { min-height: 44px; flex: 0 0 auto; padding-inline: 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 9px; color: #fff; background: transparent; font-size: .78rem; font-weight: 800; cursor: pointer; }
.player-trust { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 9px 12px 0; color: #70798e; font-size: .67rem; }
.player-trust span { flex: 0 0 auto; color: #245cac; font-weight: 850; }
.player-trust p { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-trust a { flex: 0 0 auto; margin-left: auto; color: var(--violet-deep); font-weight: 780; text-decoration: none; }
.player-trust a.is-disabled, .feature-actions a.is-disabled { opacity: .5; pointer-events: none; cursor: default; }

.learning-guide { min-width: 0; padding: clamp(20px,2.3vw,34px); border: 1px solid #e1e4ee; border-radius: 16px; background: #fff; }
.learning-guide > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.learning-guide > header > div { min-width: 0; }
.learning-guide > header span { color: var(--violet-deep); font-size: .68rem; font-weight: 850; }
.learning-guide h2 { margin: 6px 0 0; font-size: clamp(1.36rem,2vw,2rem); line-height: 1.22; letter-spacing: -.035em; text-wrap: balance; }
.learning-guide mark { flex: 0 0 auto; padding: 6px 9px; border-radius: 8px; color: var(--gold); background: var(--gold-soft); font-size: .64rem; font-weight: 850; }
.feature-summary { margin: 13px 0 17px; color: #596175; font-size: .8rem; line-height: 1.7; }
.learning-guide dl { margin: 0; }
.learning-guide dl > div { padding: 11px 0; border-top: 1px solid #edf0f5; }
.learning-guide dt { display: flex; align-items: center; gap: 8px; color: #30384d; font-size: .75rem; font-weight: 850; }
.learning-guide dt svg { width: 18px; height: 18px; color: var(--blue); }
.learning-guide dd { margin: 5px 0 0 26px; color: #636c80; font-size: .72rem; line-height: 1.58; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-top: 14px; color: #6f778a; font-size: .66rem; }
.feature-meta span { display: inline-flex; align-items: center; gap: 5px; }
.feature-meta b { color: #343b4d; font-weight: 800; }
.feature-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.feature-actions button, .feature-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; text-decoration: none; font-size: .76rem; font-weight: 830; cursor: pointer; }
.feature-actions button { border: 1px solid #cfc8ff; color: var(--violet-deep); background: #fff; }
.feature-actions a { color: #fff; background: var(--violet); box-shadow: 0 8px 20px rgba(101,67,242,.2); }
.feature-actions svg { width: 16px; height: 16px; }

.source-note { min-height: 46px; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 9px 14px; border-top: 1px solid #dce3ee; border-bottom: 1px solid #dce3ee; color: #657086; background: #f6f9fd; font-size: .69rem; }
.source-note strong { flex: 0 0 auto; color: #243149; font-size: .73rem; }
.source-note button { flex: 0 0 auto; min-height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px; color: #285fae; background: #e8f1ff; font-size: .66rem; font-weight: 800; cursor: pointer; }
.source-panel { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; padding: 1px; background: #dfe5ef; }
.source-panel article { min-width: 0; padding: 12px 14px; background: #fff; }
.source-panel strong, .source-panel span, .source-panel small { display: block; }
.source-panel strong { font-size: .72rem; }
.source-panel span { margin-top: 3px; color: #59647a; font-size: .65rem; }
.source-panel small { margin-top: 5px; color: #858da0; font-size: .6rem; }

.radar-controls { position: sticky; z-index: 10; top: 0; min-height: 64px; display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); background: rgba(251,251,253,.97); }
.segmented { flex: 0 0 auto; display: flex; padding: 3px; border: 1px solid #dfe3eb; border-radius: 10px; background: #fff; }
.segmented button, .platform-tabs button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 7px; color: #596176; background: transparent; font-size: .7rem; font-weight: 760; white-space: nowrap; cursor: pointer; }
.segmented button[aria-pressed="true"], .platform-tabs button[aria-pressed="true"] { color: var(--violet-deep); background: var(--violet-soft); }
.platform-tabs { flex: 0 1 auto; min-width: 0; display: flex; gap: 2px; padding-right: 9px; border-right: 1px solid #dfe3eb; overflow-x: auto; scrollbar-width: none; }
.platform-tabs::-webkit-scrollbar { display: none; }
.platform-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.platform-tabs button small { min-width: 18px; padding: 2px 5px; border-radius: 5px; color: #747c8e; background: #eef0f4; font-size: .62rem; line-height: 1.25; font-weight: 820; }
.platform-tabs button[aria-pressed="true"] small { color: #fff; background: var(--violet); }
.select-control { flex: 0 0 auto; position: relative; }
.select-control > span { position: absolute; top: 5px; left: 11px; color: #858da0; font-size: .53rem; pointer-events: none; }
.select-control select { min-width: 124px; height: 43px; padding: 14px 30px 2px 10px; border: 1px solid #dfe3eb; border-radius: 10px; color: #2e3548; background: #fff; font-size: .67rem; font-weight: 720; }
.search-control { flex: 1 1 220px; min-width: 150px; height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #dfe3eb; border-radius: 10px; background: #fff; }
.search-control svg { flex: 0 0 18px; width: 18px; height: 18px; color: #777f91; }
.search-control input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .7rem; }
.search-control input::placeholder { color: #8b92a2; opacity: 1; }

.coverage-summary { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(300px,1.45fr) auto; gap: 6px 24px; align-items: baseline; margin-top: 14px; padding: 14px 16px 12px; border: 1px solid #dfe4ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(19,34,67,.05); }
.coverage-summary > div { min-width: 0; }
.coverage-summary > div strong, .coverage-summary > div span { display: block; }
.coverage-summary > div strong { font-size: .9rem; letter-spacing: -.015em; }
.coverage-summary > div span { margin-top: 3px; color: var(--violet-deep); font-size: .72rem; font-weight: 790; }
.coverage-summary > p { min-width: 0; margin: 0; color: #5f687c; font-size: .72rem; line-height: 1.55; overflow-wrap: anywhere; }
.coverage-summary > small { color: #858da0; text-align: right; font-size: .65rem; line-height: 1.5; }
.platform-coverage-list { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin: 6px -16px -12px; padding: 1px 0 0; border-radius: 0 0 13px 13px; overflow: hidden; background: #e4e8f0; list-style: none; }
.platform-coverage-list li { min-width: 0; padding: 10px 14px 11px; background: #f8f9fc; }
.platform-coverage-list li > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.platform-coverage-list strong { font-size: .72rem; }
.platform-coverage-list span { color: #2f5f9e; text-align: right; font-size: .64rem; font-weight: 800; }
.platform-coverage-list small { display: block; margin-top: 4px; overflow: hidden; color: #7b8497; font-size: .62rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }

.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 25px 0 12px; }
.feed-heading h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.feed-heading p { margin: 4px 0 0; color: var(--muted); font-size: .7rem; }
.feed-heading > span { color: #858da0; font-size: .64rem; }
.feed-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.video-feed { min-width: 0; border-top: 1px solid #dfe3eb; }
.video-row { display: grid; grid-template-columns: 240px minmax(0,1fr) auto; gap: 18px; align-items: center; min-height: 160px; padding: 14px 0; border-bottom: 1px solid #e5e8ef; }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#15366e,#08162f); cursor: pointer; }
.video-thumb img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; }
.video-thumb.uses-coded-cover img { display: none; }
.coded-thumb { position: absolute; inset: 0; display: grid; align-content: center; gap: 4px; padding: 16px; text-align: left; background: radial-gradient(circle at 84% 16%,rgba(119,88,255,.74),transparent 36%),linear-gradient(145deg,#15366e,#08162f); }
.coded-thumb b { color: #b8caff; font-size: .56rem; letter-spacing: .12em; }
.coded-thumb em { display: -webkit-box; overflow: hidden; color: #fff; font-size: .82rem; font-style: normal; font-weight: 820; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.video-thumb::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg,transparent,rgba(3,9,23,.7)); pointer-events: none; }
.video-thumb .play-icon { position: absolute; z-index: 2; left: 14px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.56); border-radius: 10px; background: rgba(8,26,59,.84); }
.video-thumb .play-icon svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.video-thumb .platform-chip { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 7px; border-radius: 6px; color: #fff; background: rgba(8,26,59,.82); font-size: .58rem; font-weight: 850; }
.video-copy { min-width: 0; }
.video-copy h3 { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: -.02em; }
.video-copy > p { display: -webkit-box; margin: 6px 0 8px; overflow: hidden; color: #626b7e; font-size: .72rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.video-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.video-tags span { padding: 4px 7px; border-radius: 6px; color: #3f5fa0; background: #edf3ff; font-size: .56rem; font-weight: 760; }
.video-tags span.is-auto { color: #127257; background: #e8f7f0; }
.video-tags span.is-pick { color: var(--gold); background: var(--gold-soft); }
.video-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; color: #7a8294; font-size: .62rem; }
.video-meta b { color: #454d60; font-weight: 790; }
.video-meta .metric-basis { color: #526d9d; }
.row-actions { width: 104px; display: grid; gap: 7px; }
.row-actions button, .row-actions a, .row-actions .row-external { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; text-decoration: none; font-size: .65rem; font-weight: 820; }
.row-actions button, .row-actions a { cursor: pointer; }
.row-actions button { border: 1px solid #cfc8ff; color: var(--violet-deep); background: #fff; }
.row-actions a { color: #fff; background: var(--violet); }
.row-actions .row-external.is-disabled { padding-inline: 8px; color: #858da0; background: #eef0f4; cursor: not-allowed; }
.feed-loading { min-height: 320px; display: grid; place-content: center; justify-items: center; gap: 10px; color: #6b7488; }
.feed-loading > span { border-color: #dfe3ed; border-top-color: var(--violet); }
.feed-loading p { margin: 0; font-size: .72rem; }
.feed-empty { min-height: 280px; display: grid; place-content: center; justify-items: center; text-align: center; }
.feed-empty svg { width: 38px; height: 38px; color: #8e96a8; }
.feed-empty h3 { margin: 12px 0 5px; font-size: 1rem; }
.feed-empty p { margin: 0; color: var(--muted); font-size: .72rem; }
.feed-empty button { min-height: 38px; margin-top: 14px; padding: 0 14px; border: 0; border-radius: 9px; color: #fff; background: var(--violet); font-size: .7rem; font-weight: 800; cursor: pointer; }

.radar-ranking { position: sticky; top: 80px; padding: 18px 18px 8px; border: 1px solid #e1e4ec; border-radius: 14px; background: #fff; }
.radar-ranking header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #eceef3; }
.radar-ranking h2 { margin: 0; font-size: .92rem; }
.radar-ranking header span { color: #8990a0; font-size: .58rem; }
.radar-ranking ol { margin: 0; padding: 4px 0 0; list-style: none; counter-reset: rank; }
.radar-ranking li { counter-increment: rank; position: relative; min-height: 58px; border-bottom: 1px solid #eef0f4; }
.radar-ranking li:last-child { border-bottom: 0; }
.radar-ranking li::before { content: counter(rank); position: absolute; top: 13px; left: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; color: #5c6579; background: #eef0f5; font-size: .59rem; font-weight: 900; }
.radar-ranking li:nth-child(-n+3)::before { color: #fff; background: var(--violet); }
.radar-ranking li > button { width: 100%; min-height: 58px; display: block; padding: 11px 0 10px 29px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.radar-ranking li > button:hover { color: var(--violet-deep); }
.radar-ranking strong { display: -webkit-box; overflow: hidden; font-size: .7rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.radar-ranking small { display: block; margin-top: 4px; color: #858da0; font-size: .57rem; }
.feed-more { position: relative; min-height: 68px; display: grid; place-items: center; }
.feed-more button { min-height: 42px; padding: 0 22px; border: 1px solid #d6dbe5; border-radius: 10px; color: #384054; background: #fff; font-size: .72rem; font-weight: 800; cursor: pointer; }
.feed-more p { color: #858da0; font-size: .66rem; }
.feed-more p.is-error { max-width: 70ch; color: #a43d36; text-align: center; line-height: 1.55; }
#feedSentinel { position: absolute; bottom: 0; width: 1px; height: 1px; pointer-events: none; }
.consent-gate { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(7,15,38,.64); backdrop-filter: blur(12px); }
.consent-card { width: min(560px,100%); padding: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; background: linear-gradient(145deg,#fff 0%,#f6f3ff 100%); box-shadow: 0 28px 80px rgba(4,13,36,.34); }
.consent-eyebrow { display: block; margin-bottom: 7px; color: var(--violet-deep); font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.consent-card h2 { margin: 0 0 8px; font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.035em; }
.consent-card > p { margin: 0; color: #5c6479; font-size: .82rem; line-height: 1.75; }
.consent-check { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 11px; align-items: start; margin: 22px 0 18px; padding: 15px; border: 1px solid #ddd8f5; border-radius: 14px; background: rgba(255,255,255,.78); color: #3f475b; font-size: .75rem; line-height: 1.7; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--violet); }
.consent-check a { color: var(--violet-deep); font-weight: 760; text-underline-offset: 3px; }
.consent-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.consent-actions .consent-dismiss { min-height: 44px; padding: 0 14px; border: 1px solid #d9dde7; border-radius: 11px; color: #596176; background: #fff; box-shadow: none; }
.consent-actions button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; color: #fff; background: var(--violet); box-shadow: 0 10px 24px rgba(101,67,242,.24); font-size: .77rem; font-weight: 850; cursor: pointer; }
.consent-actions button:disabled { color: #9399a8; background: #e5e7ed; box-shadow: none; cursor: not-allowed; }
.consent-card > small { display: block; margin-top: 14px; color: #8a91a1; font-size: .61rem; line-height: 1.5; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0 24px 24px; text-align: center; font-size: .7rem; }
footer a { color: #858b9c; text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--violet); outline: none; text-decoration: underline; text-underline-offset: 3px; }

/* This reading-heavy surface keeps the global guide present without covering the ranking rail. */
.learning-video-radar-page .sl-companion-callout { display: none !important; }
.learning-video-radar-page .sl-companion-dock { width: 68px !important; min-height: 70px !important; grid-template-columns: 68px !important; filter: drop-shadow(0 12px 20px rgba(7,28,63,.14)) !important; }
.learning-video-radar-page .sl-companion-character { width: 64px !important; height: 64px !important; }
.learning-video-radar-page .sl-companion-presence { left: -1px !important; bottom: -2px !important; min-height: 23px !important; padding-inline: 7px !important; font-size: 10px !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes player-enter { from { opacity: .65; clip-path: inset(0 50% 0 50% round 16px); filter: saturate(.7); } to { opacity: 1; clip-path: inset(0 round 0); filter: saturate(1); } }

@media (max-width: 1120px) {
  .feature-stage { grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); }
  .feed-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 18px; }
  .video-row { grid-template-columns: 205px minmax(0,1fr) auto; }
  .radar-controls { flex-wrap: wrap; }
  .search-control { flex-basis: 100%; order: 5; }
}

@media (min-width: 861px) and (max-width: 1199px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header > nav[aria-label="AI历史书生态导航"] { display: none !important; }
  .site-header > .ecosystem-menu-button { display: inline-flex; margin-left: auto; }
}

@media (max-width: 860px) {
  main { width: min(100% - 28px,720px); padding-top: 16px; }
  .site-header { min-height: 60px; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px; }
  .site-header > nav[aria-label="AI历史书生态导航"] { display: none !important; }
  .site-header > .ecosystem-menu-button { display: inline-flex; margin-left: auto; }
  .brand { font-size: 1.34rem; }
  .account { max-width: 104px; min-width: 68px; min-height: 38px; padding: 0 10px; }
  .radar-heading { align-items: flex-start; margin-bottom: 14px; }
  .radar-heading h1 { font-size: 2rem; }
  .radar-heading p { font-size: .76rem; }
  .radar-status { max-width: 170px; }
  .radar-status small { display: none; }
  .feature-stage { grid-template-columns: 1fr; gap: 12px; }
  .learning-guide { padding: 20px; }
  .source-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coverage-summary { grid-template-columns: 1fr auto; }
  .coverage-summary > p { grid-column: 1/-1; }
  .platform-coverage-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feed-layout { grid-template-columns: 1fr; }
  .radar-ranking { position: static; order: -1; }
  .radar-ranking ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
}

@media (max-width: 620px) {
  main { width: 100%; padding: 12px 14px 38px; }
  .radar-heading { display: block; }
  .back-link { margin-bottom: 6px; }
  .radar-heading h1 { font-size: 1.82rem; }
  .radar-heading p { margin-top: 6px; }
  .radar-status { max-width: none; justify-content: flex-start; margin-top: 11px; }
  .radar-status span { min-height: 30px; }
  .player-shell { margin-inline: -14px; border-radius: 0; box-shadow: 0 14px 28px rgba(8,26,59,.16); }
  .player-shell.is-portrait { aspect-ratio: 9/14; max-height: min(72vh,660px); }
  .cover-message { align-items: stretch; flex-direction: column; padding: 14px; }
  .cover-message a, .player-unavailable { width: 100%; }
  .player-connection-notice { align-items: stretch; flex-direction: column; }
  .player-connection-notice button { min-height: 44px; }
  .player-trust { padding-inline: 0; }
  .player-trust p { display: none; }
  .learning-guide { margin-inline: -2px; padding: 17px 16px; border-radius: 14px; }
  .learning-guide h2 { font-size: 1.28rem; }
  .feature-summary { font-size: 14px; }
  .learning-guide dd, .feature-meta { font-size: 12px; }
  .feature-actions { grid-template-columns: 1fr; }
  .source-note { align-items: flex-start; flex-wrap: wrap; padding-inline: 0; background: transparent; }
  .source-note span { flex: 1 1 190px; line-height: 1.5; }
  .source-note button { margin-left: 0; }
  .source-panel { grid-template-columns: 1fr; }
  .radar-controls { top: 0; gap: 8px; margin-inline: -14px; padding: 8px 14px; overflow: hidden; }
  .platform-tabs { order: 3; flex-basis: calc(100% + 28px); margin-inline: -14px; padding: 0 14px 2px; border-right: 0; }
  .platform-tabs button { min-height: 44px; }
  .select-control { flex: 1 1 0; }
  .select-control select { width: 100%; min-width: 0; }
  .search-control { order: 4; flex-basis: 100%; }
  .select-control select, .search-control input { font-size: 16px; }
  .coverage-summary { grid-template-columns: 1fr; gap: 5px; margin-inline: -2px; padding: 13px 14px 11px; }
  .coverage-summary > p { grid-column: auto; }
  .coverage-summary > small { text-align: left; }
  .platform-coverage-list { grid-column: 1; display: flex; margin: 6px -14px -11px; overflow-x: auto; overflow-y: hidden; border-radius: 0 0 13px 13px; scrollbar-width: none; }
  .platform-coverage-list::-webkit-scrollbar { display: none; }
  .platform-coverage-list li { flex: 0 0 min(76vw,260px); }
  .feed-heading { align-items: flex-start; padding-top: 20px; }
  .feed-heading > span { display: none; }
  .video-row { grid-template-columns: 122px minmax(0,1fr); gap: 11px; min-height: 132px; padding: 12px 0; align-items: start; }
  .video-thumb { margin-top: 2px; }
  .video-thumb .play-icon { left: 8px; bottom: 7px; width: 28px; height: 28px; }
  .video-thumb .platform-chip { top: 6px; left: 6px; padding: 3px 5px; }
  .video-copy h3 { display: -webkit-box; overflow: hidden; font-size: .84rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .video-copy > p { margin: 5px 0 7px; font-size: .66rem; line-height: 1.45; -webkit-line-clamp: 2; }
  .video-tags { margin-bottom: 6px; }
  .video-tags span:not(:first-child) { display: none; }
  .video-meta { gap: 4px 9px; font-size: 12px; line-height: 1.42; }
  .video-meta .metric-basis { flex-basis: 100%; }
  .video-meta .meta-checked { flex-basis: 100%; }
  .row-actions { grid-column: 1/-1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin-top: -2px; }
  .row-actions button, .row-actions a, .row-actions .row-external { min-height: 44px; }
  .radar-ranking { padding: 15px 14px 7px; }
  .radar-ranking ol { grid-template-columns: 1fr; }
  .consent-gate { align-items: end; padding: 12px; }
  .consent-card { padding: 22px 18px 18px; border-radius: 20px; }
  .consent-card > p { font-size: .76rem; }
  .consent-check { margin-block: 17px 14px; padding: 13px; font-size: .7rem; }
  .consent-actions { align-items: stretch; flex-direction: column-reverse; text-align: center; }
  .consent-actions button { width: 100%; min-height: 48px; }
  .consent-actions .consent-dismiss { width: 100%; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
