/* ================================================================
   即象剧本工厂 — 高端深色 + 烫金视觉
   ================================================================ */

/* ---------- 重置 + 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans", sans-serif;
  background: #0a0e1f;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 装饰背景:微妙的金色光晕 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(230, 57, 70, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(67, 97, 238, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- 公共变量 ---------- */
:root {
  --bg: #0a0e1f;
  --bg-2: #161B2D;
  --card: #1a1f33;
  --card-hover: #1f2540;
  --border: #2a3147;
  --border-hover: #d4af37;
  --gold: #D4AF37;
  --gold-light: #E6C566;
  --gold-dark: #B8941F;
  --red: #E63946;
  --green: #06D6A0;
  --amber: #FFB627;
  --blue: #4361EE;
  --text: #FFFFFF;
  --text-2: #B8BCC8;
  --text-3: #6B7280;
}

/* ---------- 容器 ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   顶部导航
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0a0e1f;
  font-size: 1.1rem;
  letter-spacing: -1px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-en {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-list a {
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold); }

.btn-cta {
  padding: 10px 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0e1f !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* ================================================================
   首页 Hero
   ================================================================ */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
  background: rgba(212, 175, 55, 0.08);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }

/* 数据看板 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.stat-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(26, 31, 51, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
}
.stat-num .unit { font-size: 1rem; color: var(--text-2); margin-left: 4px; font-weight: 500; }
.stat-label {
  font-size: 0.9rem;
  color: var(--text-2);
  letter-spacing: 1px;
}

/* 合作伙伴 */
.partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.partners-label {
  font-size: 0.85rem;
  color: var(--text-3);
  letter-spacing: 1px;
}
.partner-tag {
  font-size: 0.8rem;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  color: var(--gold-light);
}

/* ================================================================
   板块标题
   ================================================================ */
.section {
  padding: 64px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-title .accent { color: var(--gold); }
.section-desc { color: var(--text-2); font-size: 0.95rem; }

/* 筛选条 */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1f;
  border-color: var(--gold);
  font-weight: 600;
}

/* ================================================================
   剧本卡片网格
   ================================================================ */
.scripts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.script-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.script-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

/* 列表卡封面 - 16:9 横版缩略图(详情页 .detail-cover 单独覆盖为 9:16) */
.cover {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;  /* 兜底:若仅有 9:16 图,优先展示上半部分主视觉 */
  display: block;
}
/* 详情页恢复正常居中 */
.detail-cover .cover-img { object-position: center; }
.cover.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 31, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}
.cover-emoji {
  font-size: 4rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.cover-subtext {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 4px;
  font-weight: 500;
}
.cover-title-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 8px;
  white-space: nowrap;
  pointer-events: none;
}

/* 主题封面 */
.theme-campus-gold {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 200, 100, 0.4), transparent 50%),
    linear-gradient(135deg, #2c1810 0%, #4a1c1c 50%, #6b2418 100%);
}
.theme-snow-crimson {
  background:
    radial-gradient(circle at 70% 80%, rgba(230, 57, 70, 0.5), transparent 50%),
    linear-gradient(135deg, #1a2238 0%, #283655 50%, #4a3a4a 100%);
}
.theme-county-bronze {
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.35), transparent 60%),
    linear-gradient(135deg, #1a2e1a 0%, #2d3a2d 50%, #3a3528 100%);
}

