/* ============================================
   桃红TV - Rose Television Broadcast
   Elegant TV Guide / Streaming Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

:root {
  --rose: #e11d48;
  --rose-deep: #881337;
  --rose-cream: #fff1f2;
  --rose-cream-2: #ffe4e6;
  --rose-light: #fb7185;
  --pink: #fda4af;
  --crimson: #be123c;
  --rose-ink: #4c0519;
  --rose-mist: #fecdd3;
  --rose-paper: #fff7f8;

  --ink: #1f0a12;
  --ink-soft: #5a3a44;
  --ink-faint: #9b7480;
  --line: #f3d4dc;
  --line-soft: #fce7ec;

  --gold: #b45309;
  --gold-soft: #d4a017;

  --shadow-xs: 0 1px 2px rgba(136, 19, 55, 0.06);
  --shadow-sm: 0 2px 10px rgba(136, 19, 55, 0.10);
  --shadow-md: 0 6px 24px rgba(136, 19, 55, 0.14);
  --shadow-lg: 0 16px 48px rgba(136, 19, 55, 0.20);
  --shadow-tv: 0 24px 60px rgba(76, 5, 25, 0.30);

  --serif: "Playfair Display", "Noto Serif SC", "STSong", "Songti SC", "SimSun", serif;
  --sans: "Noto Serif SC", "Songti SC", "PingFang SC", "Helvetica Neue", sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--rose-cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(251, 113, 133, 0.10) 0%, transparent 22%),
    radial-gradient(circle at 88% 4%, rgba(225, 29, 72, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(254, 205, 211, 0.18) 0%, transparent 35%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle TV static noise overlay on whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 25% 25%, rgba(136,19,55,0.6) 0 0.5px, transparent 0.5px 3px),
    repeating-radial-gradient(circle at 75% 75%, rgba(190,18,60,0.5) 0 0.5px, transparent 0.5px 3px);
  mix-blend-mode: multiply;
}

a {
  color: var(--crimson);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--rose); }

ul, ol { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-ink);
  line-height: 1.2;
}

p { color: var(--ink-soft); }

/* ============================================
   ROSE FLOWER DECORATION (layered petals, pure CSS)
   ============================================ */
.rose-bloom {
  position: relative;
  width: 64px;
  height: 64px;
  display: inline-block;
}
.rose-bloom .petal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 30px;
  margin: -15px 0 0 -13px;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  background: radial-gradient(ellipse at 50% 20%, var(--pink) 0%, var(--rose-light) 55%, var(--rose) 100%);
  transform-origin: 50% 100%;
  box-shadow: inset 0 -4px 6px rgba(136,19,55,0.25);
}
.rose-bloom .petal:nth-child(1) { transform: rotate(0deg) translateY(-8px); }
.rose-bloom .petal:nth-child(2) { transform: rotate(72deg) translateY(-8px); }
.rose-bloom .petal:nth-child(3) { transform: rotate(144deg) translateY(-8px); }
.rose-bloom .petal:nth-child(4) { transform: rotate(216deg) translateY(-8px); }
.rose-bloom .petal:nth-child(5) { transform: rotate(288deg) translateY(-8px); }
.rose-bloom .core {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-cream) 0%, var(--gold-soft) 70%, var(--rose-deep) 100%);
  box-shadow: 0 0 8px rgba(212,160,23,0.6);
  z-index: 2;
}

/* small rosebud corner ornament */
.rosebud {
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
  opacity: 0.55;
}
.rosebud::before, .rosebud::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% 0 50% 50%;
  background: linear-gradient(135deg, var(--pink), var(--rose));
}
.rosebud::after {
  transform: rotate(45deg) scale(0.7);
  background: linear-gradient(135deg, var(--rose-light), var(--crimson));
}

/* leaf */
.leaf {
  position: absolute;
  width: 40px; height: 18px;
  background: linear-gradient(120deg, #15803d, #4ade80);
  border-radius: 0 100% 0 100%;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================
   TOP NAVIGATION - rose gradient header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose) 60%, var(--crimson) 100%);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: linear-gradient(90deg, var(--pink), var(--rose-light), var(--gold-soft), var(--rose-light), var(--pink));
  opacity: 0.85;
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand .rose-bloom { width: 44px; height: 44px; }
.brand .rose-bloom .petal { width: 18px; height: 22px; margin: -11px 0 0 -9px; }
.brand .rose-bloom .core { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.55rem;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(76,5,25,0.5);
}
.brand-text .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--rose-mist);
  letter-spacing: 2px;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-toggle { display: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.25s var(--ease);
}
.main-nav a::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.main-nav a:hover::before, .main-nav a.active::before {
  width: 60%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.on-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}
