:root {
  --ink: #1b2226;
  --ink-soft: #3a464c;
  --ash: #e6e9e8;
  --ash-2: #d6dbdb;
  --ash-3: #b9c1c1;
  --blue-grey: #5c6b70;
  --blue-grey-deep: #2f3b40;
  --serum: #e07a2f;
  --serum-dim: #b45f1f;
  --rust: #7c4a2a;
  --rust-light: #a56238;
  --paper: #f3f5f4;
  --line: #c3cac9;
  --radius: 2px;
  --pad: 16px;
  --font-head: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", "PingFang SC", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--rust);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px var(--pad);
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--serum);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash-2);
  white-space: nowrap;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--serum);
  border-color: var(--rust-light);
  text-decoration: none;
}
.page-main {
  display: block;
  padding: 0 var(--pad);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: var(--pad);
  align-items: start;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  align-self: start;
}
.poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--blue-grey-deep);
  filter: saturate(0.85) contrast(1.05);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--blue-grey-deep);
}
.movie-tagline {
  max-width: 34ch;
  margin-top: -6px;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 3px solid var(--serum);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-grey);
  align-self: flex-start;
}
.player-shell {
  width: 100%;
  max-width: 100%;
  background: var(--ink);
  border: 1px solid var(--blue-grey-deep);
  border-radius: var(--radius);
  padding: 8px;
}
.player-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #0c1113;
  border-radius: var(--radius);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.player-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ash-2);
  padding: 5px 8px;
  border: 1px solid var(--blue-grey);
  border-radius: var(--radius);
  background: var(--blue-grey-deep);
}
.player-btn:hover {
  color: var(--ink);
  background: var(--ash-3);
  border-color: var(--ash-3);
}
.player-btn.active, .player-btn.playing, .player-btn.paused, .player-btn.muted, .player-btn.pip-on, .player-btn.fullscreen-on, .player-btn.theater-on, .player-btn.light-off {
  color: #1b1208;
  background: var(--serum);
  border-color: var(--serum);
}
.player-btn:focus-visible {
  outline: 2px solid var(--serum);
  outline-offset: 1px;
}
body.theater-mode .overview-hero {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .hero-media {
  display: none;
}
body.lights-off .page-main {
  background: #12181a;
}
body.lights-off .overview-hero, body.lights-off .synopsis-panel, body.lights-off .details-bar, body.lights-off .timeline-panel, body.lights-off .episodes-panel, body.lights-off .comments-panel, body.lights-off .rec-region {
  color: var(--ash-2);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 7px 10px;
  background: var(--ash);
  border-left: 3px solid var(--blue-grey);
  border-radius: var(--radius);
}
.status-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue-grey-deep);
  white-space: nowrap;
}
.status-item:last-child {
  color: var(--serum-dim);
  font-weight: 700;
}
.cast-strip {
  padding-top: 2px;
}
.cast-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-grey);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 88px;
  background: linear-gradient(160deg, var(--blue-grey) 0%, var(--blue-grey-deep) 100%);
  border: 1px solid var(--blue-grey-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.cast-name {
  position: absolute;
  right: 5px;
  bottom: 5px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.cast-card:hover {
  border-color: var(--serum);
}
.cast-card:hover .cast-name {
  color: var(--serum);
}
.synopsis-panel {
  padding: 10px 0 4px;
  border-top: 1px solid var(--line);
}
.synopsis-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--blue-grey);
  margin-bottom: 6px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px 18px;
  align-items: start;
}
.synopsis-para {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.synopsis-para:last-child {
  color: var(--rust);
}
.details-bar {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px 3px 0;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-grey);
  letter-spacing: 0.05em;
}
.detail-value {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-panel {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-grey-deep);
}
.timeline-heading {
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--rust);
}
.timeline-axis {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 7px;
  padding-left: 0;
}
.timeline-item {
  display: contents;
}
.timeline-time {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--rust);
  letter-spacing: 0.04em;
  text-align: right;
  padding-right: 4px;
  white-space: nowrap;
}
.timeline-time::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  background: var(--rust-light);
  border-radius: 50%;
  z-index: 2;
}
.timeline-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 0 0 6px 12px;
  border-left: 2px solid var(--rust-light);
  min-width: 0;
}
.episodes-panel {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.episodes-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--blue-grey);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 20px;
  align-items: start;
}
.episode-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num sum   sum";
  column-gap: 8px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--ash-2);
  min-width: 0;
}
.episode-number {
  grid-area: num;
  align-self: start;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--serum-dim);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--blue-grey-deep);
  min-width: 0;
}
.episode-summary {
  grid-area: sum;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--blue-grey);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash-3);
  white-space: nowrap;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.16s ease;
}
.episode-row:hover {
  background: var(--ash);
}
.episode-row:hover .episode-duration, .episode-row:focus-within .episode-duration {
  opacity: 1;
  max-height: 2em;
  color: var(--serum);
}
.comments-panel {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.comments-heading {
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--blue-grey);
  color: var(--blue-grey-deep);
}
.comments-masonry {
  columns: 2;
  column-gap: 18px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: var(--ash);
  border-left: 3px solid var(--blue-grey);
  border-radius: var(--radius);
}
.comment-card:nth-child(2n) {
  border-left-color: var(--serum);
  background: #eef1ef;
}
.comment-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comment-nick {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ash-3);
  letter-spacing: 0.03em;
}
.comment-nick::before {
  content: "— ";
}
.rec-region {
  padding: 16px 0 4px;
  border-bottom: 1px solid var(--line);
}
.rec-region:last-child {
  border-bottom: none;
}
.rec-heading {
  font-size: 12px;
  padding-bottom: 4px;
  margin-bottom: 9px;
  border-bottom: 2px solid var(--rust);
  color: var(--blue-grey-deep);
}
.rec-grid {
  display: grid;
  gap: 14px 18px;
  align-items: start;
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ash-2);
  color: var(--ink);
  text-decoration: none;
}
a.rec-item:hover {
  border-bottom-color: var(--serum);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--blue-grey-deep);
  filter: saturate(0.8);
}
a.rec-item:hover img {
  filter: saturate(1.1);
  border-color: var(--serum);
}
.rec-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--blue-grey-deep);
  text-decoration: underline;
  text-decoration-color: var(--ash-3);
  text-underline-offset: 3px;
  min-width: 0;
}
a.rec-item:hover .rec-name {
  color: var(--serum-dim);
  text-decoration-color: var(--serum);
}
.rec-blurb {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  color: var(--blue-grey);
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 20px;
  background: var(--ink);
  border-top: 2px solid var(--rust);
  color: var(--ash-2);
}
.footer-inner {
  padding: 14px var(--pad) 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash-3);
  max-width: 82ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid var(--rust-light);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--serum);
  border-bottom-color: var(--serum);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--blue-grey-deep);
}
.footer-friends-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--rust-light);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-grey);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--serum);
  text-decoration: underline;
  text-decoration-color: var(--serum);
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  }
.rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-media {
    max-width: 190px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    columns: 1;
  }}
@media (max-width: 560px) {:root {
    --pad: 14px;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    max-width: none;
  }
.timeline-axis {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 10px;
  }
.timeline-time::after {
    right: -10px;
  }
.rec-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    width: 60px;
    height: 78px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-row {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "sum sum"
      "dur dur";
  }
.episode-duration {
    opacity: 1;
    max-height: 2em;
  }}

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}
