*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #171410;
  background-image:
    radial-gradient(ellipse at 18% 8%, rgba(196, 138, 48, 0.10), transparent 46%),
    radial-gradient(ellipse at 84% 92%, rgba(120, 92, 54, 0.09), transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  color: #cfc3ae;
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  padding: 0 12px;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #c99a4e;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.03em;
}
.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 8px 2px 7px;
  border-bottom: 1px solid #3a3128;
  margin-bottom: 8px;
}
a[data-contract="site-name"] {
  color: #e2bb70;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(200, 140, 50, 0.25);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
  min-width: 0;
}
a.runtime-category {
  color: #a8967a;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: #e2bb70;
  border-bottom-color: #6b5228;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 18px;
}
.panel-heading {
  font-size: 13px;
  color: #d8ab5e;
  letter-spacing: 0.14em;
  padding: 0 0 4px 2px;
  border-bottom: 1px solid #3a3128;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(190, 130, 45, 0.18);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background-color: #1d1913;
  background-image:
    linear-gradient(180deg, rgba(196, 138, 48, 0.07), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 4px);
  border: 1px solid #38301f;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 20px rgba(0, 0, 0, 0.35);
}
.poster-column {
  min-width: 0;
}
.poster-frame {
  position: relative;
  display: block;
  border: 1px solid #4a3d28;
  padding: 3px;
  background: #100d09;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 8px 22px rgba(0, 0, 0, 0.5);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(200deg, rgba(210, 150, 60, 0.10), transparent 55%);
  pointer-events: none;
}
img.poster-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: sepia(0.28) contrast(1.06) brightness(0.94);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title {
  font-size: 19px;
  color: #eccb89;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(190, 120, 35, 0.28);
  padding-bottom: 5px;
  border-bottom: 1px dashed #4a3d28;
}
.hero-tagline {
  font-size: 12px;
  color: #b59a70;
  letter-spacing: 0.06em;
}
.hero-seo {
  font-size: 12px;
  line-height: 1.5;
  color: #9d8f7a;
  text-align: justify;
  max-width: 62ch;
  padding-left: 8px;
  border-left: 2px solid #46381f;
}
.player-shell {
  position: relative;
  margin-top: 4px;
  background: #0b0906;
  border: 1px solid #3d3221;
  padding: 6px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.player-shell.is-lights-off {
  background: #000;
  border-color: #6b5228;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.35;
}
.player-shell.is-theater {
  border-color: #a87d34;
  box-shadow: 0 0 0 1px rgba(200, 140, 50, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.player-video {
  width: 100%;
  display: block;
  background: #000;
  border: 1px solid #2b2419;
  filter: saturate(0.92) contrast(1.04);
}
.player-shell.is-playing .player-video {
  border-color: #6b5228;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 2px 2px;
  border-top: 1px solid #2b2419;
  margin-top: 6px;
}
.player-button {
  background: #241e15;
  border: 1px solid #453925;
  color: #c7b391;
  font-size: 11px;
  line-height: 1;
  padding: 5px 7px;
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-button:hover {
  background: #33291a;
  color: #eccb89;
  border-color: #6b5228;
}
.player-button:active {
  background: #3d2f1c;
}
.player-button-play {
  color: #e7bd6d;
  border-color: #6b5228;
}
.player-shell.is-playing .player-button-play {
  background: #3a2c16;
  color: #f4d79b;
}
.player-button-mute {
  min-width: 44px;
  text-align: center;
}
.player-shell.is-muted .player-button-mute {
  background: #4a2620;
  color: #e4b090;
  border-color: #7a4130;
}
.player-button-pip, .player-button-fullscreen, .player-button-theater, .player-button-light {
  color: #a8967a;
}
.player-shell.is-theater .player-button-theater, .player-shell.is-lights-off .player-button-light {
  background: #3a2c16;
  color: #f0cd85;
  border-color: #8a6a2c;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #33291a;
  border: 1px solid #453925;
  cursor: pointer;
  border-radius: 0;
}
.player-range-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.player-range-volume {
  flex: 0 1 76px;
  min-width: 56px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 14px;
  background: #c99a4e;
  border: 1px solid #6b5228;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: #c99a4e;
  border: 1px solid #6b5228;
  border-radius: 0;
  cursor: pointer;
}
.player-range::-moz-range-track {
  height: 4px;
  background: #33291a;
}
.player-select {
  background: #241e15;
  border: 1px solid #453925;
  color: #c7b391;
  font-size: 11px;
  padding: 4px 5px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.status-chip {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid #453925;
  background: #221c14;
  color: #b8a586;
  white-space: nowrap;
}
.status-chip-current {
  color: #f0cd85;
  border-color: #8a6a2c;
  background: #33270f;
  box-shadow: 0 0 10px rgba(200, 140, 50, 0.18);
}
.status-chip-total {
  color: #c9b18a;
}
.status-chip-duration {
  color: #9d8f7a;
  border-style: dashed;
}
.detail-panel, .synopsis-panel, .cast-panel {
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
  border-top: 1px solid #2f281d;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted #332b1f;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 5.2em;
  font-size: 11px;
  color: #8e7f68;
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #cbbda4;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 18px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.55;
  color: #b3a48c;
  text-align: justify;
  padding-left: 8px;
  border-left: 2px solid #3a3128;
}
.synopsis-paragraph:first-child {
  border-left-color: #6b5228;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: stretch;
  gap: 6px;
  background: #201b14;
  border: 1px solid #3a3128;
  padding: 5px 6px;
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cast-card:hover {
  border-color: #6b5228;
  background: #2a2216;
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #d2b988;
  flex: 0 0 auto;
  line-height: 1.1;
}
.cast-avatar {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #e0bd7c;
  background:
    radial-gradient(ellipse at 32% 22%, rgba(200, 140, 50, 0.22), transparent 62%),
    linear-gradient(160deg, #2c2418, #16120c);
  border: 1px solid #4a3d28;
  text-shadow: 0 0 14px rgba(200, 140, 50, 0.4);
  filter: contrast(1.05);
}
.timeline-section {
  min-width: 0;
}
.timeline-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #4a3d28 #1d1913;
  background: #1c1811;
  border: 1px solid #38301f;
  padding: 9px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: #1d1913;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: #4a3d28;
}
.timeline-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 10px;
  min-width: 0;
}
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #e0b063;
  font-weight: 700;
}
.timeline-timecode::before {
  content: "▸ ";
  color: #6b5228;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #a8987e;
  text-align: justify;
}
.timeline-divider {
  width: 1px;
  align-self: stretch;
  margin: 1px 0;
  background-image: repeating-linear-gradient(180deg, #5c4a2c 0 2px, transparent 2px 5px);
  opacity: 0.7;
}
.episodes-section {
  min-width: 0;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.episode-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 5px 6px;
  border-bottom: 1px solid #2b2419;
  min-width: 0;
}
.episode-row-current {
  background: #3a1a12;
  border-bottom-color: #7a4130;
  box-shadow: inset 2px 0 0 #c06a3a;
}
.episode-number {
  font-size: 16px;
  font-weight: 700;
  color: #8a7a60;
  line-height: 1.2;
  text-align: center;
  border-right: 1px solid #33291a;
  padding-right: 6px;
}
.episode-row-current .episode-number {
  color: #f0b57a;
  border-right-color: #7a4130;
  text-shadow: 0 0 10px rgba(220, 120, 60, 0.35);
}
.episode-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 10px;
  align-items: baseline;
  min-width: 0;
}
.episode-title {
  grid-column: 1;
  font-size: 12.5px;
  color: #dcc191;
  letter-spacing: 0.06em;
}
.episode-row-current .episode-title {
  color: #f6d9a4;
}
.episode-duration {
  grid-column: 2;
  grid-row: 1;
  font-size: 10.5px;
  color: #8e7f68;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.45;
  color: #9b8d76;
  text-align: justify;
}
.episode-row-current .episode-summary {
  color: #c3aa8a;
}
.comments-section {
  min-width: 0;
}
.comments-grid {
  columns: 2;
  column-gap: 12px;
}
.comment-note {
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  background: #221d15;
  border: 1px solid #3a3128;
  border-left: 2px solid #5c4a2c;
  padding: 8px 9px 7px;
  margin: 0 0 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-width: 9px 9px 0 0;
  border-style: solid;
  border-color: #171410 #171410 transparent transparent;
  filter: drop-shadow(1px 1px 0 #4a3d28);
}
.comment-nickname {
  font-size: 11.5px;
  color: #dbae62;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  padding-left: 12px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: #b1a28a;
  text-align: justify;
}
.recommend-region {
  min-width: 0;
}
.recommend-title {
  font-size: 13px;
  color: #d8ab5e;
  letter-spacing: 0.1em;
  padding: 0 0 5px 2px;
  margin-bottom: 8px;
  border-bottom: 1px solid #3a3128;
}
.recommend-title::after {
  content: "";
  display: block;
  height: 5px;
  margin-top: 4px;
  background-image: radial-gradient(circle, #6b5228 1px, transparent 1.4px);
  background-size: 5px 5px;
  opacity: 0.85;
}
.recommend-region:nth-of-type(2) .recommend-title::after {
  background-size: 7px 7px;
  opacity: 0.6;
}
.recommend-region:nth-of-type(3) .recommend-title::after {
  background-size: 3px 3px;
  opacity: 1;
}
.recommend-grid {
  display: grid;
  gap: 8px;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: stretch;
  background: #1e1913;
  border: 1px solid #38301f;
  padding: 5px 6px 7px;
  color: #c7b391;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card::after {
  content: attr(data-runtime);
  display: none;
}
a.recommend-card:hover {
  border-color: #8a6a2c;
  background: #2a2216;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid #2b2419;
  filter: sepia(0.3) contrast(1.05) brightness(0.92);
  background: #100d09;
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #e0be80;
  letter-spacing: 0.04em;
  line-height: 1.35;
  padding-top: 1px;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.42;
  color: #93866f;
  text-align: justify;
}
.site-footer {
  border-top: 1px solid #3a3128;
  padding: 9px 2px 16px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.footer-link {
  font-size: 12px;
  color: #c99a4e;
  text-decoration: none;
  letter-spacing: 0.06em;
}
.footer-link:hover {
  text-decoration: underline;
  color: #eccb89;
}
a[data-contract="footer-home"] {
  color: #dbae62;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #a8967a;
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: #7d715e;
  max-width: 90ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 5px;
  border-top: 1px dotted #332b1f;
}
.friend-links-label {
  font-size: 11px;
  color: #8e7f68;
  letter-spacing: 0.12em;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #9d8f7a;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #d8ab5e;
  text-decoration: underline;
}
.player-shell.pause .player-button-play, .player-shell.pause .player-video {
  opacity: 1;
}
.player-shell.play .player-button-play {
  background: #3a2c16;
  color: #f4d79b;
}
.player-shell.mute .player-button-mute, .player-shell.is-muted .player-button-mute {
  background: #4a2620;
  color: #e4b090;
}
.player-shell.fullscreen, .player-shell.pip {
  border-color: #8a6a2c;
}
.player-shell.light, .player-shell.is-lights-off {
  background: #000;
}
.player-shell.theater, .player-shell.is-theater {
  border-color: #a87d34;
}
.player-shell.volume .player-range-volume {
  border-color: #6b5228;
}
.player-shell.progress .player-range-progress {
  border-color: #6b5228;
}
.player-shell.speed .player-select-speed {
  border-color: #6b5228;
  color: #eccb89;
}
.player-shell.timeupdate .player-range-progress {
  box-shadow: 0 0 6px rgba(200, 140, 50, 0.35);
}
.player-shell.change, .player-shell.click, .player-shell.input {
  border-color: #6b5228;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    padding: 0 9px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 190px;
  }
.hero-title {
    font-size: 17px;
  }
.comments-grid {
    columns: 2;
    column-gap: 9px;
  }
.recommend-grid-3, .recommend-grid-4, .recommend-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {.comments-grid {
    columns: 1;
  }
.recommend-grid-3, .recommend-grid-4, .recommend-grid-5 {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  }
.timeline-strip {
    grid-auto-columns: minmax(132px, 1fr);
  }
.player-controls {
    gap: 3px 4px;
  }
.player-button {
    font-size: 10.5px;
    padding: 5px 6px;
  }
.poster-column {
    max-width: 160px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
