/* ============ 拆解室 · DOSSIER ROOM ============ */
:root {
  --bg: #0a0c12;
  --bg2: #0e1119;
  --surface: #121623;
  --surface2: #181d2d;
  --line: #232b3e;
  --line2: #313c56;
  --ink: #eceef6;
  --mut: #9aa4bc;
  --dim: #5d6883;
  --red: #ff2e4c;
  --red2: #ff6b81;
  --cyan: #2bd9e8;
  --cyan-deep: #1b7f8c;
  --amber: #ffb224;
  --green: #4ae39b;
  --violet: #8f7bff;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --nav-h: 64px;
  --rad: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.ic { display: inline-flex; width: 1em; height: 1em; flex: none; }
.ic svg { width: 100%; height: 100%; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--line2) var(--bg2); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--bg2); }
*::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 6px; border: 2px solid var(--bg2); }
*::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* grain overlay */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: rgba(10, 12, 18, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10, 12, 18, .9); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 32px; height: 32px; color: var(--ink); flex: none; }
.brand-t { font-weight: 800; font-size: 18px; letter-spacing: .06em; line-height: 1.1; display: flex; flex-direction: column; }
.brand-t small { font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: .34em; color: var(--dim); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: 8px; font-size: 14.5px; color: var(--mut);
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--surface2); }
.nav-links a.on { color: var(--ink); }
.nav-links a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); border-radius: 2px; box-shadow: 0 0 8px var(--red);
}
.nav-cta {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9px;
  border: 1px solid var(--line2); font-size: 13.5px; color: var(--mut);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.nav-cta:hover { border-color: var(--red); color: var(--ink); box-shadow: 0 0 16px rgba(255, 46, 76, .25); }
.nav-cta .ic { color: var(--red); }

/* ============ hero ============ */
.hero { position: relative; padding: calc(var(--nav-h) + 84px) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.a1 { width: 640px; height: 640px; top: -260px; left: -140px; background: radial-gradient(circle, rgba(255, 46, 76, .5), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.a2 { width: 560px; height: 560px; top: -120px; right: -160px; background: radial-gradient(circle, rgba(43, 217, 232, .34), transparent 65%); animation: drift2 20s ease-in-out infinite alternate; }
.a3 { width: 520px; height: 520px; bottom: -280px; left: 34%; background: radial-gradient(circle, rgba(143, 123, 255, .3), transparent 65%); animation: drift1 24s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(70px, 40px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-60px, 50px) scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(154, 164, 188, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(154, 164, 188, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: -2px;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 76, .7), rgba(43, 217, 232, .5), transparent);
  animation: scan 7s linear infinite; opacity: .6;
}
@keyframes scan { 0% { top: -2px; } 100% { top: 102%; } }
.hero-in { position: relative; padding-bottom: 64px; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; color: var(--cyan); margin-bottom: 26px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.6s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 900; line-height: 1.16; letter-spacing: .01em; }
.hero h1 em {
  font-style: normal; position: relative;
  background: linear-gradient(100deg, var(--red) 10%, var(--red2) 45%, var(--amber) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 46, 76, .3), rgba(255, 178, 36, .14));
  transform: scaleX(0); transform-origin: left; animation: underline 1s .7s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.lead { max-width: 620px; margin-top: 24px; color: var(--mut); font-size: 16.5px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--rad); background: rgba(18, 22, 35, .6); backdrop-filter: blur(6px); overflow: hidden; width: fit-content; }
.stat { padding: 18px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat:last-child { border-right: none; }
.stat b { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 12px; color: var(--dim); letter-spacing: .12em; }
.hero-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 12.5px; letter-spacing: .18em; color: var(--mut); transition: color .2s; }
.hero-more:hover { color: var(--cyan); }
.hero-more .ic { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ticker */
.ticker { position: relative; border-top: 1px solid var(--line); background: rgba(14, 17, 25, .8); overflow: hidden; padding: 11px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; font-size: 12.5px; color: var(--dim); }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding-right: 48px; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ sections ============ */
section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-k { display: block; font-size: 11px; letter-spacing: .3em; color: var(--red); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: .02em; }
.sec-sub { color: var(--dim); font-size: 13.5px; max-width: 420px; }

/* focus */
.focus-sec { padding-top: 56px; }
.focus {
  position: relative; display: grid; grid-template-columns: 280px 1fr; gap: 0;
  border: 1px solid var(--line2); border-radius: var(--rad); overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 46, 76, .09), rgba(18, 22, 35, .9) 42%, rgba(43, 217, 232, .06));
}
.focus::before, .focus::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--red); pointer-events: none;
}
.focus::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.focus::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.focus-num { padding: 34px 30px; border-right: 1px dashed var(--line2); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.focus-k { font-size: 11px; letter-spacing: .18em; color: var(--mut); }
.focus-num b {
  font-size: clamp(52px, 6vw, 72px); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--red), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 44px rgba(255, 46, 76, .35);
}
.focus-l { font-size: 12.5px; color: var(--dim); }
.focus-body { padding: 30px 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.focus-body h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; line-height: 1.45; }
.focus-body h2 a:hover { color: var(--red2); }
.focus-line { font-family: var(--serif); color: var(--mut); font-size: 15px; line-height: 1.9; }
.focus-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.focus-meta { font-size: 12px; color: var(--dim); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 10px;
  background: linear-gradient(120deg, var(--red), #e01f3d); color: #fff; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 4px 22px rgba(255, 46, 76, .3); transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 46, 76, .45); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--mut); box-shadow: none; }
.btn.ghost:hover { border-color: var(--cyan); color: var(--ink); box-shadow: 0 0 18px rgba(43, 217, 232, .2); }
.btn.small { padding: 8px 16px; font-size: 13px; }

/* tags & chips */
.tag { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; border: 1px solid; }
.g-cyan { color: var(--cyan); border-color: rgba(43, 217, 232, .4); background: rgba(43, 217, 232, .08); }
.g-violet { color: var(--violet); border-color: rgba(143, 123, 255, .4); background: rgba(143, 123, 255, .08); }
.g-amber { color: var(--amber); border-color: rgba(255, 178, 36, .4); background: rgba(255, 178, 36, .08); }
.g-red { color: var(--red2); border-color: rgba(255, 46, 76, .4); background: rgba(255, 46, 76, .08); }
.tag-dim { color: var(--dim); border-color: var(--line); background: transparent; font-weight: 400; }
.tag-red { color: var(--red2); border-color: rgba(255, 46, 76, .5); background: rgba(255, 46, 76, .1); }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-channel {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line2); font-size: 12.5px; color: var(--mut); transition: border-color .2s, color .2s;
}
.chip-channel:hover { border-color: var(--cyan); color: var(--cyan); }
.chip-dim { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ============ archive toolbar ============ */
.archive { padding-top: 72px; }
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.search-box {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px;
  border: 1px solid var(--line2); border-radius: 10px; padding: 10px 16px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s; color: var(--dim);
}
.search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 46, 76, .15); color: var(--red); }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--ink); font-size: 14px; }
.search-box input::placeholder { color: var(--dim); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; color: var(--mut);
  transition: all .2s;
}
.chip:hover { border-color: var(--cyan); color: var(--ink); }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 2px 14px rgba(255, 46, 76, .35); }
.sort-box { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.sort-box select {
  background: var(--surface); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 12px;
  font-size: 13px; color: var(--ink); outline: none; cursor: pointer; transition: border-color .2s;
}
.sort-box select:hover, .sort-box select:focus { border-color: var(--cyan); }
.count { font-size: 12px; color: var(--dim); margin-left: auto; }

/* ============ cards ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 46, 76, .55); box-shadow: 0 16px 44px rgba(0, 0, 0, .5), 0 0 24px rgba(255, 46, 76, .14); }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 18, .3), transparent 35%, transparent 65%, rgba(10, 12, 18, .55)); }
.card-no {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; letter-spacing: .16em;
  padding: 4px 10px; border-radius: 6px; background: rgba(10, 12, 18, .78); border: 1px solid rgba(255, 46, 76, .5); color: var(--red2);
  backdrop-filter: blur(4px);
}
.card-dur { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: rgba(10, 12, 18, .82); color: var(--ink); }
.card-scan { position: absolute; left: 0; right: 0; top: -2px; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0; }
.card:hover .card-scan { opacity: .9; animation: cardscan 1.4s linear infinite; }
@keyframes cardscan { 0% { top: -2px; } 100% { top: 102%; } }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h3 a:hover { color: var(--red2); }
.card-line {
  font-family: var(--serif); font-size: 13.5px; color: var(--mut); line-height: 1.85;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  border-left: 2px solid var(--line2); padding-left: 12px;
}
.card-metrics { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; margin-top: auto; }
.card-metrics span { display: inline-flex; align-items: center; gap: 6px; }
.cm-views { color: var(--cyan); }
.cm-likes { color: var(--red2); }
.cm-comments { color: var(--amber); }
.cm-eng { color: var(--green); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 14px; }
.card-go { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--red2); transition: gap .2s, color .2s; }
.card-go:hover { gap: 11px; color: var(--ink); }

.empty { text-align: center; padding: 72px 20px; border: 1px dashed var(--line2); border-radius: var(--rad); }
.empty .mono { color: var(--red); letter-spacing: .3em; font-size: 13px; margin-bottom: 10px; }
.empty p { color: var(--mut); margin-bottom: 22px; }

/* ============ channels ============ */
.channels-sec { padding-top: 80px; }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.ch-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ch-card:hover { transform: translateY(-3px); border-color: rgba(43, 217, 232, .55); box-shadow: 0 12px 34px rgba(0, 0, 0, .45), 0 0 20px rgba(43, 217, 232, .12); }
.ch-ava {
  width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--red), #b0163a 60%, #6e1030);
  box-shadow: 0 4px 18px rgba(255, 46, 76, .3);
}
.ch-ava.big { width: 84px; height: 84px; font-size: 38px; border-radius: 20px; }
.ch-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ch-info b { font-size: 17px; font-weight: 700; }
.ch-info .mono { font-size: 12px; color: var(--cyan); }
.ch-nums { font-size: 11.5px !important; color: var(--dim) !important; }
.ch-go { margin-left: auto; color: var(--dim); transition: color .2s, transform .2s; }
.ch-card:hover .ch-go { color: var(--cyan); transform: translateX(4px); }

