*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #1c0f0a;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(226, 137, 52, 0.16), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(245, 226, 190, 0.07), transparent 38%),
    linear-gradient(180deg, #241209 0%, #1a0d08 46%, #150a06 100%);
  background-attachment: fixed;
  color: #f4e6d2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p, dl, dd, dt, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: #f0a04b; text-decoration: none; }
a:hover { color: #ffc178; }
button { font: inherit; color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(43, 22, 12, 0.96), rgba(30, 15, 9, 0.9));
  border-bottom: 1px solid rgba(226, 137, 52, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 5;
}
.brand-bar { display: flex; align-items: center; gap: 10px; }
a[data-contract="site-name"] {
  color: #f7e3c4;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px 4px 14px;
  border-radius: 999px 12px 12px 999px;
  background: linear-gradient(100deg, rgba(226, 137, 52, 0.9), rgba(196, 96, 34, 0.55) 62%, rgba(196, 96, 34, 0));
  border: 1px solid rgba(255, 199, 130, 0.42);
  text-shadow: 0 1px 2px rgba(60, 24, 6, 0.6);
}
a[data-contract="site-name"]:hover { color: #fff3dd; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  color: #f2cfa0;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(90, 46, 22, 0.6);
  border: 1px solid rgba(226, 137, 52, 0.35);
  transition: background 0.16s ease, color 0.16s ease;
}
a.runtime-category:hover {
  color: #22110a;
  background: #e28934;
  border-color: #ffc178;
}
.page-main {
  padding: 14px 18px 26px;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.block-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0a04b;
  margin-bottom: 7px;
  padding-left: 10px;
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffc178, #c46022);
}
.section-heading {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f7e3c4;
  margin-bottom: 10px;
  padding: 4px 16px 5px 14px;
  border-radius: 999px 10px 999px 10px;
  background: linear-gradient(100deg, rgba(226, 137, 52, 0.28), rgba(226, 137, 52, 0.04));
  border: 1px solid rgba(226, 137, 52, 0.3);
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(70, 34, 15, 0.94), rgba(32, 16, 9, 0.96) 58%, rgba(24, 12, 7, 0.98));
  border: 1px solid rgba(226, 137, 52, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 208, 148, 0.12), 0 12px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.hero-signboard {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 176px;
  height: 84px;
  border-radius: 14px 4px 22px 4px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 214, 150, 0.5), transparent 62%),
    linear-gradient(135deg, rgba(255, 196, 110, 0.75), rgba(196, 96, 34, 0.5));
  border: 2px solid rgba(255, 214, 150, 0.45);
  box-shadow: 0 0 26px rgba(255, 170, 80, 0.35);
  opacity: 0.5;
  pointer-events: none;
}
.hero-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-width: 0;
  z-index: 1;
}
.hero-media {
  flex: 0 0 auto;
  width: 172px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 130, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: relative;
  z-index: 2;
  margin-left: -46px;
  margin-bottom: 4px;
  padding: 12px 16px 13px 54px;
  border-radius: 12px 14px 14px 12px;
  background: linear-gradient(100deg, rgba(20, 9, 5, 0.2), rgba(20, 9, 5, 0.92) 34%, rgba(20, 9, 5, 0.96));
  border: 1px solid rgba(226, 137, 52, 0.32);
  border-left: none;
  max-width: 100%;
}
.movie-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffe6c2;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  margin-top: 5px;
  font-size: 12.5px;
  color: #f0b375;
  letter-spacing: 0.06em;
}
.movie-info {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 4px 2px 0 0;
  border-top: 1px dashed rgba(226, 137, 52, 0.28);
  padding-top: 12px;
}
.seo-description {
  font-size: 13px;
  line-height: 1.55;
  color: #e6d2b8;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 199, 130, 0.06);
  border: 1px solid rgba(226, 137, 52, 0.18);
}
.overview-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.overview-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 199, 130, 0.05);
  border: 1px solid rgba(226, 137, 52, 0.2);
}
.synopsis-block { min-width: 0; }
.synopsis-para {
  font-size: 12.8px;
  line-height: 1.6;
  color: #ddc9ae;
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-block { min-width: 0; }
.cast-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px 7px 7px;
  border-radius: 999px 12px 12px 999px;
  background: linear-gradient(100deg, rgba(255, 199, 130, 0.1), rgba(255, 199, 130, 0.02));
  border: 1px solid rgba(226, 137, 52, 0.24);
  align-self: start;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 199, 130, 0.5);
  background: #2a1509;
}
.cast-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffe6c2;
  line-height: 1.25;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: #d79a5d;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.cast-card > .cast-name, .cast-card > .cast-role { min-width: 0; }
