*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, blockquote, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --wood-dark: #2a1c14;
  --wood: #3d2a1c;
  --wood-mid: #573a26;
  --wood-warm: #6e4a2e;
  --red-dark: #6b2419;
  --red: #8c3524;
  --red-bright: #a8442c;
  --amber: #c98a3f;
  --amber-light: #e0a955;
  --lamp: #f0c477;
  --ash: #7c7a73;
  --ash-wall: #4c4a45;
  --ash-light: #a9a69d;
  --paper: #e8dfd0;
  --paper-dim: #c8bda9;
  --ink: #241a12;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  --edge: rgba(224, 169, 85, 0.22);
}
body {
  background-color: #1b120c;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(240, 196, 119, 0.14), transparent 55%),
    linear-gradient(180deg, #241811 0%, #1b120c 40%, #150e09 100%);
  background-attachment: fixed;
  color: var(--paper-dim);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.page-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 40px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(26, 16, 10, 0.97), rgba(26, 16, 10, 0.82));
  border-bottom: 1px solid rgba(201, 138, 63, 0.28);
  backdrop-filter: blur(6px);
}
.header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: var(--lamp);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(240, 196, 119, 0.35);
  white-space: nowrap;
}
.site-brand:hover, .site-brand:focus {
  color: var(--amber-light);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--paper-dim);
  border: 1px solid rgba(201, 138, 63, 0.32);
  border-radius: 2px;
  background: rgba(87, 58, 38, 0.35);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: var(--lamp);
  background: rgba(140, 53, 36, 0.45);
  border-color: var(--amber);
}
.hero {
  position: relative;
  padding-top: 14px;
}
.hero-gate {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-areas:
    "gate slogan"
    "gate poster";
  gap: 12px 16px;
  align-items: start;
}
.gate-frame {
  grid-area: gate;
  position: relative;
  min-height: 420px;
  padding: 20px 20px 26px;
  border: 3px solid var(--wood-mid);
  border-radius: 3px;
  background-color: #2f1f15;
  background-image:
    linear-gradient(180deg, rgba(240, 196, 119, 0.1) 0%, transparent 22%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, #4a3120 0%, #332115 60%, #241710 100%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75), var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.gate-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(224, 169, 85, 0.18);
  pointer-events: none;
}
.gate-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.gate-plate {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  margin-top: 4px;
  background: linear-gradient(160deg, #7d2a1c, #5a1d13);
  border: 2px solid var(--amber);
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(240, 196, 119, 0.4), inset 0 0 12px rgba(0, 0, 0, 0.5);
}
.plate-number {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--lamp);
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(240, 196, 119, 0.9), 0 1px 0 rgba(0, 0, 0, 0.6);
}
.plate-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: #f3dcb2;
  opacity: 0.9;
}
.gate-puddle {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 62%;
  min-height: 54px;
  margin-bottom: 6px;
  border-radius: 50% 50% 46% 54% / 60% 62% 38% 40%;
  background: linear-gradient(180deg, rgba(201, 138, 63, 0.28), rgba(60, 44, 30, 0.75));
  box-shadow: inset 0 4px 14px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.puddle-reflection {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(240, 196, 119, 0.55);
  transform: scaleY(-1);
  opacity: 0.85;
}
.hero-slogan {
  grid-area: slogan;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-shadow: 0 0 20px rgba(168, 68, 44, 0.5);
}
.hero-tagline {
  font-size: 14px;
  font-weight: 400;
  color: var(--amber-light);
  letter-spacing: 0.04em;
  border-left: 3px solid var(--red-bright);
  padding-left: 9px;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash-light);
  text-align: justify;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}
