*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
a { color: inherit; text-decoration: none; }
input[type="range"] { accent-color: #b8752e; }
:root {
  --ink: #0c1015;
  --steel-900: #141b23;
  --steel-800: #1b242e;
  --steel-700: #232e3a;
  --steel-600: #2e3b49;
  --steel-500: #3d4c5c;
  --steel-400: #56687a;
  --steel-300: #7d8f9f;
  --steel-200: #a7b5c0;
  --steel-100: #ccd5dc;
  --rust: #8a4a2b;
  --rust-bright: #c0653a;
  --amber: #d9973f;
  --amber-glow: rgba(217, 151, 63, 0.55);
  --line: rgba(125, 143, 159, 0.22);
  --line-soft: rgba(125, 143, 159, 0.12);
  --font-narrow: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --pad: clamp(12px, 2.2vw, 26px);
  --gap: clamp(8px, 1.1vw, 14px);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(61, 76, 92, 0.35), transparent 62%),
    radial-gradient(900px 500px at 8% 22%, rgba(138, 74, 43, 0.16), transparent 60%),
    linear-gradient(180deg, #0c1015 0%, #10161d 42%, #0b0f14 100%);
  background-attachment: fixed;
  color: var(--steel-100);
  font-family: var(--font-narrow);
  font-size: 15px;
  font-stretch: condensed;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.site-header, .page-main, .site-footer { position: relative; z-index: 1; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 27, 35, 0.94), rgba(12, 16, 21, 0.72));
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 9px var(--pad);
  max-width: 1560px;
  margin: 0 auto;
}
.site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-100);
  text-decoration: none;
  padding-left: 10px;
  border-left: 3px solid var(--rust-bright);
  white-space: nowrap;
}
.site-brand:hover { color: var(--amber); }
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  color: var(--steel-300);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(46, 59, 73, 0.4), rgba(20, 27, 35, 0.3));
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: block;
  max-width: 1560px;
  margin: 0 auto;
  padding: var(--pad) var(--pad) 0;
}
.section-title {
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--steel-100);
  padding-left: 11px;
  border-left: 3px solid var(--rust-bright);
  line-height: 1.25;
}
.section-title::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 5px;
  background: linear-gradient(90deg, var(--rust), transparent 70%);
  opacity: 0.55;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  margin-bottom: var(--gap);
}
.section-note {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--steel-400);
  text-transform: uppercase;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, 0.72fr);
  grid-template-areas:
    "poster player timeline"
    "poster slogan timeline"
    "meta   cast   cast"
    "syn    syn    syn"
    "detail detail detail";
  gap: var(--gap);
  align-items: start;
  padding-bottom: calc(var(--pad) * 1.2);
}
.hero-poster-wrap {
  grid-area: poster;
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel-900);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
}
.hero-poster-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}
.hero-poster-crack {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, transparent 42%, rgba(192, 101, 58, 0.42) 42.6%, transparent 43.4%),
    linear-gradient(200deg, transparent 58%, rgba(217, 151, 63, 0.34) 58.5%, transparent 59.2%),
    radial-gradient(60% 42% at 62% 34%, rgba(217, 151, 63, 0.22), transparent 72%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.72);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 20, 0.86));
}
.hero-slogan-block {
  grid-area: slogan;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 12px clamp(12px, 1.6vw, 20px);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust);
  background: linear-gradient(135deg, rgba(35, 46, 58, 0.5), rgba(12, 16, 21, 0.24));
}
.hero-kicker {
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rust-bright);
}
.hero-title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.03em;
  color: var(--steel-100);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.6),
    1px 0 0 rgba(138, 74, 43, 0.5);
  background-image: repeating-linear-gradient(115deg, rgba(138, 74, 43, 0.28) 0 1px, transparent 1px 7px);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-tagline {
  font-size: clamp(12.5px, 1.15vw, 15px);
  color: var(--amber);
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line);
  padding-top: 6px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
}
.btn-play, .btn-theater, .btn-light {
  padding: 6px 14px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  border: 1px solid var(--steel-500);
  color: var(--steel-100);
  background: linear-gradient(180deg, rgba(61, 76, 92, 0.55), rgba(20, 27, 35, 0.6));
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background 0.16s linear, color 0.16s linear, border-color 0.16s linear;
}
.btn-play {
  border-color: var(--rust-bright);
  color: #f3e5d6;
  background: linear-gradient(180deg, rgba(138, 74, 43, 0.72), rgba(60, 30, 18, 0.72));
}
.btn-play:hover, .btn-play.is-playing, .btn-theater:hover, .btn-theater.is-active, .btn-light:hover, .btn-light.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.hero-desc {
  font-size: 13px;
  color: var(--steel-200);
  line-height: 1.62;
  max-width: 62ch;
}
.hero-seo {
  font-size: 11px;
  line-height: 1.5;
  color: var(--steel-400);
  max-width: 68ch;
  padding-top: 5px;
  border-top: 1px solid var(--line-soft);
}
.hero-timeline-rail {
  grid-area: timeline;
  align-self: start;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 36, 46, 0.72), rgba(12, 16, 21, 0.5));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.rail-title {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--steel-300);
  text-transform: uppercase;
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--steel-500) 0 4px, transparent 4px 9px);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "shard time"
    "shard label";
  column-gap: 8px;
  row-gap: 2px;
  align-items: baseline;
  cursor: default;
}
.timeline-shard {
  grid-area: shard;
  position: absolute;
  left: -16px;
  top: 4px;
  width: 9px;
  height: 9px;
  background: var(--steel-600);
  border: 1px solid var(--steel-400);
  transform: rotate(45deg);
  transition: background 0.16s linear, box-shadow 0.16s linear;
}
.timeline-node:hover .timeline-shard, .timeline-node.is-active .timeline-shard {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 9px var(--amber-glow);
}
.timeline-time {
  grid-area: time;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  grid-area: label;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--steel-200);
}
.hero-player-slot {
  grid-area: player;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line);
  background: #05080b;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.hero-player-slot video {
  display: block;
  width: 100%;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 36, 46, 0.85), rgba(11, 15, 20, 0.9));
}
.pc-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--steel-200);
  border: 1px solid var(--steel-600);
  background: rgba(20, 27, 35, 0.7);
  white-space: nowrap;
  transition: background 0.14s linear, color 0.14s linear, border-color 0.14s linear;
}
.pc-btn:hover, .pc-btn.is-active, .pc-btn.is-playing, .pc-btn.is-muted {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.pc-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--steel-700);
  border-radius: 0;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.pc-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--amber);
  border: none;
  border-radius: 0;
}
.pc-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--steel-700);
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 13px;
  background: var(--steel-300);
  border: none;
  cursor: pointer;
}
.pc-volume::-moz-range-thumb {
  width: 8px;
  height: 13px;
  background: var(--steel-300);
  border: none;
  border-radius: 0;
}
.hero-meta-strip {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  align-self: start;
  padding: 8px 0;
}
.meta-chip {
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--steel-200);
  border: 1px solid var(--line);
  border-left: 2px solid var(--rust);
  background: rgba(27, 36, 46, 0.55);
  white-space: nowrap;
}
.cast-section {
  grid-area: cast;
  align-self: start;
  padding: 12px clamp(12px, 1.5vw, 18px) 14px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(27, 36, 46, 0.5), rgba(12, 16, 21, 0.3));
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  background: rgba(20, 27, 35, 0.55);
  transition: border-color 0.16s linear, background 0.16s linear;
}
.cast-card:hover {
  border-color: var(--rust-bright);
  background: rgba(35, 46, 58, 0.7);
}
.cast-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(70% 60% at 50% 28%, rgba(125, 143, 159, 0.34), transparent 70%),
    repeating-linear-gradient(135deg, rgba(86, 104, 122, 0.28) 0 6px, rgba(20, 27, 35, 0.28) 6px 12px),
    var(--steel-800);
  border: 1px solid var(--steel-600);
  filter: saturate(0.6);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 11px;
  color: var(--steel-400);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-section {
  grid-area: syn;
  padding: 12px clamp(12px, 1.5vw, 18px) 14px;
  border: 1px solid var(--line-soft);
  border-top: 1px solid var(--line);
  background: rgba(16, 22, 29, 0.55);
}
.synopsis-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 34px);
  margin-top: 10px;
  align-items: start;
}
.synopsis-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.synopsis-col + .synopsis-col {
  padding-left: clamp(12px, 2.4vw, 34px);
  border-left: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel-200);
  text-indent: 1.5em;
}
.detail-section {
  grid-area: detail;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: var(--gap);
  align-items: start;
}
.episode-status, .details-panel {
  padding: 12px clamp(12px, 1.5vw, 18px) 14px;
  border: 1px solid var(--line-soft);
  background: rgba(20, 27, 35, 0.5);
  align-self: start;
}
.status-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.status-item:last-child { border-bottom: none; }
.status-key {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--steel-400);
  text-transform: uppercase;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 clamp(12px, 2vw, 26px);
  margin-top: 8px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--steel-400);
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--steel-100);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-top: calc(var(--pad) * 1.1);
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}
.episode-rail {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px clamp(14px, 3vw, 46px);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-500) transparent;
  background: linear-gradient(90deg, rgba(20, 27, 35, 0.55), rgba(12, 16, 21, 0.12) 12%, rgba(12, 16, 21, 0.12) 88%, rgba(20, 27, 35, 0.55));
}
.episode-rail::-webkit-scrollbar { height: 6px; }
.episode-rail::-webkit-scrollbar-track { background: rgba(20, 27, 35, 0.6); }
.episode-rail::-webkit-scrollbar-thumb { background: var(--steel-500); }
.episode-card {
  flex: 0 0 clamp(190px, 21vw, 250px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 11px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--steel-600);
  background: linear-gradient(180deg, rgba(27, 36, 46, 0.62), rgba(12, 16, 21, 0.5));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s linear, background 0.18s linear;
}
.episode-card:hover {
  border-color: var(--steel-400);
  background: linear-gradient(180deg, rgba(35, 46, 58, 0.75), rgba(16, 22, 29, 0.6));
}
.episode-card--active, .episode-card.is-current {
  transform: scale(1.055);
  border-color: var(--rust-bright);
  border-top-color: var(--amber);
  background: linear-gradient(180deg, rgba(46, 59, 73, 0.85), rgba(20, 27, 35, 0.7));
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(217, 151, 63, 0.18);
  z-index: 2;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}
