/* ============================================================
   styles.css —— 芒果短剧 全站共用样式（必应规范版）
   ============================================================ */
:root {
  --mango: #ffb400;
  --mango-light: #ffd84d;
  --mango-pale: #fff4d6;
  --mango-deep: #e08e00;
  --leaf: #25c88a;
  --leaf-pale: #e3fbf2;
  --cyan: #00b8d9;
  --violet: #7c5cff;
  --hot: #ff4d6d;
  --ink: #1a1a1f;
  --ink-2: #2b2b33;
  --gray-700: #4a4a55;
  --gray-500: #7a7a88;
  --gray-300: #b4b4c0;
  --gray-100: #efeff3;
  --paper: #fbfaf6;
  --white: #ffffff;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-sm: 0 4px 16px rgba(26, 26, 31, 0.07);
  --shadow: 0 14px 34px rgba(26, 26, 31, 0.12);
  --shadow-l: 0 24px 60px rgba(26, 26, 31, 0.18);
  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "HarmonyOS Sans",
    "WenQuanYi Micro Hei",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 84px 0;
  position: relative;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head .txt {
  min-width: 260px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
  background: var(--ink);
  color: var(--mango);
}
.eyebrow.leaf {
  background: var(--leaf);
  color: var(--ink);
}
.eyebrow.light {
  background: var(--mango);
  color: var(--ink);
}
h2.sec-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h2.sec-title em {
  font-style: normal;
  color: var(--hot);
}
h2.sec-title .hl-y {
  color: var(--mango);
}
.sec-desc {
  color: var(--gray-500);
  font-size: 15px;
  max-width: 560px;
  margin-top: 10px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.link-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.link-more:hover::after {
  transform: translateX(5px);
}
.link-more.light {
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.tag-hot {
  background: var(--hot);
  color: #fff;
}
.tag-ai {
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  color: #fff;
}
.tag-new {
  background: var(--leaf);
  color: var(--ink);
}
.tag-free {
  background: var(--mango);
  color: var(--ink);
}
.tag-end {
  background: var(--gray-700);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== 屏幕阅读器专用 ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 31, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 180, 0, 0.22);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mango) 18%,
    var(--leaf) 50%,
    var(--cyan) 82%,
    transparent
  );
  opacity: 0.9;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 92px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.logo:hover {
  transform: translateY(-1px);
}
.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text b {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-text small {
  font-size: 10px;
  font-weight: 700;
  color: var(--mango);
  letter-spacing: 0.22em;
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 300px;
  background: var(--ink-2);
  border: 1.5px solid var(--gray-700);
  border-radius: 99px;
  padding: 5px 5px 5px 42px;
  transition:
    width 0.35s var(--ease),
    border-color 0.25s,
    box-shadow 0.25s;
}
.search-box:focus-within {
  width: 360px;
  border-color: var(--mango);
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.18);
}
.search-box .search-ico {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gray-500);
  pointer-events: none;
  transition: color 0.25s;
}
.search-box:focus-within .search-ico {
  color: var(--mango);
}
.search-box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  padding: 9px 0;
}
.search-box input::placeholder {
  color: var(--gray-500);
  font-size: 14px;
}
.search-box button {
  background: var(--mango);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  border-radius: 99px;
  padding: 8px 20px;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s;
}
.search-box button:hover {
  background: var(--mango-light);
  transform: scale(1.05);
}
.header-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  padding: 11px 22px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 14.5px;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: var(--mango);
  color: var(--ink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 180, 0, 0.45);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink-2);
  color: #fff;
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
  gap: 3px;
  height: 60px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.main-nav a {
  position: relative;
  color: var(--gray-300);
  font-weight: 700;
  font-size: 15.5px;
  padding: 9px 18px;
  border-radius: 99px;
  transition:
    color 0.25s,
    background 0.25s;
  flex-shrink: 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--mango);
  border-radius: 2px;
  transition:
    width 0.3s var(--ease),
    left 0.3s var(--ease);
}
.main-nav a:hover {
  color: #fff;
  background: var(--ink-2);
}
.main-nav a:hover::after {
  left: 15%;
  width: 70%;
}
.main-nav a.active {
  color: var(--ink);
  background: var(--mango);
}
.main-nav a.active::after {
  display: none;
}