/* ============ method ============ */
.method { margin-top: 88px; padding: 72px 0 80px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), var(--bg)); position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 217, 232, .1), transparent 65%); filter: blur(60px); pointer-events: none; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  position: relative; border: 1px solid var(--line); border-radius: var(--rad); padding: 26px 24px;
  background: rgba(18, 22, 35, .65); transition: border-color .25s, transform .25s;
}
.steps li:hover { border-color: var(--line2); transform: translateY(-3px); }
.steps li::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--red), transparent); opacity: .7; }
.steps li:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.steps li:nth-child(3)::before { background: linear-gradient(90deg, var(--amber), transparent); }
.steps li:nth-child(4)::before { background: linear-gradient(90deg, var(--green), transparent); }
.step-n { position: absolute; top: 18px; right: 20px; font-size: 12px; color: var(--dim); letter-spacing: .2em; }
.steps .ic { width: 26px; height: 26px; color: var(--red); margin-bottom: 14px; }
.steps li:nth-child(2) .ic { color: var(--cyan); }
.steps li:nth-child(3) .ic { color: var(--amber); }
.steps li:nth-child(4) .ic { color: var(--green); }
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 13.5px; color: var(--mut); line-height: 1.8; }
.method-note { margin-top: 28px; font-size: 12px; color: var(--dim); letter-spacing: .06em; }