.on-air-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============================================
   LAYOUT WRAPPERS
   ============================================ */
.page {
  position: relative;
  z-index: 2;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 56px 0;
}
.section-sm { padding: 36px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 88px; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--pink));
}
.section-head h2 {
  font-size: 1.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-head h2 .mark {
  display: inline-block;
  width: 10px; height: 28px;
  background: linear-gradient(180deg, var(--rose), var(--crimson));
  border-radius: 2px;
}
.section-head .head-sub {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.section-head .more {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--crimson);
  white-space: nowrap;
}

/* ============================================
   TV SCREEN FRAME MOCKUP
   ============================================ */
.tv-frame {
  position: relative;
  background: linear-gradient(160deg, #3a0d1c 0%, var(--rose-ink) 50%, #2a0712 100%);
  border-radius: 22px;
  padding: 26px 26px 56px;
  box-shadow: var(--shadow-tv), inset 0 0 0 2px rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.tv-frame::before {
  /* brand plate under screen */
  content: "TAOHONG • ROSE VISION";
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 4px;
  color: var(--pink);
  opacity: 0.7;
}
.tv-frame .tv-led {
  position: absolute;
  bottom: 24px; right: 30px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px var(--gold-soft);
}
.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 0 0 3px #1a050d,
    inset 0 0 0 5px rgba(255,255,255,0.06),
    inset 0 0 40px rgba(0,0,0,0.6);
}
/* scanlines */
.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 5;
}
/* moving static */
.tv-static {
  position: absolute;
  inset: 0;
  background-image:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.05) 0deg 2deg, transparent 2deg 6deg);
  animation: staticShift 0.4s steps(3) infinite;
  opacity: 0.4;
  z-index: 4;
  pointer-events: none;
}
@keyframes staticShift {
  0% { transform: translate(0,0); }
  33% { transform: translate(-2px,1px); }
  66% { transform: translate(1px,-1px); }
  100% { transform: translate(0,0); }
}

/* TV screen content slides */
.tv-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  z-index: 3;
}
.tv-slide.scene-rose {
  background:
    radial-gradient(circle at 30% 30%, rgba(251,113,133,0.9), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(190,18,60,0.85), transparent 50%),
    linear-gradient(135deg, var(--rose-deep), var(--rose-ink));
}
.tv-slide.scene-dusk {
  background:
    radial-gradient(circle at 80% 20%, rgba(253,164,175,0.8), transparent 50%),
    linear-gradient(160deg, #6b1d3a, #2a0712);
}
.tv-slide.scene-news {
  background: linear-gradient(135deg, #881337 0%, #4c0519 100%);
}
.tv-slide .badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--rose);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.tv-slide .badge-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}
.tv-slide .slide-title {
  font-family: var(--serif);
  font-weight: 900;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.15;
  text-shadow: 0 3px 14px rgba(0,0,0,0.6);
  max-width: 80%;
}
.tv-slide .slide-meta {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose-mist);
  font-size: 0.92rem;
  letter-spacing: 1px;
}
.tv-channel-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   CHANNEL LOGO BADGES (CSS shapes)
   ============================================ */
.ch-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ch-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.4), transparent 50%);
}
.ch-logo.lg-rose { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); }
.ch-logo.lg-crimson { background: linear-gradient(135deg, var(--crimson), var(--rose-ink)); }
.ch-logo.lg-pink { background: linear-gradient(135deg, var(--pink), var(--rose-light)); color: var(--rose-ink); }
.ch-logo.lg-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.ch-logo.lg-deep { background: linear-gradient(135deg, var(--rose-deep), var(--rose-ink)); }
.ch-logo.lg-mist { background: linear-gradient(135deg, var(--rose-mist), var(--pink)); color: var(--rose-ink); }

.ch-logo-sm {
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 0.62rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--crimson));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--crimson);
  border: 1.5px solid var(--rose-light);
}
.btn-ghost:hover {
  background: var(--rose-cream-2);
  border-color: var(--rose);
}