/* ===== 小编推荐 ===== */
.ticker {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, var(--mango), var(--leaf));
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(26, 26, 31, 0.14);
}
.ticker::before {
  content: "小编推荐";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 0 22px 0 18px;
  font-size: 13px;
  font-weight: 900;
  background: var(--ink);
  color: var(--mango);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 44px;
  padding-left: 132px;
  animation: slide 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}
.ticker-track span::before {
  content: "★";
  color: var(--ink);
  font-size: 12px;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== STAGE ===== */
.stage {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 30px 0 64px;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 400px at 8% -8%, rgba(255, 180, 0, 0.22), transparent 66%),
    radial-gradient(620px 400px at 92% 6%, rgba(37, 200, 138, 0.18), transparent 66%);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.stage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.stage-main {
  position: relative;
  aspect-ratio: 2.1/1;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(135deg, #1b1b22 0%, #2a2013 46%, #0b0b0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-l);
}
.carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.carousel .slide.active {
  opacity: 1;
}
.slide-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.02);
  transition: transform 7s linear;
  background-position: center;
  background-size: cover;
  background-color: #222;
}
.carousel .slide.active .slide-art {
  transform: scale(1.07);
}
.stage-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      0deg,
      rgba(26, 26, 31, 0.94) 0%,
      rgba(26, 26, 31, 0.6) 24%,
      rgba(26, 26, 31, 0) 56%
    ),
    linear-gradient(
      315deg,
      rgba(26, 26, 31, 0.88) 0%,
      rgba(26, 26, 31, 0.28) 34%,
      rgba(26, 26, 31, 0) 62%
    );
}
.stage-badge {
  position: absolute;
  left: clamp(16px, 2.2vw, 26px);
  top: clamp(16px, 2.2vw, 26px);
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stage-badge .tag {
  padding: 6px 13px;
  font-size: 12.5px;
}
.stage-caption {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 3.2vw, 42px);
  bottom: clamp(20px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  max-width: min(600px, 84%);
}
.stage-caption h1 {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.72);
}
.stage-caption h1 .hl {
  color: var(--mango);
  position: relative;
  display: inline-block;
}
.stage-caption h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 9px;
  background: rgba(255, 77, 109, 0.5);
  z-index: -1;
  border-radius: 3px;
  transform: skewX(-12deg);
}
.stage-caption p {
  font-size: clamp(12.5px, 1.15vw, 15px);
  color: #d8d8e2;
  line-height: 1.65;
  max-width: 460px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.stage-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.stage-cta .btn {
  padding: 11px 22px;
  font-size: 14px;
}
.carousel-dots {
  position: absolute;
  left: clamp(16px, 2.2vw, 26px);
  bottom: clamp(16px, 2.2vw, 26px);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    background 0.25s,
    width 0.25s;
}
.carousel-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}
.carousel-dots button.active {
  background: var(--mango);
  width: 46px;
}
.stage-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 0;
}
.type-tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--ink-2);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.type-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(26, 26, 31, 0) 26%, rgba(26, 26, 31, 0.86) 100%);
}
.type-tile:hover {
  transform: translateY(-5px);
  border-color: var(--mango);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
}
.type-word {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}
.type-tag {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(26, 26, 31, 0.72);
  color: var(--mango);
  border: 1px solid rgba(255, 180, 0, 0.38);
  backdrop-filter: blur(6px);
}
.type-tile.t1 {
  background: linear-gradient(150deg, #3a2a08, #ffb40055 60%, #1a1a1f);
}
.type-tile.t2 {
  background: linear-gradient(150deg, #2e0a14, #ff4d6d55 60%, #1a1a1f);
}
.type-tile.t3 {
  background: linear-gradient(150deg, #07201a, #25c88a55 60%, #1a1a1f);
}
.type-tile.t4 {
  background: linear-gradient(150deg, #150a2e, #7c5cff55 60%, #1a1a1f);
}

/* ===== 剧库 ===== */
.lib-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 99px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  border: 1px solid var(--gray-100);
}
.lib-tab {
  font-size: 15px;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 99px;
  color: var(--gray-700);
  transition: all 0.25s var(--ease);
}
.lib-tab:hover {
  color: var(--ink);
}
.lib-tab.active {
  color: var(--ink);
  background: var(--mango);
  box-shadow: 0 6px 16px rgba(255, 180, 0, 0.4);
}
.lib-tab.active .dot {
  background: var(--hot);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-right: 7px;
  transition: background 0.25s;
}
.lib-panel {
  display: none;
  animation: fade 0.4s var(--ease);
}
.lib-panel.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.drama-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-l);
}
.cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #222;
}
.cover .tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.cover .tags .tag {
  padding: 4px 9px;
  font-size: 11px;
}
.cover .ep {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(26, 26, 31, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.cover .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 31, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.card:hover .cover .play {
  opacity: 1;
}
.play i {
  width: 56px;
  height: 56px;
  background: var(--mango);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: scale(0.7);
  transition: transform 0.3s var(--ease);
  font-style: normal;
}
.card:hover .play i {
  transform: scale(1);
}
.card-body {
  padding: 14px 15px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}
.card-body .info {
  font-size: 12.5px;
  color: var(--gray-500);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.card-body .info .dot2 {
  width: 3px;
  height: 3px;
  background: var(--gray-300);
  border-radius: 50%;
}
.card-desc {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.score {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.score b {
  font-size: 19px;
  font-weight: 900;
  color: var(--hot);
}
.score span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== 排行榜 ===== */
.rank-section {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.rank-section .sec-title {
  color: #fff;
}
.rank-section .sec-desc {
  color: var(--gray-300);
}
.rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.rank-col {
  background: var(--ink-2);
  border-radius: var(--radius-l);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.rank-head .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.rank-head .ico.hot {
  background: linear-gradient(135deg, var(--hot), #c81e3f);
}
.rank-head .ico.leaf {
  background: linear-gradient(135deg, var(--leaf), #0e9e6a);
}
.rank-head h3 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.rank-head small {
  color: var(--gray-300);
  font-size: 13px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    transform 0.25s;
}
.rank-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}
.rank-item:last-child {
  margin-bottom: 0;
}
.rank-no {
  width: 34px;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  flex-shrink: 0;
  font-style: italic;
  color: var(--gray-300);
}
.rank-item.top3 .rank-no {
  color: var(--mango);
}
.rank-thumb {
  width: 56px;
  height: 74px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
  background-position: center;
  background-size: cover;
  background-color: #222;
}
.rank-item:hover .rank-thumb {
  transform: scale(1.08);
}
.rank-txt {
  flex: 1;
  min-width: 0;
}
.rank-txt h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.rank-txt p {
  font-size: 12.5px;
  color: var(--gray-300);
  margin-top: 3px;
}
.rank-val {
  text-align: right;
  flex-shrink: 0;
}
.rank-val strong {
  font-size: 17px;
  font-weight: 900;
  color: var(--mango);
}
.rank-val span {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}
.trend {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  font-style: normal;
}
.trend.up {
  background: rgba(37, 200, 138, 0.18);
  color: var(--leaf);
}
.trend.down {
  background: rgba(255, 77, 109, 0.18);
  color: var(--hot);
}

/* ===== 日历 ===== */
.calendar-wrap {
  margin-top: 40px;
  background: var(--ink-2);
  border-radius: var(--radius-l);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.cal-head h3 {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cal-nav .month {
  font-size: 16px;
  font-weight: 800;
  min-width: 150px;
  text-align: center;
}
.cal-range {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.35;
}
.cal-date {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cal-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-700);
  color: #fff;
  font-size: 16px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cal-btn:hover {
  background: var(--mango);
  color: var(--ink);
  transform: scale(1.1);
}
.cal-btn:disabled {
  cursor: not-allowed;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.cal-day {
  position: relative;
  background: var(--gray-700);
  border-radius: 14px;
  padding: 12px 10px 10px;
  min-height: 92px;
  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s;
  border: 2px solid transparent;
}
.cal-day:hover {
  transform: translateY(-4px);
}
.cal-day .d {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.cal-day .d b {
  font-size: 20px;
  color: #fff;
}
.cal-day .d em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  background: var(--gray-500);
  color: #fff;
  padding: 2px 6px;
  border-radius: 99px;
  white-space: nowrap;
}
.cal-day .d em.today {
  background: var(--mango);
  color: var(--ink);
}
.cal-day .shows {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-day .shows i {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
}
.cal-day.today {
  background: rgba(255, 180, 0, 0.14);
  border-color: var(--mango);
}
.cal-day.update {
  border-color: var(--leaf);
}
.cal-day.weekend {
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.4);
}
.cal-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-300);
}
.cal-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 7px;
  vertical-align: -1px;
  font-style: normal;
}
.cal-legend i.a {
  background: rgba(255, 180, 0, 0.5);
}
.cal-legend i.b {
  background: var(--leaf);
}
.cal-legend i.c {
  background: rgba(124, 92, 255, 0.5);
}

/* ===== 优势 ===== */
.adv-section {
  background: var(--mango-pale);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
  cursor: default;
  border: 2px solid transparent;
}
.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--c, var(--mango));
}
.adv-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-l);
  border-color: var(--c, var(--mango));
}
.adv-ico {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--c, var(--mango));
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition:
    transform 0.4s var(--ease),
    border-radius 0.4s;
}
.adv-card:hover .adv-ico {
  transform: rotate(-10deg) scale(1.12);
  border-radius: 50%;
}
.adv-card h4 {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.75;
}
.adv-num {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 56px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  transition:
    color 0.35s,
    transform 0.35s;
}
.adv-card:hover .adv-num {
  color: var(--c, var(--mango));
  transform: scale(1.08);
}

/* ===== 社区 ===== */
.comm-section {
  background: linear-gradient(180deg, #1a1a1f, #241a2e);
}
.comm-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.comm-post {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-l);
  padding: 22px;
  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
  border-left: 4px solid var(--violet);
  color: #fff;
}
.comm-post:hover {
  transform: translateX(8px);
  background: #2e2e38;
  border-left-color: var(--mango);
}
.cp-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar.a1 {
  background: linear-gradient(135deg, var(--violet), var(--hot));
}
.avatar.a2 {
  background: linear-gradient(135deg, var(--mango), var(--mango-deep));
  color: var(--ink);
}
.avatar.a3 {
  background: linear-gradient(135deg, var(--cyan), var(--leaf));
}
.cp-top .who {
  font-weight: 800;
  font-size: 15px;
}
.cp-top .who small {
  display: block;
  font-weight: 600;
  color: var(--gray-500);
  font-size: 12px;
}
.cp-top .badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(124, 92, 255, 0.2);
  color: #b9a8ff;
  white-space: nowrap;
}
.comm-post h3 {
  font-size: 16.5px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.45;
  color: #fff;
}
.comm-post p {
  color: var(--gray-300);
  font-size: 14px;
}
.cp-foot {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.cp-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.2s;
}
.cp-foot span:hover {
  color: var(--mango);
}

/* ===== 下载 CTA ===== */
.dl-cta-box {
  background: linear-gradient(120deg, var(--ink) 0%, #2a2013 55%, var(--ink) 100%);
  border: 1px solid rgba(255, 180, 0, 0.25);
  border-radius: var(--radius-l);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.dl-cta-box::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.28), transparent 70%);
}
.dl-cta-txt {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.dl-cta-txt .sec-title {
  color: #fff;
  margin-bottom: 10px;
}
.dl-cta-txt p {
  color: var(--gray-300);
  font-size: 15px;
  margin-bottom: 24px;
}
.dl-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dl-cta-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
  background: rgba(255, 180, 0, 0.14);
  border: 2px dashed var(--mango);
  border-radius: 24px;
  padding: 26px 40px;
}
.dl-cta-badge span {
  font-size: 52px;
  font-weight: 900;
  color: var(--mango);
  line-height: 1;
  display: block;
}
.dl-cta-badge span span {
  font-size: 20px;
  display: inline;
  margin-left: 4px;
}
.dl-cta-badge small {
  display: block;
  font-size: 12.5px;
  color: var(--gray-300);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111115;
  color: var(--gray-300);
  padding: 60px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand .logo-text b {
  font-size: 18px;
}
.foot-brand .logo-mark {
  width: 40px;
  height: 40px;
}
.foot-brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 340px;
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  transition:
    background 0.2s,
    transform 0.2s;
}
.foot-social a:hover {
  background: var(--mango);
  color: var(--ink);
  transform: translateY(-3px);
}
.foot-col h6 {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition:
    color 0.2s,
    padding 0.2s;
}
.foot-col a:hover {
  color: var(--mango);
  padding-left: 6px;
}
.foot-bottom {
  border-top: 1px solid var(--ink-2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.foot-sitemap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-sitemap a {
  color: var(--gray-500);
  transition: color 0.2s;
}
.foot-sitemap a:hover {
  color: var(--mango);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mango);
  color: var(--ink);
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.to-top.show {
  display: flex;
}
.to-top:hover {
  transform: scale(1.12) translateY(-3px);
}

/* ============================================================
     子页面通用
     ============================================================ */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 12% -20%, rgba(255, 180, 0, 0.24), transparent 70%),
    radial-gradient(520px 300px at 88% 10%, rgba(37, 200, 138, 0.16), transparent 70%);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--mango);
}
.page-hero p {
  color: var(--gray-300);
  font-size: 15.5px;
  max-width: 640px;
  margin-top: 12px;
}
.crumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.crumb a {
  color: var(--gray-300);
}
.crumb a:hover {
  color: var(--mango);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 99px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  border: 1px solid var(--gray-100);
}
.filter-btn {
  font-size: 14.5px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 99px;
  color: var(--gray-700);
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  color: var(--ink);
}
.filter-btn.active {
  color: var(--ink);
  background: var(--mango);
  box-shadow: 0 6px 16px rgba(255, 180, 0, 0.4);
}

