:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5f625c;
  --paper: #f4f4f1;
  --surface: #ffffff;
  --line: #1d1d1d;
  --red: #e94d35;
  --green: #2eb872;
  --cyan: #00a6a6;
  --blue: #2457d6;
  --yellow: #f1c644;
  --shadow: 0 18px 60px rgb(0 0 0 / 16%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgb(21 21 21 / 4%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(21 21 21 / 4%) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 2px solid var(--line);
  background: rgb(244 244 241 / 88%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 20px 0 18px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--red);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 108px);
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: #101010;
  color: #fff;
}

.poster-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 0.8fr;
  gap: 12px;
  padding: 24px 24px 24px 42%;
  opacity: 0.72;
  transform: rotate(-2deg) scale(1.06);
}

.poster-wall img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 2px solid rgb(255 255 255 / 78%);
  box-shadow: 0 28px 60px rgb(0 0 0 / 42%);
}

.poster-wall img:nth-child(1) {
  grid-row: span 2;
}

.poster-wall img:nth-child(2) {
  transform: translateY(42px);
}

.poster-wall img:nth-child(3) {
  grid-row: span 2;
  transform: translateY(-26px);
}

.poster-wall img:nth-child(5) {
  transform: translateY(22px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 86%) 0%, rgb(0 0 0 / 68%) 38%, rgb(0 0 0 / 20%) 72%, rgb(0 0 0 / 58%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 52%), transparent 48%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 88px 32px 120px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 92px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 22px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
}

.button.secondary {
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.live-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: rgb(10 10 10 / 74%);
  box-shadow: var(--shadow);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.live-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.live-panel p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.source-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
  border-bottom: 2px solid var(--line);
  background: var(--surface);
}

.metric,
.source-link {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 2px solid var(--line);
}

.metric strong {
  display: block;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.source-link {
  display: grid;
  min-width: 190px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.archive-section,
.guide-section,
.faq-section {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  padding: 74px 0;
  scroll-margin-top: 82px;
}

.category-section,
.table-section,
.field-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
  scroll-margin-top: 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 54px;
  line-height: 1;
}

.section-summary {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.control-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.search-box span {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 0;
  border-left: 2px solid var(--line);
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  min-height: 36px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.faq-list details {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.guide-card {
  min-height: 220px;
  padding: 20px;
}

.guide-card span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 900;
}

.guide-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.guide-card a,
.faq-list a,
.trust-page a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.episode-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
}

.episode-card {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.episode-media {
  position: relative;
  display: block;
  padding: 0;
  border-bottom: 2px solid var(--line);
  background: #171717;
}

.episode-media img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  object-fit: initial;
  object-position: center;
  box-shadow: none;
}

.episode-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 2 / 3;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgb(233 77 53 / 24%), transparent 44%),
    linear-gradient(45deg, rgb(0 166 166 / 18%), transparent 48%),
    #f1f1ed;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.date-badge {
  border-color: var(--yellow);
  background: #fffdf1;
  color: var(--ink);
  font-weight: 900;
}

.episode-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 8px;
  background: #f8f8f6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.episode-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.34;
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.episode-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.episode-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.episode-links a {
  min-height: 30px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.episode-links a:hover,
.episode-links a:focus-visible {
  background: var(--green);
  color: var(--ink);
}

.empty-state {
  column-span: all;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgb(255 255 255 / 54%);
}

.data-table-wrap {
  max-height: 72vh;
  overflow: auto;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.data-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.data-table th,
.data-table td {
  width: 220px;
  max-width: 220px;
  min-width: 160px;
  vertical-align: top;
  border-right: 1px solid rgb(21 21 21 / 18%);
  border-bottom: 1px solid rgb(21 21 21 / 18%);
  padding: 10px;
  background: var(--surface);
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
}

.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  background: #fbfbf8;
  font-weight: 900;
}

.data-table th:first-child {
  z-index: 3;
  background: var(--ink);
}

.cell-text {
  max-height: 168px;
  overflow: auto;
  white-space: pre-line;
  line-height: 1.55;
}

.cell-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  background: #f8f8f6;
  font-weight: 800;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pill {
  display: inline-flex;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgb(21 21 21 / 24%);
  border-radius: 6px;
  padding: 3px 7px;
  background: #f8f8f6;
  line-height: 1.35;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.field-card {
  min-height: 160px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.field-card.unreadable {
  background: #f4eee9;
  border-style: dashed;
}

.field-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.field-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.field-card div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
}

.field-card dt {
  color: var(--ink);
  font-weight: 900;
}

.field-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.topic-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-item {
  min-height: 132px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.topic-item:nth-child(4n + 1) {
  border-top: 10px solid var(--red);
}

.topic-item:nth-child(4n + 2) {
  border-top: 10px solid var(--cyan);
}

.topic-item:nth-child(4n + 3) {
  border-top: 10px solid var(--green);
}

.topic-item:nth-child(4n + 4) {
  border-top: 10px solid var(--blue);
}

.topic-item strong {
  display: block;
  font-size: 20px;
}

.topic-item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 28px;
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 900;
}

.trust-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.trust-hero {
  max-width: 820px;
  margin-bottom: 40px;
}

.trust-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 64px;
  line-height: 1.05;
}

.trust-hero p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  min-height: 190px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.trust-grid h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .episode-column {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .poster-wall {
    padding-left: 25%;
    opacity: 0.48;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .source-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-row,
  .topic-map,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .episode-grid {
    gap: 18px;
  }

  .episode-column {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .nav-links {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 4px 0 8px;
  }

  .hero {
    min-height: calc(100svh - 180px);
  }

  .poster-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 160px 12px 24px;
    opacity: 0.42;
  }

  .poster-wall img:nth-child(n) {
    grid-row: auto;
    transform: none;
  }

  .hero-copy {
    padding: 50px 20px 190px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .live-panel {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    padding: 18px;
  }

  .live-panel h2 {
    font-size: 20px;
  }

  .source-band,
  .control-row,
  .topic-map,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .episode-card {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .episode-column {
    gap: 12px;
  }

  .episode-body {
    padding: 14px;
  }

  .episode-title {
    font-size: 16px;
  }

  .episode-summary {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  .metric,
  .source-link {
    min-height: 92px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .guide-section,
  .faq-section,
  .category-section,
  .table-section,
  .field-section {
    width: min(100% - 24px, 1180px);
    padding: 52px 0;
  }

  .archive-section {
    width: min(100% - 24px, 1380px);
    padding: 52px 0;
  }

  .guide-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-summary {
    margin-top: 12px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .search-box span {
    padding: 10px 12px 0;
  }

  .search-box input {
    border-left: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .trust-page {
    width: min(100% - 24px, 1180px);
    padding: 52px 0;
  }

  .trust-hero h1 {
    font-size: 42px;
  }

  .trust-hero p {
    font-size: 17px;
  }
}
