*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --iron-black: #0a0a0c;
  --iron-deep: #14151a;
  --iron-grey: #1d1f26;
  --iron-line: #2a2d36;
  --ash: #8b909c;
  --ash-dim: #5c606c;
  --ash-bright: #c7ccd6;
  --ember: #e8461c;
  --ember-deep: #b32a10;
  --gold: #f2a93b;
  --gold-bright: #ffca6b;
  --gold-dim: #a8762a;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
html {
  background: var(--iron-black);
}
body {
  font-family: var(--font-stack);
  font-weight: 400;
  color: var(--ash-bright);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(232, 70, 28, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(242, 169, 59, 0.08), transparent 55%),
    linear-gradient(180deg, #0b0c10 0%, #0a0a0c 40%, #0c0d11 100%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: hidden;
}
.section-title {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f4f5f8;
  text-transform: none;
  position: relative;
  display: inline-block;
  padding-left: 0.72em;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 0.28em;
  background: linear-gradient(180deg, var(--gold-bright), var(--ember));
  clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
}
.section-sub {
  margin-top: 0.35em;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ash-dim);
}
.section-head {
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--iron-line);
  padding-bottom: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.2rem;
}
.section-head .section-sub {
  margin-top: 0;
}
.block-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.85em;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5em;
  height: 0.5em;
  background: var(--ember);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.97), rgba(10, 10, 14, 0.9));
  border-bottom: 1px solid var(--iron-line);
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.6rem clamp(0.75rem, 3vw, 2rem);
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"].brand-mark {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.15em 0.6em 0.15em 0.55em;
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
  white-space: nowrap;
  flex: 0 0 auto;
}
a[data-contract="site-name"].brand-mark:hover, a[data-contract="site-name"].brand-mark:focus-visible {
  color: var(--gold-bright);
  text-decoration: none;
}
.header-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}
.nav-item {
  display: block;
}
a.nav-link {
  display: block;
  padding: 0.32em 0.7em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ash);
  text-decoration: none;
  border: 1px solid transparent;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: var(--gold-bright);
  background: rgba(242, 169, 59, 0.08);
  border-color: rgba(242, 169, 59, 0.35);
  text-decoration: none;
}
.header-search {
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  flex: 0 1 auto;
  min-width: 0;
}
.search-input {
  width: clamp(9rem, 20vw, 16rem);
  min-width: 0;
  padding: 0.34em 0.7em;
  font-size: 0.8rem;
  background: var(--iron-deep);
  color: var(--ash-bright);
  border: 1px solid var(--iron-line);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  outline: none;
}
.search-input::placeholder {
  color: var(--ash-dim);
}
.search-input:focus-visible {
  border-color: var(--gold-dim);
  box-shadow: inset 0 0 0 1px rgba(242, 169, 59, 0.25);
}
.search-submit {
  flex: 0 0 auto;
  padding: 0.34em 0.85em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #150703;
  background: linear-gradient(135deg, var(--gold-bright), var(--ember));
  border: 0;
  border-radius: 0;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}