/* FAQ 手风琴（h3 结构） */
.faq-section + .faq-section {
  margin-top: 38px;
}
.faq-section > h2 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 5px solid var(--mango);
  color: var(--ink);
}
.faq-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.faq {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  background: #fff;
}
.faq.open,
.faq:hover {
  border-color: var(--mango);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
  user-select: none;
  margin: 0;
}
.faq-q .qno {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--mango);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq.open .qno {
  background: var(--mango);
  color: var(--ink);
}
.faq-q .arrow {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition:
    transform 0.3s,
    background 0.3s;
  flex-shrink: 0;
}
.faq.open .arrow {
  transform: rotate(180deg);
  background: var(--mango);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq.open .faq-a {
  max-height: 600px;
}
.faq-a p {
  padding: 0 20px 20px 64px;
  color: var(--gray-500);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}
.faq-a p strong {
  color: var(--ink);
}

/* 热评 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 26px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
}
.review-card .rc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card .stars {
  color: var(--mango);
  font-size: 15px;
  letter-spacing: 2px;
}
.review-card .rc-drama {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 2px;
}
.review-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.45;
  color: var(--ink);
}
.review-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.8;
  flex: 1;
}
.review-card .rc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-100);
  font-size: 13px;
  color: var(--gray-500);
}

/* 评分统计 */
.review-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-l);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 40px;
}
.review-stats .big-score {
  text-align: center;
}
.review-stats .big-score b {
  font-size: 60px;
  font-weight: 900;
  color: var(--hot);
  line-height: 1;
}
.review-stats .big-score small {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 6px;
}
.review-stats .bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--gray-700);
}
.review-stats .bar-row span:first-child {
  width: 44px;
  flex-shrink: 0;
  font-weight: 700;
}
.review-stats .bar {
  flex: 1;
  height: 10px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
}
.review-stats .bar i {
  display: block;
  height: 100%;
  background: var(--mango);
  border-radius: 99px;
}
.review-stats .bar-row em {
  font-style: normal;
  width: 44px;
  text-align: right;
  color: var(--gray-500);
}

