:root {
  color-scheme: dark;
  --bg: #33201e;
  --panel: rgba(68, 46, 43, .74);
  --panel-strong: rgba(82, 58, 55, .92);
  --line: rgba(112, 85, 81, .22);
  --text: #f2eded;
  --muted: #c4b6b4;
  --cyan: #df7d70;
  --rose: #4fd85f;
  --gold: #eeb838;
  --green: #6d5fd2;
  --shadow: 0 16px 40px rgba(51,32,30,0.34);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(223, 125, 112, .24), transparent 28rem),
    radial-gradient(circle at 86% 24%, rgba(79, 216, 95, .18), transparent 30rem),
    linear-gradient(180deg, #0c1632 0%, #080e1e 52%, #090b13 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.anime-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
}
.anime-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(223, 125, 112, .09), transparent 38%),
    linear-gradient(245deg, rgba(238, 184, 56, .08), transparent 40%);
  animation: auraShift 9s ease-in-out infinite alternate;
}
.anime-bg::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -9vh;
  width: min(980px, 76vw);
  aspect-ratio: 16 / 9;
  background-image: var(--anime-girl-bg);
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  opacity: .46;
  filter: drop-shadow(0 30px 90px rgba(97, 240, 234, .18));
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition: transform .18s ease-out;
}
.anime-bg__particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  opacity: .52;
  animation: floatParticle var(--dur, 8s) linear infinite;
  left: var(--x);
  top: var(--y);
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(29, 44, 89, .88), rgba(5, 8, 17, .96)),
    linear-gradient(135deg, rgba(223, 125, 112, .18), rgba(79, 216, 95, .16));
  transition: opacity .55s ease, visibility .55s ease;
}
.splash.is-gone { opacity: 0; visibility: hidden; }
.splash__ring {
  position: absolute;
  width: min(62vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(223, 125, 112, .42);
  border-radius: 999px;
  box-shadow: inset 0 0 34px rgba(223, 125, 112, .2), 0 0 70px rgba(79, 216, 95, .2);
  animation: ringPulse 1.8s ease-in-out infinite;
}
.splash__girl {
  width: min(52vw, 430px);
  max-height: 76vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
  animation: splashGirl 1.4s cubic-bezier(.2, .8, .2, 1) both;
}
.splash__line {
  position: absolute;
  bottom: 8vh;
  color: var(--cyan);
  letter-spacing: 0;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 12, 26, .72);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; min-width: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #081120;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 12px 30px rgba(223, 125, 112, .28);
}
.brand__text { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.site-nav__link, .filter-strip a, .map-links a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
}
.site-nav__link:hover, .filter-strip a:hover, .map-links a:hover { color: var(--text); border-color: rgba(223, 125, 112, .42); }
.nav-empty { display: none; color: var(--muted); padding: 8px 11px; }
.nav-empty.is-visible { display: inline-flex; }
.search-box { display: flex; align-items: center; gap: 8px; }
.search-box input {
  width: 190px;
  min-width: 0;
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}
.search-box button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #06111d;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 14px 34px rgba(223, 125, 112, .18);
  cursor: pointer;
}
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--small { min-height: 34px; padding: 0 12px; font-size: 14px; }

main { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 58px; }
.hero {
  min-height: min(680px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: 36px;
  padding: 22px 0 54px;
}
.hero__copy h1, .page-title h1, .detail-hero h1, .player-page-title h1, .notice-panel h1, .article-detail h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero__copy p, .page-title p, .player-page-title p { color: var(--muted); line-height: 1.8; max-width: 680px; }
.eyebrow { color: var(--cyan); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__visual {
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    var(--anime-girl-bg) center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: 0; }
.section-head a, .section-head span { color: var(--muted); }
.vod-section, .banner-row, .playlist-block, .viewer-voice, .faq-block, .map-panel, .notice-panel, .filter-strip, .article-list, .article-detail {
  margin-top: 30px;
}
.no-cat-panel { display: none; }
.no-cat-panel.is-visible { display: block; }
.vod-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.vod-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 20, 43, .7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.vod-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
}
.vod-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vod-card:hover img { transform: scale(1.04); }
.vod-card__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 7px;
  border-radius: 6px;
  color: #06111d;
  font-size: 12px;
  font-weight: 800;
  background: var(--gold);
}
.vod-card__title {
  display: block;
  margin: 10px 0 4px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vod-card__meta { margin: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.banner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.banner-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.banner-card > a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.banner-card img { width: 100%; height: 100%; object-fit: cover; }
.banner-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.74)); }
.banner-card__content { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.banner-card__content strong, .banner-card__content em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.banner-card__content em { margin-top: 4px; color: var(--muted); font-style: normal; font-size: 13px; }
.banner-card__actions { display: flex; gap: 8px; padding: 12px; }

.page-title, .player-page-title {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(223, 125, 112, .1), rgba(79, 216, 95, .08)), var(--panel);
}
.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.empty-state {
  display: none;
  margin: 16px 0 0;
  padding: 16px;
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 8px;
}
.empty-state.is-visible { display: block; }

.detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.detail-hero__poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.detail-hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__desc { color: var(--muted); line-height: 1.8; }
.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.meta-list div { padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.04); }
.meta-list dt { color: var(--muted); font-size: 13px; }
.meta-list dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.score-box, .star-row { margin-top: 14px; color: var(--gold); font-weight: 800; }
.score-box__value { margin-left: 8px; color: var(--text); }

.playlist-block, .viewer-voice, .faq-block, .notice-panel, .article-list, .article-detail, .map-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.source-group + .source-group { margin-top: 16px; }
.source-group h3 { margin: 0 0 12px; font-size: 18px; }
.episode-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.episode-grid a {
  min-width: 82px;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}
.episode-grid a:hover { border-color: var(--cyan); color: var(--cyan); }
.player-stage { margin-top: 22px; }
.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #02050d;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-message {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 22px;
  text-align: center;
  color: var(--muted);
}
.player-message.is-visible { display: grid; }
.embed-body { margin: 0; background: #02050d; }

.feedback-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feedback-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.feedback-card strong { display: block; }
.feedback-card span { display: block; margin: 8px 0; color: var(--gold); }
.feedback-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.feedback-card em { display: block; margin-top: 10px; color: var(--green); font-style: normal; font-size: 13px; }
.faq-block details { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
.faq-block summary { cursor: pointer; font-weight: 800; }
.faq-block p { color: var(--muted); line-height: 1.8; }

.map-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.topic-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.topic-card a { display: block; }
.topic-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.topic-card strong { display: block; padding: 12px; }
.article-list article { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.article-list article:first-child { border-top: 0; }
.article-list a { font-weight: 800; color: var(--cyan); }
.article-content { color: var(--text); line-height: 1.9; overflow-wrap: anywhere; }
.tool-strip { display: flex; gap: 8px; }
.tool-strip__item { padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.06); }
.verify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-form input { color: var(--text); background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 18, .75);
}
.site-footer__inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }

@keyframes auraShift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}
@keyframes floatParticle {
  from { transform: translate3d(0, 18px, 0); opacity: 0; }
  18% { opacity: .7; }
  to { transform: translate3d(0, -130px, 0); opacity: 0; }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(.94); opacity: .72; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes splashGirl {
  from { transform: translate3d(0, 28px, 0) scale(.92); opacity: 0; }
  to { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

@media (max-width: 980px) {
  .site-header__inner { grid-template-columns: 1fr; padding: 12px 0; }
  .search-box input { width: 100%; }
  .search-box { width: 100%; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 320px; }
  .vod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .banner-grid, .feedback-list, .map-grid { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 680px) {
  main { width: min(100% - 20px, 1180px); padding-top: 20px; }
  .vod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero__poster { max-width: 260px; }
  .meta-list { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .hero__copy h1, .page-title h1, .detail-hero h1, .player-page-title h1, .notice-panel h1, .article-detail h1 { font-size: 34px; }
  .anime-bg::after { width: 120vw; opacity: .28; right: -44vw; }
  .splash__girl { width: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .splash { display: none; }
}


/* split s0072_moban16 dusk 赤陶 triad */
body {
  color: #f2eded;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
