:root {
  --abyss: #050c18;
  --deep: #0a1526;
  --deep-2: #0e1d33;
  --deep-3: #132a45;
  --hull: #1b3654;
  --straw: #f0c33c;
  --straw-bright: #ffd95e;
  --straw-dim: #b8901f;
  --foam: #e8eef6;
  --foam-dim: #93a7bd;
  --foam-faint: #5f7590;
  --line: rgba(240, 195, 60, 0.16);
  --line-cool: rgba(147, 167, 189, 0.16);
  --radius-card: 12px;
  --radius-pill: 999px;
  --gap-tight: 10px;
  --gap: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  font-family: var(--font);
  font-weight: 500;
  background: var(--abyss);
  color: var(--foam);
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lights-off {
  background: #01050c;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.45);
  transition: filter 0.35s ease;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.96), rgba(5, 12, 24, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 18px;
}
.site-brand, a[data-contract="site-name"] {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--straw-bright);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(240, 195, 60, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.42em;
  border-radius: 40% 40% 50% 50%;
  background: var(--straw);
  box-shadow: 0 0.28em 0 -0.1em var(--straw-dim);
  vertical-align: 0.02em;
}
a[data-contract="site-name"]:hover {
  color: #fff3c4;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foam-dim);
  text-decoration: none;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-pill);
  background: rgba(19, 42, 69, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--abyss);
  background: var(--straw);
  border-color: var(--straw);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--foam);
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--straw);
  display: inline-block;
  text-shadow: 0 0 14px rgba(240, 195, 60, 0.18);
}
.hero-banner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 78% 12%, #12294a 0%, #081426 46%, #040a13 100%);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0) 0%, rgba(5, 12, 24, 0.85) 70%, rgba(5, 12, 24, 0.98) 100%);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: 96%;
  height: 78%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 195, 60, 0.14), rgba(240, 195, 60, 0) 72%);
}
.hero-figure-silhouette {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 46%;
  min-width: 230px;
  height: 92%;
  display: block;
}
.hero-figure-mast {
  position: absolute;
  left: 22%;
  bottom: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, rgba(240, 195, 60, 0.5), rgba(9, 20, 35, 0.95));
  border-radius: 3px;
}
.hero-figure-mast::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--straw);
  border-radius: 3px;
  box-shadow: 0 0 22px rgba(240, 195, 60, 0.6);
}
.hero-figure-mast::after {
  content: "";
  position: absolute;
  top: 16%;
  left: -34px;
  width: 74px;
  height: 3px;
  background: rgba(147, 167, 189, 0.42);
  border-radius: 2px;
  box-shadow: 0 30px 0 rgba(147, 167, 189, 0.28), 0 62px 0 rgba(147, 167, 189, 0.2);
}
.hero-figure-sail {
  position: absolute;
  left: 25%;
  bottom: 12%;
  width: 64%;
  height: 62%;
  background: linear-gradient(150deg, rgba(240, 195, 60, 0.22), rgba(19, 42, 69, 0.55) 58%, rgba(5, 12, 24, 0.9));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  border-radius: 0 0 8px 0;
}
.hero-figure-sail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 195, 60, 0.45) 0 2px, transparent 2px 100%);
  clip-path: inherit;
}
.hero-figure-silhouette::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 92%;
  height: 16%;
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.95), rgba(3, 8, 15, 1));
  border-radius: 60% 40% 0 0 / 90% 70% 0 0;
  border-top: 2px solid rgba(240, 195, 60, 0.32);
}
.hero-progress-ring {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  background:
    conic-gradient(from -90deg, var(--straw) 0turn, var(--straw-bright) 0.82turn, rgba(19, 42, 69, 0.9) 0.82turn 1turn);
  box-shadow: 0 0 0 1px rgba(240, 195, 60, 0.3), 0 12px 30px rgba(0, 0, 0, 0.5);
}
.hero-progress-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #12253f, #050c18 74%);
  border: 1px solid rgba(240, 195, 60, 0.22);
}
.ring-episode-current, .ring-episode-total {
  position: relative;
  z-index: 1;
}
.ring-episode-current {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--straw-bright);
  letter-spacing: 0.02em;
}
.ring-episode-total {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--foam-faint);
  letter-spacing: 0.06em;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding-right: 132px;
}
.hero-tagline {
  max-width: 620px;
}
.hero-title {
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.65), 0 0 32px rgba(240, 195, 60, 0.18);
}
.tagline-text {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--straw);
}
.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.keyword-chip {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--straw);
  border: 1px solid rgba(240, 195, 60, 0.45);
  border-radius: 4px 12px 4px 12px;
  background: rgba(240, 195, 60, 0.08);
  backdrop-filter: blur(2px);
}
.movie-info-unit {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 29, 51, 0.82), rgba(6, 14, 26, 0.92));
  border: 1px solid var(--line-cool);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.45);
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.poster-wrapper {
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(240, 195, 60, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  background: #081326;
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.poster-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 260px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(19, 42, 69, 0.6);
  border: 1px solid var(--line-cool);
}
.poster-rating {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--straw);
  letter-spacing: 0.04em;
}
.poster-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--foam-faint);
  letter-spacing: 0.08em;
}
.info-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.player-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #01060e;
  border: 1px solid rgba(240, 195, 60, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.player-wrapper.is-theater {
  box-shadow: 0 0 0 2px var(--straw), 0 22px 60px rgba(0, 0, 0, 0.7);
}
.player-wrapper video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(13, 28, 48, 0.95), rgba(6, 14, 26, 0.98));
  border-top: 1px solid var(--line-cool);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foam);
  background: rgba(27, 54, 84, 0.7);
  border: 1px solid rgba(147, 167, 189, 0.24);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  background: var(--straw);
  border-color: var(--straw);
  color: var(--abyss);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  background: var(--straw);
  border-color: var(--straw-bright);
  color: var(--abyss);
  box-shadow: 0 0 14px rgba(240, 195, 60, 0.45);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(147, 167, 189, 0.28);
  border-radius: var(--radius-pill);
  cursor: pointer;
  accent-color: var(--straw);
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--straw);
  border: 2px solid #081326;
  box-shadow: 0 0 10px rgba(240, 195, 60, 0.6);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #081326;
  border-radius: 50%;
  background: var(--straw);
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 64px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(147, 167, 189, 0.28);
  border-radius: var(--radius-pill);
  cursor: pointer;
  accent-color: var(--straw);
}
.ctrl-volume.is-muted {
  opacity: 0.55;
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--foam);
  background: rgba(27, 54, 84, 0.7);
  border: 1px solid rgba(147, 167, 189, 0.24);
  border-radius: 8px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(19, 42, 69, 0.42);
  border: 1px solid var(--line);
}
.status-current {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--straw-bright);
  letter-spacing: 0.04em;
}
.status-total {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--foam-faint);
  letter-spacing: 0.06em;
}
.status-bar-shell {
  flex: 1 1 160px;
  min-width: 120px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(5, 12, 24, 0.85);
  border: 1px solid var(--line-cool);
  overflow: hidden;
}
.status-bar-fill {
  width: 98.6%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--straw-dim), var(--straw), var(--straw-bright));
  box-shadow: 0 0 12px rgba(240, 195, 60, 0.5);
}
.details-grid {
  border-radius: 10px;
  border: 1px solid var(--line-cool);
  background: rgba(8, 19, 35, 0.55);
  padding: 6px 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 16px;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(147, 167, 189, 0.16);
  font-size: 0.78rem;
  line-height: 1.35;
}
.detail-list .detail-pair:last-child {
  border-bottom: 1px dashed rgba(147, 167, 189, 0.16);
}
.detail-pair dt {
  flex: 0 0 auto;
  color: var(--foam-faint);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.detail-pair dd {
  flex: 1 1 auto;
  text-align: right;
  color: var(--foam);
  font-weight: 700;
}
.cast-strip {
  border-radius: 10px;
  border: 1px solid var(--line-cool);
  background: rgba(8, 19, 35, 0.55);
  padding: 10px 12px 12px;
}
.cast-heading {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-member {
  flex: 1 1 88px;
  min-width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(27, 54, 84, 0.55), rgba(10, 21, 38, 0.7));
  border: 1px solid rgba(147, 167, 189, 0.14);
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-member:hover {
  border-color: rgba(240, 195, 60, 0.5);
  transform: translateY(-2px);
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(240, 195, 60, 0.5), rgba(19, 42, 69, 0.9) 62%),
    linear-gradient(140deg, #1b3654, #081326);
  border: 2px solid rgba(240, 195, 60, 0.4);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}
.cast-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--foam);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--straw-dim);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.synopsis-section {
  border-radius: 10px;
  border: 1px solid var(--line-cool);
  background: rgba(8, 19, 35, 0.55);
  padding: 12px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.synopsis-paragraph {
  position: relative;
  padding-left: 12px;
  font-size: 0.82rem;
  line-height: 1.62;
  color: #c3d2e2;
  text-align: justify;
}
.synopsis-paragraph::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  bottom: 0.42em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--straw), rgba(240, 195, 60, 0.1));
}
.timeline-section {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 21, 38, 0.8), rgba(5, 12, 24, 0.9));
  padding: 16px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  gap: 10px;
  padding-top: 22px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2b4c72, #3f6a95 38%, var(--straw-dim) 76%, var(--straw-bright));
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  padding: 12px 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(147, 167, 189, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.node-buoy {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 34% 30%, #ffe9a3, var(--straw) 58%, #8a6a12);
  border: 2px solid #081326;
  box-shadow: 0 0 12px rgba(240, 195, 60, 0.6);
}
.node-buoy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 6px;
  transform: translateX(-50%);
  background: rgba(240, 195, 60, 0.55);
}
.node-timecode {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--straw-bright);
}
.node-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: #b9c9db;
}
.depth-1 {
  background: linear-gradient(180deg, rgba(58, 102, 150, 0.55), rgba(15, 33, 56, 0.85));
}
.depth-2 {
  background: linear-gradient(180deg, rgba(47, 87, 133, 0.58), rgba(13, 29, 50, 0.87));
}
.depth-3 {
  background: linear-gradient(180deg, rgba(37, 72, 114, 0.6), rgba(11, 25, 44, 0.89));
}
.depth-4 {
  background: linear-gradient(180deg, rgba(27, 56, 92, 0.62), rgba(9, 21, 38, 0.91));
}
.depth-5 {
  background: linear-gradient(180deg, rgba(18, 41, 70, 0.66), rgba(7, 17, 32, 0.93));
}
.depth-6 {
  background: linear-gradient(180deg, rgba(10, 26, 48, 0.7), rgba(5, 12, 24, 0.96));
  border-color: rgba(240, 195, 60, 0.28);
}
.episodes-section {
  border-radius: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(7, 15, 28, 0.6);
  padding: 16px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 42, 69, 0.55), rgba(8, 18, 33, 0.8));
  border: 1px solid rgba(147, 167, 189, 0.16);
  border-left: 3px solid rgba(240, 195, 60, 0.42);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(240, 195, 60, 0.55);
  border-left-color: var(--straw-bright);
  background: linear-gradient(180deg, rgba(27, 54, 84, 0.72), rgba(10, 22, 40, 0.9));
  transform: translateY(-2px);
}
.episode-number {
  align-self: flex-start;
  padding: 2px 9px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--abyss);
  background: var(--straw);
  border-radius: 3px 10px 3px 10px;
}
.episode-title {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.episode-summary {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #a9bbcf;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foam-faint);
}
.episode-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--straw);
  border-top: 1px dashed rgba(240, 195, 60, 0.24);
  transition: max-height 0.28s ease, opacity 0.24s ease, padding-top 0.28s ease;
}
.episode-card:hover .episode-more, .episode-card:focus-within .episode-more {
  max-height: 60px;
  opacity: 1;
  padding-top: 7px;
}
.comments-section {
  border-radius: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(7, 15, 28, 0.6);
  padding: 16px;
}
.comments-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 42, 69, 0.5), rgba(8, 18, 33, 0.78));
  border: 1px solid rgba(147, 167, 189, 0.14);
}
.comments-flow .comment-card:nth-child(even) {
  margin-left: 22px;
  background: linear-gradient(180deg, rgba(27, 54, 84, 0.5), rgba(6, 14, 26, 0.82));
  border-color: rgba(240, 195, 60, 0.16);
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(240, 195, 60, 0.55), rgba(19, 42, 69, 0.95) 66%),
    linear-gradient(140deg, #1b3654, #081326);
  border: 1.5px solid rgba(240, 195, 60, 0.42);
}
.comment-nickname {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--straw);
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #b8c8da;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  border-radius: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(7, 15, 28, 0.6);
  padding: 16px;
}
.recommend-heading {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--foam);
  padding-bottom: 5px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--straw);
}
.recommend-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-scroller::-webkit-scrollbar {
  height: 6px;
}
.recommend-scroller::-webkit-scrollbar-track {
  background: rgba(19, 42, 69, 0.5);
  border-radius: var(--radius-pill);
}
.recommend-scroller::-webkit-scrollbar-thumb {
  background: rgba(240, 195, 60, 0.5);
  border-radius: var(--radius-pill);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 42, 69, 0.6), rgba(8, 18, 33, 0.85));
  border: 1px solid rgba(147, 167, 189, 0.16);
  color: var(--foam);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--straw);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 195, 60, 0.35);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 7px;
  background: #081326;
  border: 1px solid rgba(147, 167, 189, 0.14);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.7rem;
  line-height: 1.45;
  color: #9db0c5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.9), rgba(2, 6, 12, 1));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--foam-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foam-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--straw-bright);
  border-bottom-color: var(--straw-bright);
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(147, 167, 189, 0.16);
}
.friend-links-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--straw);
}
a.runtime-friend-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--foam-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--straw-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.hero-content {
    padding-right: 0;
  }