/* 社区侧栏 */
.comm-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}
.topic-card {
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.topic-card + .topic-card {
  margin-top: 18px;
}
.topic-card .topic-title {
  font-size: 13px;
  color: var(--gray-300);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.topic:last-child {
  border-bottom: none;
}
.topic h3 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  transition: color 0.2s;
  line-height: 1.4;
}
.topic span {
  font-size: 12px;
  color: var(--gray-500);
  margin-left: auto;
  white-space: nowrap;
}
.topic:hover h3 {
  color: var(--mango);
}
.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hot-keywords a {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  transition: all 0.2s;
}
.hot-keywords a:hover {
  background: var(--violet);
  transform: translateY(-2px);
}
.hot-keywords a.hit {
  background: var(--mango);
  color: var(--ink);
}
.comm-cta {
  background: linear-gradient(135deg, var(--violet), var(--hot));
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  color: #fff;
  margin-top: 18px;
}
.comm-cta .topic-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
.comm-cta p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 16px;
}
.comm-cta .btn {
  background: #fff;
  color: var(--ink);
}

/* 分页 */
.paginator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.paginator a,
.paginator span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--gray-100);
  transition: all 0.2s;
}
.paginator a:hover {
  border-color: var(--mango);
  color: var(--mango-deep);
}
.paginator .current {
  background: var(--mango);
  color: var(--ink);
  border-color: var(--mango);
}
.paginator .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 漫剧横滚 */
.manhua-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
}
.manhua-strip::-webkit-scrollbar {
  height: 8px;
}
.manhua-strip::-webkit-scrollbar-thumb {
  background: var(--mango);
  border-radius: 99px;
}
.manhua-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.manhua-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
}
.manhua-cover {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-color: #222;
}
.manhua-card .mc-body {
  padding: 16px 18px 18px;
}
.manhua-card .mc-body h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--ink);
}
.manhua-card .mc-body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}
.manhua-card .mc-body .mc-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--mango-pale);
  color: var(--mango-deep);
  margin-top: 10px;
}

