:root {
  --ink: #f2e4cd;
  --ink-dim: #c9b394;
  --ink-faint: #8d7a63;
  --amber: #e8a33d;
  --amber-hot: #ffc46b;
  --amber-deep: #a86a1c;
  --brown: #241a12;
  --brown-2: #2f2116;
  --brown-3: #3a2a1c;
  --blue: #16202e;
  --blue-2: #1d2b3d;
  --neon: #ffd489;
  --line: rgba(232, 163, 61, 0.22);
  --line-soft: rgba(232, 163, 61, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 10px;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--brown);
  background-image:
    radial-gradient(120% 55% at 78% -8%, rgba(232, 163, 61, 0.16), transparent 62%),
    radial-gradient(80% 45% at 6% 4%, rgba(22, 32, 46, 0.9), transparent 70%),
    linear-gradient(180deg, #1b130d 0%, #241a12 42%, #1d150f 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl {
  list-style: none;
}
a {
  color: var(--amber);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
h1, h2, h3 {
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(27, 19, 13, 0.96), rgba(27, 19, 13, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 16px;
}
a[data-contract="site-name"] {
  color: var(--amber-hot);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(255, 196, 107, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff0d4;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(232, 163, 61, 0.05);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--amber-hot);
  border-color: rgba(232, 163, 61, 0.45);
  background: rgba(232, 163, 61, 0.14);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 14px;
  color: var(--amber-hot);
  letter-spacing: 0.1em;
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  margin-bottom: 8px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
  background: linear-gradient(165deg, rgba(47, 33, 22, 0.94), rgba(30, 22, 15, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.overview-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(232, 163, 61, 0.28);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #140e09;
}
.poster-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #2a1a08;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 196, 107, 0.5);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.movie-title {
  font-size: 20px;
  color: #fff3dc;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber);
  font-style: italic;
  letter-spacing: 0.03em;
}
.movie-seo {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.movie-description {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.65;
  padding: 8px 10px;
  border-left: 2px solid var(--line);
  background: rgba(232, 163, 61, 0.045);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.chip {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 32, 46, 0.7);
  color: var(--ink-dim);
  white-space: nowrap;
}
.chip-current {
  color: #2a1a08;
  font-weight: 700;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(255, 196, 107, 0.35);
}
.chip-total {
  color: var(--amber-hot);
  border-color: rgba(232, 163, 61, 0.5);
  background: rgba(232, 163, 61, 0.12);
}
.chip-season {
  color: #a9c6e4;
  border-color: rgba(120, 165, 210, 0.35);
  background: rgba(29, 43, 61, 0.65);
}
.cast-strip {
  display: flex;
  flex-direction: column;
}
.cast-heading {
  font-size: 12.5px;
  margin-bottom: 6px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  background: rgba(58, 42, 28, 0.72);
  border: 1px solid var(--line-soft);
}
.cast-avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 196, 107, 0.9), rgba(168, 106, 28, 0.5) 55%, rgba(36, 26, 18, 0.95) 100%);
  border: 1px solid rgba(232, 163, 61, 0.45);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-heading {
  font-size: 12.5px;
  margin-bottom: 2px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-left: 10px;
  position: relative;
}
.synopsis-paragraph::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-deep);
}
.details-block {
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.details-heading {
  font-size: 12.5px;
  margin-bottom: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 14px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(232, 163, 61, 0.1);
}
.details-key {
  flex: 0 0 auto;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  min-width: 48px;
}
.details-value {
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.overview-player-wrap {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(22, 32, 46, 0.85), rgba(18, 26, 38, 0.9));
  border: 1px solid rgba(120, 165, 210, 0.16);
  position: relative;
}
.main-player {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #0b0805;
  border: 1px solid rgba(232, 163, 61, 0.22);
  box-shadow: 0 0 26px rgba(232, 163, 61, 0.08);
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  font-size: 12px;
  color: var(--ink-dim);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(58, 42, 28, 0.6);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  color: #fff3dc;
  border-color: rgba(232, 163, 61, 0.55);
  background: rgba(232, 163, 61, 0.18);
}
.btn-play {
  color: #2a1a08;
  font-weight: 700;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(255, 196, 107, 0.35);
}
.btn-play:hover {
  color: #1c1105;
  background: linear-gradient(180deg, #ffe0a8, var(--amber-hot));
}
.player-btn.play, .player-btn.mute, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  border-color: rgba(232, 163, 61, 0.5);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-deep), rgba(232, 163, 61, 0.25));
  outline: none;
  cursor: pointer;
}
.range-progress {
  flex: 1 1 160px;
  min-width: 90px;
}
.range-volume {
  flex: 0 1 84px;
  min-width: 60px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-hot);
  box-shadow: 0 0 10px rgba(255, 196, 107, 0.7);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--amber-hot);
  box-shadow: 0 0 10px rgba(255, 196, 107, 0.7);
}
.player-range.input, .player-range.progress, .player-range.volume {
  background: linear-gradient(90deg, var(--amber), rgba(232, 163, 61, 0.25));
}
.player-speed {
  font-size: 12px;
  color: var(--ink-dim);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(58, 42, 28, 0.7);
  cursor: pointer;
}
.player-speed option {
  background: #241a12;
  color: var(--ink);
}
.player-speed.speed, .player-speed.change {
  border-color: rgba(232, 163, 61, 0.55);
  color: var(--amber-hot);
}
.player-shell.is-theater {
  background: linear-gradient(180deg, #0d131c, #0a0e14);
  border-color: rgba(232, 163, 61, 0.4);
}
.player-shell.is-lights-off {
  background: #05070a;
}
.player-shell.is-lights-off .main-player {
  border-color: rgba(255, 196, 107, 0.4);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}
.player-shell.theater .player-controls, .player-shell.fullscreen .player-controls, .player-shell.pip .player-controls {
  border-color: rgba(232, 163, 61, 0.5);
}
.player-btn.click, .player-btn.change {
  color: #fff3dc;
  border-color: rgba(232, 163, 61, 0.6);
  background: rgba(232, 163, 61, 0.24);
}
.player-btn.light, .player-btn.theater, .player-btn.fullscreen, .player-btn.pip, .player-btn.mute, .player-btn.play {
  transition: transform 0.12s ease;
}
.player-btn.click:active, .player-btn.change:active {
  transform: translateY(1px);
}
.timeupdate, .player, .progress, .volume, .mute, .play, .pip, .fullscreen, .theater, .light, .speed, .input, .change, .click {
  
}
.timeline-section {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.9), rgba(27, 19, 13, 0.9));
  border: 1px solid var(--line-soft);
}
.timeline-heading {
  margin-bottom: 10px;
}
.timeline-list {
  position: relative;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.55), rgba(232, 163, 61, 0.08));
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(58, 42, 28, 0.42);
  border: 1px solid var(--line-soft);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #ffe0a8, var(--amber) 65%, var(--amber-deep));
  box-shadow: 0 0 12px rgba(255, 196, 107, 0.85);
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a1a08;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  padding: 1px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ink-dim);
  min-width: 0;
  flex: 1 1 220px;
}
.episodes-section {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(29, 43, 61, 0.5), rgba(27, 19, 13, 0.85));
  border: 1px solid var(--line-soft);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: rgba(36, 26, 18, 0.78);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(232, 163, 61, 0.4);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: rgba(47, 33, 22, 0.9);
  border-left-color: var(--amber-hot);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-weight: 700;
}
.episode-title {
  font-size: 13px;
  color: #f6e7cf;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.55;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-dim);
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(22, 32, 46, 0.6);
  white-space: nowrap;
}
.comments-section {
  padding: 12px 14px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.88), rgba(27, 19, 13, 0.88));
  border: 1px solid var(--line-soft);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(58, 42, 28, 0.95), rgba(36, 26, 18, 0.95));
  border: 1px solid rgba(232, 163, 61, 0.16);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(-0.7deg);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(0.5deg);
}
.comment-card:nth-child(3n + 3) {
  transform: rotate(-0.35deg);
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: rgba(232, 163, 61, 0.45);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-hot);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.recommend-region {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(29, 43, 61, 0.55), rgba(27, 19, 13, 0.88));
  border: 1px solid var(--line-soft);
}
.recommend-heading {
  margin-bottom: 9px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  background: rgba(36, 26, 18, 0.8);
  border: 1px solid var(--line-soft);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 163, 61, 0.5);
  background: rgba(47, 33, 22, 0.95);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  background: #140e09;
  border: 1px solid rgba(232, 163, 61, 0.2);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 650;
  color: #f6e7cf;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-card:hover .recommend-name {
  color: var(--amber-hot);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(58, 42, 28, 0.5);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-hot);
  border-color: rgba(232, 163, 61, 0.5);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 3px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  border-left: 2px solid var(--amber-deep);
  padding-left: 7px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-hot);
  text-decoration: underline;
}
@media (max-width: 900px) {.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.movie-overview {
    grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.movie-title {
    font-size: 17px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 560px) {.page-main {
    padding: 10px 11px 22px;
    gap: 11px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 210px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(3n + 1), .comment-card:nth-child(3n + 2), .comment-card:nth-child(3n + 3) {
    transform: none;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-label {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    padding: 4px 9px;
  }}

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}