.hero-figure-silhouette {
    width: 62%;
    opacity: 0.7;
  }
.hero-progress-ring {
    width: 96px;
    height: 96px;
    top: 12px;
    right: 12px;
  }
.ring-episode-current {
    font-size: 0.76rem;
  }
.ring-episode-total {
    font-size: 0.62rem;
  }
.comments-flow .comment-card:nth-child(even) {
    margin-left: 0;
  }}
@media (min-width: 720px) {.movie-info-unit {
    grid-template-columns: minmax(180px, 236px) minmax(0, 1fr);
    align-items: start;
  }
.synopsis-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 980px) {.page-main {
    padding: 20px 22px 42px;
    gap: 30px;
  }
.hero-banner {
    padding: 26px 26px 22px;
  }
.movie-info-unit {
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-scroller {
    grid-auto-columns: minmax(190px, 1fr);
  }}
@media (min-width: 1180px) {.recommend-scroller {
    grid-auto-columns: minmax(210px, 1fr);
  }}
@media (max-width: 460px) {.header-shell {
    padding: 8px 12px;
  }
.site-brand, a[data-contract="site-name"] {
    font-size: 0.96rem;
  }
.page-main {
    padding: 12px 12px 26px;
    gap: 20px;
  }
.hero-banner {
    padding: 16px 14px 14px;
    border-radius: 12px;
  }
.hero-figure-silhouette {
    width: 78%;
    opacity: 0.55;
  }
.movie-info-unit, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 12px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-member {
    flex: 1 1 72px;
    min-width: 66px;
  }
.ctrl-btn {
    padding: 5px 9px;
    font-size: 0.7rem;
  }
.footer-inner {
    padding: 16px 12px 22px;
  }}

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}