/* 客户端页面 */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plat {
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.plat:hover {
  border-color: var(--mango);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.plat .ico {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}
.plat h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--ink);
}
.plat small {
  font-size: 12.5px;
  color: var(--gray-500);
}
.plat .size {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--leaf);
  font-weight: 800;
}
.plat .go {
  margin-top: 16px;
  display: inline-block;
  background: var(--mango);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 22px;
  border-radius: 99px;
  transition: transform 0.2s;
}
.plat:hover .go {
  transform: scale(1.06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  margin-top: 20px;
}
.step {
  text-align: center;
}
.step .circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--ink);
  border: 4px solid var(--mango);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--mango);
  font-weight: 900;
  transition:
    transform 0.35s var(--ease),
    background 0.35s;
}
.step:hover .circle {
  transform: scale(1.12) rotate(-6deg);
  background: var(--mango);
  color: var(--ink);
}
.step h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--ink);
}
.step p {
  font-size: 14px;
  color: var(--gray-500);
}

.dl-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.dl-showcase .dl-features {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}
.dl-showcase .dl-features li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
.dl-showcase .dl-features .check {
  color: var(--leaf);
  font-size: 18px;
  font-weight: 900;
}
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.phone-mock {
  width: 240px;
  height: 480px;
  background: linear-gradient(160deg, #1c1c24, #0d0d12);
  border: 10px solid #2a2a34;
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 2px var(--mango);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
  position: relative;
  margin: 0 auto;
}
.phone-mock:hover {
  transform: rotate(0);
}
.phone-mock .notch {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #2a2a34;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-mock .screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--mango), var(--mango-deep));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.phone-mock .screen .p-logo {
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mock .screen b {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}
.phone-mock .screen .p-bar {
  width: 70%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 99px;
  overflow: hidden;
}
.phone-mock .screen .p-bar i {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--ink);
  border-radius: 99px;
}
.floating-note {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-l);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3.4s ease-in-out infinite;
  z-index: 2;
}
.floating-note .fdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.fn1 {
  top: 30px;
  left: 0;
}
.fn2 {
  bottom: 40px;
  right: 0;
  animation-delay: 0.9s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
  font-size: 15px;
}
.center-cta {
  text-align: center;
  margin-top: 44px;
}

