*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, figcaption, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:root {
  --ink: #0a1416;
  --ink-2: #0f2022;
  --ink-3: #143033;
  --panel: #0d1d20;
  --panel-2: #11282b;
  --rust: #a83a22;
  --rust-2: #c4522f;
  --rust-deep: #6e2416;
  --lantern: #e8a24a;
  --lantern-dim: #b9782f;
  --jade: #6fb3a4;
  --jade-dim: #3d7a70;
  --text: #c9d6d2;
  --text-dim: #8ba09c;
  --text-faint: #5f7472;
  --line: #1e3a3c;
  --line-soft: #17302f;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(120% 60% at 78% -6%, rgba(232, 162, 74, 0.12), transparent 58%),
    radial-gradient(90% 50% at 6% 4%, rgba(168, 58, 34, 0.16), transparent 60%),
    linear-gradient(178deg, #081214 0%, #0a181a 44%, #081113 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  padding-bottom: 8px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 4px);
  opacity: 0.7;
  mix-blend-mode: overlay;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 14, 16, 0.97), rgba(8, 18, 20, 0.86));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 162, 74, 0.5) 22%, rgba(168, 58, 34, 0.55) 78%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #eef4f1;
  text-decoration: none;
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(232, 162, 74, 0.28);
  padding-left: 12px;
  border-left: 3px solid var(--rust);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--lantern);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 260px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(20, 48, 51, 0.55), rgba(10, 22, 24, 0.55));
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #f2e2c4;
  border-color: var(--rust);
  background: linear-gradient(180deg, rgba(110, 36, 22, 0.55), rgba(16, 34, 36, 0.6));
}
.page-main {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-overview {
  position: relative;
  background:
    linear-gradient(150deg, rgba(20, 48, 51, 0.92) 0%, rgba(9, 20, 22, 0.94) 46%, rgba(30, 14, 10, 0.9) 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust-deep);
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 42% at 84% 6%, rgba(232, 162, 74, 0.16), transparent 66%),
    radial-gradient(48% 40% at 12% 92%, rgba(168, 58, 34, 0.18), transparent 70%);
}
.movie-overview > * {
  position: relative;
  z-index: 1;
}
.overview-head {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-column {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0c1c1e, #081214);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(232, 162, 74, 0.06);
  align-self: start;
}
.poster-column::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(0, 0, 0, 0) 34%, rgba(4, 10, 12, 0.62) 78%, rgba(6, 12, 14, 0.88) 100%),
    radial-gradient(58% 34% at 70% 12%, rgba(232, 162, 74, 0.2), transparent 70%);
}
img.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.12) brightness(0.9);
}
.overview-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(30px, 5.4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #f4f7f5;
  text-shadow: 0 2px 0 #000, 0 0 26px rgba(168, 58, 34, 0.42), 0 0 60px rgba(232, 162, 74, 0.14);
}
.hero-tagline {
  font-family: var(--font-title);
  font-size: clamp(14px, 1.9vw, 19px);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--lantern);
  text-shadow: 0 0 16px rgba(232, 162, 74, 0.32);
  padding-left: 11px;
  border-left: 3px solid var(--rust);
}
.hero-seo {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 62ch;
  text-align: justify;
}
.episodes-meta {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #efe6d3;
  padding: 5px 12px;
  border: 1px solid var(--rust-deep);
  background: linear-gradient(180deg, rgba(110, 36, 22, 0.5), rgba(12, 26, 28, 0.7));
  box-shadow: inset 0 0 0 1px rgba(232, 162, 74, 0.08);
}
.synopsis-col {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.col-heading, .cast-heading, .episodes-heading, .comments-heading, .strip-heading {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #eef4f1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.col-heading::before, .cast-heading::before, .episodes-heading::before, .comments-heading::before, .strip-heading::before {
  content: "";
  width: 4px;
  height: 15px;
  background: linear-gradient(180deg, var(--lantern), var(--rust));
  box-shadow: 0 0 10px rgba(232, 162, 74, 0.4);
  flex: none;
}
.col-heading::after, .cast-heading::after, .episodes-heading::after, .comments-heading::after, .strip-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px 20px;
  align-items: start;
}
.synopsis-para {
  font-size: 13.2px;
  line-height: 1.72;
  color: var(--text-dim);
  text-align: justify;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:first-child {
  color: #b8c8c4;
}
.detail-strip {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 6px 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 4px 8px;
  background: linear-gradient(90deg, rgba(20, 48, 51, 0.5), rgba(20, 48, 51, 0.08));
  border-left: 2px solid var(--line);
}
.detail-row:hover {
  border-left-color: var(--rust);
  background: linear-gradient(90deg, rgba(110, 36, 22, 0.36), rgba(20, 48, 51, 0.1));
}
.detail-key {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.detail-val {
  font-size: 12.8px;
  color: #cfdcd8;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast-section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cast-figure {
  position: relative;
  border: 1px solid var(--line);
  background: #0a1719;
  overflow: hidden;
}
.cast-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 14, 16, 0) 42%, rgba(6, 14, 16, 0.82) 100%);
}
img.cast-avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.16) brightness(0.86);
  transition: filter 0.2s ease, transform 0.3s ease;
}
.cast-item:hover img.cast-avatar {
  filter: saturate(1) contrast(1.2) brightness(1);
  transform: scale(1.04);
}
.cast-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #eef4f1;
}
.cast-tag {
  font-size: 11.2px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--rust-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 4px;
  overflow-wrap: anywhere;
}
.player-shell {
  position: relative;
  background: linear-gradient(160deg, #0c1c1e, #060e10 70%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust-deep);
  box-shadow: var(--shadow);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.player-frame {
  position: relative;
  width: 100%;
  border: 1px solid #1a3436;
  background: #000;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.player-shell.lights-off {
  background: #000;
  box-shadow: 0 0 0 1px #000, 0 0 46px rgba(168, 58, 34, 0.35);
}
.player-shell.lights-off .player-controls {
  opacity: 0.32;
  transition: opacity 0.25s ease;
}
.player-shell.lights-off .player-controls:hover {
  opacity: 1;
}
.player-shell.is-playing {
  border-left-color: var(--lantern);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(20, 48, 51, 0.8), rgba(9, 20, 22, 0.9));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #f2e2c4;
  border-color: var(--rust);
  background: linear-gradient(180deg, rgba(110, 36, 22, 0.6), rgba(12, 26, 28, 0.9));
}
.ctrl-btn.is-active {
  color: #0d1a1b;
  background: linear-gradient(180deg, var(--lantern), var(--lantern-dim));
  border-color: var(--lantern);
  box-shadow: 0 0 14px rgba(232, 162, 74, 0.36);
}
.ctrl-progress {
  flex: 1 1 220px;
  min-width: 140px;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--rust-deep), var(--line));
  border: 1px solid var(--line);
  border-radius: 1px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 74px;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--jade-dim), var(--line));
  border: 1px solid var(--line);
  border-radius: 1px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 14px;
  background: linear-gradient(180deg, #f0d9a8, var(--lantern-dim));
  border: 1px solid #2a1a10;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(232, 162, 74, 0.5);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 14px;
  background: linear-gradient(180deg, #f0d9a8, var(--lantern-dim));
  border: 1px solid #2a1a10;
  border-radius: 1px;
}
.player-shell.fullscreen, .player-shell.theater {
  border-color: var(--lantern);
}
body.theater-mode .site-header {
  opacity: 0.35;
}
body.theater-mode .page-main {
  gap: 10px;
}
.timeline-col {
  background: linear-gradient(180deg, rgba(13, 29, 32, 0.78), rgba(8, 18, 20, 0.62));
  border: 1px solid var(--line);
  border-left: 3px solid var(--jade-dim);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 8px 22px;
  padding-left: 18px;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 5px;
  width: 3px;
  background:
    repeating-linear-gradient(180deg, #2a4a4c 0 12px, #14282a 12px 20px),
    linear-gradient(180deg, var(--rust), var(--jade-dim));
  background-blend-mode: overlay;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}
.timeline-node {
  position: relative;
  padding: 6px 8px 8px 14px;
  border-left: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(20, 48, 51, 0.4), rgba(20, 48, 51, 0));
  transition: background 0.18s ease, border-color 0.18s ease;
}
.timeline-node:hover {
  border-left-color: var(--rust);
  background: linear-gradient(90deg, rgba(110, 36, 22, 0.34), rgba(20, 48, 51, 0));
}
.node-marker {
  position: absolute;
  left: -22px;
  top: 12px;
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, #d9e6e2 0%, var(--jade) 46%, #26514b 100%);
  transform: rotate(45deg);
  border: 1px solid #0a1a1c;
  box-shadow: 0 0 10px rgba(111, 179, 164, 0.5), inset 0 0 3px rgba(0, 0, 0, 0.5);
  clip-path: polygon(50% 0, 100% 42%, 78% 100%, 22% 100%, 0 42%);
}
.timeline-node:hover .node-marker {
  background: linear-gradient(135deg, #f0d9a8 0%, var(--lantern) 48%, var(--rust-deep) 100%);
  box-shadow: 0 0 14px rgba(232, 162, 74, 0.6);
}
.node-timecode {
  display: block;
  font-family: var(--font-title);
  font-size: 12.4px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--lantern);
  margin-bottom: 3px;
}
.node-label {
  font-size: 12.4px;
  line-height: 1.58;
  color: var(--text-dim);
  text-align: justify;
}
.episodes-section {
  background: linear-gradient(180deg, rgba(10, 22, 24, 0.8), rgba(8, 16, 18, 0.6));
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust-deep);
  padding: 12px 0 12px 14px;
  box-shadow: var(--shadow);
}
.episodes-head {
  padding-right: 14px;
}
.episodes-heading {
  margin-bottom: 10px;
}
.episodes-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 226px);
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 14px 14px 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-deep) #0b181a;
}
.episodes-scroller::-webkit-scrollbar {
  height: 11px;
}
.episodes-scroller::-webkit-scrollbar-track {
  background: repeating-linear-gradient(90deg, #0b181a 0 6px, #122a2c 6px 12px);
  border: 1px solid var(--line);
}
.episodes-scroller::-webkit-scrollbar-thumb {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, var(--rust), var(--rust-deep));
  border: 1px solid #2a1109;
  box-shadow: inset 0 0 0 1px rgba(232, 162, 74, 0.16);
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 100%;
  padding: 10px 10px 12px;
  background: linear-gradient(165deg, rgba(20, 48, 51, 0.85), rgba(9, 19, 21, 0.92));
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--rust-deep);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--rust);
  border-bottom-color: var(--lantern);
  transform: translateY(-3px);
  background: linear-gradient(165deg, rgba(110, 36, 22, 0.4), rgba(9, 19, 21, 0.94));
}
.ep-num {
  font-family: var(--font-title);
  font-size: 11.4px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--rust-2);
}
.ep-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef4f1;
  line-height: 1.24;
}
.ep-summary {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--text-dim);
  flex: 1 1 auto;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-duration {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--jade);
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
  width: 100%;
}
.comments-section {
  background: linear-gradient(180deg, rgba(13, 29, 32, 0.7), rgba(8, 16, 18, 0.55));
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust-deep);
  padding: 12px 14px 14px;
  box-shadow: var(--shadow);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comments-col-right {
  margin-top: 14px;
}
.comment-note {
  position: relative;
  padding: 10px 12px 12px;
  background:
    linear-gradient(170deg, rgba(226, 214, 186, 0.94), rgba(206, 192, 160, 0.88));
  color: #241a12;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  border-left: 3px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 92% 100%, 78% calc(100% - 5px), 60% 100%, 44% calc(100% - 6px), 26% 100%, 12% calc(100% - 4px), 0 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-note:nth-child(even) {
  transform: rotate(-0.6deg);
}
.comment-note:nth-child(odd) {
  transform: rotate(0.5deg);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
}
.note-text {
  font-size: 12.8px;
  line-height: 1.6;
  text-align: justify;
  color: #241a12;
}
.note-sign {
  display: block;
  margin-top: 7px;
  font-family: var(--font-title);
  font-size: 11.4px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #6e2416;
  text-align: right;
}
.note-sign::before {
  content: "— ";
}
.recommend-region {
  background: linear-gradient(180deg, rgba(11, 25, 27, 0.8), rgba(8, 16, 18, 0.6));
  border: 1px solid var(--line);
  padding: 11px 12px 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.region-wide {
  border-top: 2px solid var(--rust-deep);
}
.region-mid {
  border-top: 2px solid var(--jade-dim);
}
.rec-heading {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #eef4f1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.rec-heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: linear-gradient(180deg, var(--lantern), var(--rust));
  flex: none;
}
.rec-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.rec-list {
  display: grid;
  gap: 8px;
  align-items: start;
  min-width: 0;
}
.region-wide .rec-list {
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}
.region-mid .rec-list {
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
}
a.rec-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-content: start;
  align-items: start;
  padding: 6px;
  background: linear-gradient(150deg, rgba(20, 48, 51, 0.6), rgba(9, 19, 21, 0.72));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: var(--rust);
  background: linear-gradient(150deg, rgba(110, 36, 22, 0.42), rgba(9, 19, 21, 0.8));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-soft);
  filter: saturate(0.78) contrast(1.12) brightness(0.88);
  transition: filter 0.2s ease;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) contrast(1.16) brightness(1);
}
.rec-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef4f1;
  line-height: 1.3;
  align-self: start;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.6px;
  line-height: 1.5;
  color: var(--text-dim);
  align-self: start;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-main {
  grid-auto-flow: row;
}
.region-wide {
  grid-column: 1 / -1;
}
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 14, 16, 0.9), rgba(4, 10, 12, 1));
  padding: 16px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 58, 34, 0.6), transparent);
}
.footer-top {
  max-width: 1320px;
  margin: 0 auto 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--lantern);
  border-bottom-color: var(--rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 1320px;
  margin: 0 auto 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--rust-2);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.8px;
  color: var(--text-faint);
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(20, 48, 51, 0.34);
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--jade);
  border-color: var(--jade-dim);
}
.footer-disclaimer {
  max-width: 1320px;
  margin: 0 auto;
  font-size: 11.6px;
  line-height: 1.6;
  color: var(--text-faint);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--lantern);
  outline-offset: 2px;
}
@media (max-width: 900px) {.overview-head {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 320px;
  }
.comments-col-right {
    margin-top: 0;
  }}
@media (max-width: 680px) {.page-main {
    padding: 10px 10px 20px;
    gap: 11px;
  }
.movie-overview {
    padding: 11px;
    gap: 11px;
  }
.hero-title {
    letter-spacing: 0.04em;
  }
.hero-tagline {
    letter-spacing: 0.1em;
  }
.poster-column {
    max-width: 260px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
  }
.timeline-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.timeline-rail::before {
    left: 4px;
  }
.episodes-scroller {
    grid-auto-columns: minmax(196px, 78vw);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comments-col-right {
    margin-top: 0;
  }
.region-mid .rec-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.site-footer {
    padding: 13px 11px;
  }}
@media (max-width: 430px) {.header-inner {
    gap: 10px;
    padding: 8px 11px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
    letter-spacing: 0.1em;
  }
a.runtime-category {
    font-size: 11.6px;
    padding: 3px 8px;
  }
.hero-title {
    font-size: 30px;
  }
.poster-column {
    max-width: 220px;
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
.ctrl-btn {
    font-size: 11.2px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 0;
  }
.region-wide .rec-list, .region-mid .rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
a.rec-item {
    grid-template-columns: 64px 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}