.btn-play, .btn-theater, .btn-light {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 2px;
  border: 1px solid rgba(201, 138, 63, 0.5);
  background: rgba(87, 58, 38, 0.5);
  color: var(--paper-dim);
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.btn-play {
  background: linear-gradient(160deg, var(--red-bright), var(--red-dark));
  border-color: var(--amber);
  color: #fbe9c9;
  font-weight: 700;
}
.btn-play:hover, .btn-theater:hover, .btn-light:hover, .btn-play:focus, .btn-theater:focus, .btn-light:focus {
  background: linear-gradient(160deg, #b64b30, #7a2a1b);
  color: #ffeccd;
  outline: none;
}
.btn-play:active, .btn-theater:active, .btn-light:active {
  transform: translateY(1px);
}
.btn-theater.is-active, .btn-light.is-active {
  background: linear-gradient(160deg, var(--amber), #8a5b23);
  color: #2a1a0d;
  border-color: var(--lamp);
}
.poster-frame {
  grid-area: poster;
  width: 100%;
  max-width: 240px;
  justify-self: start;
  border: 2px solid var(--wood-mid);
  border-radius: 2px;
  background: #1c120c;
  box-shadow: var(--shadow);
  line-height: 0;
  align-self: start;
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}
.screen-block {
  margin-top: 14px;
  background: #17100b;
  border: 1px solid rgba(201, 138, 63, 0.26);
  border-radius: 3px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
.ctrl {
  font-size: 12px;
  color: var(--paper-dim);
  background: rgba(87, 58, 38, 0.42);
  border: 1px solid rgba(201, 138, 63, 0.3);
  border-radius: 2px;
  padding: 5px 11px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ctrl:hover, .ctrl:focus {
  background: rgba(140, 53, 36, 0.5);
  color: var(--lamp);
  border-color: var(--amber);
  outline: none;
}
.ctrl.is-active {
  background: linear-gradient(160deg, var(--amber), #8a5b23);
  color: #24170b;
  border-color: var(--lamp);
  font-weight: 700;
}
.ctrl-play {
  font-weight: 600;
  color: #f7e3c1;
  border-color: var(--amber);
}
.ctrl-progress, .ctrl-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  padding: 0;
  border-radius: 3px;
  border: 1px solid rgba(201, 138, 63, 0.35);
  background: linear-gradient(90deg, var(--red-bright), rgba(87, 58, 38, 0.5));
  cursor: pointer;
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 120px;
}
.ctrl-volume {
  flex: 0 1 110px;
  min-width: 80px;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid #7a4d18;
  box-shadow: 0 0 8px rgba(240, 196, 119, 0.7);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid #7a4d18;
}
.ctrl-speed {
  padding: 5px 8px;
  border-radius: 2px;
  background: rgba(87, 58, 38, 0.42);
  border: 1px solid rgba(201, 138, 63, 0.3);
  color: var(--paper-dim);
  font-size: 12px;
  cursor: pointer;
}
.ctrl-speed option {
  background: #241811;
  color: var(--paper-dim);
}
.main-player.is-playing {
  box-shadow: 0 0 0 1px rgba(240, 196, 119, 0.5), 0 0 28px rgba(240, 196, 119, 0.22);
}
.hero.is-theater .gate-frame, .hero.is-theater .poster-frame {
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.hero.is-theater .screen-block {
  box-shadow: 0 0 0 1px rgba(240, 196, 119, 0.45), 0 0 40px rgba(240, 196, 119, 0.2);
}
.hero.lights-off .gate-frame {
  filter: brightness(0.45);
  transition: filter 0.3s ease;
}
.hero.lights-off .screen-block {
  box-shadow: 0 0 0 1px var(--lamp), 0 0 46px rgba(240, 196, 119, 0.3);
}
.overview-meta {
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(61, 42, 28, 0.62), rgba(36, 24, 17, 0.72));
  border: 1px solid rgba(201, 138, 63, 0.24);
  border-radius: 3px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "status cast"
    "synopsis cast"
    "synopsis details";
  gap: 16px 22px;
  align-items: start;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 138, 63, 0.2);
}
.status-current, .status-total, .status-progress {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.status-current {
  background: linear-gradient(160deg, var(--red-bright), var(--red-dark));
  color: #fbe4c2;
  font-weight: 600;
  border: 1px solid rgba(201, 138, 63, 0.5);
}
.status-total {
  color: var(--paper-dim);
  border: 1px solid rgba(201, 138, 63, 0.3);
  background: rgba(87, 58, 38, 0.35);
}
.status-progress {
  color: var(--lamp);
  border: 1px dashed rgba(201, 138, 63, 0.5);
  background: rgba(36, 24, 17, 0.6);
}
.cast-block {
  grid-area: cast;
}
.block-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lamp);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(201, 138, 63, 0.28);
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--red-bright);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}
.cast-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  font-size: 11px;
  color: rgba(240, 196, 119, 0.65);
  letter-spacing: 0.06em;
  background:
    radial-gradient(circle at 50% 28%, rgba(240, 196, 119, 0.3), transparent 46%),
    linear-gradient(180deg, #4e3722 0%, #2b1c12 100%);
  border: 1px solid rgba(201, 138, 63, 0.24);
  border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px;
  overflow: hidden;
  filter: saturate(0.85);
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(20, 13, 8, 0.85));
}
.cast-name {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-area: synopsis;
  border-top: 1px solid rgba(201, 138, 63, 0.18);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.66;
  color: var(--ash-light);
  text-align: justify;
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
  color: var(--amber-light);
}
.details-block {
  grid-area: details;
  border-top: 1px solid rgba(201, 138, 63, 0.18);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 14px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(201, 138, 63, 0.16);
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.6em;
  color: var(--ash);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  color: var(--paper-dim);
  min-width: 0;
  overflow-wrap: break-word;
}
.section-heading {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--paper);
  margin: 26px 0 10px;
  padding-left: 12px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  background: linear-gradient(180deg, var(--red-bright), var(--amber));
  border-radius: 1px;
}
.timeline-section {
  margin-top: 6px;
}
.timeline-track {
  position: relative;
  padding: 4px 0 4px 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--lamp), var(--red-bright) 55%, rgba(87, 58, 38, 0.2));
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 26px;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 10px 6px 14px;
  background: linear-gradient(90deg, rgba(61, 42, 28, 0.55), rgba(36, 24, 17, 0.15));
  border-left: 2px solid rgba(201, 138, 63, 0.4);
  border-radius: 0 3px 3px 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 10px rgba(240, 196, 119, 0.8);
}
.node-time {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-light);
  letter-spacing: 0.06em;
}
.node-label {
  font-size: 13px;
  color: var(--paper-dim);
  min-width: 0;
  overflow-wrap: break-word;
}
.episode-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  background: linear-gradient(150deg, rgba(78, 55, 34, 0.6), rgba(31, 20, 13, 0.72));
  border: 1px solid rgba(201, 138, 63, 0.22);
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.episode-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.episode-num {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--lamp);
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 4px 2px;
  border-right: 1px solid rgba(201, 138, 63, 0.3);
}
.episode-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ash-light);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  color: var(--amber-light);
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid rgba(201, 138, 63, 0.32);
  border-radius: 2px;
  background: rgba(36, 24, 17, 0.5);
}
.comments-section {
  margin-top: 6px;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 12px 12px 10px;
  background: linear-gradient(160deg, #efe3cb, #d8c8a8);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  min-width: 0;
  transform: rotate(-1.1deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-note:nth-child(2n) {
  transform: rotate(0.9deg);
  background: linear-gradient(160deg, #e9dcc2, #cfbd99);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.5deg) translateY(4px);
}
.comment-note:nth-child(4n) {
  transform: rotate(1.3deg);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 46px;
  height: 13px;
  background: rgba(240, 196, 119, 0.55);
  border: 1px solid rgba(122, 77, 24, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
}
.comment-text {
  font-size: 13px;
  line-height: 1.6;
  color: #33261a;
  font-weight: 400;
}
.comment-meta {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(90, 66, 40, 0.4);
  text-align: right;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red-dark);
  letter-spacing: 0.05em;
}
.comment-nick::before {
  content: "—— ";
  font-weight: 400;
  color: #8a6b3f;
}
.rec-region {
  margin-top: 24px;
}
.rec-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lamp);
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(201, 138, 63, 0.26);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(61, 42, 28, 0.55), rgba(28, 18, 12, 0.7));
  border: 1px solid rgba(201, 138, 63, 0.2);
  border-radius: 3px;
  text-decoration: none;
  color: var(--paper-dim);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-width: 0;
}
.rec-item:hover, .rec-item:focus {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  outline: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #1c120c;
  filter: saturate(0.85) contrast(1.04);
}
.rec-pic {
  display: block;
}
.rec-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ash-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  padding: 18px 14px 30px;
  border-top: 1px solid rgba(201, 138, 63, 0.24);
  background: linear-gradient(180deg, rgba(26, 16, 10, 0.6), rgba(15, 10, 6, 0.9));
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash);
  text-align: center;
}
.footer-nav {
  max-width: 1280px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.footer-link {
  font-size: 13px;
  padding: 4px 14px;
  border: 1px solid rgba(201, 138, 63, 0.3);
  border-radius: 2px;
  background: rgba(87, 58, 38, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}
a[data-contract="footer-home"] {
  color: var(--lamp);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus {
  color: #ffe9c2;
  background: rgba(140, 53, 36, 0.5);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus {
  color: var(--amber-light);
  background: rgba(140, 53, 36, 0.5);
  text-decoration: underline;
}
.friend-links {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(201, 138, 63, 0.18);
}
.friend-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ash);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ash-light);
  text-decoration: none;
  padding: 2px 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: var(--lamp);
  border-bottom-color: var(--amber);
}
.player.is-playing, .play.is-playing {
  color: var(--lamp);
}
.mute.is-active, .mute.mute, .is-muted {
  color: var(--red-bright);
  border-color: var(--red-bright);
}
.progress, .volume, .speed, .input, .change, .click, .timeupdate, .data-player-action, .pip, .theater, .fullscreen, .light, .lights-off {
  transition: all 0.2s ease;
}
@media (max-width: 1080px) {.overview-meta {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "status"
      "synopsis"
      "cast"
      "details";
    gap: 14px;
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-gate {
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "gate slogan"
      "gate poster";
  }}
@media (max-width: 860px) {.hero-gate {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "slogan"
      "gate"
      "poster";
  }
.gate-frame {
    min-height: 320px;
  }
.poster-frame {
    max-width: 210px;
    justify-self: center;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 10px 30px;
  }
.header-bar {
    padding: 7px 10px;
  }
.site-brand {
    font-size: 16px;
  }
.hero-title {
    font-size: 23px;
  }
.gate-frame {
    min-height: 250px;
    padding: 14px;
  }
.plate-number {
    font-size: 24px;
  }
.gate-puddle {
    width: 74%;
  }
.overview-meta {
    padding: 11px;
    gap: 11px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.comment-note, .comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(4n) {
    transform: rotate(-0.6deg);
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-strip {
    grid-auto-columns: minmax(230px, 82%);
  }
.section-heading {
    font-size: 15.5px;
    margin-top: 22px;
  }
.player-controls {
    gap: 6px;
  }
.ctrl {
    padding: 5px 9px;
    font-size: 11.5px;
  }}
@media (max-width: 380px) {.hero-actions {
    gap: 6px;
  }
.btn-play, .btn-theater, .btn-light {
    padding: 6px 12px;
    font-size: 12px;
  }
.episode-strip {
    grid-auto-columns: minmax(200px, 90%);
  }}

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}