/* ===== 扫码下载 ===== */
.scan-download {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.scan-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 16px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.scan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.qr-code {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #f7f7f7;
}
.scan-txt h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--ink);
}
.scan-txt p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

/* ===== 合作伙伴 ===== */
.partner-section {
  background: #19120c;
  padding: 40px 30px;
  border-radius: var(--radius-l);
  margin-top: 64px;
  border: 1px solid #33261b;
}
.partner-title {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 24px;
  letter-spacing: 2px;
}
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner-tags a {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  color: #d1a95c;
  border: 1px solid #6b4c26;
  transition: all 0.25s;
  cursor: pointer;
}
.partner-tags a:hover {
  background: rgba(209, 169, 92, 0.1);
  color: #ffcc66;
  border-color: #ffcc66;
}

/* ============================================================
     浮动下载条
     ============================================================ */
.dl-float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  padding: 14px 20px 18px;
  pointer-events: none;
  transform: translateY(130%);
  transition: transform 0.45s var(--ease);
}
.dl-float-bar.show {
  transform: none;
  pointer-events: auto;
}
.dlf-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(100deg, #241609 0%, #3a2310 58%, #2a1a0a 100%);
  border: 1px solid rgba(255, 180, 0, 0.35);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.dlf-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.dlf-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc93c, #e08e00);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.dlf-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.dlf-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.dlf-txt strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dlf-txt span {
  color: #c9b392;
  font-size: 12.5px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dlf-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.dlf-btn {
  background: linear-gradient(100deg, #ffd84d, #ffb400);
  color: #1a1a1f;
  font-weight: 900;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 99px;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.dlf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.4);
}
.dlf-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.dlf-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
body.has-dl-bar .to-top {
  bottom: 120px;
}

/* ============================================================
     响应式
     ============================================================ */
@media (max-width: 1080px) {
  .drama-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .section {
    padding: 60px 0;
  }
  .header-top {
    gap: 12px;
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .header-tools {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-box {
    flex: 1 1 200px;
    width: auto;
  }
  .search-box:focus-within {
    width: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    height: auto;
    padding: 16px;
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    text-align: center;
    padding: 13px;
  }
  .stage {
    padding: 20px 0 48px;
  }
  .stage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stage-main {
    aspect-ratio: 16/10;
    min-height: 340px;
  }
  .stage-side {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    height: 132px;
  }
  .stage-caption {
    max-width: 88%;
  }
  .comm-preview {
    grid-template-columns: 1fr;
  }
  .comm-layout {
    grid-template-columns: 1fr;
  }
  .dl-showcase {
    grid-template-columns: 1fr;
  }
  .dl-cta-box {
    padding: 34px;
  }
  .dl-cta-badge {
    padding: 20px 30px;
  }
  .dl-cta-badge span {
    font-size: 42px;
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-group {
    grid-template-columns: 1fr;
  }
  .rank-grid {
    grid-template-columns: 1fr;
  }
  .review-stats {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ticker::before {
    display: none;
  }
  .ticker-track {
    padding-left: 18px;
  }
  .cal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 860px) {
  .drama-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .stage-main {
    aspect-ratio: 4/3;
    min-height: 300px;
  }
  .stage-caption {
    right: 18px;
    left: 18px;
    bottom: 18px;
    max-width: none;
    align-items: flex-end;
    text-align: right;
    gap: 10px;
  }
  .stage-cta {
    justify-content: flex-end;
  }
  .stage-side {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .type-tile {
    aspect-ratio: 1.5/1;
  }
  .carousel-dots {
    left: 18px;
    bottom: 18px;
  }
  .drama-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .plat-grid {
    grid-template-columns: 1fr;
  }
  .cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .foot-brand {
    display: none;
  }
  .foot-col h6 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .foot-col a {
    font-size: 13px;
    padding: 4px 0;
  }
  .lib-nav,
  .filter-bar {
    width: 100%;
    justify-content: center;
  }
  .floating-note {
    display: none;
  }
  .scan-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .partner-section {
    padding: 30px 16px;
  }
  .partner-tags a {
    padding: 5px 12px;
    font-size: 12px;
  }
  .dl-float-bar {
    padding: 10px 12px 14px;
  }
  .dlf-inner {
    padding: 12px;
    gap: 12px;
    border-radius: 16px;
  }
  .dlf-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .dlf-logo img {
    width: 34px;
    height: 34px;
  }
  .dlf-txt strong {
    font-size: 14px;
  }
  .dlf-txt span {
    font-size: 11px;
  }
  .dlf-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
  .dlf-close {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  body.has-dl-bar .to-top {
    bottom: 110px;
  }
}