/* ============================================
   CARDS (program cards)
   ============================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
  transition: all 0.3s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-mist);
}
.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card-body {
  padding: 18px 20px 22px;
}
.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.card-body .meta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.86rem;
}
.card-body .desc {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* mini tv thumb (CSS scene) */
.tv-thumb {
  width: 100%; height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.tv-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.tv-thumb .thumb-label {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* gradient scene variants */
.scene-a { background: linear-gradient(135deg, var(--rose-light), var(--rose-deep)); }
.scene-b { background: linear-gradient(135deg, var(--pink), var(--crimson)); }
.scene-c { background: linear-gradient(135deg, var(--rose-mist), var(--rose-light)); }
.scene-d { background: linear-gradient(135deg, var(--crimson), var(--rose-ink)); }
.scene-e { background: linear-gradient(135deg, var(--gold-soft), var(--crimson)); }
.scene-f { background: linear-gradient(135deg, var(--rose-deep), var(--rose-ink)); }
.scene-g { background: linear-gradient(135deg, var(--pink), var(--rose)); }
.scene-h { background: linear-gradient(135deg, var(--rose-light), var(--pink)); }

/* corner badge on thumb */
.thumb-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  padding: 3px 9px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 3px;
}
.thumb-badge.ep {
  background: var(--rose);
}

/* ============================================
   HERO (index)
   ============================================ */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--rose-mist) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-left .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--rose-cream-2);
  border: 1px solid var(--rose-mist);
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--crimson);
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-left h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--rose-ink);
  margin-bottom: 18px;
}
.hero-left h1 .accent {
  font-style: italic;
  color: var(--rose);
  position: relative;
}
.hero-left h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--rose), transparent);
}
.hero-left .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}
.hero-stats .stat .num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--crimson);
  line-height: 1;
}
.hero-stats .stat .lbl {
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* now playing strip under hero TV */
.now-playing-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.now-playing-bar .np-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose);
  font-size: 0.88rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
.now-playing-bar .np-label .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse 1.6s infinite;
}
.now-playing-bar .np-track {
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.now-playing-bar .np-time {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--rose-deep);
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ============================================
   CHANNEL GUIDE GRID (index)
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.guide-cell {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--line-soft);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.guide-cell:hover {
  border-color: var(--rose-mist);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.guide-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.guide-cell:hover::before { transform: scaleX(1); }
.guide-cell .cell-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.guide-cell .cell-top .ch-name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-ink);
  font-size: 1rem;
  line-height: 1.2;
}
.guide-cell .cell-top .ch-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.74rem;
  letter-spacing: 1px;
}
.guide-cell .now-show {
  padding: 12px 14px;
  background: var(--rose-paper);
  border-radius: var(--radius);
  border-left: 3px solid var(--rose);
}
.guide-cell .now-show .ns-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-deep);
  font-size: 0.96rem;
  margin-bottom: 4px;
}
.guide-cell .now-show .ns-time {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.guide-cell .up-next {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.guide-cell .up-next strong {
  color: var(--crimson);
  font-weight: 700;
  font-family: var(--serif);
  letter-spacing: 0.5px;
}

/* ============================================
   FEATURED PROGRAMS GRID
   ============================================ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================
   TONIGHT HIGHLIGHTS (split layout)
   ============================================ */
.tonight-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}
.tonight-feature {
  background: linear-gradient(160deg, var(--rose-deep), var(--rose-ink));
  border-radius: var(--radius-lg);
  padding: 38px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tonight-feature::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(251,113,133,0.5), transparent 65%);
}
.tonight-feature .tf-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--gold-soft);
  color: var(--rose-ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 2px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.tonight-feature h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.tonight-feature p {
  position: relative;
  z-index: 2;
  color: var(--rose-mist);
  max-width: 440px;
  margin-bottom: 20px;
}
.tonight-feature .tf-time {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink);
  font-size: 1rem;
  letter-spacing: 1px;
}
.tonight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tonight-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  transition: all 0.25s var(--ease);
}
.tonight-item:hover {
  border-color: var(--rose-mist);
  transform: translateX(4px);
}
.tonight-item .ti-time {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--crimson);
  font-size: 1.05rem;
  width: 64px;
  flex-shrink: 0;
  line-height: 1.1;
}
.tonight-item .ti-time .ch {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-faint);
  font-style: italic;
  margin-top: 3px;
  letter-spacing: 0.5px;
}
.tonight-item .ti-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.tonight-item .ti-body p {
  font-size: 0.84rem;
  color: var(--ink-faint);
}

/* ============================================
   PAGE HEADER BANNER (sub pages)
   ============================================ */
