:root {
  --ink: #0d1016;
  --ink-2: #141922;
  --ink-3: #1c232e;
  --rain: #2c3a4d;
  --rain-soft: #43566e;
  --warm: #ff8a3d;
  --warm-deep: #e8631a;
  --warm-glow: #ffb066;
  --paper: #e9edf3;
  --muted: #93a1b5;
  --muted-dim: #6b7a8f;
  --line: rgba(147, 161, 181, 0.16);
  --gap: 8px;
  --pad: 10px;
  --radius: 4px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 16, 22, 0.97) 0%, rgba(13, 16, 22, 0.86) 70%, rgba(13, 16, 22, 0.6) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 7px 12px;
  max-width: 100%;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--warm);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(255, 138, 61, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--warm-glow);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(44, 58, 77, 0.28);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--warm);
  border-color: var(--warm);
  text-decoration: none;
}
.page-main {
  display: block;
  padding: 0 10px 14px;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-banner {
  position: relative;
  margin: 10px 0 var(--gap);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.hero-media {
  position: relative;
  display: block;
  line-height: 0;
}
.hero-still {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.92) contrast(1.06) brightness(0.82);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 14px 16px 16px;
  background:
    linear-gradient(180deg, rgba(13, 16, 22, 0.1) 0%, rgba(13, 16, 22, 0.55) 52%, rgba(13, 16, 22, 0.95) 100%),
    linear-gradient(90deg, rgba(255, 138, 61, 0.14) 0%, rgba(13, 16, 22, 0) 46%);
}
.hero-title {
  font-size: clamp(20px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
}
.hero-tagline {
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 600;
  color: var(--warm-glow);
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: clamp(11px, 1.15vw, 13.5px);
  line-height: 1.6;
  color: rgba(233, 237, 243, 0.82);
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.btn-play, .btn-theater {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-play {
  background: var(--warm);
  color: #1a1006;
  box-shadow: 0 0 22px rgba(255, 138, 61, 0.45);
}
.btn-play:hover {
  background: var(--warm-glow);
  transform: translateY(-1px);
}
.btn-theater {
  background: rgba(20, 25, 34, 0.62);
  color: var(--paper);
  border-color: rgba(233, 237, 243, 0.3);
}
.btn-theater:hover {
  border-color: var(--warm);
  color: var(--warm-glow);
  transform: translateY(-1px);
}
.watch-panel {
  margin: 0 0 var(--gap);
}
.player-shell {
  position: relative;
  background: #05070b;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  display: block;
  background: #05070b;
}
.player-shell.is-theater {
  border-color: var(--warm);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.25), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #10151d 0%, #0a0e14 100%);
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: rgba(44, 58, 77, 0.3);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-controls button:hover {
  background: var(--rain);
  border-color: var(--rain-soft);
}
.ctrl-play {
  background: var(--warm) !important;
  color: #1a1006 !important;
  border-color: var(--warm) !important;
  font-weight: 800 !important;
}
.player-shell.is-playing .ctrl-play {
  background: var(--warm-deep) !important;
  border-color: var(--warm-deep) !important;
  color: #fff !important;
}
.ctrl-light.is-active {
  background: var(--warm) !important;
  color: #1a1006 !important;
  border-color: var(--warm) !important;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--rain);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm);
  border: none;
  box-shadow: 0 0 8px rgba(255, 138, 61, 0.7);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--warm);
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 56px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--rain);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rain-soft);
  border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--rain-soft);
}
.ctrl-speed {
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: rgba(44, 58, 77, 0.3);
  color: var(--paper);
  cursor: pointer;
}
body.is-lights-off {
  background: #04060a;
}
body.is-lights-off .site-header, body.is-lights-off .site-footer {
  opacity: 0.4;
  transition: opacity 0.3s;
}
body.is-lights-off .hero-banner, body.is-lights-off .movie-overview, body.is-lights-off .timeline-section, body.is-lights-off .episodes-section, body.is-lights-off .comments-section, body.is-lights-off .recommend-region {
  opacity: 0.35;
  transition: opacity 0.3s;
}
body.is-lights-off .watch-panel {
  box-shadow: 0 0 0 1px var(--warm), 0 0 60px rgba(255, 138, 61, 0.28);
  border-radius: var(--radius);
  background: #04060a;
  padding: 0;
  transition: box-shadow 0.3s;
}
.movie-overview {
  margin: 0 0 var(--gap);
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.poster-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: sticky;
  top: 56px;
}
.poster-column img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 138, 61, 0.22);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 138, 61, 0.1);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #fff;
}
.overview-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--warm-glow);
  border-left: 3px solid var(--warm);
  padding-left: 8px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-chip {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 3px;
  color: var(--warm-glow);
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.32);
}
.status-chip:first-child {
  color: #1a1006;
  background: var(--warm);
  border-color: var(--warm);
}
.synopsis {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.synopsis-heading, .cast-heading, .details-heading {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--warm);
  text-transform: uppercase;
}
.synopsis-heading::before, .cast-heading::before, .details-heading::before {
  content: "// ";
  color: var(--muted-dim);
  font-weight: 600;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(233, 237, 243, 0.78);
}
.cast {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 5px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 3px;
  border-radius: 3px;
  background: rgba(44, 58, 77, 0.24);
  border: 1px solid rgba(147, 161, 181, 0.1);
  transition: border-color 0.15s, background 0.15s;
}
.cast-item:hover {
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(255, 138, 61, 0.08);
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 176, 102, 0.55) 0%, rgba(255, 138, 61, 0.12) 46%, rgba(44, 58, 77, 0.6) 100%);
  border: 1px solid rgba(255, 138, 61, 0.28);
}
.cast-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}
.details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 3px 12px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(147, 161, 181, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-dim);
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 4px;
  color: rgba(147, 161, 181, 0.4);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
}
.section-heading {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 0 0 6px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-heading::before {
  content: "";
  display: block;
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: var(--warm);
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.7);
  flex: 0 0 auto;
}
.timeline-section {
  margin: 0 0 var(--gap);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--rain-soft) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(44, 58, 77, 0.3);
  border-radius: 999px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--warm-deep);
  border-radius: 999px;
}
.timeline-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: stretch;
  position: relative;
  padding: 4px 0 2px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.5) 0%, rgba(67, 86, 110, 0.5) 100%);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px 8px;
  background: rgba(28, 35, 46, 0.86);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.15s, transform 0.15s;
}
.timeline-node:hover {
  border-color: rgba(255, 138, 61, 0.5);
  transform: translateY(-2px);
}
.timeline-key {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 3px var(--ink-2), 0 0 14px rgba(255, 138, 61, 0.8);
  position: relative;
  margin-bottom: 2px;
}
.timeline-key::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 5px;
  background: var(--warm);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.6);
}
.timeline-key::before {
  content: "";
  position: absolute;
  left: 19px;
  top: calc(50% - 4px);
  width: 3px;
  height: 3px;
  background: var(--warm);
  border-radius: 1px;
  box-shadow: 0 8px 0 var(--warm);
}
.timeline-time {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-glow);
  letter-spacing: 0.03em;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(233, 237, 243, 0.74);
}
.episodes-section {
  margin: 0 0 var(--gap);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 3px 8px;
  padding: 7px 9px;
  background: rgba(28, 35, 46, 0.8);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(255, 138, 61, 0.4);
  border-radius: 3px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.episode-card:hover {
  background: rgba(44, 58, 77, 0.55);
  border-left-color: var(--warm);
  transform: translateX(2px);
}
.episode-card-active {
  background: linear-gradient(120deg, rgba(255, 138, 61, 0.16) 0%, rgba(28, 35, 46, 0.9) 62%);
  border-left-color: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.24), 0 0 18px rgba(255, 138, 61, 0.08);
}
.episode-card-active .episode-number {
  color: #1a1006;
  background: var(--warm);
  border-color: var(--warm);
}
.episode-number {
  grid-area: num;
  align-self: start;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 2px;
  color: var(--warm-glow);
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.3);
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  min-width: 0;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(233, 237, 243, 0.7);
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-dim);
}
.comments-section {
  margin: 0 0 var(--gap);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 3px;
  background: linear-gradient(160deg, #f2ede2 0%, #e4dcce 100%);
  color: #2a2620;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
  transform: rotate(-0.7deg);
  transition: transform 0.18s, box-shadow 0.18s;
}
.comment-card:nth-child(2n) {
  transform: rotate(0.8deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.4deg) translateY(3px);
}
.comment-card:nth-child(4n) {
  transform: rotate(1deg) translateY(-2px);
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-3px) scale(1.012);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-deep);
  letter-spacing: 0.02em;
}
.comment-nick::before {
  content: "● ";
  color: var(--warm);
  font-size: 9px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: #332e26;
}
.recommend-region {
  margin: 0 0 var(--gap);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 7px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 3px;
  background: rgba(28, 35, 46, 0.82);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.recommend-card:hover {
  border-color: rgba(255, 138, 61, 0.55);
  background: rgba(44, 58, 77, 0.6);
  transform: translateY(-2px);
  text-decoration: none;
}
a.recommend-card img, [data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--rain);
  filter: saturate(0.95) brightness(0.92);
}
a.recommend-card:hover img {
  filter: saturate(1.05) brightness(1);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2) 0%, #090c12 100%);
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1360px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-dim);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(44, 58, 77, 0.3);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a[data-contract="footer-home"] {
  color: var(--warm-glow);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #1a1006;
  background: var(--warm);
  border-color: var(--warm);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--muted);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-color: var(--rain-soft);
  background: var(--rain);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(44, 58, 77, 0.24);
  border: 1px solid rgba(147, 161, 181, 0.1);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--warm-glow);
  border-color: rgba(255, 138, 61, 0.4);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-layout {
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: 10px;
  }
.poster-column {
    position: static;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  }}
@media (max-width: 720px) {.hero-still {
    aspect-ratio: 16 / 10;
  }
.hero-desc {
    -webkit-line-clamp: 2;
  }
.overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.poster-column {
    max-width: 170px;
  }
.timeline-node {
    width: 138px;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  }}
@media (max-width: 560px) {.page-main {
    padding: 0 8px 12px;
  }
.header-inner {
    padding: 6px 9px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.hero-overlay {
    padding: 10px 11px 12px;
  }
.hero-still {
    aspect-ratio: 4 / 3;
  }
.hero-desc {
    display: none;
  }
.btn-play, .btn-theater {
    padding: 6px 13px;
    font-size: 12px;
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.player-controls button {
    padding: 3px 8px;
    font-size: 11px;
  }
.ctrl-progress {
    order: -1;
    flex: 1 1 100%;
    min-width: 0;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 9px 9px 11px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card, .comment-card:nth-child(2n), .comment-card:nth-child(3n), .comment-card:nth-child(4n) {
    transform: rotate(0deg);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 10px 10px 16px;
  }}
@media (max-width: 380px) {.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 124px;
  }}

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}
