*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: #14120f;
  color: #b9b2a6;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Heiti SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  object-fit: cover;
}
ul, ol, dl {
  list-style: none;
}
a {
  color: #c9a34e;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
h1, h2 {
  font-weight: 600;
  line-height: 1.3;
}
.page-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #100f0d 0%, #16140f 40%, #14120f 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 7px 14px;
  background: rgba(16, 14, 11, 0.94);
  border-bottom: 1px solid #2b2519;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
a[data-contract="site-name"], .site-name {
  color: #e6d9b8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(201, 163, 78, 0.25);
}
a[data-contract="site-name"]:hover, .site-name:hover {
  color: #f2c96a;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category, .runtime-category {
  display: inline-block;
  padding: 3px 8px;
  color: #9d9484;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #2e281d;
  background: #191712;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, .runtime-category:hover {
  color: #f0c463;
  border-color: #6d5622;
  background: #221d12;
}
.page-main {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 14px 20px;
}
.panel-heading {
  margin-bottom: 7px;
  padding-bottom: 5px;
  color: #d8cba6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-bottom: 1px solid #2c2619;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "visual info"
    "cast synopsis"
    "status details";
  column-gap: 16px;
  row-gap: 14px;
  align-items: start;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(201, 163, 78, 0.10) 0%, rgba(201, 163, 78, 0) 46%),
    linear-gradient(160deg, #1b1812 0%, #14120f 58%, #100f0d 100%);
  border: 1px solid #2a2418;
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 62%, rgba(201, 163, 78, 0.07) 63%, transparent 66%),
    linear-gradient(115deg, transparent 74%, rgba(201, 163, 78, 0.05) 75%, transparent 78%);
}
.hero-visual {
  grid-area: visual;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.poster-column {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 260px;
  border: 1px solid #3a3120;
  background: #0c0b09;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.7);
}
.poster-column img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.94);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.hero-backdrop {
  position: absolute;
  inset: -12% -30% -12% 40%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 30% 24%, rgba(226, 168, 60, 0.20) 0%, rgba(226, 168, 60, 0) 62%),
    radial-gradient(50% 60% at 72% 66%, rgba(201, 163, 78, 0.13) 0%, rgba(201, 163, 78, 0) 60%),
    linear-gradient(102deg, rgba(40, 32, 18, 0.85) 0%, rgba(20, 18, 15, 0.2) 45%, rgba(20, 18, 15, 0) 70%);
  clip-path: polygon(14% 6%, 100% 0, 92% 100%, 0 84%);
}
.hero-info {
  grid-area: info;
  position: relative;
  z-index: 3;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid #2e2718;
}
.movie-title {
  color: #f0e2bd;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  color: #d9b straightforward;
  color: #d9b463;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-left: 9px;
  border-left: 2px solid #8a6a22;
}
.movie-seo {
  color: #8e8778;
  font-size: 12px;
  line-height: 1.55;
  max-width: 62ch;
}
.movie-tagline + .movie-seo {
  margin-top: 2px;
}
.cast-panel {
  grid-area: cast;
  position: relative;
  z-index: 2;
  align-self: start;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #2a2418;
  border: 1px solid #2a2418;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 8px 9px;
  background: #181510;
  border-left: 2px solid #3d3venture;
  border-left: 2px solid #3d3218;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cast-card:hover {
  background: #221c11;
  border-left-color: #c9a34e;
}
.cast-name {
  color: #ddcfab;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cast-role {
  color: #857d6c;
  font-size: 11px;
  line-height: 1.4;
}
.synopsis-panel {
  grid-area: synopsis;
  position: relative;
  z-index: 2;
  align-self: start;
  min-width: 0;
}
.synopsis-paragraph {
  color: #98917f;
  font-size: 12px;
  line-height: 1.6;
  text-align: justify;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #221d14;
}
.episode-status-panel, .details-panel {
  position: relative;
  z-index: 2;
  align-self: start;
  min-width: 0;
}
.episode-status-panel {
  grid-area: status;
}
.details-panel {
  grid-area: details;
}
.status-list, .details-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #241f15;
  border: 1px solid #241f15;
}
.status-row, .detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 8px;
  background: #181510;
}
.status-key, .detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  color: #7e7666;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.status-value, .detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: #cbbf9f;
  font-size: 12px;
  text-align: right;
}
.status-value {
  color: #e2b95c;
  font-weight: 600;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}