/* 角标 */
.badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-transform: uppercase;
}
.badge-hot { background: linear-gradient(135deg, #ff4757, #c8102e); color: #fff; }
.badge-vip { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0a0e1f; }
.badge-copyright { background: rgba(67, 97, 238, 0.95); color: #fff; }
.badge-exclusive { background: rgba(6, 214, 160, 0.95); color: #0a0e1f; }
.badge-coming { background: rgba(255, 182, 39, 0.95); color: #0a0e1f; }

/* 评分章 */
.score-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(10, 14, 31, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.score-stamp .num {
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}
.score-stamp .label {
  font-size: 0.6rem;
  color: var(--text-2);
  margin-top: 2px;
  letter-spacing: 1px;
}

/* 卡片正文 */
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-cat {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 16px;
}
.card-hook {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.card-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  color: var(--gold-light);
}
.card-tag.tag-red {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
  color: #ff7785;
}
.card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.card-meta-item { text-align: center; }
.card-meta-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.card-meta-label {
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 1px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}
.price-prefix { font-size: 0.7rem; color: var(--text-3); margin-right: 4px; font-weight: 500; }

.card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  transition: transform 0.2s;
}
.script-card:hover .card-arrow { transform: translateX(4px); }

/* 状态徽章 */
.status-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: 0.5px;
}
.status-green { background: rgba(6, 214, 160, 0.18); color: var(--green); border: 1px solid rgba(6, 214, 160, 0.4); }
.status-amber { background: rgba(255, 182, 39, 0.18); color: var(--amber); border: 1px solid rgba(255, 182, 39, 0.4); }
.status-blue  { background: rgba(67, 97, 238, 0.2); color: #7689f0; border: 1px solid rgba(67, 97, 238, 0.4); }

/* ================================================================
   合规保障横幅
   ================================================================ */
.trust-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(67, 97, 238, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 32px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trust-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.trust-text p { font-size: 0.85rem; color: var(--text-2); }

/* ================================================================
   底部
   ================================================================ */
.site-footer {
  background: #060914;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 360px;
}
.footer-col h5 {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 8px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ================================================================
   详情页
   ================================================================ */
.detail-hero {
  padding: 56px 0 32px;
  position: relative;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 32px;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.detail-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.detail-cover {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.detail-cover .cover-emoji { font-size: 7rem; }
.detail-cover .cover-subtext { font-size: 1rem; letter-spacing: 6px; }

.detail-info { padding-top: 12px; }
.detail-cat-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cat-badge {
  font-size: 0.78rem;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1f;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 1px;
}
.detail-cat-line .channel { font-size: 0.85rem; color: var(--text-2); letter-spacing: 1px; }

.detail-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.detail-subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.detail-tag {
  font-size: 0.8rem;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  color: var(--gold-light);
}

.hook-quote {
  position: relative;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  margin-bottom: 32px;
}
.hook-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 4rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}
.hook-quote p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #fff;
  font-weight: 500;
  font-style: italic;
}

/* 关键数据条 */
.key-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 32px;
  overflow: hidden;
}
.key-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.key-stat:last-child { border-right: none; }
.key-stat .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.key-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-2);
  letter-spacing: 1px;
}

/* CTA 区域 */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1f;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5); }

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(212, 175, 55, 0.1); }

/* ================================================================
   Tab 区
   ================================================================ */
.tabs {
  margin: 48px 0;
}
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 16px 24px;
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.tab-btn:hover { color: var(--gold-light); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}
.tab-content { padding: 32px 0; display: none; }
.tab-content.active { display: block; }

/* ---------- 简介块 ---------- */
.intro-text {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 880px;
}
.intro-text p { margin-bottom: 16px; }

.alt-hooks {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.alt-hooks h4 { font-size: 0.95rem; color: var(--gold); margin-bottom: 16px; letter-spacing: 1px; }
.alt-hook {
  padding: 14px 18px;
  background: var(--card);
  border-left: 2px solid var(--gold-dark);
  border-radius: 4px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- 角色阵容 ---------- */
.role-section { margin-bottom: 36px; }
.role-section-title {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.role-section-title::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.role-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.role-card:hover { border-color: rgba(212, 175, 55, 0.4); }
.role-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.role-name { font-size: 1.1rem; font-weight: 700; }
.role-meta { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; letter-spacing: 0.5px; }
.role-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 3px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.role-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; }

/* ---------- 反转锚点 ---------- */
.reversal-list { display: flex; flex-direction: column; gap: 16px; }
.reversal-item {
  display: grid;
  grid-template-columns: 80px 100px 1fr;
  gap: 24px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.reversal-item.highlight { border-color: var(--gold); background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), var(--card)); }
.reversal-item.highlight::before {
  content: '⭐ 全剧最高点';
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.reversal-code {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
}
.reversal-pos {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-2);
}
.reversal-pos b { color: #fff; font-size: 1.1rem; display: block; }
.reversal-content h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fff;
}
.reversal-content .type {
  font-size: 0.78rem;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.reversal-content .visual {
  font-size: 0.88rem;
  color: var(--text-2);
  font-style: italic;
}

/* ---------- 分集表 ---------- */
.episode-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.episode-toolbar span { font-size: 0.85rem; color: var(--text-2); }
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
}
.episode-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  position: relative;
  transition: all 0.2s;
}
.episode-item:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateX(2px); }
.episode-item.is-reversal {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), var(--card));
}
.episode-item.is-locked::after {
  content: '🔒 完整版需洽谈';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
.episode-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ep-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-feature-settings: 'tnum';
}
.ep-title {
  font-size: 0.98rem;
  font-weight: 600;
  flex: 1;
  color: #fff;
}
.ep-reversal-tag {
  font-size: 0.68rem;
  padding: 2px 8px;
  background: var(--gold);
  color: #0a0e1f;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 1px;
}
.ep-plot { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.ep-hook {
  font-size: 0.82rem;
  color: var(--gold-light);
  padding-left: 10px;
  border-left: 2px solid rgba(212, 175, 55, 0.4);
  font-style: italic;
}

.preview-only-notice {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(67, 97, 238, 0.08);
  border: 1px dashed rgba(67, 97, 238, 0.4);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
  text-align: center;
}
.preview-only-notice strong { color: var(--gold); }

/* ---------- 第一集试读 ---------- */
.first-episode {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.first-ep-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.02));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.first-ep-header h3 { font-size: 1.2rem; color: var(--gold); }
.preview-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(6, 214, 160, 0.15);
  color: var(--green);
  border-radius: 4px;
  border: 1px solid rgba(6, 214, 160, 0.4);
  font-weight: 600;
  letter-spacing: 1px;
}
.first-ep-body {
  padding: 32px 36px;
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  max-height: 720px;
  overflow-y: auto;
  white-space: pre-wrap;
}
.first-ep-body::-webkit-scrollbar { width: 8px; }
.first-ep-body::-webkit-scrollbar-track { background: var(--card); }
.first-ep-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.first-ep-body::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.first-ep-footer {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.06), rgba(212, 175, 55, 0.02));
  border-top: 1px solid var(--border);
  text-align: center;
}
.first-ep-footer p {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 16px;
}
.first-ep-footer strong { color: var(--gold); font-size: 1.05rem; }

