/* ==========================================================================
   云剧演艺 - 极简浅红风格 (Minimalist Soft Red & Warm Light Gray)
   主色调: 浅灰瓷白 (#FBF9F9) + 浅红/玫瑰剧场红 (#E11D48 / #FFF1F2 / #FB7185)
   ========================================================================== */

:root {
  --bg-main: #FAF7F7;
  --bg-card: #FFFFFF;
  --bg-subtle: #F5EFEF;
  --border-color: #EDE3E3;
  --border-focus: #E11D48;

  --primary-red: #E11D48;
  --primary-red-hover: #BE123C;
  --primary-red-light: #FFF1F2;
  --primary-red-subtle: #FFE4E6;
  --primary-red-glow: rgba(225, 29, 72, 0.18);
  --accent-rose: #FB7185;
  --accent-coral: #F43F5E;

  --text-main: #1C1917;
  --text-regular: #44403C;
  --text-muted: #78716C;
  --text-light: #A8A29E;

  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 14px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 10px 30px rgba(225, 29, 72, 0.08);
  --shadow-hover: 0 14px 34px rgba(225, 29, 72, 0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* 真实内容渲染：沿用模板原有浅红舞台视觉，避免长标题和空数据造成错位。 */
[hidden] { display: none !important; }
.home-hero-copy { min-height: 480px; max-width: 650px; padding: 110px 0; color: #fff; position: relative; z-index: 1; }
.home-hero-copy h1 { max-width: 680px; color: #fff; font-size: clamp(30px, 4vw, 52px); line-height: 1.18; margin: 10px 0 16px; overflow-wrap: anywhere; }
.home-hero-copy p { max-width: 620px; color: rgba(255,255,255,.86); margin-bottom: 24px; }
.hero-kicker { color: #fecdd3 !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero-full-banner { background: linear-gradient(120deg, #241113 0%, #6e102d 55%, #220f17 100%); }
.category-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.category-pillar { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.category-pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary-red); }
.category-pillar strong,.category-pillar small { display: block; }.category-pillar small { color: var(--text-muted); margin-top: 2px; }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; color: #fff; background: var(--primary-red); border-radius: var(--radius-md); font-weight: 700; }
.cover-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-height:190px; background:var(--bg-subtle); color:var(--text-muted); }
.show-name { overflow-wrap:anywhere; }.show-brief { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:3.2em; }
.detail-page { padding-top: 24px; }.theater-screen { background:#191415; min-height: 280px; display:grid; place-items:center; }.theater-screen video { width:100%; max-height: min(70vh, 720px); background:#000; }.empty-state { grid-column:1/-1; text-align:center; padding:32px; color:var(--text-muted); }
.detail-synopsis { white-space:pre-wrap; overflow-wrap:anywhere; }.related-link { display:block; padding:10px 0; border-bottom:1px solid var(--border-color); color:var(--text-regular); font-size:14px; }.related-link:hover { color:var(--primary-red); }
.pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; padding:30px 0; }.page-btn { min-width:36px; text-align:center; padding:7px 10px; border:1px solid var(--border-color); border-radius:var(--radius-sm); background:#fff; }.page-btn.active,.page-btn:hover { color:#fff; background:var(--primary-red); border-color:var(--primary-red); }
@media (max-width: 760px) { .header-inner { height:auto; min-height:64px; flex-wrap:wrap; gap:8px; padding:10px 0; }.main-nav { order:3; width:100%; overflow:auto; justify-content:flex-start; }.header-actions { margin-left:auto; }.home-hero-copy { min-height:300px; padding:62px 0; }.detail-layout { grid-template-columns:1fr; }.detail-page { padding-left:16px; padding-right:16px; } }

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-rose));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-text span {
  color: var(--primary-red);
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-regular);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-red);
  background-color: var(--primary-red-light);
}

.nav-link.active {
  color: var(--primary-red);
  background-color: var(--primary-red-light);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box-mini {
  position: relative;
  width: 220px;
}

.search-box-mini input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.search-box-mini input:focus {
  background: #FFFFFF;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-glow);
}

.search-icon-mini {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-red);
  padding: 7px 16px;
  border: 1px solid var(--primary-red);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

.btn-login:hover {
  background: var(--primary-red-light);
}

.btn-register {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  padding: 8px 18px;
  background: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--primary-red-glow);
}

.btn-register:hover {
  background: var(--primary-red-hover);
}