.page-banner {
  position: relative;
  padding: 56px 0 44px;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose) 50%, var(--crimson) 100%);
  overflow: hidden;
  color: #fff;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.page-banner::after {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(253,164,175,0.35), transparent 60%);
}
.page-banner .breadcrumb {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--rose-mist);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.page-banner .breadcrumb a { color: var(--pink); }
.page-banner h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 3px 16px rgba(76,5,25,0.4);
}
.page-banner h1 .accent { font-style: italic; color: var(--pink); }
.page-banner .banner-lede {
  position: relative;
  z-index: 2;
  color: var(--rose-mist);
  max-width: 620px;
  font-size: 1.05rem;
}
.page-banner .banner-deco {
  position: absolute;
  z-index: 1;
  opacity: 0.18;
}
.page-banner .banner-deco.top-right {
  top: 20px; right: 40px;
}

/* ============================================
   LIVE CHANNEL GRID (live.html)
   ============================================ */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.live-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease);
}
.live-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--rose-mist);
}
.live-card .lc-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.live-card .lc-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 3;
}
.live-card .live-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--rose);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 3px;
}
.live-card .live-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}
.live-card .viewers {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 4;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border-radius: 3px;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.74rem;
  font-weight: 600;
}
.live-card .lc-body {
  padding: 18px 20px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.live-card .lc-body h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.live-card .lc-body .lc-meta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.84rem;
  margin-bottom: 8px;
}
.live-card .lc-body .lc-prog {
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 8px;
}
.live-card .lc-body .lc-prog strong {
  color: var(--rose);
  font-weight: 700;
}

/* category filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--rose-paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip:hover {
  border-color: var(--rose-light);
  color: var(--crimson);
}
.chip.active {
  background: linear-gradient(135deg, var(--rose), var(--crimson));
  color: #fff;
  border-color: transparent;
}

/* ============================================
   SCHEDULE GRID (schedule.html) - channel x time
   ============================================ */
.schedule-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.schedule-scroll {
  overflow-x: auto;
}
.schedule-grid {
  min-width: 920px;
  display: grid;
  grid-template-columns: 160px repeat(8, 1fr);
  border-collapse: collapse;
}
.sg-cell {
  padding: 14px 12px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.86rem;
  position: relative;
}
.sg-cell:last-child { border-right: none; }
.sg-time-head, .sg-ch-head {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  position: sticky;
  z-index: 2;
}
.sg-time-head {
  top: 0;
  font-size: 0.82rem;
}
.sg-ch-head {
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sg-ch-row {
  left: 0;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  font-family: var(--serif);
}
.sg-ch-row .ch-label {
  font-weight: 700;
  color: var(--rose-ink);
  font-size: 0.88rem;
  line-height: 1.2;
}
.sg-ch-row .ch-num {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.72rem;
}
.sg-prog {
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border-radius: 4px;
}
.sg-prog:hover {
  background: var(--rose-paper);
}
.sg-prog .pg-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-deep);
  font-size: 0.86rem;
  line-height: 1.25;
  margin-bottom: 3px;
}
.sg-prog .pg-type {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.74rem;
}
.sg-prog.now {
  background: linear-gradient(135deg, var(--rose-cream-2), var(--rose-paper));
  border-left: 3px solid var(--rose);
}
.sg-prog.now .pg-title { color: var(--crimson); }
.sg-prog.prime {
  background: var(--rose-paper);
}