/* ============ footer ============ */
.foot { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding: 52px 28px 40px; }
.foot-brand p { margin-top: 16px; color: var(--dim); font-size: 13.5px; max-width: 340px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font-size: 12px; letter-spacing: .24em; color: var(--mut); font-family: var(--mono); font-weight: 600; margin-bottom: 6px; }
.foot-col a { color: var(--dim); font-size: 14px; transition: color .2s; width: fit-content; }
.foot-col a:hover { color: var(--red2); }
.foot-meta .mono { font-size: 11.5px; color: var(--dim); letter-spacing: .06em; }
.foot-note { font-size: 12px; color: var(--dim); margin-top: 8px; }
.foot-bar { border-top: 1px solid var(--line); padding: 18px 28px; font-size: 11.5px; color: var(--dim); letter-spacing: .08em; }

/* ============ dossier (video detail) ============ */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 55; background: linear-gradient(90deg, var(--red), var(--amber)); box-shadow: 0 0 10px rgba(255, 46, 76, .6); }
.dossier { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 80px; }
.crumb { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); margin-bottom: 26px; letter-spacing: .1em; }
.crumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); transition: color .2s; }
.crumb a:hover { color: var(--red2); }
.dossier-head { margin-bottom: 36px; max-width: 860px; }
.dossier-head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.4; margin: 16px 0 14px; }
.dossier-line { font-family: var(--serif); font-size: 16px; color: var(--mut); line-height: 1.95; border-left: 3px solid var(--red); padding-left: 16px; }
.dossier-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dossier-layout { display: grid; grid-template-columns: 330px 1fr; gap: 36px; align-items: start; }