.episode-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--steel-100);
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel-300);
}
.episode-duration {
  margin-top: auto;
  padding-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel-400);
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  margin-top: calc(var(--pad) * 1.1);
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 9px;
  margin-top: 12px;
  align-items: start;
}
.comment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel-500);
  background: linear-gradient(150deg, rgba(35, 46, 58, 0.6), rgba(16, 22, 29, 0.55));
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s linear, box-shadow 0.18s linear;
}
.comment-note:nth-child(2n) { transform: translateY(7px) rotate(-0.35deg); }
.comment-note:nth-child(3n) { transform: translateY(-5px) rotate(0.4deg); }
.comment-note:nth-child(5n) { transform: translateY(4px); }
.comment-note:hover {
  transform: translateY(0) rotate(0deg);
  border-left-color: var(--amber);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(217, 151, 63, 0.2);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--steel-500);
  background:
    radial-gradient(60% 60% at 40% 34%, rgba(167, 181, 192, 0.4), transparent 70%),
    repeating-linear-gradient(45deg, rgba(86, 104, 122, 0.3) 0 4px, rgba(20, 27, 35, 0.3) 4px 8px),
    var(--steel-800);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel-100);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel-300);
}
.rec-region {
  margin-top: calc(var(--pad) * 1.1);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.rec-title {
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel-100);
  padding-left: 11px;
  line-height: 1.3;
}
.rec-region--1 .rec-title { border-left: 3px solid var(--rust-bright); }
.rec-region--2 .rec-title { border-left: 3px solid var(--steel-400); }
.rec-region--3 .rec-title { border-left: 3px solid var(--amber); }
.rec-grid {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  align-items: start;
}
.rec-grid--1 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.rec-grid--2 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.rec-grid--3 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(27, 36, 46, 0.6), rgba(12, 16, 21, 0.5));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: border-color 0.16s linear, background 0.16s linear, transform 0.16s ease;
}
.rec-card:hover, .rec-card:focus-visible {
  border-color: var(--rust-bright);
  background: linear-gradient(180deg, rgba(46, 59, 73, 0.8), rgba(20, 27, 35, 0.65));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  filter: saturate(0.68) contrast(1.05);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--steel-100);
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--steel-400);
}
.site-footer {
  margin-top: calc(var(--pad) * 1.6);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 16, 21, 0.6), rgba(5, 8, 11, 0.9));
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
  padding: 16px var(--pad) 22px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--steel-400);
  max-width: 70ch;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--steel-200);
  text-decoration: none;
  white-space: nowrap;
}
.footer-link:hover { color: var(--amber); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel-500);
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel-300);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
body.lights-dim { filter: brightness(0.72) contrast(1.06); }
body.is-theater .hero-player-slot {
  box-shadow: 0 0 0 1px var(--amber), 0 24px 60px -26px rgba(0, 0, 0, 0.95);
}
.player.is-playing .pc-btn.is-playing, .player .click, .player .fullscreen, .player .input, .player .light, .player .mute, .player .pip, .player .play, .player .progress, .player .speed, .player .theater, .player .timeupdate, .player .volume, .player .x {  }
@media (max-width: 1180px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-areas:
      "poster player"
      "slogan player"
      "timeline timeline"
      "meta   cast"
      "syn    syn"
      "detail detail";
  }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "slogan"
      "player"
      "timeline"
      "meta"
      "cast"
      "syn"
      "detail";
  }
.hero-poster-wrap { max-width: 360px; }
.detail-section { grid-template-columns: minmax(0, 1fr); }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.synopsis-columns { grid-template-columns: minmax(0, 1fr); }
.synopsis-col + .synopsis-col {
    padding-left: 0;
    border-left: none;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
  }
.footer-inner { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 640px) {body { font-size: 14px; }
.header-inner { padding: 8px var(--pad); }
.category-rail { gap: 3px; }
.runtime-category { padding: 3px 9px; font-size: 12px; }
.hero-poster-wrap { max-width: 100%; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(5n) { transform: none; }
.episode-card { flex: 0 0 78%; }
.episode-card--active, .episode-card.is-current { transform: scale(1.02); }
.rec-grid--1, .rec-grid--2, .rec-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.pc-volume { flex: 1 1 70px; }}
@media (max-width: 420px) {.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid--1, .rec-grid--2, .rec-grid--3 { grid-template-columns: minmax(0, 1fr); }
.hero-actions { width: 100%; }
.btn-play, .btn-theater, .btn-light { flex: 1 1 auto; text-align: center; }
.episode-card { flex: 0 0 86%; }}

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}