.episode-status-block, .details-block { min-width: 0; }
.status-line {
  font-size: 12.5px;
  color: #e6d2b8;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(226, 137, 52, 0.14);
  border: 1px dashed rgba(255, 199, 130, 0.4);
}
.status-value {
  color: #ffc178;
  font-weight: 700;
  font-size: 13.5px;
}
.details-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(226, 137, 52, 0.2);
}
.detail-row:last-child { border-bottom: none; }
.detail-key {
  flex: 0 0 62px;
  font-size: 11.5px;
  color: #c98d54;
  letter-spacing: 0.06em;
}
.detail-value {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #f0e0c8;
}
.player-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(48, 23, 11, 0.85), rgba(24, 12, 7, 0.9));
  border: 1px solid rgba(226, 137, 52, 0.26);
}
.player-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0603;
  border: 1px solid rgba(255, 199, 130, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0603;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #f4d9b4;
  background: linear-gradient(180deg, rgba(120, 60, 26, 0.7), rgba(72, 34, 14, 0.7));
  border: 1px solid rgba(226, 137, 52, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  color: #1d0e06;
  background: linear-gradient(180deg, #ffc178, #e28934);
  border-color: #ffd9a8;
}
.player-btn.is-active {
  color: #1d0e06;
  background: linear-gradient(180deg, #ffd9a8, #e28934);
  border-color: #ffe6c2;
}
.player-btn.is-muted {
  color: #ffd9a8;
  background: rgba(196, 96, 34, 0.35);
  border-style: dashed;
}
.player-btn.click, .player-btn.data-player-action {  }
.player-btn.pause, .player-btn.play { }
.player-btn.progress, .player-btn.volume, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.mute { }
body.is-playing .player-wrapper { box-shadow: 0 0 0 1px rgba(255, 199, 130, 0.5), 0 10px 26px rgba(0, 0, 0, 0.55); }
body.theater-mode .player-section { background: linear-gradient(160deg, #150a05, #0d0603); }
body.lights-off .page-main { filter: brightness(0.82); }
body.lights-off .player-section { filter: none; }
body.is-fullscreen .site-header { opacity: 0; }
.timeline-section {
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(56, 28, 13, 0.72), rgba(26, 13, 7, 0.85));
  border: 1px solid rgba(226, 137, 52, 0.24);
}
.timeline-mat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
  align-items: stretch;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 199, 130, 0.06);
  border: 1px solid rgba(226, 137, 52, 0.22);
  border-top: 3px solid rgba(226, 137, 52, 0.55);
  align-self: start;
  min-width: 0;
}
.timeline-chip {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #22110a;
  padding: 2px 9px;
  border-radius: 4px 999px 999px 4px;
  background: linear-gradient(100deg, #ffc178, #e28934);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.timeline-label {
  font-size: 12.3px;
  line-height: 1.45;
  color: #e2cdb0;
}
.episodes-section {
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(52, 26, 12, 0.7), rgba(24, 12, 7, 0.85));
  border: 1px solid rgba(226, 137, 52, 0.24);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 8px;
  border-radius: 10px;
  background: rgba(255, 199, 130, 0.05);
  border: 1px solid rgba(226, 137, 52, 0.2);
  border-left: 3px solid rgba(226, 137, 52, 0.45);
  align-self: start;
  min-width: 0;
}
.episode-card-active {
  background: linear-gradient(140deg, rgba(226, 137, 52, 0.24), rgba(226, 137, 52, 0.07));
  border-color: rgba(255, 199, 130, 0.6);
  border-left-color: #ffc178;
  box-shadow: 0 0 0 1px rgba(255, 199, 130, 0.25), 0 6px 16px rgba(0, 0, 0, 0.35);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffe6c2;
  line-height: 1.35;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(226, 137, 52, 0.3);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: #d9c4a8;
}
.episode-meta {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #c98d54;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(226, 137, 52, 0.28);
}
.comments-section {
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(48, 24, 11, 0.7), rgba(22, 11, 6, 0.85));
  border: 1px solid rgba(226, 137, 52, 0.24);
}
.comment-wall {
  columns: 2;
  column-gap: 10px;
}
.comment-note {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 9px 12px;
  border-radius: 4px 12px 12px 12px;
  background: linear-gradient(160deg, rgba(255, 235, 205, 0.1), rgba(255, 214, 150, 0.04));
  border: 1px solid rgba(226, 137, 52, 0.26);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}
.comment-note:nth-child(2n) { border-radius: 12px 4px 12px 12px; }
.comment-note:nth-child(3n) { border-radius: 12px 12px 12px 4px; }
.comment-author {
  font-size: 11.5px;
  font-weight: 700;
  color: #f0a04b;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.2px;
  line-height: 1.5;
  color: #e2cdb0;
}
.recommend-region {
  padding: 11px 13px 13px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(44, 22, 10, 0.68), rgba(20, 10, 6, 0.85));
  border: 1px solid rgba(226, 137, 52, 0.22);
}
.recommend-heading {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffd9a8;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid #e28934;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 7px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  align-self: start;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 6px;
  border-radius: 10px;
  color: #f4e6d2;
  text-decoration: none;
  background: rgba(255, 199, 130, 0.05);
  border: 1px solid rgba(226, 137, 52, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
a[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #2a1509;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  align-self: end;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffe6c2;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  align-self: start;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #c9ae8d;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a[data-runtime="recommendation"]:hover {
  color: #fff3dd;
  background: rgba(226, 137, 52, 0.18);
  border-color: rgba(255, 199, 130, 0.55);
  transform: translateY(-1px);
}
.site-footer {
  margin-top: 6px;
  padding: 16px 18px 22px;
  background: linear-gradient(180deg, rgba(28, 14, 8, 0.6), rgba(15, 7, 4, 0.95));
  border-top: 1px solid rgba(226, 137, 52, 0.26);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 137, 52, 0.32);
  background: rgba(255, 199, 130, 0.06);
}
a[data-contract="footer-home"] {
  color: #ffc178;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #22110a;
  background: #ffc178;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #d9a86e;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #22110a;
  background: #d9a86e;
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #c98d54;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #b99b78;
  text-decoration: none;
  border-bottom: 1px dotted rgba(226, 137, 52, 0.4);
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: #ffc178;
  text-decoration: none;
  border-bottom-color: #ffc178;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: #8f7a62;
  max-width: 900px;
}
@media (max-width: 1024px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }}
@media (max-width: 820px) {.hero-panel { grid-template-columns: minmax(0, 1fr); }
.movie-info { grid-column: 1; }
.overview-split { grid-template-columns: minmax(0, 1fr); }
.overview-side { flex-direction: row; flex-wrap: wrap; }
.overview-side > section { flex: 1 1 220px; min-width: 0; }
.comment-wall { columns: 2; }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.page-main { padding: 10px 12px 20px; gap: 14px; }
.hero-stage { flex-direction: column; align-items: flex-start; }
.hero-media { width: 132px; }
.hero-caption {
    margin-left: 0;
    margin-top: -10px;
    padding: 10px 14px 11px 14px;
    border-radius: 12px;
    border-left: 1px solid rgba(226, 137, 52, 0.32);
    width: 100%;
  }
.movie-title { font-size: 18px; }
.hero-signboard { width: 128px; height: 62px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-rail { grid-template-columns: minmax(0, 1fr); }
.comment-wall { columns: 1; }
.timeline-mat { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
.overview-side { flex-direction: column; }
.overview-side > section { flex: 1 1 auto; }
.site-header { padding: 9px 12px; }
a[data-contract="site-name"] { font-size: 15.5px; }}
@media (max-width: 420px) {.player-controls { gap: 5px; }
.player-btn { padding: 5px 10px; font-size: 11.5px; }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
a[data-runtime="recommendation"] { grid-template-columns: 60px 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}