/* panel */
.panel { position: sticky; top: calc(var(--nav-h) + 20px); border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); overflow: hidden; }
.panel-thumb { position: relative; aspect-ratio: 16 / 9; }
.panel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 22, 35, .95)); }
.panel-no { position: absolute; bottom: 10px; left: 14px; z-index: 2; font-size: 10.5px; letter-spacing: .3em; color: var(--red2); }
.panel-sec { padding: 20px 22px; border-top: 1px dashed var(--line); }
.panel-sec:first-of-type { border-top: none; }
.panel-sec h4 { font-size: 11px; letter-spacing: .24em; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.panel-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; background: var(--bg2); }
.m .ic { width: 15px; height: 15px; color: var(--dim); margin-bottom: 4px; }
.m b { font-size: 19px; font-weight: 700; line-height: 1.2; }
.m span { font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.pm-views .ic, .pm-views b { color: var(--cyan); }
.pm-likes .ic, .pm-likes b { color: var(--red2); }
.pm-comments .ic, .pm-comments b { color: var(--amber); }
.panel-rates { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.panel-rates > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mut); }
.panel-rates b { font-size: 15px; color: var(--green); }
.panel-rates b.hot { color: var(--red); text-shadow: 0 0 14px rgba(255, 46, 76, .5); }
.panel-note { margin-top: 10px; font-size: 11px; color: var(--dim); }
.taglist { display: flex; flex-wrap: wrap; gap: 7px; }
.chapters { list-style: none; display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.chapters a { display: flex; gap: 12px; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: var(--mut); transition: background .2s, color .2s; align-items: baseline; }
.chapters a:hover { background: var(--surface2); color: var(--ink); }
.chapters .mono { color: var(--cyan); font-size: 11.5px; flex: none; }

/* article */
.article { min-width: 0; }
.toc { border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); padding: 16px 20px; margin-bottom: 30px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.toc > .mono { font-size: 11px; letter-spacing: .24em; color: var(--dim); flex: none; }
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toc-chips a {
  font-size: 12.5px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mut);
  transition: all .2s;
}
.toc-chips a:hover { border-color: var(--red); color: var(--ink); }
.toc-chips a.on { background: rgba(255, 46, 76, .14); border-color: var(--red); color: var(--red2); }

.prose { font-size: 15.5px; line-height: 2; color: #c9cfdf; }
.prose h2 {
  font-size: 22px; font-weight: 800; color: var(--ink); margin: 44px 0 18px; padding-left: 16px;
  border-left: 4px solid var(--red); line-height: 1.5; scroll-margin-top: calc(var(--nav-h) + 20px);
}
.prose h2:first-child { margin-top: 4px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose strong { color: #fff; font-weight: 700; }
.prose em { color: var(--amber); font-style: normal; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose blockquote {
  margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--amber);
  background: rgba(255, 178, 36, .06); border-radius: 0 10px 10px 0;
  font-family: var(--serif); color: var(--mut);
}
.prose code { font-family: var(--mono); font-size: .88em; color: var(--cyan); background: rgba(43, 217, 232, .09); padding: 2px 7px; border-radius: 5px; }
.prose a { color: var(--cyan); border-bottom: 1px dashed rgba(43, 217, 232, .5); }
.prose a:hover { color: var(--ink); }
.prose hr { border: none; border-top: 1px dashed var(--line2); margin: 32px 0; }
.tw { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.prose th {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-align: left;
  background: rgba(43, 217, 232, .07); color: var(--cyan); padding: 12px 16px;
  border-bottom: 1px solid var(--line2); white-space: nowrap;
}
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.8; }
.prose tr:nth-child(even) td { background: rgba(24, 29, 45, .5); }
.prose tr:last-child td { border-bottom: none; }
.prose td strong { color: var(--red2); }

/* transcript */
.transcript { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); overflow: hidden; }
.tr-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 22px; text-align: left; transition: background .2s; }
.tr-toggle:hover { background: var(--surface2); }
.tr-toggle > .ic:first-child { width: 20px; height: 20px; color: var(--cyan); }
.tr-toggle > span:nth-child(2) { font-weight: 700; font-size: 15.5px; }
.tr-meta { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.tr-chev { width: 18px; height: 18px; color: var(--dim); transition: transform .3s; }
.tr-toggle[aria-expanded="true"] .tr-chev { transform: rotate(180deg); }
.tr-body { border-top: 1px dashed var(--line); padding: 18px 22px 22px; }
.tr-search { margin-bottom: 14px; }
.tr-list { max-height: 430px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 6px; }
.tr-seg { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 14px; line-height: 1.8; transition: background .15s; }
.tr-seg:hover { background: var(--surface2); }
.tr-seg a { font-family: var(--mono); font-size: 11.5px; color: var(--cyan); padding-top: 4px; }
.tr-seg a:hover { color: var(--red2); }
.tr-seg mark { background: rgba(255, 178, 36, .35); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.tr-seg.hide { display: none; }
.tr-loading, .tr-empty { color: var(--dim); font-size: 12.5px; letter-spacing: .2em; padding: 18px 10px; }
.tr-count { font-size: 11.5px; color: var(--dim); margin-top: 10px; letter-spacing: .08em; }

/* prev / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.pn-link {
  border: 1px solid var(--line); border-radius: var(--rad); padding: 18px 22px; background: var(--surface);
  display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s;
}
.pn-link:hover { border-color: rgba(255, 46, 76, .5); transform: translateY(-2px); }
.pn-link .mono { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .18em; color: var(--dim); }
.pn-link b { font-size: 14px; font-weight: 600; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-link.next { text-align: right; align-items: flex-end; }
.pn-link:hover .mono { color: var(--red2); }

/* ============ channel page ============ */
.ch-head { display: flex; gap: 26px; align-items: center; margin-bottom: 34px; }
.ch-head-info h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin: 6px 0 14px; }
.ch-stats { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); overflow: hidden; width: fit-content; margin-bottom: 52px; }
.ch-chart-sec { margin-bottom: 20px; }
.chart-wrap { border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); padding: 26px 28px; overflow-x: auto; }
.chart-wrap svg { width: 100%; min-width: 640px; height: auto; display: block; }
.cv-label { fill: var(--mut); font-size: 13px; font-family: var(--sans); }
.cv-val { fill: var(--ink); font-size: 12.5px; font-family: var(--mono); }
.cv-tag { fill: var(--red2); font-size: 10px; font-family: var(--mono); letter-spacing: .08em; }
.cv-row { cursor: pointer; }
.cv-row:hover .cv-label { fill: var(--ink); }
.cv-row:hover rect { filter: brightness(1.25); }
.cv-row rect { transition: filter .2s; }

