:root {
  --bg: #0e0f13;
  --bg-soft: #121319;
  --surface: #17181d;
  --surface-2: #1e2028;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f1e8;
  --muted: #9b978d;
  --dim: #6f6b63;
  --yellow: #ffd23f;
  --orange: #ff6b2c;
  --green: #8be04e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --wrap: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button { cursor: pointer; }

::selection { background: var(--yellow); color: #141414; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 15, 19, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo-mark { display: block; }

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
}

.logo-text small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
}

.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a.is-active { background: var(--yellow); color: #141414; font-weight: 700; }

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 248px;
  padding: 4px 4px 4px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  transition: border-color 0.18s;
}

.header-search:focus-within { border-color: rgba(255, 210, 63, 0.55); }

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
}

.header-search input::placeholder { color: var(--dim); }

.header-search button {
  flex: none;
  border: 0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: #141414;
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -140px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.2), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  padding-top: 74px;
  padding-bottom: 82px;
}

.hero-inner > *,
.detail-top > *,
.detail-grid > *,
.section-head > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 210, 63, 0.1);
  border: 1px solid rgba(255, 210, 63, 0.25);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  background: linear-gradient(transparent 64%, rgba(255, 107, 44, 0.5) 64%);
}

.hero-desc {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.btn-primary {
  background: var(--yellow);
  color: #141414;
  box-shadow: 0 10px 30px rgba(255, 210, 63, 0.16);
}

.btn-primary:hover { background: #ffdf69; transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--muted); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 40px;
}

.hero-stats b {
  display: block;
  color: var(--yellow);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-stack {
  position: relative;
  height: 470px;
}

.hero-card {
  position: absolute;
  top: 0;
  width: 206px;
}

.hero-card .poster {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

/* 叠放的海报仅做视觉陈列，标题在下方精选区展示，避免相互遮挡 */
.hero-card .poster-bottom { display: none; }
.hero-card .poster-glyph { font-size: 148px; top: 24%; right: -4px; }
.hero-card .poster-stamp { top: 54px; right: 18px; font-size: 11px; }
.hero-card .poster-stamp b { font-size: 19px; }

.hero-card-1 { left: 2%; top: 44px; transform: rotate(-7deg); z-index: 3; }
.hero-card-2 { left: 27%; top: 0; transform: rotate(2deg); z-index: 2; }
.hero-card-3 { left: 53%; top: 58px; transform: rotate(9deg); z-index: 1; }

/* ---------- 海报 ---------- */
.poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 4;
  padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(158deg, var(--p1, #ff6b2c), var(--p2, #23140c));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.66));
  pointer-events: none;
}

.poster > * { position: relative; z-index: 2; }

.poster-glyph {
  position: absolute;
  right: -10px;
  top: 12%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.13);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 122px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}

.poster-top { display: flex; align-items: flex-start; justify-content: space-between; }

.poster-scene {
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.poster-stamp {
  position: absolute;
  top: 46px;
  right: 14px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 3px 8px;
  border: 2px solid rgba(255, 210, 63, 0.92);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transform: rotate(7deg);
}

.poster-stamp b { font-size: 17px; line-height: 1; }

.poster-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.poster-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.2px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.poster-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.scene-workplace { --p1: #ff7a3d; --p2: #34150a; }
.scene-love { --p1: #ff5c8a; --p2: #3d0f26; }
.scene-family { --p1: #f2b825; --p2: #382805; }
.scene-campus { --p1: #8be04e; --p2: #142e0a; }
.scene-social { --p1: #5ca8ff; --p2: #0d1e38; }
.scene-life { --p1: #b07bff; --p2: #251043; }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--muted);
  font-size: 13px;
}

.more span { transition: transform 0.18s; }
.more:hover { color: var(--yellow); }
.more:hover span { transform: translateX(4px); }

/* ---------- 今日份的囧 ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s, border-color 0.2s;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 63, 0.4);
}

.featured-card .poster { padding: 11px; }
.featured-card .poster-glyph { font-size: 64px; top: 6%; right: -12px; }
.featured-card .poster-scene { font-size: 8px; padding: 3px 6px; }
.featured-card .poster-stamp { top: 36px; right: 9px; font-size: 8px; padding: 2px 5px; }
.featured-card .poster-stamp b { font-size: 12px; }
.featured-card .poster-title { font-size: 13px; -webkit-line-clamp: 3; }
.featured-card .poster-meta { font-size: 9px; }

.featured-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.featured-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.featured-head h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.4; }

.mini-score {
  flex: none;
  padding: 2px 7px;
  border-radius: 7px;
  background: var(--yellow);
  color: #141414;
  font-size: 12px;
  font-weight: 800;
}

.featured-line {
  margin: 0;
  color: var(--yellow);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 剧卡网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
  gap: 26px 18px;
}

.drama-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.2s;
}

.drama-card:hover { transform: translateY(-4px); }
.drama-card:hover .poster { box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45); }

.card-body { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }

.card-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-line {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 11px;
}

.card-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--dim);
}

/* ---------- 场景 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scene-tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.scene-tile:hover { transform: translateY(-3px); border-color: var(--tint); }

.scene-tile::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--tint);
  opacity: 0.12;
}

.scene-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--tint);
  color: #141414;
  font-size: 20px;
  font-weight: 900;
}

.scene-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.scene-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}

.scene-name em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 500; }

.scene-desc { color: var(--muted); font-size: 12px; line-height: 1.65; }

.tint-orange { --tint: #ff8a4c; }
.tint-pink { --tint: #ff7aa2; }
.tint-yellow { --tint: #ffd23f; }
.tint-green { --tint: #8be04e; }
.tint-blue { --tint: #5ca8ff; }
.tint-purple { --tint: #b07bff; }

.score-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 22px 26px;
  border: 1px dashed rgba(255, 210, 63, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 210, 63, 0.05);
}

.score-band-copy h3 { margin: 0; font-size: 16px; font-weight: 800; }
.score-band-copy p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.score-dims { display: flex; flex-wrap: wrap; gap: 9px; }

.score-dims span {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.score-dims b { margin-right: 6px; color: var(--yellow); }

/* ---------- 榜单 ---------- */
.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.16s, border-color 0.16s;
}

.rank-row:hover { background: var(--surface); border-color: var(--line); }

.rank-no {
  flex: none;
  width: 32px;
  color: var(--dim);
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.rank-no.is-top { color: var(--yellow); }

.rank-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(158deg, var(--p1), var(--p2));
  color: rgba(255, 255, 255, 0.82);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-weight: 900;
}

.rank-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.rank-title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-line {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-tags { display: flex; gap: 8px; color: var(--dim); font-size: 10px; }
.rank-tags em { font-style: normal; }

.rank-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
}

.rank-score b {
  color: var(--yellow);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.rank-score small { color: var(--dim); font-size: 10px; }

/* ---------- 囧单 ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 192px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(152deg, var(--surface-2), var(--surface));
  transition: transform 0.2s, border-color 0.2s;
}

.topic-card:hover { transform: translateY(-3px); border-color: rgba(255, 210, 63, 0.4); }

.topic-kicker { color: var(--yellow); font-size: 11px; letter-spacing: 1px; }
.topic-card h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; }
.topic-card p { margin: 0; color: var(--muted); font-size: 12px; }

.topic-names {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--dim);
  font-size: 11px;
  line-height: 1.65;
}

/* ---------- 囧评墙 ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s;
}

.quote-card:hover { border-color: rgba(255, 210, 63, 0.35); }

.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.quote-card blockquote::before {
  content: "“";
  margin-right: 2px;
  color: var(--yellow);
  font-size: 22px;
  line-height: 0;
}

.quote-card blockquote::after {
  content: "”";
  margin-left: 2px;
  color: var(--yellow);
  font-size: 22px;
  line-height: 0;
}

.quote-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  color: var(--dim);
  font-size: 11px;
}

.quote-card figcaption a:hover { color: var(--yellow); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 38px;
  border: 1px solid rgba(255, 210, 63, 0.25);
  border-radius: 18px;
  background: linear-gradient(120deg, #242019, #17181d);
  overflow: hidden;
}

.cta-band::after {
  content: "囧";
  position: absolute;
  top: -34px;
  right: 28px;
  color: rgba(255, 210, 63, 0.07);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 168px;
  font-weight: 900;
  line-height: 1;
}

.cta-band h2 { margin: 0; font-size: 26px; font-weight: 900; }
.cta-band p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.cta-band .btn { position: relative; z-index: 2; flex: none; }

/* ---------- 实体摘要 / 热门搜索 / FAQ ---------- */
.entity-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.entity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.entity-inner p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.entity-inner strong { color: var(--text); }

.entity-inner a {
  flex: none;
  color: var(--yellow);
  font-size: 13px;
  white-space: nowrap;
}

.entity-inner a span { display: inline-block; transition: transform 0.18s; }
.entity-inner a:hover span { transform: translateX(4px); }

.hot-searches { display: flex; flex-wrap: wrap; gap: 10px; }

.hot-searches a {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.hot-searches a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #141414;
  font-weight: 700;
}

.faq-wrap { max-width: 920px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 15px;
  color: #cfcbc1;
  font-size: 13px;
  line-height: 1.9;
}

.block-faq {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.block-faq h2 { margin: 0 0 14px; font-size: 18px; }

.page-summary {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.related-block {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-block h2 { margin: 0 0 12px; font-size: 17px; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }

.related-links a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 12px;
  transition: color 0.15s, border-color 0.15s;
}

.related-links a:hover { color: var(--yellow); border-color: rgba(255, 210, 63, 0.4); }

.summary-panel {
  border-color: rgba(255, 210, 63, 0.25);
  background: rgba(255, 210, 63, 0.05);
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}

.footer-keywords a { color: var(--muted); }
.footer-keywords a:hover { color: var(--yellow); }
.footer-def { margin-top: 8px; color: var(--dim) !important; font-size: 11px; line-height: 1.8; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- 页头 / 面包屑 ---------- */
.page-head { padding-top: 40px; padding-bottom: 24px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dim);
  font-size: 12px;
}

.crumbs a:hover { color: var(--yellow); }

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.6px;
}

.page-lead { max-width: 780px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.page-count { flex: none; padding-bottom: 6px; color: var(--dim); font-size: 12px; }

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-on { border-color: var(--yellow); background: var(--yellow); color: #141414; font-weight: 700; }

.filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 12px;
}

.filter-sort select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  outline: none;
}

.result-count { margin: 0 0 16px; color: var(--dim); font-size: 12px; }

.empty { padding: 60px 0; color: var(--dim); font-size: 13px; text-align: center; }

.seo-copy {
  max-width: 900px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.seo-copy h2 { margin: 0 0 10px; color: var(--text); font-size: 17px; }
.seo-copy p { margin: 0 0 8px; }
.seo-copy a { color: var(--yellow); }

/* ---------- 详情页 ---------- */
.detail-wrap { padding-top: 30px; padding-bottom: 44px; }

.detail-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  margin-top: 24px;
}

.detail-poster .poster { box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.detail-poster .poster-title { font-size: 22px; }
.detail-poster .poster-glyph { font-size: 150px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 11px;
}

.badge-scene {
  border-color: rgba(255, 210, 63, 0.35);
  background: rgba(255, 210, 63, 0.12);
  color: var(--yellow);
}

.detail-main h1 {
  margin: 12px 0 6px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.detail-alias { margin: 0; color: var(--dim); font-size: 12px; }

.detail-line {
  margin: 14px 0 0;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.score-big { display: flex; align-items: baseline; gap: 8px; }

.score-big b {
  color: var(--yellow);
  font-size: 52px;
  font-weight: 900;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.score-big small { color: var(--dim); font-size: 11px; }

.cert {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--yellow);
  color: #141414;
  font-size: 11px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.score-side { color: var(--muted); font-size: 12px; }

.dims {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 520px;
  margin-top: 22px;
}

.dim-row {
  display: grid;
  grid-template-columns: 72px 1fr 34px;
  align-items: center;
  gap: 12px;
}

.dim-name { color: var(--muted); font-size: 12px; }

.dim-track {
  height: 6px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}

.dim-track b {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.dim-val {
  color: var(--dim);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.tag {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 12px;
  transition: color 0.15s, border-color 0.15s;
}

.tag:hover { border-color: rgba(255, 210, 63, 0.4); color: var(--yellow); }

.platform-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.platform-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 138px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: transform 0.16s, border-color 0.16s;
}

.platform-btn:hover { transform: translateY(-2px); border-color: var(--muted); }
.platform-btn.is-primary { border-color: var(--yellow); background: var(--yellow); color: #141414; }
.platform-btn.is-primary .p-sub { color: rgba(20, 20, 20, 0.62); }

.p-main { font-size: 14px; font-weight: 800; }
.p-sub { color: var(--dim); font-size: 11px; }

.detail-note { margin: 14px 0 0; color: var(--dim); font-size: 11px; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 24px;
  margin-top: 36px;
}

.panel {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }

.panel-text { margin: 0; color: #cfcbc1; font-size: 14px; line-height: 1.95; }

.panel-hint { margin: 0 0 12px; color: var(--dim); font-size: 12px; }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 8px;
}

.ep {
  display: grid;
  place-items: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}

.ep:hover { border-color: var(--yellow); background: var(--yellow); color: #141414; font-weight: 700; }
.ep.is-hidden { display: none; }

.btn-more {
  margin-top: 16px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.btn-more:hover { border-color: var(--yellow); color: var(--yellow); }

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
}

.info-list > div {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.info-list dt { flex: none; width: 64px; color: var(--dim); }
.info-list dd { margin: 0; color: #cfcbc1; }

.mini-list { display: flex; flex-direction: column; gap: 10px; }

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.14s;
}

.mini-row:hover { background: var(--surface-2); }

.mini-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 60px;
  border-radius: 7px;
  background: linear-gradient(158deg, var(--p1), var(--p2));
  color: rgba(255, 255, 255, 0.82);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-weight: 900;
}

.mini-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.mini-info b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-info em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--dim);
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.mini-row-score {
  flex: none;
  margin-left: auto;
  color: var(--yellow);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.side-scan p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: #cfcbc1;
  font-size: 12px;
}

.side-scan p span { color: var(--dim); }

/* ---------- 榜单页 ---------- */
.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.rank-tabs a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.rank-tabs a:hover { border-color: rgba(255, 210, 63, 0.4); color: var(--yellow); }

.rank-block { margin-bottom: 46px; scroll-margin-top: 90px; }

.rank-note {
  margin-bottom: 30px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--dim);
  font-size: 11px;
}

/* ---------- 搜索 ---------- */
.search-form { display: flex; gap: 10px; max-width: 720px; margin: 6px 0 16px; }

.search-form input {
  flex: 1;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.search-form input:focus { border-color: rgba(255, 210, 63, 0.6); }

.search-form button {
  flex: none;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: #141414;
  font-size: 14px;
  font-weight: 800;
}

.hot-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--dim);
  font-size: 12px;
}

.hot-words a {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
}

.hot-words a:hover { border-color: rgba(255, 210, 63, 0.4); color: var(--yellow); }

/* ---------- 内容页 ---------- */
.prose-page { max-width: 880px; padding-bottom: 44px; }
.prose-page .panel { margin-bottom: 16px; }
.prose-page p { margin: 0 0 10px; color: #cfcbc1; font-size: 14px; line-height: 1.95; }
.prose-page p:last-child { margin-bottom: 0; }
.prose-page a { color: var(--yellow); }

.prose-list {
  margin: 0;
  padding-left: 20px;
  color: #cfcbc1;
  font-size: 14px;
  line-height: 1.95;
}

.prose-list b { color: var(--text); }

.submit-mail { font-size: 15px; }
.submit-mail a { font-weight: 700; color: var(--yellow); }

.dim-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.dim-legend > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-2);
}

.dim-legend b { color: var(--yellow); font-size: 18px; }
.dim-legend span { font-size: 12px; font-weight: 700; }
.dim-legend em { color: var(--dim); font-size: 11px; font-style: normal; line-height: 1.5; }

/* ---------- 404 ---------- */
.nf-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(760px 440px at 82% 18%, rgba(255, 107, 44, 0.16), transparent 68%);
}

.nf-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 74px;
}

.nf-code {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(72px, 10.5vw, 132px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.92;
}

.nf-code span {
  display: inline-grid;
  place-items: center;
  width: 0.88em;
  height: 0.88em;
  margin: 0 5px;
  border-radius: 20px;
  background: var(--yellow);
  color: #141414;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 0.6em;
  transform: rotate(-8deg);
  box-shadow: 0 0 50px rgba(255, 210, 63, 0.22);
}

.nf-copy h1 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
}

.nf-desc {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.nf-search { max-width: 520px; margin: 24px 0 18px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px; }

.nf-links a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 12px;
}

.nf-links a:hover { color: var(--yellow); border-color: rgba(255, 210, 63, 0.4); }

.nf-visual { position: relative; height: 420px; }

.nf-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 64px;
  font-weight: 900;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.nf-card-1 { left: 4%; top: 34px; background: linear-gradient(158deg, #5ca8ff, #0d1e38); transform: rotate(-8deg); }
.nf-card-2 { left: 32%; top: 0; background: linear-gradient(158deg, #ff5c8a, #3d0f26); transform: rotate(2deg); font-size: 40px; letter-spacing: 2px; }
.nf-card-3 { left: 60%; top: 44px; background: linear-gradient(158deg, #b07bff, #251043); transform: rotate(8deg); }

.nf-scenes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 26px;
  color: var(--dim);
  font-size: 12px;
}

.nf-scenes a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--muted);
}

.nf-scenes a:hover { color: var(--yellow); border-color: rgba(255, 210, 63, 0.4); }

/* ---------- 友情链接 ---------- */
.links-wrap { padding-bottom: 44px; }
.link-group { margin-bottom: 16px; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  transition: transform 0.16s, border-color 0.16s;
}

.link-card:hover { transform: translateY(-2px); border-color: rgba(255, 210, 63, 0.4); }
.link-card b { font-size: 14px; font-weight: 700; }
.link-card span { color: var(--dim); font-size: 11px; }

.link-note {
  margin-top: 22px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.8;
}

.link-note a { color: var(--yellow); }

/* 首页友情链接 */
.home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
}

.home-link-group h3 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.home-link-row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.home-link-row a { color: var(--muted); font-size: 12px; }
.home-link-row a:hover { color: var(--yellow); }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
  background: #0a0b0e;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.footer-col a { color: var(--muted); font-size: 12px; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}

.footer-bottom p { margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .header-search { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .hero-stack {
    display: flex;
    gap: 14px;
    height: auto;
    padding: 12px 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-stack::-webkit-scrollbar { display: none; }

  .hero-card,
  .hero-card-1,
  .hero-card-2,
  .hero-card-3 {
    position: static;
    width: 150px;
    flex: none;
    transform: none;
  }

  .hero-card .poster { width: 100%; }

  .detail-top { grid-template-columns: 1fr; gap: 26px; }
  .detail-poster { max-width: 240px; }
  .detail-grid { grid-template-columns: 1fr; }
  .rank-list { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .score-band { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }

  .nf-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 44px; padding-bottom: 52px; }
  .nf-visual { height: 300px; max-width: 460px; }
  .nf-card { width: 130px; font-size: 50px; }
  .nf-card-2 { font-size: 30px; }
}

@media (max-width: 720px) {
  .featured-grid { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 1fr; }
  .dim-legend { grid-template-columns: repeat(2, 1fr); }
  .entity-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-nav { left: -16px; right: -16px; }
  .section { padding: 46px 0; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 23px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .poster { padding: 12px; border-radius: 11px; }
  .poster-title { font-size: 15px; }
  .poster-glyph { font-size: 88px; }
  .poster-stamp { top: 38px; right: 10px; }
  .card-title { font-size: 14px; }
  .scene-grid,
  .topic-grid,
  .quote-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 22px; }
  .page-head { padding-top: 26px; }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-count { padding-bottom: 0; }
  .cta-band { padding: 26px 22px; }
  .cta-band::after { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .rank-no { width: 26px; font-size: 17px; }
  .rank-thumb { width: 38px; height: 50px; font-size: 17px; }
  .rank-title { font-size: 14px; }
  .rank-line { font-size: 11px; }
  .rank-score b { font-size: 18px; }
  .detail-poster { max-width: 200px; }
  .score-big b { font-size: 44px; }
  .panel { padding: 18px; }
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); }
  .ep { height: 38px; }
  .search-form { flex-direction: column; }
  .search-form button { padding: 12px 0; }
  .faq-item summary { font-size: 13px; }
  .footer-keywords { gap: 8px 10px; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-links { grid-template-columns: 1fr; }
  .nf-visual { display: none; }
  .nf-code { letter-spacing: -3px; }
}