.search-submit:hover, .search-submit:focus-visible {
  background: linear-gradient(135deg, #ffd98a, var(--gold));
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  padding: 0 clamp(0.75rem, 3vw, 2rem) 0.55rem;
  max-width: 1440px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 0.2em 0.75em;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-decoration: none;
  background: var(--iron-grey);
  border: 1px solid var(--iron-line);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  text-decoration: none;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.9rem clamp(0.75rem, 3vw, 2rem) 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--iron-deep);
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  overflow: hidden;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
}
.player-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.75);
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  padding: 0.5rem 0.65rem;
  background: linear-gradient(180deg, var(--iron-grey), var(--iron-deep));
  border-top: 1px solid var(--iron-line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 0.3em 0.72em;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ash-bright);
  background: var(--iron-deep);
  border: 1px solid var(--iron-line);
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active, .ctrl-btn.mute.is-active, .ctrl-btn.pip.is-active, .ctrl-btn.fullscreen.is-active, .ctrl-btn.theater.is-active, .ctrl-btn.light.is-active {
  color: #1a0803;
  background: linear-gradient(135deg, var(--gold-bright), var(--ember));
  border-color: var(--gold);
}
.ctrl-btn.click, .ctrl-btn.change {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.ctrl-range {
  flex: 1 1 8rem;
  min-width: 5rem;
  height: 1.15rem;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--iron-line);
  border-radius: 0;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: var(--iron-line);
  border-radius: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  background: var(--gold);
  border: 0;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--gold);
  border: 0;
  border-radius: 0;
}
.ctrl-range.progress::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--ember), var(--gold));
}
.ctrl-range.progress::-moz-range-track {
  background: linear-gradient(90deg, var(--ember), var(--gold));
}
.ctrl-range.volume::-webkit-slider-runnable-track {
  background: var(--ash-dim);
}
.ctrl-range.volume::-moz-range-track {
  background: var(--ash-dim);
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 0.3em 0.5em;
  font-size: 0.74rem;
  color: var(--ash-bright);
  background: var(--iron-deep);
  border: 1px solid var(--iron-line);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-select.speed {
  color: var(--gold-bright);
}
body.theater-mode .player-shell {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 1px rgba(242, 169, 59, 0.25), 0 18px 60px rgba(232, 70, 28, 0.14);
}
body.lights-off .page-main {
  filter: brightness(0.62) saturate(0.9);
}
body.lights-off .player-shell {
  filter: brightness(1.12);
}
.overview-section {
  display: flex;
  flex-direction: column;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.38fr);
  gap: 1rem;
  align-items: start;
  background: linear-gradient(160deg, rgba(29, 31, 38, 0.9), rgba(12, 13, 17, 0.92));
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  padding: 0.9rem;
}
.poster-column {
  position: relative;
  align-self: start;
}
.main-poster {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.info-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem 1rem;
  align-items: start;
  align-content: start;
  min-width: 0;
}
.synopsis-block {
  grid-column: 1 / -1;
  min-width: 0;
}
.synopsis-para {
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--ash);
  max-width: 68ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 0.45rem;
}
.episode-status-block, .details-block {
  min-width: 0;
  border-top: 1px solid rgba(42, 45, 54, 0.9);
  padding-top: 0.6rem;
}
.cast-block {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid rgba(42, 45, 54, 0.9);
  padding-top: 0.6rem;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.3rem 0.7rem;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  font-size: 0.78rem;
  padding: 0.28em 0.1em;
  border-bottom: 1px dashed rgba(42, 45, 54, 0.85);
}
.status-key {
  color: var(--ash-dim);
  letter-spacing: 0.05em;
  flex: 0 0 auto;
}
.status-value {
  color: var(--gold-bright);
  font-weight: 700;
  margin-left: auto;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.18rem 0.9rem;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.76rem;
  padding: 0.24em 0;
  border-bottom: 1px dashed rgba(42, 45, 54, 0.7);
}
.detail-key {
  color: var(--ash-dim);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.detail-value {
  margin-left: auto;
  text-align: right;
  color: var(--ash-bright);
  font-weight: 600;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.2rem, 1fr));
  gap: 0.55rem;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.4rem;
  background: rgba(20, 21, 26, 0.85);
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cast-card:hover {
  border-color: var(--gold-dim);
  background: rgba(30, 26, 20, 0.9);
}
.cast-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(42, 45, 54, 0.9);
}
.cast-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.cast-card:hover .cast-avatar-img {
  filter: saturate(1.1) contrast(1.1);
}
.cast-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f1f3f7;
  line-height: 1.2;
}
.cast-role {
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--ash-dim);
  letter-spacing: 0.02em;
}
.timeline-section {
  min-width: 0;
}
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.65rem 0.2rem 0.85rem;
  background: linear-gradient(180deg, rgba(20, 21, 26, 0.9), rgba(11, 12, 16, 0.9));
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  scrollbar-width: thin;
  scrollbar-color: var(--ember-deep) var(--iron-deep);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--iron-deep);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--ember-deep), var(--gold-dim));
}
.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  position: relative;
  padding: 0 0.6rem;
  min-width: max-content;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 0.62rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 70, 28, 0.65), rgba(242, 169, 59, 0.45), rgba(42, 45, 54, 0.9));
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 10.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding-top: 0.1rem;
}
.timeline-spark {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--gold-bright), var(--ember));
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  box-shadow: 0 0 12px rgba(242, 169, 59, 0.55);
  margin-bottom: 0.35rem;
}
.timeline-timecode {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.timeline-label {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ash);
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.55rem 0.6rem 0.5rem;
  background: linear-gradient(165deg, rgba(29, 31, 38, 0.92), rgba(14, 15, 19, 0.95));
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 169, 59, 0.35), transparent);
}
.episode-card:hover {
  border-color: rgba(242, 169, 59, 0.45);
}
.episode-number {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1;
}
.episode-number::before {
  content: "EP ";
  color: var(--ash-dim);
  font-weight: 700;
}
.episode-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #eef0f5;
}
.episode-summary {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--ash-dim);
}
.episode-duration {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ash);
}
.episode-duration::before {
  content: "时长 ";
  color: var(--ash-dim);
}
.episode-card-current {
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(56, 32, 16, 0.95), rgba(22, 16, 12, 0.96));
  box-shadow: 0 0 0 1px rgba(242, 169, 59, 0.35), 0 8px 26px rgba(232, 70, 28, 0.18);
}
.episode-card-current .episode-number {
  color: var(--gold-bright);
}
.episode-card-current .episode-number::before {
  color: rgba(242, 169, 59, 0.6);
}
.episode-card-current .episode-title {
  color: #fff;
}
.comments-section {
  min-width: 0;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.55rem 0.65rem;
  background: rgba(20, 21, 26, 0.88);
  border: 1px solid var(--iron-line);
  border-left: 2px solid var(--ember-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-left-color 0.15s ease, background-color 0.15s ease;
}
.comment-card:hover {
  border-left-color: var(--gold);
  background: rgba(28, 24, 20, 0.92);
}
.comment-nick {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.comment-nick::before {
  content: "// ";
  color: var(--ember);
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--ash);
}
.recommend-region {
  min-width: 0;
}
.recommend-three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.4rem;
  background: rgba(20, 21, 26, 0.9);
  border: 1px solid var(--iron-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  color: var(--ash-bright);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.recommend-link:hover, a.recommend-link:focus-visible {
  border-color: var(--gold-dim);
  background: rgba(30, 26, 20, 0.94);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #000;
  border: 1px solid rgba(42, 45, 54, 0.9);
}
.recommend-pic {
  filter: saturate(0.85) contrast(1.04);
}
a.recommend-link:hover .recommend-pic {
  filter: saturate(1.12) contrast(1.08);
}
.recommend-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #eef0f5;
}
.recommend-blurb {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ash-dim);
}
.site-footer {
  border-top: 1px solid var(--iron-line);
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.96), #070709);
  padding: 1rem clamp(0.75rem, 3vw, 2rem) 0.9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--iron-line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: center;
}
a.footer-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ash-bright);
  text-decoration: none;
  padding-bottom: 0.1em;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover, a.footer-link:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
  text-decoration: none;
}
a[data-contract="footer-home"].footer-link {
  color: var(--gold);
}
a[data-contract="footer-sitemap"].footer-link {
  color: var(--ash);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
  min-width: 0;
}
.friend-links-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ember);
  margin-right: 0.2rem;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: var(--ash-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15em 0.5em;
  background: rgba(29, 31, 38, 0.8);
  border: 1px solid var(--iron-line);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  text-decoration: none;
}
.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 0.7rem;
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.65;
  color: var(--ash-dim);
  max-width: 90ch;
}
@media (max-width: 1080px) {.overview-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  }
.poster-column {
    max-width: 220px;
  }}
@media (max-width: 860px) {.overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 200px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-top {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 620px) {.header-bar {
    gap: 0.5rem 0.75rem;
  }
.header-search {
    flex: 1 1 100%;
  }
.search-input {
    width: auto;
    flex: 1 1 auto;
  }
.page-main {
    gap: 1.25rem;
    padding-top: 0.75rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-three-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr));
  }
.poster-column {
    max-width: 160px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.timeline-node {
    width: 8.6rem;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.status-list {
    grid-template-columns: minmax(0, 1fr);
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