/* ============ stats page ============ */
.stats-cards { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); overflow: hidden; width: fit-content; margin-bottom: 44px; }
.st-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line2); border-radius: var(--rad); margin-bottom: 36px; }
.st-empty .mono { color: var(--cyan); letter-spacing: .3em; font-size: 13px; margin-bottom: 10px; }
.st-empty p { color: var(--mut); }
.st-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.st-cols > section { min-width: 0; }
.st-list { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: var(--rad); background: var(--surface); padding: 20px 22px; }
.st-row-top { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--mut); margin-bottom: 6px; }
.st-row-top span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-row-top b { color: var(--ink); flex: none; }
.st-track { height: 6px; border-radius: 4px; background: var(--bg2); overflow: hidden; }
.st-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--red2)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.st-track.cool i { background: linear-gradient(90deg, var(--cyan-deep), var(--cyan)); }
.st-row.slim { border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.st-row.slim:last-child { border-bottom: none; padding-bottom: 0; }
.st-code { color: var(--dim); font-size: 11px; }
.st-sub { margin: 22px 0 10px; font-size: 11px; letter-spacing: .24em; color: var(--dim); }
.st-dl { font-size: 10.5px; fill: var(--dim); }
#st-chart svg { min-width: 560px; }

/* ============ reveal ============ */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .dossier-layout { grid-template-columns: 1fr; }
  .panel { position: static; }
  .panel-metrics { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .focus { grid-template-columns: 1fr; }
  .focus-num { border-right: none; border-bottom: 1px dashed var(--line2); padding: 26px 30px; }
  .st-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav-in { padding: 0 18px; gap: 12px; }
  .nav-cta .nav-cta-t { display: none; }
  .nav-cta { padding: 8px 11px; }
  .nav-links a { padding: 7px 9px; font-size: 13.5px; }
  .brand-t small { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero-stats { width: 100%; }
  .stat { flex: 1 1 45%; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .stat b { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .ch-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; padding: 40px 18px 30px; }
  .panel-metrics { grid-template-columns: 1fr 1fr; }
  .pn { grid-template-columns: 1fr; }
  .pn-link.next { text-align: left; align-items: flex-start; }
  .ch-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ch-stats { width: 100%; }
  .ch-stats .stat { flex: 1 1 45%; }
  .toolbar { gap: 10px; }
  .count { margin-left: 0; width: 100%; }
  .focus-body { padding: 24px 22px; }
  .dossier-head h1 { font-size: 24px; }
  .tr-seg { grid-template-columns: 52px 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stats-cards { width: 100%; }
  .stats-cards .stat { flex: 1 1 45%; }
}
@media (max-width: 480px) {
  .brand-t { display: none; }
  .nav-links a { padding: 7px 7px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  html.js .reveal, .reveal { opacity: 1; transform: none; }
}