*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #070b14;
  background-image:
    radial-gradient(120% 60% at 78% -10%, rgba(255, 74, 32, 0.16), transparent 60%),
    radial-gradient(90% 50% at 12% 4%, rgba(28, 78, 150, 0.22), transparent 62%),
    linear-gradient(180deg, #060a12 0%, #080d18 40%, #05080f 100%);
  color: #cdd6e2;
  font-family: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.96), rgba(6, 10, 18, 0.82));
  border-bottom: 1px solid #16233a;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: #f4f7fb;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-left: 12px;
  position: relative;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: #ff4a20;
  transform: skewX(-16deg);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  white-space: nowrap;
  color: #b9c6d8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border: 1px solid #24354f;
  border-radius: 3px;
  background: rgba(20, 32, 52, 0.6);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #ff6a3c;
  border-color: #ff4a20;
  background: rgba(255, 74, 32, 0.12);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "poster headline"
    "poster status"
    "poster details"
    "cast cast"
    "synopsis synopsis";
  gap: 12px 22px;
  margin: 14px 0 4px;
  padding: 16px;
  border: 1px solid #16243a;
  border-radius: 4px;
  background:
    linear-gradient(115deg, rgba(11, 20, 36, 0.94) 0%, rgba(8, 14, 26, 0.9) 55%, rgba(20, 12, 14, 0.86) 100%);
  overflow: hidden;
  min-height: 74vh;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(90, 140, 210, 0.07) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(90, 140, 210, 0.05) 0 1px, transparent 1px 96px);
  pointer-events: none;
}
.hero-shell::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -10%;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(255, 74, 32, 0.07));
  transform: perspective(420px) rotateX(58deg);
  pointer-events: none;
}
.hero-poster-wrap {
  grid-area: poster;
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #1d2f49;
  background: #04070d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}
.hero-lightband {
  position: relative;
  height: 8px;
  flex: 0 0 auto;
  background:
    linear-gradient(90deg, rgba(255, 74, 32, 0) 0%, #ff4a20 18%, #ffb066 50%, #ff4a20 82%, rgba(255, 74, 32, 0) 100%);
  box-shadow: 0 0 18px rgba(255, 74, 32, 0.55), 0 0 44px rgba(255, 74, 32, 0.28);
}
.hero-lightband::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-50%);
}
.hero-headline {
  grid-area: headline;
  align-self: start;
  position: relative;
  padding: 4px 0 2px 16px;
  border-left: 3px solid #ff4a20;
}
.hero-title {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #f2f6fc;
  text-shadow: 0 0 26px rgba(255, 74, 32, 0.28);
}
.hero-tagline {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ff8a5c;
  letter-spacing: 0.04em;
}
.hero-seo {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #9dabc0;
  max-width: 62ch;
  border-top: 1px solid #182741;
  padding-top: 9px;
}
.episode-status-panel {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: #cfe0f5;
  background: rgba(23, 42, 70, 0.72);
  border: 1px solid #2a4266;
  border-radius: 3px;
  white-space: nowrap;
}
.status-chip + .status-chip {
  color: #ffd9c6;
  background: rgba(255, 74, 32, 0.14);
  border-color: rgba(255, 74, 32, 0.55);
}
.detail-rack {
  grid-area: details;
  align-self: start;
  margin-top: 2px;
  border-top: 1px solid #182741;
  padding-top: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 5px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  font-size: 11.5px;
  padding: 3px 6px;
  border-left: 2px solid #1e3150;
  background: rgba(13, 23, 40, 0.5);
  border-radius: 0 3px 3px 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: #6f8199;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.detail-item dd {
  margin: 0;
  color: #dbe4f0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cast-strip {
  grid-area: cast;
  margin-top: 6px;
  border-top: 1px solid #182741;
  padding-top: 10px;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ff6a3c;
  text-transform: uppercase;
  margin-bottom: 9px;
  padding-left: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: #ff4a20;
  transform: skewX(-18deg);
}
.cast-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 8px;
  text-align: center;
  border: 1px solid #1a2942;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.7), rgba(9, 15, 27, 0.7));
  min-width: 0;
}
.cast-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #24405f;
  box-shadow: 0 0 0 3px rgba(255, 74, 32, 0.12);
}
.cast-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.62) saturate(0.75) contrast(1.05);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #e6edf7;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.cast-role {
  font-size: 10.5px;
  font-weight: 600;
  color: #ff8a5c;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.synopsis-panel {
  grid-area: synopsis;
  border-top: 1px solid #182741;
  padding-top: 10px;
  margin-top: 4px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 18px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.7;
  color: #a8b6c9;
  padding-left: 10px;
  border-left: 2px solid #1b2b46;
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #16243a;
  border-radius: 4px;
  background: linear-gradient(180deg, #0a1220, #070c15);
}
.player-video {
  display: block;
  border-radius: 3px;
  background: #000;
  border: 1px solid #1d2f49;
}
.player-shell.theater-mode {
  border-color: #ff4a20;
  box-shadow: 0 0 0 1px rgba(255, 74, 32, 0.4), 0 0 40px rgba(255, 74, 32, 0.16);
}
.player-shell.lights-off {
  background: #010306;
}
.player-shell.lights-off .player-controls {
  opacity: 0.42;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #c6d3e4;
  background: rgba(21, 34, 55, 0.85);
  border: 1px solid #263c5c;
  border-radius: 3px;
  cursor: pointer;
  transition: color .14s, border-color .14s, background .14s;
}
.ctrl-btn:hover { color: #ff8a5c; border-color: #ff4a20; }
.ctrl-btn.is-active {
  color: #071018;
  background: #ff4a20;
  border-color: #ff4a20;
}
.ctrl-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #ff4a20 0%, #2a4266 0%);
  background-color: #1c2c46;
  border: 1px solid #22344f;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #ff4a20;
  border: 1px solid #ffb066;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #ff4a20;
  border: 1px solid #ffb066;
}
.timeline-panel {
  border: 1px solid #16243a;
  border-radius: 4px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(11, 19, 33, 0.9), rgba(7, 12, 21, 0.9));
}
.timeline-scale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
  border-top: 1px solid #22344f;
  padding-top: 14px;
}
.timeline-tick {
  position: relative;
  padding: 12px 10px 4px 10px;
  border-left: 1px dashed #22344f;
  min-width: 0;
}
.timeline-tick::before {
  content: "";
  position: absolute;
  top: -19px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4a20;
  box-shadow: 0 0 8px rgba(255, 74, 32, 0.7);
}
.tick-timecode {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f2f6fc;
  margin-bottom: 4px;
}
.tick-label {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #8e9db4;
}
.episodes-panel {
  border: 1px solid #16243a;
  border-radius: 4px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(11, 19, 33, 0.9), rgba(7, 12, 21, 0.9));
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 3px 9px;
  align-content: start;
  padding: 9px 11px;
  border: 1px solid #1a2942;
  border-left: 3px solid #24405f;
  border-radius: 3px;
  background: linear-gradient(100deg, rgba(14, 24, 42, 0.78), rgba(9, 15, 27, 0.6));
  transition: border-color .15s, background .15s;
}
.episode-card:hover {
  border-left-color: #ff4a20;
  background: linear-gradient(100deg, rgba(20, 32, 54, 0.9), rgba(11, 18, 31, 0.7));
}
.episode-number {
  grid-area: num;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff6a3c;
  padding: 2px 7px;
  border: 1px solid rgba(255, 74, 32, 0.45);
  border-radius: 3px;
  background: rgba(255, 74, 32, 0.1);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  align-self: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #eef3fa;
  overflow-wrap: anywhere;
}
.episode-summary {
  grid-area: sum;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #93a2b8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f8199;
}
.episode-card-final {
  border-color: rgba(255, 74, 32, 0.55);
  border-left-color: #ff4a20;
  background: linear-gradient(100deg, rgba(48, 20, 14, 0.85), rgba(12, 16, 27, 0.7));
  box-shadow: 0 0 24px rgba(255, 74, 32, 0.14) inset;
}
.episode-final-tag {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 2px 0 1px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #071018;
  background: #ff4a20;
  padding: 2px 9px;
  border-radius: 3px;
  transform: skewX(-12deg);
}
.episode-final-tag::first-letter { letter-spacing: 0.18em; }
.comments-panel {
  border: 1px solid #16243a;
  border-radius: 4px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(11, 19, 33, 0.9), rgba(7, 12, 21, 0.9));
}
.comment-lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 9px 20px;
  align-items: start;
}
.comment-card {
  align-self: start;
  position: relative;
  padding: 9px 12px;
  border: 1px solid #1a2942;
  border-radius: 3px;
  background: linear-gradient(100deg, rgba(15, 26, 45, 0.82), rgba(9, 15, 27, 0.62));
  max-width: 100%;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: #ff4a20;
  opacity: 0.85;
}
.comment-lane-left { margin-right: 14%; }
.comment-lane-left::before { left: -1px; }
.comment-lane-right { margin-left: 14%; }
.comment-lane-right::before { right: -1px; left: auto; background: #3f7fd6; }
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ff8a5c;
  margin-bottom: 4px;
}
.comment-lane-right .comment-nickname { color: #7fb0ee; }
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #a8b6c9;
  overflow-wrap: anywhere;
}
.rec-region {
  padding: 0 0 4px;
}
.rec-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #ff6a3c;
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}
.rec-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: #ff4a20;
  transform: skewX(-18deg);
}
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.rec-grid-5 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 7px;
  border: 1px solid #1a2942;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.78), rgba(9, 15, 27, 0.6));
  color: #cdd6e2;
  text-decoration: none;
  transition: border-color .15s, transform .15s, background .15s;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: #ff4a20;
  background: linear-gradient(180deg, rgba(28, 20, 22, 0.85), rgba(11, 15, 26, 0.7));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid #1d2f49;
  filter: brightness(0.82) saturate(0.9);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #eef3fa;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: #7f8ea4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rec-card:hover .rec-name { color: #ff8a5c; }