/* prime time highlights */
.prime-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* weekly overview tabs */
.week-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.week-tab {
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.week-tab .day {
  display: block;
  font-size: 0.74rem;
  font-style: italic;
  color: var(--ink-faint);
  margin-top: 2px;
}
.week-tab:hover {
  border-color: var(--rose-light);
  color: var(--crimson);
}
.week-tab.active {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  border-color: transparent;
}
.week-tab.active .day { color: var(--rose-mist); }

/* ============================================
   DRAMA THEATER (drama.html)
   ============================================ */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.drama-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease);
}
.drama-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-mist);
}
.drama-card .dc-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.drama-card .dc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 3;
}
.drama-card .dc-score {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--crimson));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}
.drama-card .dc-body {
  padding: 16px 18px 20px;
}
.drama-card .dc-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.drama-card .dc-body .dc-genre {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose);
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.drama-card .dc-body .dc-eps {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.drama-card .dc-body .dc-eps span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.drama-card .dc-body .dc-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.55;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* episode guide list */
.episode-guide {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  padding: 28px;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.episode-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.episode-item:last-child { border-bottom: none; }
.episode-item .ep-num {
  width: 52px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--rose-mist);
  line-height: 1;
  font-style: italic;
}
.episode-item:hover .ep-num { color: var(--rose); }
.episode-item .ep-body h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  transition: color 0.25s var(--ease);
}
.episode-item:hover .ep-body h4 { color: var(--crimson); }
.episode-item .ep-body .ep-meta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.episode-item .ep-body .ep-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* drama ranking sidebar */
.drama-rank {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  padding: 26px;
}
.drama-rank h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.drama-rank h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--pink));
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.rank-item:last-child { border-bottom: none; }
.rank-item .rk-num {
  width: 30px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-faint);
  line-height: 1;
}
.rank-item.top .rk-num { color: var(--rose); }
.rank-item .rk-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-ink);
  font-size: 0.95rem;
  line-height: 1.3;
}
.rank-item .rk-sub {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* two col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* ============================================
   VARIETY CHANNEL (variety.html)
   ============================================ */
.variety-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.variety-feature .vf-screen {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.variety-feature .vf-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 3;
}
.variety-feature .vf-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.variety-feature .vf-info .vf-tag {
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--rose-cream-2);
  border: 1px solid var(--rose-mist);
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--crimson);
  margin-bottom: 16px;
}
.variety-feature .vf-info h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.variety-feature .vf-info .vf-host {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--rose-paper);
  border-radius: var(--radius);
  border-left: 3px solid var(--rose);
}
.variety-feature .vf-info .vf-host .host-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.variety-feature .vf-info .vf-host .host-name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--rose-ink);
  font-size: 0.92rem;
}
.variety-feature .vf-info .vf-host .host-role {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.78rem;
}
.variety-feature .vf-info p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* celebrity hosts row */
.host-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.host-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  border: 1px solid var(--line-soft);
  transition: all 0.3s var(--ease);
}
.host-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--rose-mist);
}
.host-card .host-portrait {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.host-card .host-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.4), transparent 55%);
}
.host-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.host-card .host-shows {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose);
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.host-card .host-bio {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ============================================
   RANKINGS (ranking.html) - CSS bar charts
   ============================================ */
.rank-list {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.rank-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr 100px;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.2s var(--ease);
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: var(--rose-paper); }
.rank-row .rr-pos {
  font-family: var(--serif);
  font-weight: 900;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--ink-faint);
  line-height: 1;
  text-align: center;
}
.rank-row.top-3 .rr-pos {
  color: var(--rose);
}
.rank-row.top-3.gold .rr-pos { color: var(--gold); }
.rank-row .rr-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.rank-row .rr-info .rr-cat {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.rank-row .rr-bar-wrap {
  height: 12px;
  background: var(--rose-paper);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.rank-row .rr-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-light), var(--rose), var(--crimson));
  border-radius: 999px;
  position: relative;
  animation: growBar 1.2s var(--ease) backwards;
}
@keyframes growBar {
  from { width: 0 !important; }
}
.rank-row .rr-val {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--crimson);
  font-size: 0.96rem;
  text-align: right;
}
.rank-row .rr-val .unit {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

/* category ranking grid */
.cat-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.cat-rank-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  padding: 26px;
}
.cat-rank-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-rank-card h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--pink));
}
.cat-rank-card h3 .ch-logo-sm {
  width: 32px; height: 32px;
  font-size: 0.56rem;
}
.cat-rank-card .mini-rank {
  display: flex;
  flex-direction: column;
}
.cat-rank-card .mini-rank .mr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.cat-rank-card .mini-rank .mr-item:last-child { border-bottom: none; }
.cat-rank-card .mini-rank .mr-num {
  width: 24px;
  font-family: var(--serif);
  font-weight: 900;
  font-style: italic;
  color: var(--rose);
  font-size: 1rem;
  text-align: center;
}
.cat-rank-card .mini-rank .mr-title {
  flex: 1;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--rose-ink);
  font-size: 0.92rem;
}
.cat-rank-card .mini-rank .mr-val {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

/* trending tags */
.trending-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.trend-tag {
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 600;
  background: var(--rose-paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
  font-size: 0.9rem;
}
.trend-tag:hover {
  background: linear-gradient(135deg, var(--rose), var(--crimson));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.trend-tag .fire {
  color: var(--rose);
  margin-right: 4px;
}
.trend-tag:hover .fire { color: var(--gold-soft); }
.trend-tag.hot {
  background: linear-gradient(135deg, var(--rose-cream-2), var(--rose-paper));
  border-color: var(--rose-mist);
  color: var(--crimson);
}

/* ============================================
   ABOUT PAGE (about.html)
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
.about-hero h1 .accent {
  font-style: italic;
  color: var(--rose);
}
.about-hero p {
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-tv {
  position: relative;
}

/* philosophy cards */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.phil-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}
.phil-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-mist);
}
.phil-card .phil-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.phil-card .phil-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.4), transparent 55%);
}
.phil-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.phil-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* coverage area */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.coverage-cell {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  border: 1px solid var(--line-soft);
  text-align: center;
  transition: all 0.25s var(--ease);
}
.coverage-cell:hover {
  border-color: var(--rose-mist);
  background: var(--rose-paper);
}
.coverage-cell .cv-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--rose);
  line-height: 1;
  font-style: italic;
}
.coverage-cell .cv-label {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--rose-ink);
  font-size: 0.94rem;
  margin: 8px 0 4px;
}
.coverage-cell .cv-sub {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

/* contact card */
.contact-card {
  background: linear-gradient(160deg, var(--rose-deep), var(--rose-ink));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(251,113,133,0.4), transparent 60%);
}
.contact-card h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.contact-card .cc-sub {
  color: var(--rose-mist);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  max-width: 460px;
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-item .ci-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink);
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.contact-item .ci-val {
  font-family: var(--serif);
  font-weight: 600;
  color: #fff;
  font-size: 1.02rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--rose-ink) 0%, #2a0712 100%);
  color: var(--rose-mist);
  padding: 56px 0 28px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--gold-soft), var(--pink), var(--rose));
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text .name { color: #fff; }
.footer-brand p {
  color: var(--rose-mist);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--rose-mist);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}
