:root {
  --bg: #140810;
  --bg-deep: #0d060c;
  --pink: #ff3b78;
  --pink-2: #ff6b9a;
  --gold: #ffc48a;
  --text: #fff7fb;
  --muted: rgba(255, 236, 244, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --card: #241028;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(120, 20, 70, 0.35), transparent 60%),
    radial-gradient(900px 480px at -10% 20%, rgba(90, 20, 80, 0.28), transparent 55%),
    var(--bg);
}
button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }

.glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-a { top: 120px; right: -80px; background: rgba(255, 59, 120, 0.16); }
.glow-b { bottom: 40px; left: -120px; background: rgba(120, 40, 160, 0.18); }

.nav, main, .footer { position: relative; z-index: 1; }

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px 8px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand, .pill-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: white;
  background: linear-gradient(160deg, #ff7aa8, #ff3b78 55%, #ffb088);
  box-shadow: 0 8px 18px rgba(255, 59, 120, 0.35);
}
.brand-mark.sm { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: white; }
.nav .btn { margin-left: 8px; }

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  color: white;
}
.btn-pink {
  background: linear-gradient(180deg, #ff5d93, #ff2f73);
  box-shadow: 0 10px 24px rgba(255, 47, 115, 0.32);
}
.btn-pink:hover { filter: brightness(1.06); }
.btn-lg { padding: 14px 28px; font-size: 15px; display: inline-flex; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 10px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}
.pill-logo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  width: fit-content;
  font-size: 14px;
}
.eyebrow {
  margin: 22px 0 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d88;
  box-shadow: 0 0 0 4px rgba(255, 77, 136, 0.18);
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.line-pink, .line-gold { display: block; }
.line-pink {
  background: linear-gradient(90deg, #ffd0e0, #ff6d9d 40%, #ff8fb5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.line-gold {
  background: linear-gradient(90deg, #ffd7b0, #ffc48a 40%, #ffe7c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 22px;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}
.chip.is-active, .chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}
.fine { margin: 16px 0 0; color: rgba(255, 255, 255, 0.38); font-size: 12px; }

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 168px 168px;
  gap: 14px;
  min-height: 350px;
}
.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #2a1233;
}
.tile.tall { grid-row: 1 / span 2; }
.tile video, .stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1a0c18;
}
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 6, 16, 0.05), rgba(12, 4, 12, 0.15) 40%, rgba(10, 4, 12, 0.72));
  pointer-events: none;
}
.live-pill, .region-pill {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 9px;
}
.live-pill {
  left: 12px;
  color: white;
  background: linear-gradient(180deg, #ff6b9a, #ff3b78);
}
.region-pill {
  right: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(20, 8, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.play::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #2a1028;
}
.tile .play, .stage .play {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.tile:hover .play, .card:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.play-lg { width: 54px; height: 54px; flex: none; }
.play-lg::before { left: 21px; top: 17px; }

.stats {
  max-width: 1180px;
  margin: 54px auto 0;
  padding: 28px 12px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat strong {
  display: block;
  color: var(--pink);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.01em;
}
.stat span { color: var(--muted); font-size: 13px; }

.live, .promo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 28px 10px;
}
.live-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 26px;
}
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 90, 140, 0.35);
  color: #ffd0e0;
  background: rgba(255, 59, 120, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin-bottom: 12px;
}
.badge-soft::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d88;
}
.live-head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.live-head p {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  text-align: right;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.card {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.stage {
  position: relative;
  aspect-ratio: 3 / 4.05;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.card h3 { margin: 12px 2px 2px; font-size: 15px; font-weight: 700; }
.card p { margin: 0 2px 8px; color: var(--muted); font-size: 12px; }
.card.is-hidden { display: none; }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 0 8px;
}

.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 36px;
}
.promo-card {
  min-height: 148px;
  border-radius: 22px;
  padding: 22px 22px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 80%, rgba(255, 180, 200, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(18, 6, 14, 0.2), rgba(18, 6, 14, 0.55));
}
.promo-a {
  background:
    radial-gradient(circle at 30% 40%, #6a3058, transparent 55%),
    linear-gradient(120deg, #3a1838, #1a0c18 70%);
}
.promo-b {
  background:
    radial-gradient(circle at 70% 30%, #5a3068, transparent 50%),
    linear-gradient(120deg, #2a1430, #120814 75%);
}
.promo-card > * { position: relative; z-index: 1; }
.promo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.promo-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffd0c4;
}
.promo-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 420px;
}

.promo { padding-bottom: 28px; }
.footer {
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 22px 28px 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.player {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a0c16;
  color: white;
  border-radius: 20px;
  padding: 0;
  width: min(920px, calc(100vw - 32px));
  box-shadow: var(--shadow);
}
.player::backdrop { background: rgba(6, 2, 6, 0.72); }
.player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  gap: 12px;
}
.player-bar strong { font-size: 16px; }
.player-bar span { color: var(--muted); font-size: 13px; margin-left: 8px; }
#player-video {
  width: 100%;
  max-height: min(70vh, 640px);
  background: black;
  display: block;
}
.cs-fab {
  position: fixed;
  z-index: 30;
  right: 28px;
  top: 46%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(160deg, #ffb15a, #ff6a2a 55%, #ff3b78);
  box-shadow: 0 12px 28px rgba(255, 106, 42, 0.35);
}
.cs-fab:hover { filter: brightness(1.06); }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero, .live-head, .promo, .stats { grid-template-columns: 1fr; }
  .hero { gap: 28px; }
  .live-head p { text-align: left; max-width: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-rows: 140px 140px; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .nav, .hero, .live, .promo, .footer { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 120px 120px; }
  .tile.tall { grid-column: 1 / -1; grid-row: auto; min-height: 180px; }
  h1 { font-size: 36px; }
  .cs-fab { right: 16px; top: auto; bottom: 22px; width: 56px; height: 56px; }
}

/* 卡片内联播放时隐藏中间的播放键（2026-11-16） */
.card.is-playing .stage .play, .tile.is-playing .play { opacity: 0; pointer-events: none; }

/* ---------- 电脑端屏蔽（手机/平板不触发） ---------- */
.pcguard { display: none; }
.pcguard-title { font-size: 22px; font-weight: 700; color: #111; margin: 18px 0 10px; }
.pcguard-sub { font-size: 13.5px; line-height: 1.9; color: #8a8f99; margin: 0; max-width: 320px; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .pcguard {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #fff; text-align: center; padding: 24px;
  }
  html, body { overflow: hidden !important; }
  .topbar, .wrap, .detail, .checkout, .cs-fab, .toast { display: none !important; }
}
/* 视频封面图（未播放时显示） */
.stage .poster, .tile .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  z-index: 0;
}
.stage video, .tile video { position: relative; z-index: 1; }
.stage.is-playing .poster, .tile.is-playing .poster { opacity: 0; }
.stage .poster, .tile .poster { transition: opacity .25s ease; }

/* ---------- live-room loading overlay ---------- */
.room-loader {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9, 6, 16, .88);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.room-loader[hidden] { display: none !important; }
.room-loader.is-open { opacity: 1; pointer-events: auto; }
.rl-box { width: 78%; max-width: 320px; text-align: center; color: #fff; }
.rl-spin {
  width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .16);
  border-top-color: #ff5d8f;
  animation: rl-spin .9s linear infinite;
}
@keyframes rl-spin { to { transform: rotate(360deg); } }
.rl-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.rl-sub { margin: 0 0 18px; font-size: 13px; opacity: .68; }
.rl-bar { position: relative; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.rl-bar i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff5d8f, #ffb25d);
  transition: width .12s linear;
}
.rl-pct { margin: 10px 0 0; font-size: 12px; opacity: .62; font-variant-numeric: tabular-nums; }