.site-footer {
  margin-top: 18px;
  border-top: 1px solid #16243a;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.9), #04070d);
  padding: 14px 16px 22px;
}
.footer-disclaimer, .footer-friends, .footer-nav {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #6f8199;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #131f33;
}
.friends-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ff6a3c;
  margin-right: 4px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #93a2b8;
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid #1c2c46;
  border-radius: 3px;
  background: rgba(13, 21, 36, 0.6);
  transition: color .14s, border-color .14s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #ff8a5c;
  border-color: #ff4a20;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #131f33;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: #c6d3e4; }
a[data-contract="footer-sitemap"] { color: #ff8a5c; }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #ff4a20; text-decoration: underline; }
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "headline"
      "status"
      "details"
      "cast"
      "synopsis";
    min-height: 0;
  }
.hero-poster-wrap { max-width: 320px; }
.hero-headline { padding-left: 12px; }
.cast-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-lane-left, .comment-lane-right { margin-left: 0; margin-right: 0; }}
@media (max-width: 620px) {.page-main { padding: 0 10px 20px; gap: 12px; }
.header-bar { padding: 7px 10px; }
a[data-contract="site-name"] { font-size: 15px; }
.category-rail { margin-left: 0; width: 100%; }
.hero-shell { padding: 11px; gap: 10px; }
.hero-poster-wrap { max-width: 100%; }
.timeline-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.cast-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls { gap: 5px; }
.ctrl-btn { padding: 4px 9px; font-size: 11px; }
.ctrl-range { flex: 1 1 100%; }
.site-footer { padding: 12px 10px 20px; }}
@media (max-width: 400px) {.cast-rail { grid-template-columns: minmax(0, 1fr); }
.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: minmax(0, 1fr); }
.timeline-scale { grid-template-columns: minmax(0, 1fr); }}

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}