/* ==========================================================================
   100% 宽度全屏大图 Banner (仅放表演大图，纯净大气)
   ========================================================================== */
.hero-full-banner {
  width: 100%;
  background: #181414;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.06);
}

.banner-full-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1024px) {
  .banner-full-img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .banner-full-img {
    height: 240px;
  }
}

/* ==========================================================================
   Two Major Categories Section (网络表演 vs 网络演出剧)
   ========================================================================== */
.categories-showcase {
  margin-top: 40px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-indicator {
  width: 6px;
  height: 24px;
  background: var(--primary-red);
  border-radius: 3px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.section-more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-more-link:hover {
  text-decoration: underline;
}

.category-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.category-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.pillar-cover {
  position: relative;
  height: 210px;
  background: #1C1917;
  overflow: hidden;
}

.pillar-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-pillar-card:hover .pillar-cover img {
  transform: scale(1.04);
}

.pillar-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pillar-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-regular);
  line-height: 1.6;
  margin-bottom: 18px;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pillar-tag-item {
  font-size: 12px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-red-subtle);
  font-weight: 600;
}

.pillar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.pillar-count {
  font-size: 13px;
  color: var(--text-muted);
}

.pillar-count strong {
  color: var(--primary-red);
  font-size: 16px;
}

.btn-pillar-enter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-red);
  font-weight: 700;
  font-size: 14px;
}

.btn-pillar-enter:hover {
  color: var(--primary-red-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   Show / Performance Grid & Cards
   ========================================================================== */
.show-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.show-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.show-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.show-poster-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1C1917;
  overflow: hidden;
}

.show-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.show-card:hover .show-poster-wrap img {
  transform: scale(1.05);
}

.show-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
}

.status-live {
  background: #E11D48;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.4);
}

.status-vod {
  background: #BE123C;
}

.status-upcoming {
  background: #F43F5E;
}

.show-format-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(28, 25, 23, 0.8);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}

.show-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}

.show-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.show-category-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.show-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-card:hover .show-name {
  color: var(--primary-red);
}

.show-meta-row {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.show-brief {
  font-size: 13px;
  color: var(--text-regular);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.show-views {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-card-action {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-red-light);
  color: var(--primary-red);
  border: 1px solid transparent;
}

.show-card:hover .btn-card-action {
  background: var(--primary-red);
  color: #FFFFFF;
}

/* ==========================================================================
   List Page Filters & Layout
   ========================================================================== */
.page-banner-subtle {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0 28px;
  margin-bottom: 32px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--primary-red);
}

.page-headline {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.page-subheadline {
  font-size: 14px;
  color: var(--text-regular);
  margin-top: 6px;
}

.filter-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.filter-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-row:first-child {
  padding-top: 0;
}

.filter-label {
  width: 90px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-regular);
  padding-top: 4px;
}

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

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-regular);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--primary-red);
  background: var(--primary-red-light);
}

.filter-btn.active {
  background: var(--primary-red);
  color: #FFFFFF;
  font-weight: 600;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.result-count {
  font-size: 14px;
  color: var(--text-muted);
}

.result-count strong {
  color: var(--primary-red);
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-btn {
  font-size: 13px;
  color: var(--text-regular);
  cursor: pointer;
  padding: 4px 8px;
}

.sort-btn.active {
  color: var(--primary-red);
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 24px;
}

.page-num, .page-prev, .page-next {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-regular);
  cursor: pointer;
  transition: var(--transition);
}

.page-num:hover, .page-prev:hover, .page-next:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.page-num.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
}

/* ==========================================================================
   Detail Page (表演与演出剧详情页)
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  margin-top: 24px;
  margin-bottom: 60px;
}

.detail-layout.detail-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-layout > *,
.detail-page,
.detail-page .video-theater-wrapper,
.detail-page .breadcrumb { min-width: 0; }

.video-theater-wrapper {
  background: #140E0E;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
  position: relative;
}

.theater-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theater-screen-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.theater-play-btn {
  position: absolute;
  width: 72px;
  height: 72px;
  background: rgba(225, 29, 72, 0.9);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.theater-play-btn:hover {
  transform: scale(1.1);
  background: var(--primary-red-hover);
}

.danmaku-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  pointer-events: none;
  overflow: hidden;
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 1px 1px 2px #000, 0 0 5px rgba(225, 29, 72, 0.8);
  animation: danmaku-fly 10s linear infinite;
}

@keyframes danmaku-fly {
  from { transform: translateX(900px); }
  to { transform: translateX(-400px); }
}

.video-controls-bar {
  background: #1C1515;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #A8A29E;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vc-left, .vc-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vc-btn {
  background: transparent;
  border: none;
  color: #D6D3D1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  transition: var(--transition);
}

.vc-btn:hover {
  color: #FFFFFF;
}

.vc-btn.active {
  color: var(--accent-rose);
}

.detail-main-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.detail-meta-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.detail-tag-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-main-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.detail-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.detail-quick-stats strong {
  color: var(--text-main);
  font-weight: 600;
}

.detail-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.detail-synopsis {
  font-size: 15px;
  color: var(--text-regular);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Cast Grid */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.cast-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.cast-avatar-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  background: var(--primary-red-light);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #FFFFFF;
}

