*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #c8cfda;
  background-color: #12161d;
  background-image:
    radial-gradient(120% 90% at 12% -10%, rgba(200, 92, 46, 0.14), transparent 60%),
    radial-gradient(100% 70% at 100% 0%, rgba(48, 96, 148, 0.16), transparent 55%),
    linear-gradient(180deg, #161b24 0%, #10141a 55%, #0d1117 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: #d9a06a; text-decoration: none; }
a:hover { color: #f0b877; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(14, 18, 25, 0.96), rgba(14, 18, 25, 0.82));
  border-bottom: 1px solid rgba(200, 92, 46, 0.35);
  backdrop-filter: blur(6px);
}
.header-bar {
  max-width: 1220px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].brand {
  color: #e8edf5;
  text-decoration: none;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border: 1px solid rgba(200, 92, 46, 0.55);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(200, 92, 46, 0.22), rgba(200, 92, 46, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 190, 120, 0.08);
}
a[data-contract="site-name"].brand:hover { color: #ffd9a8; border-color: rgba(255, 160, 90, 0.8); }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  color: #aeb9c8;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 9px;
  border: 1px solid rgba(120, 140, 165, 0.32);
  border-radius: 2px;
  background: rgba(28, 36, 48, 0.7);
}
a.runtime-category:hover {
  color: #ffd9a8;
  border-color: rgba(200, 92, 46, 0.7);
  background: rgba(60, 36, 24, 0.7);
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.block-title {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #f0b877;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  padding-left: 9px;
  border-left: 3px solid rgba(200, 92, 46, 0.85);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.overview-shell {
  position: relative;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(30, 38, 50, 0.9), rgba(19, 24, 32, 0.9));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 26px rgba(0, 0, 0, 0.45);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.overview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 42%, rgba(240, 140, 60, 0.1) 46%, rgba(255, 190, 110, 0.05) 49%, transparent 53%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px);
  background-size: 100% 100%, 100% 100%;
}
.overview-shell > * { position: relative; z-index: 1; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "poster copy copy"
    "poster player player";
  gap: 12px 16px;
  align-items: start;
}
.hero-poster-wrap {
  grid-area: poster;
  align-self: start;
  border: 1px solid rgba(120, 140, 165, 0.3);
  border-radius: 3px;
  overflow: hidden;
  background: #0b0e13;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
img.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.hero-kicker {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: #7f95b3;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.hero-title {
  font-size: clamp(20px, 3.4vw, 34px);
  color: #f2f5fa;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(240, 140, 60, 0.28), 0 2px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-size: 13px;
  color: #c2ccda;
  max-width: 46ch;
}
.hero-mark {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: #d98a4e;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  padding: 3px 8px;
  align-self: flex-start;
  border: 1px dashed rgba(217, 138, 78, 0.5);
  border-radius: 2px;
  background: rgba(60, 34, 20, 0.4);
}
.hero-player-wrap {
  grid-area: player;
  position: relative;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(120, 140, 165, 0.3);
  border-radius: 3px;
  background: #05070a;
  overflow: hidden;
}
video.hero-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.96), rgba(14, 18, 25, 0.96));
  border-top: 1px solid rgba(120, 140, 165, 0.22);
}
.ctrl-btn {
  font-size: 11.5px;
  padding: 3px 8px;
  color: #c3ccd9;
  background: rgba(40, 50, 64, 0.85);
  border: 1px solid rgba(120, 140, 165, 0.3);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover { color: #ffd9a8; border-color: rgba(200, 92, 46, 0.7); }
.ctrl-btn.is-active {
  color: #14181f;
  background: linear-gradient(180deg, #f0b877, #d98a4e);
  border-color: #f0b877;
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(120, 140, 165, 0.3);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f0b877;
  border: 1px solid #8a4a1c;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #8a4a1c;
  border-radius: 50%;
  background: #f0b877;
}
.ctrl-select {
  font-size: 11.5px;
  padding: 3px 4px;
  color: #c3ccd9;
  background: rgba(40, 50, 64, 0.85);
  border: 1px solid rgba(120, 140, 165, 0.3);
  border-radius: 2px;
}
.overview-shell.is-theater .hero-stage { grid-template-areas: "poster copy copy" "player player player"; }
.overview-shell.is-lights-off { background: #05070a; }
.overview-shell.is-lights-off .seo-line, .overview-shell.is-lights-off .block-title { opacity: 0.45; }
.seo-line {
  font-size: 12.5px;
  line-height: 1.75;
  color: #9fabbc;
  padding: 10px 12px;
  border: 1px solid rgba(120, 140, 165, 0.18);
  border-left: 1px solid rgba(200, 92, 46, 0.6);
  border-radius: 3px;
  background: rgba(16, 21, 29, 0.7);
}
.status-block, .synopsis-block, .cast-block, .details-block { position: relative; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(120, 140, 165, 0.26);
  border-radius: 3px;
  background: rgba(28, 36, 48, 0.6);
}
.status-key { font-size: 11.5px; color: #8f9dae; letter-spacing: 0.1em; }
.status-val {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  color: #f0b877;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 140, 165, 0.18);
  border-radius: 3px;
  background: rgba(16, 21, 29, 0.55);
}
.synopsis-p {
  font-size: 12.8px;
  line-height: 1.78;
  color: #a9b4c4;
  padding-left: 9px;
  border-left: 1px solid rgba(200, 92, 46, 0.35);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px;
  text-align: center;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(30, 38, 50, 0.72), rgba(18, 23, 31, 0.72));
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 92, 46, 0.55);
  background:
    radial-gradient(circle at 34% 30%, rgba(240, 180, 120, 0.85), rgba(200, 92, 46, 0.5) 42%, rgba(30, 40, 55, 0.9) 70%),
    #1b2230;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}
.cast-name { font-size: 12.5px; color: #e6ecf4; }
.cast-role { font-size: 11px; color: #d98a4e; letter-spacing: 0.08em; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 0 14px;
  border-top: 1px solid rgba(120, 140, 165, 0.2);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px dashed rgba(120, 140, 165, 0.18);
}
.detail-key { font-size: 11.5px; color: #8b99aa; letter-spacing: 0.08em; white-space: nowrap; }
.detail-val {
  font-size: 12.5px;
  color: #cdd6e2;
  text-align: right;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}
.timeline-section {
  padding: 12px 14px;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.85), rgba(15, 19, 26, 0.85));
}
.timeline-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 4px 8px;
  scrollbar-width: thin;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(200, 92, 46, 0.05), rgba(240, 140, 60, 0.75) 12%, rgba(240, 140, 60, 0.75) 88%, rgba(200, 92, 46, 0.05));
  pointer-events: none;
}
.timeline-rail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 6px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 190, 110, 0.95) 0 1.4px, transparent 1.6px);
  background-size: 46px 6px;
  background-repeat: repeat-x;
  opacity: 0.85;
  animation: flame-flow 2.6s linear infinite;
}
@keyframes flame-flow {
  from { background-position-x: 0; }
  to { background-position-x: 46px; }
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  padding: 0 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd9a8, #d98a4e 55%, #7a3d12);
  box-shadow: 0 0 10px rgba(240, 140, 60, 0.85);
}
.timeline-time {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 12px;
  color: #f0b877;
  letter-spacing: 0.06em;
  background: rgba(60, 34, 20, 0.55);
  border: 1px solid rgba(217, 138, 78, 0.4);
  border-radius: 2px;
  padding: 1px 6px;
  align-self: flex-start;
}
.timeline-label {
  font-size: 12px;
  color: #b3bdcc;
  padding-top: 4px;
  border-top: 1px solid rgba(120, 140, 165, 0.2);
}
.episodes-section {
  padding: 12px 14px;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.85), rgba(15, 19, 26, 0.85));
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-left: 2px solid rgba(200, 92, 46, 0.6);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(28, 35, 47, 0.78), rgba(18, 23, 31, 0.78));
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.episode-card:hover { border-left-color: #f0b877; background: linear-gradient(180deg, rgba(38, 44, 58, 0.85), rgba(22, 27, 36, 0.85)); }
.episode-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}
.episode-num {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 11px;
  color: #14181f;
  background: #d98a4e;
  border-radius: 2px;
  padding: 1px 5px;
  letter-spacing: 0.04em;
}
.episode-title {
  font-size: 13px;
  color: #eef2f8;
  flex: 1 1 auto;
  min-width: 0;
}
.episode-duration {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 11px;
  color: #7f95b3;
  white-space: nowrap;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #98a4b5;
}
.comments-section {
  padding: 12px 14px;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.85), rgba(15, 19, 26, 0.85));
}
.comment-fall {
  columns: 3 232px;
  column-gap: 9px;
}
.comment-bubble {
  break-inside: avoid;
  display: block;
  margin: 0 0 9px;
  padding: 8px 10px;
  border: 1px solid rgba(120, 140, 165, 0.24);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(33, 42, 56, 0.92), rgba(20, 26, 35, 0.92));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(120, 140, 165, 0.45);
  background:
    radial-gradient(circle at 32% 28%, rgba(150, 195, 240, 0.9), rgba(48, 96, 148, 0.6) 45%, rgba(20, 26, 35, 0.95) 72%),
    #1b2230;
}
.comment-nick {
  font-size: 12px;
  color: #f0b877;
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12.3px;
  line-height: 1.68;
  color: #adb8c8;
}
.rec-region {
  padding: 12px 14px;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.85), rgba(15, 19, 26, 0.85));
}
.rec-title {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #f0b877;
  padding: 4px 12px;
  margin-bottom: 9px;
  border: 1px solid rgba(200, 92, 46, 0.6);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(200, 92, 46, 0.24), rgba(200, 92, 46, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 190, 120, 0.08);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 7px;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: #c8cfda;
  text-decoration: none;
  border: 1px solid rgba(120, 140, 165, 0.22);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(28, 35, 47, 0.8), rgba(17, 22, 30, 0.8));
}
a.rec-card:hover {
  color: #ffd9a8;
  border-color: rgba(200, 92, 46, 0.7);
  background: linear-gradient(180deg, rgba(40, 34, 30, 0.85), rgba(22, 22, 26, 0.85));
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(120, 140, 165, 0.28);
  background: #0b0e13;
}
.rec-name {
  font-size: 12.3px;
  color: #e6ecf4;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rec-card:hover .rec-name { color: #ffd9a8; }
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8b99aa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 14px 30px;
  border-top: 1px solid rgba(120, 140, 165, 0.22);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #78869a;
  padding: 8px 10px;
  border: 1px dashed rgba(120, 140, 165, 0.28);
  border-radius: 3px;
  background: rgba(16, 21, 29, 0.6);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #aeb9c8;
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 140, 165, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffd9a8;
  border-bottom-color: rgba(240, 140, 60, 0.8);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(120, 140, 165, 0.14);
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #d98a4e;
  padding: 2px 7px;
  border: 1px solid rgba(200, 92, 46, 0.5);
  border-radius: 2px;
  background: rgba(60, 34, 20, 0.45);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #93a1b3;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(120, 140, 165, 0.45);
}
a.runtime-friend-link:hover { color: #f0b877; border-bottom-color: rgba(240, 140, 60, 0.8); }
.player .change, .player .click, .player .fullscreen, .player .input, .player .light, .player .movie-overview, .player .mute, .player .pip, .player .play, .player .progress, .player .speed, .player .theater, .player .timeupdate, .player .volume { transition: opacity 0.18s ease; }
.player .is-active, .player .is-theater, .player .is-lights-off { transition: background-color 0.2s ease, color 0.2s ease; }
@media (max-width: 960px) {.hero-stage {
    grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
    grid-template-areas:
      "poster copy"
      "player player";
  }
.overview-shell.is-theater .hero-stage {
    grid-template-areas:
      "poster copy"
      "player player";
  }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.comment-fall { columns: 2 220px; }}
@media (max-width: 720px) {.page-main { padding: 10px 10px 20px; gap: 12px; }
.overview-shell { padding: 10px; gap: 10px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "copy"
      "player";
    gap: 10px;
  }
.hero-poster-wrap { max-width: 168px; margin: 0 auto; }
.overview-shell.is-theater .hero-stage {
    grid-template-areas:
      "poster"
      "copy"
      "player";
  }
.hero-title { font-size: 20px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-fall { columns: 1; }
.rec-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.player-controls { gap: 4px; }
.ctrl-btn { padding: 3px 6px; font-size: 11px; }}
@media (max-width: 480px) {.header-bar { padding: 7px 10px; gap: 8px; }
a[data-contract="site-name"].brand { font-size: 13px; padding: 2px 8px; }
.timeline-node { width: 152px; }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-strip { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.synopsis-body { padding: 8px 9px; gap: 6px 10px; }
.seo-line { font-size: 12px; padding: 8px 9px; }}
@media (prefers-reduced-motion: reduce) {.timeline-rail::after { animation: none; }}

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}
