*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, a {
  font: inherit;
  color: inherit;
}
a {
  text-decoration: none;
}
:root {
  --cold-white: #eef1f2;
  --cold-white-2: #e2e7e9;
  --pool-white: #f4f6f6;
  --aged-yellow: #e6d9b8;
  --aged-yellow-2: #d8c79b;
  --paper: #f0e9d8;
  --deep-brown: #2a201a;
  --brown-2: #3c2e25;
  --brown-3: #574438;
  --ink: #1a1512;
  --muted: #7a6a5c;
  --shutter-blue: #6d7c88;
  --shutter-blue-2: #4b5963;
  --highlight: #fbfdfd;
  --line: rgba(42, 32, 26, 0.16);
  --line-strong: rgba(42, 32, 26, 0.3);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --gap: 10px;
  --tight: 6px;
  --shadow-soft: 0 1px 0 rgba(42, 32, 26, 0.05), 0 6px 18px -12px rgba(42, 32, 26, 0.4);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body {
  font-family: var(--font);
  background:
    linear-gradient(180deg, #f2f4f4 0%, #ecece7 38%, #e3ded0 68%, #d3d6d3 100%);
  color: var(--ink);
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100%;
  padding-bottom: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px clamp(10px, 3vw, 26px);
  background: linear-gradient(180deg, rgba(238, 241, 242, 0.97), rgba(232, 235, 233, 0.93));
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(6px);
}
.header-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
a[data-contract="site-name"].site-name {
  color: var(--deep-brown);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 3px 2px;
  border-bottom: 2px solid var(--aged-yellow-2);
}
a[data-contract="site-name"].site-name:hover {
  color: var(--shutter-blue-2);
  border-bottom-color: var(--cold-white-2);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
  flex: 0 1 auto;
}
a.runtime-category {
  display: inline-block;
  color: var(--brown-2);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--highlight), var(--cold-white-2));
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--deep-brown);
  border-color: var(--aged-yellow-2);
  background: linear-gradient(180deg, var(--paper), var(--aged-yellow));
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 2.2vw, 26px) clamp(10px, 3vw, 26px) 0;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.section-heading {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--brown-3);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cold-white), var(--shutter-blue));
  box-shadow: inset 0 0 0 1px var(--line);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(244, 246, 246, 0.85) 0%, rgba(238, 233, 218, 0.72) 60%, rgba(224, 220, 206, 0.6) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: var(--shadow-soft);
}
.overview-poster-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.poster-media-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--deep-brown);
  box-shadow: 0 10px 22px -16px rgba(26, 21, 18, 0.9);
}
.poster-img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  height: auto;
}
.poster-caption {
  border-left: 2px solid var(--aged-yellow-2);
  padding: 2px 0 2px 8px;
}
.poster-tagline {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--brown-3);
  letter-spacing: 0.02em;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--deep-brown);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.movie-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-2);
  letter-spacing: 0.05em;
  padding-left: 10px;
  border-left: 3px solid var(--aged-yellow);
}
.episode-status {
  min-width: 0;
}
.status-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--highlight), var(--cold-white-2));
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.chip-key {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.chip-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--deep-brown);
  font-variant-numeric: tabular-nums;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  border-radius: var(--radius);
  padding: 6px;
  background: linear-gradient(180deg, var(--brown-2), var(--deep-brown));
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 12px 26px -20px rgba(0, 0, 0, 0.95);
  transition: background 0.2s ease;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 2px 2px 0;
}
.player-btn {
  appearance: none;
  border: 1px solid rgba(238, 241, 242, 0.24);
  background: linear-gradient(180deg, rgba(238, 241, 242, 0.16), rgba(238, 241, 242, 0.06));
  color: var(--cold-white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: linear-gradient(180deg, rgba(230, 217, 184, 0.9), rgba(216, 199, 155, 0.75));
  color: var(--deep-brown);
  border-color: var(--aged-yellow-2);
}
.player-btn.is-active, .player-btn.is-playing {
  background: linear-gradient(180deg, var(--aged-yellow), var(--aged-yellow-2));
  color: var(--deep-brown);
  border-color: var(--highlight);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.player-btn:focus-visible, .runtime-category:focus-visible, a:focus-visible {
  outline: 2px solid var(--shutter-blue);
  outline-offset: 2px;
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 110px;
  min-width: 70px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.player-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cold-white), var(--shutter-blue));
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--aged-yellow);
  border: 1px solid var(--deep-brown);
}
.player-range::-moz-range-track {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cold-white), var(--shutter-blue));
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--aged-yellow);
  border: 1px solid var(--deep-brown);
}
.player-shell.is-theater {
  background: linear-gradient(180deg, #101010, #050505);
  padding: 4px;
}
.player-shell.is-lights-off .player-video {
  filter: brightness(0.55) contrast(1.06);
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.62;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.synopsis-columns {
  columns: 2;
  column-gap: 18px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 0.8rem;
  line-height: 1.56;
  color: var(--brown-2);
  margin: 0 0 8px;
  text-align: justify;
  break-inside: avoid;
}
.synopsis-para:first-of-type {
  color: var(--deep-brown);
  font-weight: 600;
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 246, 246, 0.92), rgba(226, 231, 233, 0.7));
  min-width: 0;
}
.cast-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cold-white-2), var(--brown-3));
  border: 1px solid var(--line);
  position: relative;
}
.cast-photo {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 34%, rgba(244, 246, 246, 0.95) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 92%, rgba(87, 68, 56, 0.85) 0 46%, transparent 47%),
    linear-gradient(180deg, #cbd3d5, #8d8677 70%, #4b3c31);
}
.cast-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--deep-brown);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex: 0 0 auto;
}
.detail-value {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--deep-brown);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  max-width: 100%;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--highlight), var(--cold-white-2));
  border: 1px solid var(--shutter-blue);
  box-shadow: 0 0 0 3px rgba(238, 241, 242, 0.6);
}
.timeline-timecode {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--shutter-blue-2);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--brown-2);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 246, 246, 0.9), rgba(232, 229, 216, 0.66));
  min-width: 0;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: var(--aged-yellow-2);
  background: linear-gradient(180deg, rgba(250, 251, 251, 0.95), rgba(230, 217, 184, 0.55));
}
.episode-number {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--shutter-blue);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--deep-brown);
  line-height: 1.25;
}
.episode-summary {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--brown-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  padding-top: 3px;
  border-top: 1px dashed var(--line);
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-columns {
  columns: 2;
  column-gap: 14px;
  column-rule: 1px solid var(--line);
}
.comment-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 246, 246, 0.92), rgba(226, 231, 233, 0.62));
  border-left: 3px solid var(--cold-white-2);
}
.comment-card:nth-child(2n) {
  border-left-color: var(--aged-yellow-2);
  background: linear-gradient(180deg, rgba(240, 233, 216, 0.9), rgba(226, 231, 233, 0.55));
}
.comment-nickname {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--shutter-blue-2);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--brown-2);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.recommend-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--brown-3);
  padding-left: 8px;
  border-left: 3px solid var(--aged-yellow-2);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 246, 246, 0.9), rgba(220, 219, 206, 0.68));
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--shutter-blue);
  background: linear-gradient(180deg, rgba(251, 253, 253, 0.96), rgba(230, 217, 184, 0.6));
  box-shadow: 0 10px 20px -18px rgba(26, 21, 18, 0.95);
}
[data-runtime="recommendation"] img.recommend-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cold-white-2);
  border: 1px solid var(--line);
}
.recommend-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--deep-brown);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--brown-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 2.2vw, 22px) clamp(10px, 3vw, 26px) clamp(18px, 2.6vw, 30px);
  background: linear-gradient(180deg, rgba(109, 124, 136, 0.16), rgba(75, 89, 99, 0.32) 55%, rgba(42, 32, 26, 0.55));
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--cold-white);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
a[data-contract="footer-home"].footer-link {
  color: var(--cold-white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--aged-yellow-2);
  white-space: nowrap;
}
a[data-contract="footer-home"].footer-link:hover {
  color: var(--aged-yellow);
  border-bottom-color: var(--cold-white);
}
a[data-contract="footer-sitemap"].footer-link {
  color: rgba(238, 241, 242, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(216, 199, 155, 0.7);
  text-underline-offset: 3px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--aged-yellow);
  text-decoration-color: var(--aged-yellow);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}
