*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0c1030;
  --ink-2: #141a45;
  --ink-3: #1c2358;
  --gold: #f0b64b;
  --gold-soft: #ffd98a;
  --rose: #e8467c;
  --rose-deep: #b81f57;
  --aqua: #5fd4e8;
  --paper: #f3efff;
  --muted: #a9a6cf;
  --line: rgba(240, 182, 75, 0.28);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", ui-monospace, "Menlo", monospace;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 12% -6%, rgba(232, 70, 124, 0.16), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(95, 212, 232, 0.10), transparent 60%),
    radial-gradient(700px 900px at 50% 108%, rgba(240, 182, 75, 0.12), transparent 66%),
    linear-gradient(178deg, #0a0e2b 0%, #101541 48%, #0b1034 100%);
  background-attachment: fixed;
  color: var(--paper);
  line-height: 1.45;
  font-size: 15px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: 0.01em; }
p { margin: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 12, 38, 0.96), rgba(12, 16, 48, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
a[data-contract="site-name"] {
  font-size: 1.16rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(240, 182, 75, 0.4);
  transform: skewX(-6deg);
  padding: 2px 4px;
}
a[data-contract="site-name"]:hover {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 4px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-soft);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 10px 3px 10px 3px;
  background: linear-gradient(140deg, rgba(240, 182, 75, 0.16), rgba(232, 70, 124, 0.10));
  transform: skewX(-8deg);
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #fff7e2;
  background: linear-gradient(140deg, rgba(232, 70, 124, 0.34), rgba(240, 182, 75, 0.24));
  text-decoration: underline;
  text-decoration-color: rgba(255, 247, 226, 0.7);
  text-underline-offset: 3px;
  transform: skewX(-8deg) translateY(-1px);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  display: inline-block;
  font-size: 1.02rem;
  color: var(--paper);
  padding: 3px 14px 3px 12px;
  margin-bottom: 9px;
  border-left: 4px solid var(--rose);
  background: linear-gradient(90deg, rgba(232, 70, 124, 0.22), rgba(240, 182, 75, 0.06) 70%, transparent);
  border-radius: 2px 12px 12px 2px;
  transform: skewX(-5deg);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.5fr);
  grid-template-areas:
    "poster group player"
    "poster status status"
    "synopsis synopsis synopsis"
    "details details details"
    "cast cast cast";
  gap: 14px 18px;
  align-items: start;
  background:
    radial-gradient(700px 420px at 22% 6%, rgba(232, 70, 124, 0.20), transparent 66%),
    radial-gradient(620px 380px at 84% 0%, rgba(95, 212, 232, 0.12), transparent 62%),
    linear-gradient(160deg, rgba(28, 35, 88, 0.92), rgba(12, 16, 48, 0.94));
  border: 1px solid rgba(240, 182, 75, 0.22);
  border-radius: 6px 26px 8px 22px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.hero-poster-wrap {
  grid-area: poster;
  align-self: start;
  position: relative;
  border-radius: 4px 20px 6px 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 182, 75, 0.35);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(232, 70, 124, 0.12) inset;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-group {
  grid-area: group;
  align-self: start;
  position: relative;
  padding-top: 2px;
}
.hero-title {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #fff3d8;
  transform: rotate(-1.6deg) skewX(-4deg);
  text-shadow:
    2px 2px 0 rgba(184, 31, 87, 0.85),
    4px 4px 0 rgba(12, 16, 48, 0.9),
    0 0 26px rgba(240, 182, 75, 0.35);
  margin-bottom: 8px;
  line-height: 1.12;
}
.hero-tagline {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-soft);
  padding: 5px 10px 5px 12px;
  border-left: 3px solid var(--rose);
  background: linear-gradient(90deg, rgba(232, 70, 124, 0.16), transparent 88%);
  border-radius: 2px 10px 10px 2px;
  margin-bottom: 9px;
  transform: skewX(-3deg);
}
.hero-seo {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.hero-player-wrap {
  grid-area: player;
  align-self: start;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 9px;
  border-radius: 18px 5px 18px 5px;
  background: linear-gradient(150deg, rgba(9, 12, 38, 0.9), rgba(28, 35, 88, 0.9));
  border: 1px solid rgba(95, 212, 232, 0.28);
  box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.95);
}
.hero-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px 3px 12px 3px;
  background: #05071c;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.player-control {
  flex: 0 1 auto;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px 3px 10px 3px;
  border: 1px solid rgba(240, 182, 75, 0.32);
  background: rgba(240, 182, 75, 0.10);
  color: var(--gold-soft);
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.player-control:hover {
  background: rgba(232, 70, 124, 0.26);
  color: #fff3d8;
  transform: translateY(-1px);
}
.player-control.is-active {
  background: linear-gradient(140deg, var(--rose), var(--rose-deep));
  border-color: var(--gold);
  color: #fff3d8;
  box-shadow: 0 0 14px -3px rgba(232, 70, 124, 0.8);
}
.player-control.click { transform: scale(0.96); }
body.theater-mode .hero-player-wrap {
  box-shadow: 0 0 0 2px var(--gold), 0 22px 50px -26px #000;
}
body.lights-off::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 16, 0.82);
  z-index: 60;
  pointer-events: none;
}
body.lights-off .hero-player-wrap { position: relative; z-index: 70; }
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 3px 12px 3px 12px;
  border: 1px solid var(--line);
  background: rgba(240, 182, 75, 0.12);
  color: var(--gold-soft);
  transform: skewX(-9deg);
}
.status-chip-current {
  background: linear-gradient(130deg, var(--rose), var(--rose-deep));
  border-color: rgba(255, 217, 138, 0.7);
  color: #fff3d8;
  box-shadow: 0 0 16px -4px rgba(232, 70, 124, 0.9);
}
.synopsis-block {
  grid-area: synopsis;
  border-top: 1px dashed rgba(240, 182, 75, 0.24);
  padding-top: 12px;
}
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.synopsis-para {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cfcae8;
  padding-left: 11px;
  border-left: 2px solid rgba(232, 70, 124, 0.5);
  text-align: justify;
}
.detail-strip {
  grid-area: details;
  border-top: 1px dashed rgba(240, 182, 75, 0.24);
  padding-top: 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.detail-item {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 3px 12px 3px 12px;
  background: rgba(95, 212, 232, 0.07);
  border: 1px solid rgba(95, 212, 232, 0.16);
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--aqua);
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
}
.detail-item dt::after { content: "／"; color: rgba(240, 182, 75, 0.55); }
.detail-item dd {
  color: #e6e2ff;
  font-weight: 600;
  min-width: 0;
}
.cast-block {
  grid-area: cast;
  border-top: 1px dashed rgba(240, 182, 75, 0.24);
  padding-top: 12px;
}
.cast-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-scroll::-webkit-scrollbar { height: 7px; }
.cast-scroll::-webkit-scrollbar-track { background: rgba(240, 182, 75, 0.08); border-radius: 8px; }
.cast-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 8px;
}
.cast-card {
  flex: 0 0 auto;
  width: 108px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px 7px 9px;
  border-radius: 22px 5px 20px 5px;
  background: linear-gradient(160deg, rgba(240, 182, 75, 0.14), rgba(232, 70, 124, 0.10));
  border: 1px solid rgba(240, 182, 75, 0.26);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cast-card:nth-child(even) { transform: rotate(0.9deg); }
.cast-card:nth-child(odd) { transform: rotate(-1deg); }
.cast-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px) rotate(-1deg);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px 4px 14px 4px;
  background:
    radial-gradient(60% 44% at 62% 30%, rgba(255, 243, 216, 0.85), transparent 70%),
    linear-gradient(155deg, var(--rose) 0%, #7a2b6b 42%, var(--ink-3) 100%);
  border: 1px solid rgba(255, 217, 138, 0.35);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6%;
  height: 46%;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(180deg, rgba(12, 16, 48, 0.55), rgba(12, 16, 48, 0.9));
}
.cast-name {
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}
.timeline-block {
  background: linear-gradient(150deg, rgba(28, 35, 88, 0.62), rgba(12, 16, 48, 0.72));
  border: 1px solid rgba(240, 182, 75, 0.18);
  border-radius: 22px 6px 22px 6px;
  padding: 14px 16px 16px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px 22px;
  align-items: start;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--rose) 55%, rgba(95, 212, 232, 0.7));
  border-radius: 2px;
  opacity: 0.75;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-left: 2px;
}
.timeline-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #ffd98a, var(--rose) 62%, var(--rose-deep));
  box-shadow: 0 0 0 3px rgba(232, 70, 124, 0.20), 0 0 14px 1px rgba(232, 70, 124, 0.85);
}
.timeline-card {
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 10px 7px;
  border-radius: 3px 15px 3px 15px;
  background: linear-gradient(135deg, rgba(240, 182, 75, 0.10), rgba(95, 212, 232, 0.06));
  border: 1px solid rgba(240, 182, 75, 0.20);
  border-left: 3px solid var(--rose);
}
.timeline-time {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0c1030;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  padding: 1px 8px;
  border-radius: 3px 9px 3px 9px;
  margin-bottom: 4px;
  transform: skewX(-8deg);
}
.timeline-label {
  font-size: 0.79rem;
  line-height: 1.42;
  color: #d8d3f2;
}
.episodes-block {
  background: linear-gradient(150deg, rgba(12, 16, 48, 0.66), rgba(28, 35, 88, 0.5));
  border: 1px solid rgba(95, 212, 232, 0.18);
  border-radius: 6px 24px 6px 24px;
  padding: 14px 16px 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 9px 11px 10px;
  border-radius: 4px 16px 4px 16px;
  background: linear-gradient(155deg, rgba(240, 182, 75, 0.09), rgba(232, 70, 124, 0.07));
  border: 1px solid rgba(240, 182, 75, 0.20);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.episode-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px -20px rgba(240, 182, 75, 0.9);
}
.episode-number {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0c1030;
  background: linear-gradient(120deg, var(--rose), var(--gold));
  padding: 1px 9px;
  border-radius: 3px 10px 3px 10px;
  transform: skewX(-9deg);
  margin-bottom: 5px;
}
.episode-title {
  font-size: 0.86rem;
  color: #fff3d8;
  margin-bottom: 4px;
}
.episode-summary {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #bdb8dd;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--aqua);
  transition: max-height 0.22s ease, opacity 0.18s ease, margin-top 0.22s ease;
  margin-top: 0;
}
.episode-card:hover .episode-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 5px;
}
.episode-card:hover .episode-duration::before { content: "时长 "; color: var(--muted); }
.comments-block {
  background: linear-gradient(150deg, rgba(28, 35, 88, 0.5), rgba(12, 16, 48, 0.66));
  border: 1px solid rgba(232, 70, 124, 0.22);
  border-radius: 24px 6px 24px 6px;
  padding: 14px 16px 16px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.comment-bubble {
  position: relative;
  padding: 9px 13px 10px;
  border-radius: 16px 4px 16px 4px;
  background: linear-gradient(150deg, rgba(95, 212, 232, 0.11), rgba(232, 70, 124, 0.09));
  border: 1px solid rgba(240, 182, 75, 0.22);
}
.comment-bubble::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -6px;
  width: 11px;
  height: 11px;
  background: inherit;
  border-left: 1px solid rgba(240, 182, 75, 0.22);
  border-top: 1px solid rgba(240, 182, 75, 0.22);
  transform: rotate(45deg);
}
.comment-bubble:nth-child(even) { transform: translateX(10px) rotate(0.5deg); }
.comment-bubble:nth-child(odd) { transform: rotate(-0.6deg); }
.comment-bubble:nth-child(3n) { margin-top: 8px; }
.comment-bubble-long { grid-column: 1 / -1; }
.comment-bubble-medium { border-left: 3px solid var(--gold); }
.comment-bubble-short { border-left: 3px solid var(--aqua); padding-right: 15px; }
.comment-text {
  font-size: 0.8rem;
  line-height: 1.48;
  color: #ddd8f6;
  margin-bottom: 5px;
}
.comment-bubble-long .comment-text { font-size: 0.84rem; }
.comment-bubble-short .comment-text { font-size: 0.77rem; }
.comment-author {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.03em;
}
.comment-author::before { content: "— "; color: var(--gold); }
.recommend-region {
  background: linear-gradient(160deg, rgba(12, 16, 48, 0.7), rgba(28, 35, 88, 0.46));
  border: 1px solid rgba(240, 182, 75, 0.18);
  border-radius: 6px 22px 6px 22px;
  padding: 13px 15px 15px;
}
.recommend-region-1 { border-left: 4px solid var(--gold); }
.recommend-region-2 { border-left: 4px solid var(--rose); }
.recommend-region-3 { border-left: 4px solid var(--aqua); }
.recommend-region-4 { border-left: 4px solid var(--gold-soft); }
.recommend-title {
  font-size: 0.94rem;
  font-weight: 800;
  font-style: italic;
  color: #fff3d8;
  margin-bottom: 9px;
  padding-left: 10px;
  border-left: 3px solid rgba(232, 70, 124, 0.8);
  transform: skewX(-4deg);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 9px;
  align-items: start;
}
[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 4px 16px 4px 16px;
  background: linear-gradient(155deg, rgba(240, 182, 75, 0.10), rgba(95, 212, 232, 0.07));
  border: 1px solid rgba(240, 182, 75, 0.20);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
[data-runtime="recommendation"]:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 32px -22px rgba(240, 182, 75, 0.95);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px 12px 3px 12px;
  background: #05071c;
  display: block;
}
.recommend-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb::before { content: "— "; color: var(--rose); }
.recommend-region-1 .recommend-blurb::before { content: "· "; }
.recommend-region-2 .recommend-blurb::before { content: "– "; }
.recommend-region-3 .recommend-blurb::before { content: "— "; }
.recommend-region-4 .recommend-blurb::before { content: "› "; color: var(--aqua); }
.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px 12px 3px 12px;
  border: 1px solid rgba(240, 182, 75, 0.28);
  background: rgba(240, 182, 75, 0.10);
  color: var(--gold-soft);
  text-decoration: none;
  transform: skewX(-8deg);
  transition: background 0.15s ease, color 0.15s ease;
}
a[data-contract="footer-home"] { color: var(--gold-soft); }
a[data-contract="footer-sitemap"] { color: var(--aqua); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  background: rgba(232, 70, 124, 0.26);
  color: #fff3d8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rose);
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: #c8c3ea;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 3px 10px 3px 10px;
  background: rgba(95, 212, 232, 0.08);
  border: 1px solid rgba(95, 212, 232, 0.18);
  transition: color 0.15s ease, background 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-soft);
  background: rgba(232, 70, 124, 0.20);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.player { position: relative; }