.detail-row {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 5px 8px;
}
.detail-key {
  min-width: 0;
}
.detail-value {
  text-align: left;
  color: #b8ae95;
}
.player-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #131009;
  border: 1px solid #2a2418;
}
.player-panel video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #060504;
  border: 1px solid #322b1c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  padding: 4px 9px;
  color: #a89f8b;
  font-size: 11px;
  letter-spacing: 0.05em;
  background: #1c1811;
  border: 1px solid #36301f;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #f0c463;
  border-color: #7a5f24;
  background: #241d11;
}
.player-btn.is-playing, .player-btn.is-active, .player-btn.is-muted {
  color: #f4cd6e;
  border-color: #c9a34e;
  background: #2a2110;
  box-shadow: inset 0 0 0 1px rgba(201, 163, 78, 0.25);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  background: #2d2718;
  border: 0;
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: #c9a34e;
  border: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: #c9a34e;
}
.player-select {
  padding: 4px 6px;
  color: #a89f8b;
  font-size: 11px;
  background: #1c1811;
  border: 1px solid #36301f;
  border-radius: 0;
}
body.theater-mode .player-panel {
  background: #0a0806;
  border-color: #4a3c1c;
  box-shadow: 0 0 0 1px rgba(201, 163, 78, 0.18), 0 12px 40px rgba(0, 0, 0, 0.7);
}
body.theater-mode .page-main {
  background: #0d0b08;
}
body.lights-off {
  background: #000;
}
body.lights-off .page-main {
  opacity: 0.32;
  transition: opacity 0.2s ease;
}
body.lights-off .player-panel {
  opacity: 1;
}
.timeline-panel {
  width: 100%;
  padding: 10px;
  background: #14110c;
  border: 1px solid #2a2418;
}
.timeline-track {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  padding-bottom: 4px;
  background: #241f15;
  border: 1px solid #241f15;
  scrollbar-width: thin;
  scrollbar-color: #4a3c1c #1a1610;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #1a1610;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #4a3c1c;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 9px 10px;
  background: #181510;
  border-top: 2px solid #342c1a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.timeline-node:hover {
  background: #211b11;
  border-top-color: #8a6a22;
}
.timeline-node.is-active-node {
  background: #2a2110;
  border-top-color: #e2b95c;
}
.timeline-node.is-active-node .timeline-label {
  color: #e3d6b0;
}
.timeline-chip {
  width: 13px;
  height: 13px;
  background: linear-gradient(140deg, #e6c069 0%, #a67c26 100%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  box-shadow: 0 0 10px rgba(201, 163, 78, 0.4);
}
.timeline-time {
  color: #c9a34e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-label {
  color: #8f8878;
  font-size: 11px;
  line-height: 1.45;
}
.episodes-panel {
  width: 100%;
  padding: 10px;
  background: #14110c;
  border: 1px solid #2a2418;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #241f15;
  border: 1px solid #241f15;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 9px;
  background: #171410;
  border-left: 2px solid #332b19;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.episode-card:hover {
  background: #2a2110;
  border-left-color: #c9a34e;
}
.episode-card.is-active-episode, .episode-current {
  background: #2d2411;
  border-left-color: #e2b95c;
}
.episode-number {
  color: #c9a34e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.episode-title {
  color: #ddcfab;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.episode-summary {
  color: #867f6f;
  font-size: 11px;
  line-height: 1.45;
}
.episode-duration {
  margin-top: 1px;
  color: #6d6656;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.episode-card.is-active-episode .episode-summary, .episode-current .episode-summary {
  color: #a89c7d;
}
.comments-panel {
  width: 100%;
  padding: 10px;
  background: #14110c;
  border: 1px solid #2a2418;
}
.comment-stack {
  columns: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 3px 0 3px 9px;
  border-left: 1px solid #6d5622;
  background: transparent;
}
.comment-nick {
  display: block;
  margin-bottom: 3px;
  color: #c9a34e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.comment-text {
  color: #918a7a;
  font-size: 11px;
  line-height: 1.55;
}
.rec-region {
  width: 100%;
  padding: 10px;
  background: #14110c;
  border: 1px solid #2a2418;
}
.rec-heading {
  margin-bottom: 7px;
  padding: 3px 7px;
  display: inline-block;
  color: #16130d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: #c9a34e;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #241f15;
  border: 1px solid #241f15;
}
.rec-card {
  display: flex;
  background: #171410;
  border-left: 2px solid #332b19;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rec-card:hover {
  background: #221c11;
  border-left-color: #c9a34e;
}
a.rec-link, .rec-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 7px;
  color: #b5ab92;
  text-decoration: none;
}
a.rec-link:hover, .rec-link:hover {
  color: #e3d6b0;
}
[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 7px;
  color: #b5ab92;
  text-decoration: none;
}
[data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid #2c2618;
  filter: saturate(0.7) brightness(0.92);
  transition: filter 0.15s ease, border-color 0.15s ease;
}
[data-runtime="recommendation"]:hover img, .rec-card:hover .rec-pic {
  filter: saturate(1) brightness(1.05);
  border-color: #6d5622;
}
.rec-name {
  display: block;
  color: #d3c7a6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.rec-blurb {
  display: block;
  color: #7f7868;
  font-size: 11px;
  line-height: 1.45;
}
.rec-region-1 .rec-heading {
  background: #c9a34e;
}
.rec-region-2 .rec-heading {
  background: #b8912f;
}
.rec-region-3 .rec-heading {
  background: #a67c26;
}
.rec-region-4 .rec-heading {
  background: #8f6d22;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #0f0d0a;
  border-top: 1px solid #2a2418;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #9d9484;
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: #e2b95c;
}
.footer-disclaimer {
  max-width: 78ch;
  color: #6d6656;
  font-size: 11px;
  line-height: 1.55;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px solid #1e1a12;
}
.friend-label {
  color: #6d6656;
  font-size: 11px;
  letter-spacing: 0.08em;
}
a.runtime-friend-link, .runtime-friend-link {
  color: #857d6c;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover, .runtime-friend-link:hover {
  color: #c9a34e;
  text-decoration: underline;
}
@media (max-width: 980px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "info"
      "cast"
      "synopsis"
      "status"
      "details";
    row-gap: 12px;
  }
.hero-visual {
    justify-content: flex-start;
  }
.poster-column {
    max-width: 220px;
  }
.hero-info {
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid #2e2718;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    gap: 12px;
    padding: 10px 10px 18px;
  }
.hero-panel {
    padding: 11px;
  }
.movie-title {
    font-size: 20px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    columns: 1;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
  }}
@media (max-width: 460px) {.poster-column {
    max-width: 100%;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    padding: 4px 7px;
    font-size: 10px;
  }
.player-range {
    flex: 1 1 100%;
  }}

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}