.friend-links-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--aged-yellow-2);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid rgba(238, 241, 242, 0.3);
}
a.runtime-friend-link {
  color: rgba(238, 241, 242, 0.8);
  text-decoration: none;
  font-size: 0.68rem;
  padding: 2px 7px;
  border: 1px solid rgba(238, 241, 242, 0.22);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--deep-brown);
  background: linear-gradient(180deg, var(--aged-yellow), var(--aged-yellow-2));
  border-color: var(--aged-yellow-2);
}
.footer-disclaimer {
  font-size: 0.66rem;
  line-height: 1.6;
  color: rgba(238, 241, 242, 0.66);
  max-width: 72ch;
  border-top: 1px solid rgba(238, 241, 242, 0.18);
  padding-top: 8px;
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 760px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-media-wrap {
    max-width: 260px;
  }
.synopsis-columns {
    columns: 1;
    column-rule: none;
  }
.comment-columns {
    columns: 1;
    column-rule: none;
  }
.timeline-list {
    padding-left: 16px;
  }}
@media (max-width: 560px) {body {
    line-height: 1.4;
  }
.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
.category-bar {
    justify-content: flex-start;
    width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-btn {
    font-size: 0.64rem;
    padding: 4px 7px;
  }
.player-range {
    flex: 1 1 100%;
  }
.poster-media-wrap {
    max-width: 200px;
  }
.movie-title {
    font-size: 1.3rem;
  }}
@media (max-width: 380px) {.recommend-grid, .cast-strip {
    grid-template-columns: 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}