.player .play, .player .mute, .player .volume, .player .speed, .player .progress, .player .pip, .player .fullscreen { transition: background 0.15s ease, color 0.15s ease; }
.player .is-active { color: #fff3d8; }
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    grid-template-areas:
      "poster group"
      "player player"
      "status status"
      "synopsis synopsis"
      "details details"
      "cast cast";
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.comment-columns { grid-template-columns: minmax(0, 1fr); }
.comment-bubble-long { grid-column: auto; }
.comment-bubble:nth-child(even) { transform: none; }
.comment-bubble:nth-child(odd) { transform: none; }
.comment-bubble:nth-child(3n) { margin-top: 0; }}
@media (max-width: 720px) {.page-main { padding: 12px 12px 24px; gap: 18px; }
.header-inner { padding: 7px 12px; }
a[data-contract="site-name"] { font-size: 1rem; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "group"
      "poster"
      "player"
      "status"
      "synopsis"
      "details"
      "cast";
    padding: 12px;
    border-radius: 5px 18px 5px 18px;
  }
.hero-poster-wrap { max-width: 260px; }
.hero-title { font-size: 1.6rem; }
.synopsis-paragraphs { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.cast-card { width: 96px; }}
@media (max-width: 420px) {body { font-size: 14px; }
.hero-title { font-size: 1.34rem; }
.player-control { font-size: 0.68rem; padding: 3px 8px; }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
.cast-card { width: 88px; }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
