*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #101413;
  color: #b9c2bd;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, figure, figcaption, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a {
  color: #9db0a6;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  background: #0c100f;
  border-bottom: 1px solid #232b28;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: #dfe6e1;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid #7a2f26;
  padding-left: 8px;
}
a[data-contract="site-name"]:hover { color: #f2f6f3; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: #93a49a;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid #2a3430;
  background: #131a18;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #dfe6e1;
  border-color: #476054;
  background: #18211e;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #8fa197;
  text-transform: uppercase;
  padding: 0 0 6px;
  border-bottom: 1px solid #232b28;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #33413c;
  flex: 0 0 auto;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 18px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.poster-frame {
  position: relative;
  align-self: start;
  background: #0b0f0e;
  border: 1px solid #232b28;
  padding: 6px;
}
.main-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.86);
  display: block;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(9, 13, 12, 0.86) 0%, rgba(9, 13, 12, 0.28) 42%, rgba(9, 13, 12, 0) 62%);
}
.stamp-slip {
  position: absolute;
  right: -14px;
  bottom: 26px;
  width: 118px;
  background: #e6e2d6;
  padding: 5px 5px 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transform: rotate(-3.2deg);
  z-index: 4;
  border: 1px solid #cfc7b4;
}
.stamp-slip-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.5) sepia(0.35) contrast(1.1);
  display: block;
}
.stamp-slip-caption {
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #7a2f26;
  padding-top: 4px;
  font-weight: 700;
  text-align: center;
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 30px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e7ece8;
  text-transform: uppercase;
}
.movie-tagline {
  font-size: 12.5px;
  line-height: 1.45;
  color: #8d9c93;
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid #7a2f26;
}
.hero-player-shell {
  position: relative;
  background: #080b0a;
  border: 1px solid #232b28;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-player-shell.theater-mode {
  border-color: #476054;
  box-shadow: 0 0 0 1px #476054 inset;
}
.hero-player-shell.lights-off {
  background: #000;
}
.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.player-btn {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9aaba1;
  background: #131a18;
  border: 1px solid #232b28;
  padding: 4px 8px;
  white-space: nowrap;
  transition: background 0.12s linear, color 0.12s linear, border-color 0.12s linear;
}
.player-btn:hover {
  background: #1c2623;
  color: #dfe6e1;
  border-color: #476054;
}
.player-btn.is-active, .player-btn.click {
  background: #2c3a34;
  color: #e7ece8;
  border-color: #62796c;
}
.overview-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #232b28;
  border-bottom: 1px solid #232b28;
}
.meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px 8px;
  border-left: 1px solid #232b28;
  min-width: 0;
}
.meta-row:first-child { border-left: 0; }
.meta-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #6f8077;
  text-transform: uppercase;
}
.meta-value {
  font-size: 13px;
  color: #d3dbd6;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cast-band {
  border-top: 1px solid #232b28;
  padding-top: 14px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-item { min-width: 0; }
.cast-figure {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cast-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.75) contrast(1.1) brightness(0.82);
  border: 1px solid #232b28;
  transition: filter 0.15s linear, border-color 0.15s linear;
}
.cast-item:hover .cast-portrait {
  filter: grayscale(0.25) contrast(1.05) brightness(0.95);
  border-color: #476054;
}
.cast-name {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #a8b6ae;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.details-panel, .timeline-panel {
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #232b28;
}
.detail-cell {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid #1c2422;
  border-right: 1px solid #1c2422;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #6f8077;
  text-transform: uppercase;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #cfd8d3;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.timeline-list {
  position: relative;
  border-left: 1px solid #2b3632;
  margin-left: 4px;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 8px 6px 16px;
  border-bottom: 1px solid #1c2422;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: #3d4b44;
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #829389;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #b7c2bb;
  overflow-wrap: anywhere;
}
.timeline-item-key .timeline-timecode { color: #a8543f; }
.timeline-item-key .timeline-label { color: #dfe6e1; }
.timeline-item-key::before {
  background: #8f3a2c;
  box-shadow: 0 0 0 3px rgba(143, 58, 44, 0.18);
}
.synopsis-panel { min-width: 0; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #232b28;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: #a9b5ae;
  padding: 10px 14px 12px;
  border-right: 1px solid #1c2422;
  overflow-wrap: anywhere;
}
.synopsis-paragraph:last-child { border-right: 0; }
.episode-status {
  border-top: 1px solid #232b28;
  padding-top: 14px;
  max-width: 720px;
}
.status-line {
  font-size: 13px;
  color: #cfd8d3;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.status-meter {
  position: relative;
  height: 16px;
  background: #131a18;
  border: 1px solid #232b28;
  overflow: hidden;
}
.status-meter-fill {
  display: flex;
  align-items: center;
  height: 100%;
  width: 58.33%;
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #dfe6e1;
  background: linear-gradient(90deg, #2c453a 0%, #47604f 100%);
  white-space: nowrap;
}
.episodes-section {
  border-top: 1px solid #232b28;
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #232b28;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 2px 10px;
  padding: 8px 12px 9px;
  border-bottom: 1px solid #1c2422;
  border-right: 1px solid #1c2422;
  cursor: pointer;
  transition: background 0.12s linear;
  min-width: 0;
}
.episode-card:nth-child(2n) { border-right: 0; }
.episode-card:hover { background: #18211e; }
.episode-card.episode-card-active, .episode-card.episode-card-current {
  background: #1e2a25;
  box-shadow: inset 3px 0 0 #8f3a2c;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7e8f86;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #dbe2dd;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #6f8077;
  white-space: nowrap;
  align-self: center;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.45;
  color: #94a29a;
  overflow-wrap: anywhere;
}
.recommend-region {
  border-top: 1px solid #232b28;
  padding-top: 14px;
}
.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-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #aebbb3;
  text-decoration: none;
  background: #131a18;
  border: 1px solid #232b28;
  padding: 6px;
  min-width: 0;
  align-self: start;
  transition: background 0.12s linear, border-color 0.12s linear;
}
a.recommend-item:hover {
  background: #1c2623;
  border-color: #476054;
}
a.recommend-item:hover [data-runtime="name"] { color: #e7ece8; }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08) brightness(0.85);
  display: block;
}
.recommend-grid-3 [data-runtime="recommendation"] img, .recommend-grid-5 [data-runtime="recommendation"] img {
  aspect-ratio: 16 / 10;
}
a.recommend-item [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ccd5cf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.recommend-item [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: #8797 8\65 ;
  color: #87978e;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.comments-section {
  border-top: 1px solid #232b28;
  padding-top: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-item {
  display: flex;
  gap: 0;
  background: #131a18;
  border: 1px solid #232b28;
  min-width: 0;
  align-self: start;
}
.comment-bar {
  flex: 0 0 3px;
  align-self: stretch;
  background: #3d4b44;
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #93a49a;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: #a9b5ae;
  overflow-wrap: anywhere;
}
.comment-item-a .comment-bar { background: #8f3a2c; }
.comment-item-b .comment-bar { background: #47604f; }
.comment-item-c .comment-bar { background: #5a6b7d; }
.comment-item-d .comment-bar { background: #8f3a2c; }
.comment-item-e .comment-bar { background: #6b7f5a; }
.comment-item-f .comment-bar { background: #7a6a4a; }
.comment-item-a { transform: translateY(0); }
.comment-item-b { transform: translateY(14px); }
.comment-item-c { transform: translateY(4px); }
.comment-item-d { transform: translateY(20px); }
.comment-item-e { transform: translateY(8px); }
.comment-item-f { transform: translateY(16px); }
.site-footer {
  border-top: 1px solid #232b28;
  background: #0c100f;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #6f8077;
  text-transform: uppercase;
  border-right: 1px solid #232b28;
  padding-right: 10px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8b9c93;
  text-decoration: none;
  letter-spacing: 0.04em;
}
a.runtime-friend-link:hover { color: #dfe6e1; text-decoration: underline; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid #1c2422;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: #93a49a; }
a[data-contract="footer-home"]:hover { color: #e7ece8; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #8f6a5e; }
a[data-contract="footer-sitemap"]:hover { color: #c07a63; text-decoration: underline; }
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: #5f6d66;
  max-width: 900px;
}
@media (max-width: 1024px) {.overview-hero {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.overview-columns { gap: 18px; }
.synopsis-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }}
@media (max-width: 820px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.poster-frame { max-width: 320px; }
.overview-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.synopsis-paragraph {
    border-right: 0;
    border-bottom: 1px solid #1c2422;
  }
.synopsis-paragraph:last-child { border-bottom: 0; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-card { border-right: 0; }
.recommend-grid-4, .recommend-grid-3, .recommend-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-item { transform: none; }
.comment-item-b, .comment-item-d, .comment-item-f { transform: none; }}
@media (max-width: 560px) {.page-main { padding: 0 12px 32px; gap: 20px; }
.header-inner { padding: 8px 12px; gap: 10px; }
.movie-title { font-size: 22px; }
.stamp-slip {
    width: 92px;
    right: -8px;
    bottom: 16px;
  }
.overview-meta { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.meta-row {
    border-left: 0;
    border-top: 1px solid #232b28;
  }
.meta-row:first-child { border-top: 0; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.detail-cell { border-right: 0; }
.timeline-item { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.recommend-grid-4, .recommend-grid-3, .recommend-grid-5 { grid-template-columns: minmax(0, 1fr); }
.recommend-grid-3 [data-runtime="recommendation"] img, .recommend-grid-5 [data-runtime="recommendation"] img { aspect-ratio: 16 / 9; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.player-btn { font-size: 10.5px; padding: 4px 6px; }}
@media (max-width: 380px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.movie-title { font-size: 20px; }}
@media (prefers-reduced-motion: reduce) {* { transition: 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}