.cast-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cast-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Episode / Act List */
.episodes-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

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

.episode-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.episode-item:hover {
  background: var(--primary-red-light);
  border-color: var(--primary-red);
}

.episode-item.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
}

.episode-item.active .ep-title,
.episode-item.active .ep-time {
  color: #FFFFFF;
}

.ep-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.ep-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sidebar Info Card */
.sidebar-sticky-panel {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ticket-cta-card {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  border: none;
}

.ticket-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.ticket-price-free {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
}

.ticket-price-tip {
  font-size: 12px;
  color: #FFE4E6;
}

.btn-ticket-primary {
  width: 100%;
  padding: 14px;
  background: #FFFFFF;
  color: var(--primary-red);
  font-weight: 800;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.detail-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
}

.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  color: var(--text-muted);
}

.meta-val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* User Comments & Interaction */
.comments-container {
  margin-top: 32px;
}

.comment-input-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.comment-input-box textarea {
  flex: 1;
  height: 80px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  resize: none;
  transition: var(--transition);
}

.comment-input-box textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-glow);
}

.btn-send-comment {
  width: 100px;
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-send-comment:hover {
  background: var(--primary-red-hover);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-entry {
  padding: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.comment-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.comment-date {
  font-size: 11px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 13px;
  color: var(--text-regular);
  line-height: 1.6;
}

/* ==========================================================================
   Auth Pages (Login & Register - 极简柔和浅红风格)
   ========================================================================== */
.auth-page-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: radial-gradient(circle at top right, rgba(225, 29, 72, 0.08), transparent 45%),
              radial-gradient(circle at bottom left, rgba(251, 113, 133, 0.06), transparent 35%),
              var(--bg-main);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-rose));
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-rose));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 24px;
}

.auth-tab-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.auth-tab-item:hover {
  color: var(--primary-red);
}

.auth-tab-item.active {
  color: var(--primary-red);
  font-weight: 700;
}

.auth-tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-red);
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input-wrap {
  position: relative;
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  background: #FFFFFF;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-glow);
}

.btn-send-code {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-send-code:hover {
  background: var(--primary-red-hover);
}

.btn-send-code:disabled {
  background: var(--border-color);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 24px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-regular);
  cursor: pointer;
}

.forgot-link {
  color: var(--primary-red);
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-auth-submit {
  width: 100%;
  height: 46px;
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-red-glow);
  transition: var(--transition);
}

.btn-auth-submit:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
}

.auth-footer-prompt {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-footer-prompt a {
  color: var(--primary-red);
  font-weight: 700;
}

.auth-footer-prompt a:hover {
  text-decoration: underline;
}

.fast-demo-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.fast-demo-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-regular);
}

.footer-links a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #1C1917;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  border-left: 4px solid var(--primary-red);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .show-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .category-dual-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .show-grid {
    grid-template-columns: 1fr;
  }
  .search-box-mini {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .container.detail-page { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; padding-left: 16px; padding-right: 16px; }
  .detail-layout { display: block; width: 100%; max-width: 100%; }
  .detail-content-col, .sidebar-sticky-panel, .detail-main-card, .detail-sidebar-card, .video-theater-wrapper, .breadcrumb { width: 100%; max-width: 100%; min-width: 0; }
  .sidebar-sticky-panel { position: static; margin-top: 20px; }
  .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
}

/* 通用舞台背景，不作为具体作品封面。 */
.hero-full-banner {
  background-image: linear-gradient(90deg, rgba(24, 9, 13, .62), rgba(24, 9, 13, .15)), url('/template-assets/biaoyan_e/banner-stage.jpg');
  background-position: center;
  background-size: cover;
}
