:root {
  --cream: #fbf3e6;
  --cream-deep: #f3e5cf;
  --caramel: #8a5524;
  --caramel-dark: #5e3512;
  --caramel-soft: #c98b4b;
  --rain-blue: #1d3557;
  --rain-blue-soft: #35547e;
  --alert: #f2b705;
  --ink: #2a1c0e;
  --ink-soft: #6b5844;
  --line: rgba(138, 85, 36, 0.28);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 6px rgba(42, 28, 14, 0.12);
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 6%, rgba(242, 183, 5, 0.1), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(29, 53, 87, 0.14), transparent 40%),
    linear-gradient(180deg, #fdf7ec 0%, #f7ecd9 45%, #fbf3e6 100%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
ul, ol {
  list-style: none;
}
::selection {
  background: var(--alert);
  color: var(--ink);
}
.page-main {
  display: block;
  padding: 0 14px 26px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--caramel-dark);
  padding-left: 9px;
  border-left: 3px solid var(--alert);
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(29, 53, 87, 0.97), rgba(29, 53, 87, 0.9));
  border-bottom: 2px solid var(--alert);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
a[data-contract="site-name"].site-brand {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--alert);
  border-bottom-color: var(--alert);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  color: var(--cream-deep);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(251, 243, 230, 0.35);
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  background: var(--alert);
  color: var(--rain-blue);
  border-color: var(--alert);
}
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-areas:
    "visual info"
    "cast cast"
    "synopsis synopsis"
    "status status"
    "details details";
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(140deg, rgba(29, 53, 87, 0.94) 0%, rgba(29, 53, 87, 0.86) 38%, rgba(94, 53, 18, 0.9) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual {
  grid-area: visual;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  align-self: start;
  background: var(--rain-blue);
}
.poster-frame {
  display: block;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid rgba(251, 243, 230, 0.55);
  background: var(--rain-blue);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29, 53, 87, 0.1), rgba(29, 53, 87, 0.62) 78%),
    linear-gradient(180deg, transparent 55%, rgba(20, 12, 4, 0.55));
}
.hero-info-panel {
  grid-area: info;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
}
.frosted-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 14px 16px 16px;
  border-radius: 3px;
  border: 1px solid rgba(251, 243, 230, 0.5);
  background:
    linear-gradient(160deg, rgba(251, 243, 230, 0.92), rgba(243, 229, 207, 0.82));
  backdrop-filter: blur(7px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 6px 18px rgba(20, 12, 4, 0.34);
}
.frosted-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.85), transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(242, 183, 5, 0.18), transparent 46%);
  mix-blend-mode: screen;
}
.movie-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--caramel-dark);
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 5.4em;
  margin: 0 0 0 auto;
  padding-left: 4px;
  border-left: 2px solid var(--caramel);
  font-stretch: condensed;
}
.movie-tagline {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  border-left: 3px solid var(--alert);
  padding-left: 9px;
  line-height: 1.5;
}
.hero-meta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--caramel-dark);
}
.meta-rating {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--caramel);
  letter-spacing: 0.02em;
}
.meta-sep {
  color: var(--line);
}
.meta-year {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--rain-blue);
}
.meta-region, .meta-genre {
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-play {
  position: relative;
  border: none;
  cursor: pointer;
  padding: 9px 22px 9px 34px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--alert), #d99b00);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  box-shadow: 0 3px 0 var(--caramel-dark), 0 6px 14px rgba(20, 12, 4, 0.3);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.18s ease;
}
.btn-play::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--caramel-dark);
}
.btn-play:hover, .btn-play:focus-visible {
  background: linear-gradient(180deg, #ffd24a, var(--alert));
  transform: translateY(-1px);
}
.btn-play:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--caramel-dark);
}
.cast-section {
  grid-area: cast;
  min-width: 0;
  padding-top: 4px;
}
.cast-heading {
  color: var(--alert);
  border-left-color: var(--cream);
}
.cast-strip {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background:
    linear-gradient(150deg, rgba(201, 139, 75, 0.95), rgba(94, 53, 18, 0.95)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 6px, transparent 6px 12px);
  border: 2px solid rgba(251, 243, 230, 0.6);
  box-shadow: 0 2px 5px rgba(20, 12, 4, 0.35);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: 34%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(251, 243, 230, 0.28);
  box-shadow: 0 22px 0 8px rgba(251, 243, 230, 0.2);
}
.cast-name {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10.5px;
  color: rgba(251, 243, 230, 0.62);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section {
  grid-area: synopsis;
  min-width: 0;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(251, 243, 230, 0.22);
}
.synopsis-heading {
  color: var(--alert);
  border-left-color: var(--cream);
}
.synopsis-body {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(251, 243, 230, 0.88);
  text-align: justify;
  border-left: 2px solid rgba(242, 183, 5, 0.28);
  padding-left: 9px;
}
.episode-status-section {
  grid-area: status;
  min-width: 0;
}
.status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 2px;
  background: rgba(20, 12, 4, 0.42);
  border: 1px solid rgba(251, 243, 230, 0.22);
  border-left: 3px solid var(--alert);
  font-size: 12.5px;
  color: var(--cream);
}
.status-current {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-sep {
  color: rgba(251, 243, 230, 0.4);
}
.status-total {
  font-family: var(--mono);
  color: var(--alert);
  letter-spacing: 0.04em;
}
.status-badge {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 2px 9px;
  border-radius: 2px;
  background: var(--alert);
  color: var(--rain-blue);
  font-weight: 700;
}
.details-section {
  grid-area: details;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(251, 243, 230, 0.22);
}
.details-heading {
  color: var(--alert);
  border-left-color: var(--cream);
}
.details-list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: rgba(251, 243, 230, 0.16);
  border: 1px solid rgba(251, 243, 230, 0.16);
  border-radius: 2px;
  overflow: hidden;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  background: rgba(29, 53, 87, 0.5);
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(251, 243, 230, 0.6);
}
.detail-value {
  font-size: 12.5px;
  color: var(--cream);
  word-break: break-word;
}
.detail-mono {
  font-family: var(--mono);
  color: var(--alert);
  letter-spacing: 0.04em;
}
.player-section {
  margin-top: 18px;
  padding: 12px;
  border-radius: 4px;
  background: linear-gradient(180deg, #1b2f4d, #14223a 70%, #241a10);
  border: 1px solid var(--rain-blue-soft);
  box-shadow: var(--shadow);
}
.player-wrapper {
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(251, 243, 230, 0.22);
  background: #0b1220;
  transition: box-shadow 0.2s ease;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  background: #0b1220;
}
.player-controls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.ctrl-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid rgba(251, 243, 230, 0.32);
  background: rgba(251, 243, 230, 0.08);
  color: var(--cream);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  background: var(--alert);
  border-color: var(--alert);
  color: var(--rain-blue);
}
.ctrl-btn.is-active {
  background: var(--alert);
  border-color: var(--alert);
  color: var(--rain-blue);
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 0;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(251, 243, 230, 0.24);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--alert);
  border: 2px solid var(--cream);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--alert);
}
.ctrl-volume {
  flex: 0 1 100px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(251, 243, 230, 0.24);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
}
.ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--cream);
}
.ctrl-speed {
  font-size: 12px;
  font-family: var(--mono);
  padding: 5px 8px;
  border-radius: 2px;
  border: 1px solid rgba(251, 243, 230, 0.32);
  background: rgba(251, 243, 230, 0.08);
  color: var(--cream);
  cursor: pointer;
}
.ctrl-speed option {
  color: var(--ink);
}
body.is-lights-off {
  background: #0a0d14;
}
body.is-lights-off .page-main, body.is-lights-off .site-header, body.is-lights-off .site-footer {
  filter: brightness(0.62);
}
body.is-lights-off .player-section, body.is-lights-off .player-section * {
  filter: brightness(1.14);
}
.player-wrapper.is-theater {
  box-shadow: 0 0 0 2px var(--alert), 0 10px 34px rgba(0, 0, 0, 0.6);
}
.timeline-section {
  margin-top: 18px;
  padding: 12px 12px 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--rain-blue) 0%, #22334f 100%);
  border: 1px solid var(--rain-blue-soft);
  box-shadow: var(--shadow);
}
.timeline-heading {
  color: var(--alert);
  border-left-color: var(--cream);
}
.timeline-track {
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--alert) rgba(251, 243, 230, 0.14);
  scrollbar-width: thin;
}
.timeline-track::-webkit-scrollbar {
  height: 8px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(251, 243, 230, 0.14);
  border-radius: 4px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--alert);
  border-radius: 4px;
}
.timeline-perforated {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 100%;
  width: max-content;
  padding: 16px 0;
  border-top: 2px dashed rgba(251, 243, 230, 0.34);
  border-bottom: 2px dashed rgba(251, 243, 230, 0.34);
  background-image:
    repeating-linear-gradient(90deg, rgba(251, 243, 230, 0.9) 0 8px, transparent 8px 22px);
  background-size: 22px 6px;
  background-repeat: repeat-x;
  background-position: top left, bottom left;
  background-clip: content-box, content-box;
}
.timeline-perforated {
  position: relative;
}
.timeline-perforated::before, .timeline-perforated::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(251, 243, 230, 0.9) 0 8px, transparent 8px 22px);
}
.timeline-perforated::before {
  top: 0;
}
.timeline-perforated::after {
  bottom: 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 20vw, 196px);
  padding: 20px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid rgba(251, 243, 230, 0.18);
}
.timeline-node:first-child {
  border-left: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  width: 15px;
  height: 15px;
  border-radius: 2px 2px 4px 4px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--caramel-soft) 62%, var(--caramel) 100%);
  border-bottom: 2px solid var(--caramel-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: rgba(251, 243, 230, 0.14);
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--alert);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(251, 243, 230, 0.9);
}
.episodes-section {
  margin-top: 18px;
  padding: 12px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fdf7ec, var(--cream-deep));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.episodes-heading {
  color: var(--caramel-dark);
}
.episodes-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 9px 10px 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-top: 3px solid var(--caramel-soft);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-top-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.episode-card:hover {
  border-top-color: var(--alert);
  background: #fffdf8;
  transform: translateY(-1px);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--rain-blue);
  font-weight: 700;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--caramel-dark);
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.2s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 6.5em;
  opacity: 1;
  margin-top: 3px;
}
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--caramel);
  border-top: 1px dotted var(--line);
  padding-top: 4px;
  width: 100%;
}
.comments-section {
  margin-top: 18px;
  padding: 12px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 183, 5, 0.14), transparent 46%),
    linear-gradient(180deg, var(--rain-blue), #16263f);
  border: 1px solid var(--rain-blue-soft);
  box-shadow: var(--shadow);
}
.comments-heading {
  color: var(--alert);
  border-left-color: var(--cream);
}
.comments-mosaic {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 9px 11px 10px;
  border-radius: 2px;
  background: rgba(251, 243, 230, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--caramel-soft);
}
.comment-note:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.6deg);
  margin-top: 6px;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 12px 12px 0;
  border-style: solid;
  border-color: transparent rgba(29, 53, 87, 0.22) transparent transparent;
}
.comment-note-a {
  border-left-color: var(--alert);
  background: linear-gradient(160deg, #fff8e6, #f6e6c8);
}
.comment-note-b {
  border-left-color: var(--rain-blue);
  background: linear-gradient(160deg, rgba(251, 243, 230, 0.96), rgba(214, 226, 240, 0.9));
}
.comment-note-c {
  border-left-color: var(--caramel);
  background: linear-gradient(160deg, #fdf1de, #f2dfc2);
}
.comment-note-d {
  border-left-color: var(--caramel-soft);
  background: linear-gradient(160deg, rgba(251, 243, 230, 0.96), rgba(238, 224, 202, 0.92));
}
.comment-note-e {
  border-left-color: var(--alert);
  background: linear-gradient(160deg, #fff6dc, #f4e3bd);
}
.comment-note-f {
  border-left-color: var(--rain-blue-soft);
  background: linear-gradient(160deg, rgba(251, 243, 230, 0.96), rgba(224, 231, 242, 0.9));
}
.comment-note-g {
  border-left-color: var(--caramel);
  background: linear-gradient(160deg, #fdf3e4, #efdcc0);
}
.comment-note-h {
  border-left-color: var(--alert);
  background: linear-gradient(160deg, #fff9ea, #f5e7c9);
}
.comment-nickname {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rain-blue);
  padding: 1px 7px;
  border-radius: 2px;
  background: rgba(242, 183, 5, 0.34);
  margin-bottom: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
main > section[data-fragment="recommendations"] {
  margin-top: 18px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
main > section[data-fragment="recommendations"] h2[data-recommendation-title] {
  color: var(--caramel-dark);
}
.recommendation-block {
  margin-top: 11px;
  display: grid;
  gap: 10px 12px;
  align-items: start;
}
.recommendation-block-1 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(201, 139, 75, 0.14), rgba(201, 139, 75, 0.04));
  border-radius: 3px;
  padding: 10px;
  border: 1px solid rgba(201, 139, 75, 0.3);
}
.recommendation-block-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(29, 53, 87, 0.1), rgba(29, 53, 87, 0.03));
  border-radius: 3px;
  padding: 10px;
  border: 1px solid rgba(29, 53, 87, 0.26);
}
.recommendation-block-3 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(242, 183, 5, 0.16), rgba(242, 183, 5, 0.04));
  border-radius: 3px;
  padding: 10px;
  border: 1px solid rgba(242, 183, 5, 0.42);
}
a.rec-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  padding: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  color: var(--ink);
  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(--caramel);
  background: #fffdf8;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: var(--rain-blue);
  border: 1px solid var(--line);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--caramel-dark);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 22px;
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, #241a10, #14100a);
  border-top: 2px solid var(--alert);
  color: rgba(251, 243, 230, 0.72);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(251, 243, 230, 0.55);
  text-align: center;
}
.footer-nav {
  max-width: 1240px;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(251, 243, 230, 0.16);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cream);
  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(--alert);
  border-bottom-color: var(--alert);
}
.footer-friend-links {
  max-width: 1240px;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 11.5px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--alert);
  padding-right: 8px;
  border-right: 1px solid rgba(251, 243, 230, 0.2);
}
a.runtime-friend-link {
  color: rgba(251, 243, 230, 0.6);
  text-decoration: none;
  border-bottom: 1px dotted rgba(251, 243, 230, 0.3);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--alert);
  border-bottom-color: var(--alert);
}
@media (max-width: 980px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "info"
      "cast"
      "synopsis"
      "status"
      "details";
  }
.hero-visual {
    max-width: 320px;
  }
.movie-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    margin: 0;
    border-left: none;
    border-bottom: 2px solid var(--caramel);
    padding: 0 0 6px;
    font-size: clamp(24px, 6vw, 32px);
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-block-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-block-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-block-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-summary {
    max-height: 6.5em;
    opacity: 1;
    margin-top: 3px;
  }}
@media (max-width: 720px) {.page-main {
    padding: 0 10px 22px;
  }
.header-inner {
    padding: 8px 10px;
  }
.hero-section, .player-section, .timeline-section, .episodes-section, .comments-section, main > section[data-fragment="recommendations"] {
    padding: 10px;
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-mosaic {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(odd), .comment-note:nth-child(even) {
    transform: none;
    margin-top: 0;
  }
.recommendation-block-1, .recommendation-block-2, .recommendation-block-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.timeline-node {
    width: 168px;
  }}
@media (max-width: 480px) {.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-block-1, .recommendation-block-2, .recommendation-block-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    gap: 8px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.status-badge {
    margin-left: 0;
  }
.ctrl-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }}

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}
