*, *::before, *::after { box-sizing: border-box; }
html, body, h2, h3, p, dl, dd, dt, ol, li {
  margin: 0;
  padding: 0;
}
ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { text-decoration: none; }
:root {
  --amber: #e8a13c;
  --amber-deep: #c9761f;
  --amber-glow: #f4c168;
  --brown: #2b1d14;
  --brown-2: #3a281c;
  --brown-3: #4a3325;
  --cold: #4a5a60;
  --cold-2: #33434a;
  --cold-3: #6b7d84;
  --paper: #f5efe6;
  --paper-dim: #d8cdbe;
  --ink: #1a1410;
  --line: rgba(232, 161, 60, 0.22);
  --radius: 3px;
  --gap: 8px;
  --pad: 10px;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper);
  background: var(--brown);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.site-header {
  background: linear-gradient(180deg, #1d130c 0%, #26190f 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  width: 100%;
  padding: 6px var(--pad);
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--amber-glow);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--paper-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--brown);
  background: var(--amber);
  border-color: var(--amber);
}
.player-shell {
  position: relative;
  width: 100%;
  margin: 0 0 var(--gap);
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--brown-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 12px;
  color: var(--paper);
  background: var(--brown-3);
  border: 1px solid rgba(232, 161, 60, 0.3);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.ctrl-btn:hover {
  background: var(--amber-deep);
  color: #fff;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--amber);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 72px;
  width: 72px;
  height: 4px;
  accent-color: var(--amber);
  cursor: pointer;
}
.ctrl-speed {
  padding: 2px 4px;
  font-size: 12px;
  color: var(--paper);
  background: var(--brown-3);
  border: 1px solid rgba(232, 161, 60, 0.3);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-play.is-playing { background: var(--amber); color: var(--brown); border-color: var(--amber); }
.ctrl-mute.is-muted { background: var(--cold-2); color: #fff; }
.ctrl-pip.is-pip { background: var(--cold-2); color: #fff; }
.ctrl-fullscreen.is-fullscreen { background: var(--cold-2); color: #fff; }
.ctrl-theater.is-theater { background: var(--amber); color: var(--brown); border-color: var(--amber); }
.ctrl-light.is-lights-off { background: var(--cold-2); color: #fff; }
.player-shell.theater-mode {
  background: #000;
  border-color: var(--amber-deep);
}
.player-shell.lights-off {
  box-shadow: inset 0 0 0 1px rgba(232, 161, 60, 0.55), 0 0 22px rgba(0, 0, 0, 0.6);
}
.player-shell.lights-off .player-controls {
  background: #120b07;
}
.movie-overview {
  width: 100%;
  background: var(--brown-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  margin: 0 0 var(--gap);
}
.overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.overview-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--amber-glow);
  line-height: 1.2;
}
.overview-tagline {
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
}
.overview-poster {
  width: 100%;
  max-width: 168px;
  margin-bottom: 10px;
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(232, 161, 60, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.cast-strip {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--amber);
  padding: 0 0 6px;
  margin: 0;
  text-transform: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.cast-strip .section-heading { border-bottom: none; padding-bottom: 4px; margin-bottom: 6px; }
.cast-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 auto;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  background: var(--brown-3);
  border: 1px solid rgba(232, 161, 60, 0.22);
  border-radius: 2px;
  padding: 4px;
}
.cast-avatar-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--brown);
}
.cast-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cast-name {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--paper);
  padding: 2px 0 1px;
  border-top: 1px solid rgba(232, 161, 60, 0.35);
  line-height: 1.25;
}
.synopsis-block {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.synopsis-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  align-items: start;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--paper-dim);
  text-align: justify;
}
.synopsis-para::first-letter {
  color: var(--amber);
  font-weight: 700;
}
.episode-status {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.status-line {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber-glow);
  margin-bottom: 5px;
}
.status-bar {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: var(--brown);
  border: 1px solid rgba(232, 161, 60, 0.3);
  border-radius: 999px;
  overflow: hidden;
}
.status-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-glow));
  border-radius: 999px;
}
.details-table {
  margin-bottom: 2px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(232, 161, 60, 0.16);
  min-width: 0;
}
.detail-key {
  flex: 0 0 66px;
  font-size: 12px;
  color: var(--cold-3);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper);
  line-height: 1.4;
}
.timeline-section {
  position: relative;
  margin: 22px 0 var(--gap);
  padding-left: 14px;
}
.timeline-section .section-heading {
  margin-bottom: 10px;
}
.timeline-rail {
  position: relative;
  padding-left: 12px;
  margin-left: 46px;
  border-left: 2px solid var(--line);
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0 3px 14px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--brown), 0 0 0 3px rgba(232, 161, 60, 0.4);
}
.tl-timecode {
  position: absolute;
  left: -60px;
  top: 3px;
  width: 44px;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: var(--amber-glow);
  letter-spacing: 0.02em;
}
.tl-label {
  font-size: 12.5px;
  color: var(--paper-dim);
}
.episodes-section {
  margin-bottom: var(--gap);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.episode-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 7px;
  background: var(--brown-2);
  border: 1px solid rgba(232, 161, 60, 0.18);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.episode-cell:hover {
  background: var(--brown-3);
  border-color: var(--amber);
}
.ep-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1.3;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cold-3);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
  margin: 0;
}
.episode-cell:hover .ep-summary, .episode-cell:focus-within .ep-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 2px;
}
.ep-duration {
  font-size: 10.5px;
  color: var(--amber);
  letter-spacing: 0.03em;
  align-self: flex-start;
}
.comments-section {
  margin: 22px 0 var(--gap);
}
.comment-waterfall {
  column-count: 2;
  column-gap: 8px;
}
.comment-item {
  break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 7px 8px;
  background: var(--cold-2);
  border-left: 3px solid var(--amber-deep);
  border-radius: 2px;
}
.comment-nick {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber-glow);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.rec-region {
  margin-bottom: var(--gap);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.rec-region-1 { background: linear-gradient(180deg, rgba(232,161,60,0.06), transparent); }
.rec-region-2 { background: linear-gradient(180deg, rgba(74,90,96,0.14), transparent); }
.rec-region-3 { background: linear-gradient(180deg, rgba(232,161,60,0.04), transparent); }
.rec-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.rec-region-2 .rec-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-3 .rec-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  background: var(--brown-2);
  border: 1px solid rgba(232, 161, 60, 0.18);
  border-radius: 2px;
  color: var(--paper);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
a.rec-item:hover {
  background: var(--brown-3);
  border-color: var(--amber);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: var(--brown);
}
.rec-thumb {  }
.rec-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1.3;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--cold-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: var(--gap);
  padding: 10px var(--pad) 16px;
  background: #1d130c;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
}
.footer-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--amber-glow); }
a[data-contract="footer-sitemap"] { color: var(--cold-3); }
a[data-contract="footer-home"]:hover { color: #fff; text-decoration: underline; }
a[data-contract="footer-sitemap"]:hover { color: var(--amber); text-decoration: underline; }
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(232, 161, 60, 0.16);
}
.friends-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.04em;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cold-3);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber-glow);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--cold-3);
  max-width: 100%;
}
@media (max-width: 720px) {.synopsis-columns { grid-template-columns: minmax(0, 1fr); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-row, .rec-region-2 .rec-row, .rec-region-3 .rec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-waterfall { column-count: 2; }
.overview-poster { max-width: 140px; }}
@media (max-width: 480px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-waterfall { column-count: 1; }
.overview-poster { max-width: 120px; }
.ctrl-progress { flex-basis: 100%; }
.detail-key { flex-basis: 58px; }}
@media (min-width: 960px) {.page-main { max-width: 1080px; }
.movie-overview {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "poster cast"
      "poster synopsis"
      "poster status"
      "poster details";
    gap: 8px 18px;
    align-items: start;
  }
.overview-head { grid-area: head; }
.overview-poster { grid-area: poster; max-width: 180px; margin-bottom: 0; }
.cast-strip { grid-area: cast; margin-bottom: 6px; }
.synopsis-block { grid-area: synopsis; margin-bottom: 6px; }
.episode-status { grid-area: status; margin-bottom: 6px; }
.details-table { grid-area: details; }
.timeline-rail { margin-left: 56px; }
.tl-timecode { left: -72px; width: 56px; }}

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}