.footer-col ul li a:hover {
  color: var(--pink);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(254,205,211,0.6);
}
.footer-bottom .fb-links {
  display: flex;
  gap: 18px;
}
.footer-bottom .fb-links a {
  color: rgba(254,205,211,0.6);
}
.footer-bottom .fb-links a:hover { color: var(--pink); }

/* ============================================
   UTILITY / GENERIC
   ============================================ */
.center-text { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }

.banner-quote {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 14px 20px;
  border-left: 3px solid var(--pink);
  background: rgba(0,0,0,0.18);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose-mist);
  max-width: 540px;
  font-size: 0.96rem;
}

/* divider with rose */
.rose-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
  color: var(--rose);
}
.rose-divider::before, .rose-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-mist), transparent);
}
.rose-divider .rose-bloom { width: 28px; height: 28px; }
.rose-divider .rose-bloom .petal { width: 12px; height: 14px; margin: -7px 0 0 -6px; }
.rose-divider .rose-bloom .core { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left h1 { font-size: 2.8rem; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid, .drama-grid { grid-template-columns: repeat(3, 1fr); }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .tonight-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .host-row { grid-template-columns: repeat(3, 1fr); }
  .cat-rank-grid { grid-template-columns: 1fr; }
  .phil-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr; }
  .variety-feature { grid-template-columns: 1fr; }
  .prime-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { height: auto; padding: 14px 18px; flex-wrap: wrap; gap: 12px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
  }
  .main-nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .main-nav.open { max-height: 560px; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
  }
  .main-nav a { padding: 12px 14px; }
  .main-nav a::before { display: none; }
  .header-tools { margin-left: auto; }
  .on-air-pill { display: none; }

  .wrap, .wrap-narrow { padding: 0 18px; }
  .section { padding: 38px 0; }
  .hero { padding: 30px 0 40px; }
  .hero-left h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }

  .page-banner { padding: 38px 0 30px; }
  .page-banner h1 { font-size: 2rem; }

  .guide-grid,
  .program-grid,
  .drama-grid,
  .live-grid,
  .prime-cards,
  .host-row { grid-template-columns: 1fr; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 1.5rem; }

  .tonight-feature { padding: 26px; min-height: auto; }
  .tonight-feature h3 { font-size: 1.5rem; }

  .rank-row {
    grid-template-columns: 44px 1fr 80px;
    gap: 12px;
    padding: 14px 16px;
  }
  .rank-row .rr-bar-wrap { display: none; }

  .contact-card { padding: 30px 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
