*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:root {
  --ink: #0d1210;
  --ink-2: #131a17;
  --panel: #17201c;
  --panel-2: #1c2723;
  --line: rgba(233, 176, 104, 0.18);
  --line-soft: rgba(233, 176, 104, 0.1);
  --orange: #e98a3c;
  --orange-hi: #ffb066;
  --moss: #2f4f3f;
  --moss-2: #3d6b52;
  --cream: #e8dcc8;
  --cream-dim: #b6ab98;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --tail: 42% 58% 46% 54% / 52% 42% 58% 48%;
}
html, body { background: var(--ink); color: var(--cream); }
body {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(120% 90% at 12% -10%, rgba(233, 138, 60, 0.13), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(47, 79, 63, 0.35), transparent 60%),
    linear-gradient(180deg, #0c110f 0%, #0d1210 40%, #0a0e0c 100%);
  background-attachment: fixed;
}
h2, h3, .brand, .episode-badge, .timeline-time, .status-current, .status-total {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.page-main { width: 100%; margin: 0 auto; max-width: 1180px; padding: 0 14px 40px; }
.section-heading {
  font-size: 17px;
  color: var(--orange-hi);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.section-heading::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(233, 138, 60, 0));
  flex: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(11, 16, 14, 0.94), rgba(11, 16, 14, 0.72));
  border-bottom: 1px solid var(--line-soft);
}
.header-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--orange-hi);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(233, 138, 60, 0.4);
}
a[data-contract="site-name"]:hover { color: var(--cream); text-decoration: none; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--cream-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px 999px 999px 4px;
  background: rgba(47, 79, 63, 0.22);
  transition: color .18s, border-color .18s, background .18s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
  text-decoration: none;
}
.movie-overview {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 60% at 88% 0%, rgba(233, 138, 60, 0.1), transparent 60%),
    linear-gradient(160deg, var(--panel-2), var(--panel) 60%, #131b18);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.6fr);
  gap: 16px;
  align-items: start;
}
.overview-poster-col { min-width: 0; }
.poster-media-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.poster-media-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(13, 18, 16, 0), rgba(13, 18, 16, 0.85));
  pointer-events: none;
}
img[data-contract="main-poster"] {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.overview-title {
  font-size: 30px;
  line-height: 1.15;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(233, 138, 60, 0.22);
}
.overview-tagline {
  font-size: 12.5px;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 9px;
  line-height: 1.45;
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #060a08;
  border: 1px solid var(--line);
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060a08;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #16201c, #101815);
  border-top: 1px solid var(--line-soft);
}
.player-controls button {
  cursor: pointer;
  color: var(--cream-dim);
  background: rgba(47, 79, 63, 0.3);
  border: 1px solid var(--line);
  border-radius: 999px 999px 999px 5px;
  padding: 4px 10px;
  font-size: 11.5px;
  transition: color .16s, background .16s, border-color .16s;
}
.player-controls button:hover { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(233, 176, 104, 0.22);
  outline: none;
  cursor: pointer;
}
.player-controls input[data-player-action="progress"] { flex: 1 1 120px; min-width: 90px; }
.player-controls input[data-player-action="volume"] { flex: 0 1 76px; min-width: 56px; }
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 2px solid #101815;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border: 2px solid #101815; border-radius: 50%;
  background: var(--orange);
}
.player-shell.is-theater {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(233, 138, 60, 0.4), 0 12px 30px rgba(0, 0, 0, 0.6);
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off video { filter: brightness(0.82) contrast(1.06); }
.player-shell .player { display: block; }
.player-shell .fullscreen { border-radius: 0; }
.cast-row {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.cast-heading {
  font-size: 13px;
  color: var(--orange-hi);
  margin-bottom: 7px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  min-width: 0;
}
.cast-avatar-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
  overflow: hidden;
  border: 1.5px solid rgba(233, 138, 60, 0.5);
  background: var(--moss);
  flex: none;
  transition: border-color .18s, transform .18s;
}
.cast-item:hover .cast-avatar-wrap { border-color: var(--orange-hi); transform: translateY(-2px); }
.cast-avatar { width: 100%; height: 100%; object-fit: cover; }
.cast-name {
  font-size: 11.5px;
  color: var(--cream);
  font-weight: 700;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.25;
}
.cast-role { font-size: 10.5px; color: var(--cream-dim); line-height: 1.25; }
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.synopsis-heading {
  font-size: 13px;
  color: var(--orange-hi);
  margin-bottom: 5px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: #cfc4b1;
  margin-bottom: 6px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.status-current, .status-total {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px 999px 999px 4px;
  background: rgba(233, 138, 60, 0.16);
  color: var(--orange-hi);
  border: 1px solid var(--line);
}
.status-total { background: rgba(47, 79, 63, 0.28); color: var(--cream-dim); }
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.details-heading {
  font-size: 13px;
  color: var(--orange-hi);
  margin-bottom: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 3px 14px;
}
.details-item {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px dotted rgba(233, 176, 104, 0.14);
  padding: 2px 0;
}
.details-item dt { color: var(--cream-dim); flex: none; min-width: 52px; }
.details-item dd { color: var(--cream); margin: 0; }
.timeline-section {
  margin-top: 22px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 12px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(47, 79, 63, 0.16), rgba(13, 18, 16, 0));
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: rgba(233, 138, 60, 0.45); border-radius: 6px; }
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: max-content;
  padding: 6px 4px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(233, 176, 104, 0.35) 0 8px, transparent 8px 15px);
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  width: 152px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding-top: 2px;
}
.timeline-paw {
  position: relative;
  width: 30px;
  height: 26px;
  border-radius: var(--tail);
  background: var(--moss-2);
  border: 1.5px solid rgba(233, 176, 104, 0.35);
  box-shadow: inset 0 0 0 3px rgba(13, 18, 16, 0.6);
  z-index: 1;
}
.timeline-paw::before, .timeline-paw::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: inherit;
  border: 1.5px solid rgba(233, 176, 104, 0.35);
}
.timeline-paw::before { left: 2px; }
.timeline-paw::after { right: 2px; }
.timeline-time {
  font-size: 11.5px;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.timeline-label {
  font-size: 12px;
  color: #c8bda9;
  line-height: 1.4;
}
.timeline-node-active .timeline-paw {
  background: var(--orange);
  border-color: var(--orange-hi);
  box-shadow: 0 0 0 4px rgba(233, 138, 60, 0.18), 0 0 18px rgba(255, 176, 102, 0.55);
}
.timeline-node-active .timeline-time { color: var(--orange-hi); }
.timeline-node-active .timeline-label { color: var(--cream); font-weight: 700; }
.episodes-section { margin-top: 22px; }
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px 10px;
  border-radius: var(--r-md) var(--r-md) var(--r-md) 4px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(61, 107, 82, 0.9);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.episode-card:hover {
  border-left-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}
.episode-badge {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--orange);
  padding: 2px 9px;
  border-radius: 999px 999px 999px 3px;
}
.episode-title {
  font-size: 13.5px;
  color: var(--cream);
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.8px;
  line-height: 1.55;
  color: #b3a894;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  color: #cdc2ae;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--moss-2);
  letter-spacing: 0.04em;
}
.episode-card-current {
  border-color: rgba(233, 138, 60, 0.55);
  border-left-color: var(--orange-hi);
  background: linear-gradient(165deg, #241a12, #1a1512);
  box-shadow: 0 0 0 1px rgba(233, 138, 60, 0.25);
}
.episode-card-current .episode-badge { background: var(--orange-hi); }
.episode-card-current .episode-title { color: var(--orange-hi); }
.comments-section { margin-top: 22px; }
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border-radius: var(--r-md) 4px var(--r-md) var(--r-md);
  background: linear-gradient(200deg, rgba(47, 79, 63, 0.2), rgba(23, 32, 28, 0.75));
  border: 1px solid var(--line-soft);
}
.comment-avatar {
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50% 50% 46% 54%;
  background: radial-gradient(circle at 35% 30%, var(--orange-hi), var(--orange) 60%, #8a4a18);
  box-shadow: 0 0 10px rgba(233, 138, 60, 0.55);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 11.5px;
  color: var(--orange);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}
.comment-text {
  font-size: 12.2px;
  line-height: 1.6;
  color: #c6bba7;
}
.recommend-region { margin-top: 20px; }
.recommend-heading {
  font-size: 15px;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.recommend-heading::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  flex: none;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  text-decoration: none;
  color: var(--cream);
  border-radius: var(--r-sm) var(--r-sm) var(--r-sm) 3px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  transition: transform .18s, border-color .18s, box-shadow .18s;
  min-width: 0;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 138, 60, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-sm) var(--r-sm) 3px 3px;
  background: #0a0f0d;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--cream);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(13, 18, 16, 0), rgba(47, 79, 63, 0.18));
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #8f8676;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--orange);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px 999px 999px 4px;
  padding: 3px 11px;
  transition: color .16s, background .16s, border-color .16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--moss-2);
  letter-spacing: 0.08em;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9dbfa9;
  text-decoration: none;
  border-bottom: 1px dotted rgba(157, 191, 169, 0.4);
  transition: color .16s, border-color .16s;
}
a.runtime-friend-link:hover {
  color: var(--orange-hi);
  border-color: var(--orange-hi);
  text-decoration: none;
}
.player-shell .play, .player-shell .mute, .player-shell .speed, .player-shell .pip, .player-shell .fullscreen, .player-shell .theater, .player-shell .light { transition: color .16s, background .16s, border-color .16s; }
.player-shell .click { outline: 2px solid var(--orange-hi); outline-offset: 2px; }
.player-shell .input { border-color: var(--orange); }
.player-shell .progress { color: var(--orange); }
.player-shell .volume { color: var(--orange); }
.player-shell .timeupdate { color: var(--orange-hi); }
.player-shell .loadedmetadata { opacity: 1; }
.player-shell .play { color: var(--cream); }
.player-shell .mute { color: var(--cream-dim); }
.player-shell .speed { color: var(--cream-dim); }
.player-shell .pip { color: var(--cream-dim); }
.player-shell .fullscreen { color: var(--cream-dim); }
.player-shell .theater { color: var(--orange-hi); }
.player-shell .light { color: var(--orange-hi); }
.player-shell.is-theater .theater, .player-shell.is-lights-off .light {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange-hi);
}
@media (max-width: 900px) {.overview-shell { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.overview-poster-col { max-width: 240px; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-list { grid-template-columns: minmax(0, 1fr); }
.overview-title { font-size: 24px; }}
@media (max-width: 620px) {.page-main { padding: 0 10px 32px; }
.header-shell { padding: 8px 10px; }
a[data-contract="site-name"] { font-size: 15px; }
.overview-title { font-size: 20px; }
.movie-overview { padding: 11px; border-radius: var(--r-md); }
.overview-poster-col { max-width: 190px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.cast-avatar-wrap { width: 40px; height: 40px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 132px; }
.player-controls button { padding: 3px 8px; font-size: 11px; }}
@media (max-width: 380px) {.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.overview-poster-col { max-width: 160px; }}
@media (min-width: 1100px) {.comments-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }}

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}