/* ---------- 卖点列表 ---------- */
.selling-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.selling-point {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: flex-start;
}
.sp-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.sp-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ---------- 版权信息块 ---------- */
.copyright-block {
  padding: 36px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(67, 97, 238, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
}
.copyright-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.copyright-head h3 { font-size: 1.4rem; color: var(--gold); letter-spacing: 1px; }
.copyright-stamp {
  margin-left: auto;
  padding: 6px 14px;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 4px;
}
.copyright-stamp.pending { border-color: var(--amber); color: var(--amber); }

.cr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.cr-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.cr-item .lbl { font-size: 0.9rem; color: var(--text-2); }
.cr-item .val { font-size: 0.95rem; color: var(--gold-light); font-weight: 600; }
.ownership-statement {
  padding: 20px;
  background: rgba(10, 14, 31, 0.5);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
}
.ownership-statement strong { color: var(--gold); }

/* ================================================================
   响应式
   ================================================================ */
@media (max-width: 1024px) {
  .scripts-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-top { grid-template-columns: 1fr; }
  .detail-cover { max-width: 320px; margin: 0 auto; }
  .key-stats { grid-template-columns: repeat(3, 1fr); }
  .key-stat:nth-child(3) { border-right: none; }
  .key-stat:nth-child(n+4) { border-top: 1px solid var(--border); }
  .cr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-list { gap: 16px; }
  .nav-list a:not(.btn-cta) { display: none; }
  .scripts-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-num { font-size: 1.8rem; }
  .key-stats { grid-template-columns: repeat(2, 1fr); }
  .key-stat:nth-child(2) { border-right: none; }
  .key-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .reversal-item { grid-template-columns: 60px 1fr; }
  .reversal-item .reversal-pos { display: none; }
  .episode-list { grid-template-columns: 1fr; }
  .first-ep-body { padding: 20px; font-size: 0.95rem; }
  .copyright-block { padding: 24px 20px; }
}
