*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --stone-1: #1a1917;
  --stone-2: #232120;
  --stone-3: #2e2b28;
  --stone-4: #3a3632;
  --wall: #4a453f;
  --wall-lit: #6b645b;
  --ash: #8d857a;
  --bone: #c9c0b2;
  --paper: #d8d0c2;
  --blood: #8c0f0f;
  --blood-hot: #c31313;
  --blood-deep: #5a0a0a;
  --copper: #7a5a32;
  --copper-dim: #55401f;
  --ink: #0d0c0b;
  --gap: 0.55rem;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #131211;
  background-image:
    linear-gradient(180deg, #0f0e0d 0%, #1a1917 30%, #191716 70%, #0e0d0c 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  color: var(--bone);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0c0b0a;
  border-bottom: 1px solid #2c2825;
  box-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-brand {
  font-family: "Songti SC", "Source Han Serif SC", Georgia, serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-shadow: 0 0 1px #000, 1px 1px 0 rgba(140,15,15,0.5);
  border-left: 3px solid var(--blood);
  padding-left: 0.5rem;
  white-space: nowrap;
}
a[data-contract="site-name"] { color: var(--paper); text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--blood-hot); }
.category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.55rem;
  color: var(--ash);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(122,90,50,0.25);
}
a.runtime-category { color: var(--ash); text-decoration: none; }
a.runtime-category:hover { color: var(--blood-hot); border-color: var(--blood-deep); background: rgba(140,15,15,0.1); }
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0.9rem 1.4rem;
}
.hero-wall {
  position: relative;
  margin: 0 -0.9rem 1rem;
  padding: 2.4rem 1.4rem 1.6rem;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 110% at 78% 42%, rgba(140,15,15,0.28) 0%, rgba(90,10,10,0.12) 34%, transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 0%, #26231f 0%, #171513 55%, #0c0b0a 100%);
  border-bottom: 2px solid #2a2622;
  isolation: isolate;
}
.hero-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.35) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 22px);
  opacity: 0.9;
  z-index: 6;
}
.hero-silhouette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.titan-profile {
  position: absolute;
  right: -6%;
  top: -12%;
  width: 68%;
  height: 128%;
  background:
    radial-gradient(ellipse 60% 40% at 38% 30%, #050505 0%, #0a0908 45%, transparent 72%),
    linear-gradient(200deg, #060606 0%, #131110 60%, #1b1815 100%);
  border-radius: 40% 30% 46% 52% / 34% 46% 54% 58%;
  filter: blur(0.4px);
  opacity: 0.96;
}
.titan-brow {
  position: absolute;
  right: 32%;
  top: 26%;
  width: 30%;
  height: 12px;
  background: linear-gradient(90deg, transparent, #000 30%, #000 90%, transparent);
  transform: rotate(-12deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0.6);
}
.titan-eye {
  position: absolute;
  right: 30%;
  top: 31%;
  width: 52px;
  height: 30px;
  background: radial-gradient(ellipse at 50% 50%, #ff2a1f 0%, var(--blood-hot) 40%, var(--blood-deep) 78%, transparent 100%);
  border-radius: 50% 40% 60% 50%;
  box-shadow: 0 0 26px 8px rgba(195,19,19,0.55), 0 0 60px 20px rgba(140,15,15,0.35);
  transform: rotate(-8deg);
}
.titan-jaw {
  position: absolute;
  right: 24%;
  top: 44%;
  width: 40%;
  height: 34%;
  background:
    repeating-linear-gradient(78deg, rgba(0,0,0,0.9) 0 3px, transparent 3px 14px),
    linear-gradient(180deg, #0b0a09, #1d1a17);
  clip-path: polygon(0 0, 100% 8%, 88% 100%, 6% 88%);
  opacity: 0.88;
}
.titan-ribs {
  position: absolute;
  right: -2%;
  top: 44%;
  width: 56%;
  height: 60%;
  background:
    repeating-linear-gradient(112deg, rgba(20,18,16,0.95) 0 6px, transparent 6px 30px),
    repeating-linear-gradient(112deg, rgba(80,74,68,0.28) 0 2px, transparent 2px 30px);
  clip-path: polygon(20% 0, 100% 6%, 92% 100%, 0 92%);
  opacity: 0.72;
}
.titan-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,9,8,0.94) 0%, rgba(10,9,8,0.7) 34%, rgba(10,9,8,0.15) 62%, rgba(10,9,8,0.55) 100%);
  z-index: 2;
}
.hero-squad {
  position: absolute;
  left: 8%;
  bottom: 0.8rem;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 4;
  pointer-events: none;
}
.squad-figure {
  width: 9px;
  height: 34px;
  background: linear-gradient(180deg, #050505, #12100e);
  clip-path: polygon(35% 0, 65% 0, 78% 42%, 62% 44%, 68% 100%, 32% 100%, 38% 44%, 22% 42%);
  box-shadow: 0 0 6px rgba(0,0,0,0.9);
}
.squad-figure:nth-child(2) { height: 42px; }
.squad-figure:nth-child(3) { height: 30px; }
.squad-figure:nth-child(4) { height: 37px; }
.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 620px;
}
.hero-title {
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-shadow: 0 2px 0 #000, 0 0 40px rgba(140,15,15,0.4);
  margin-bottom: 0.35rem;
}
.hero-tagline {
  font-size: 0.95rem;
  color: var(--blood-hot);
  letter-spacing: 0.22em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 12px rgba(195,19,19,0.45);
}
.hero-seo {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ash);
  max-width: 40em;
  border-left: 2px solid var(--blood-deep);
  padding-left: 0.6rem;
}
.hero-scarf {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 10px;
  z-index: 5;
  background: linear-gradient(90deg, var(--blood-deep), var(--blood-hot) 45%, var(--blood) 70%, transparent);
  box-shadow: 0 0 14px rgba(195,19,19,0.5);
  pointer-events: none;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  background: linear-gradient(180deg, #1d1b19 0%, #191715 100%);
  border: 1px solid #332f2a;
  border-radius: 2px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.5);
}
.overview-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid #3d3730;
  background: #0c0b0a;
  overflow: hidden;
}
.overview-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.15) brightness(0.9) sepia(0.12);
}
.poster-scar {
  position: absolute;
  top: 0;
  right: 14%;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(195,19,19,0.85) 20%, rgba(140,15,15,0.6) 80%, transparent);
  box-shadow: 0 0 10px rgba(140,15,15,0.7);
  pointer-events: none;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.overview-heading { border-bottom: 1px solid #363028; padding-bottom: 0.4rem; }
.overview-title {
  font-size: 1.32rem;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-shadow: 0 1px 0 #000;
}
.overview-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--blood-hot);
  margin-top: 0.15rem;
}
.cast-strip { border-top: 1px solid #302b25; padding-top: 0.55rem; }
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--copper);
  margin-bottom: 0.4rem;
  text-transform: none;
}
.cast-heading::before, .section-heading::before, .details-heading::before, .synopsis-heading::before, .status-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.72em;
  background: var(--blood);
  margin-right: 0.45rem;
  vertical-align: -0.05em;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cast-portrait {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #6f675c 0%, #4a443c 42%, #232120 100%);
  border: 1px solid #4d463e;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
}
.cast-name {
  font-size: 0.72rem;
  color: var(--ash);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.synopsis-block { border-top: 1px solid #302b25; padding-top: 0.55rem; }
.synopsis-para {
  font-size: 0.74rem;
  line-height: 1.6;
  color: #9d958a;
  margin-bottom: 0.42rem;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status { border-top: 1px solid #302b25; padding-top: 0.55rem; }
.status-line {
  font-size: 0.76rem;
  color: var(--bone);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.status-bar {
  height: 6px;
  background: #0e0d0c;
  border: 1px solid #363028;
  position: relative;
  overflow: hidden;
}
.status-bar-fill {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--blood-deep), var(--blood-hot));
  box-shadow: 0 0 10px rgba(195,19,19,0.6);
}
.details-panel { border-top: 1px solid #302b25; padding-top: 0.55rem; }
.details-list { display: flex; flex-direction: column; gap: 0.22rem; }
.detail-row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  border-bottom: 1px dashed rgba(122,90,50,0.18);
  padding-bottom: 0.18rem;
}
.detail-key {
  flex: none;
  width: 4.6em;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.detail-value {
  font-size: 0.74rem;
  color: #a79e92;
  min-width: 0;
}
.player-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #3a342d;
  background: #080807;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8), 0 10px 26px rgba(0,0,0,0.6);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  filter: contrast(1.05) saturate(0.95);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.45rem;
  background: linear-gradient(180deg, #17151350, #121110);
  border-top: 1px solid #2b2621;
}
.player-btn {
  background: #221f1c;
  border: 1px solid #3d372f;
  color: var(--bone);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.24rem 0.5rem;
  cursor: pointer;
  border-radius: 1px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover { background: var(--blood-deep); border-color: var(--blood); color: var(--paper); }
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  accent-color: var(--blood-hot);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 70px;
  min-width: 46px;
  height: 4px;
  accent-color: var(--copper);
  cursor: pointer;
}
.player-speed {
  background: #221f1c;
  border: 1px solid #3d372f;
  color: var(--bone);
  font-size: 0.7rem;
  padding: 0.22rem 0.3rem;
  border-radius: 1px;
  cursor: pointer;
}
.player-shell.is-playing .player-btn[data-player-action="play"] { background: var(--blood-deep); border-color: var(--blood); }
.player-shell.is-muted .player-btn[data-player-action="mute"] { color: var(--blood-hot); border-color: var(--blood-deep); }
.player-shell.is-fullscreen { position: fixed; inset: 0; z-index: 999; max-width: none; }
.player-shell.is-fullscreen .player-video { height: calc(100% - 42px); object-fit: contain; }
.player-shell.is-theater { box-shadow: 0 0 0 1px var(--blood-deep), 0 14px 40px rgba(0,0,0,0.8); }
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #000; border-top-color: #1a1714; opacity: 0.9; }
.player-shell.is-active-control .player-btn { border-color: #4d463e; }
.player-shell.is-active-control .player-btn:active { background: var(--blood); }
.play, .pause, .mute, .volume, .speed, .progress, .timeupdate, .input, .change, .click, .player, .pip, .fullscreen, .theater, .light, .is-playing, .is-muted, .is-fullscreen, .is-theater, .is-lights-off, .is-active-control { }
.section-heading, .recommend-heading {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  margin: 1.1rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #332e28;
  position: relative;
}
.section-heading::after, .recommend-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: var(--blood);
  box-shadow: 0 0 8px rgba(140,15,15,0.7);
}
.recommend-heading {
  font-size: 0.92rem;
  margin: 0.9rem 0 0.5rem;
}
.timeline-section { margin-bottom: 0.6rem; }
.timeline-ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.7rem;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  background:
    linear-gradient(180deg, #1c1a18, #161413),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 18px);
  border: 1px solid #302b25;
}
.timeline-ruler::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--copper-dim) 8%, var(--copper) 50%, var(--copper-dim) 92%, transparent);
}
.timeline-ruler::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0;
  bottom: 0;
  width: 10px;
  background-image: repeating-linear-gradient(0deg, rgba(122,90,50,0.55) 0 1px, transparent 1px 14px);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  align-items: center;
  padding: 0.32rem 0.35rem 0.32rem 0.55rem;
  border-left: 1px solid #3b352d;
  background: linear-gradient(90deg, rgba(140,15,15,0.06), transparent 70%);
}
.timeline-code {
  grid-column: 1;
  grid-row: 1;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--copper);
  white-space: nowrap;
}
.timeline-blade {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  width: 22px;
  height: 7px;
  background: linear-gradient(90deg, #b9b2a5, #6f6a61 55%, transparent);
  clip-path: polygon(0 40%, 88% 0, 100% 50%, 88% 100%, 0 60%, 14% 50%);
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
  transform: rotate(-6deg);
}
.timeline-label {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.72rem;
  color: #a49b8e;
  line-height: 1.4;
  margin-top: 0.1rem;
}
.episodes-section { margin-bottom: 0.6rem; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.episode-card {
  position: relative;
  padding: 0.6rem 0.6rem 0.55rem;
  background: linear-gradient(180deg, #1e1c1a, #171514);
  border: 1px solid #34302a;
  border-radius: 1px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  overflow: hidden;
  transition: background 0.18s, transform 0.18s;
}
.episode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 46%, rgba(140,15,15,0.35) 47%, transparent 49%),
    linear-gradient(100deg, transparent 72%, rgba(195,19,19,0.22) 73%, transparent 75%);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.episode-scratch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blood-deep), var(--blood-hot) 30%, transparent 85%);
  opacity: 0.75;
}
.episode-title {
  position: relative;
  font-size: 0.86rem;
  color: var(--paper);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px dashed rgba(122,90,50,0.3);
  transform: translateY(0);
  transition: transform 0.22s ease, color 0.22s ease;
}
.episode-summary {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #9a9287;
  margin-bottom: 0.35rem;
}
.episode-duration {
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--copper);
}
.episode-card:hover {
  background: linear-gradient(180deg, #262220, #1b1817);
  transform: translateY(-2px);
}
.episode-card:hover::before { opacity: 1; }
.episode-card:hover .episode-title {
  color: var(--blood-hot);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(195,19,19,0.5);
}
.comments-section { margin-bottom: 0.6rem; }
.comment-masonry {
  columns: 2;
  column-gap: 0.55rem;
}
.comment-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.55rem;
  padding: 0.75rem 0.6rem 0.55rem;
  background: linear-gradient(180deg, #1d1b19, #161413);
  border: 1px solid #332e28;
  border-radius: 1px;
}
.comment-mortar {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  height: 5px;
  background:
    linear-gradient(90deg, #0a0908 0 18%, #2a2622 18% 34%, #0a0908 34% 56%, #241f1b 56% 72%, #0a0908 72% 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}
.comment-text {
  font-size: 0.74rem;
  line-height: 1.6;
  color: #a29a8e;
  margin-bottom: 0.4rem;
}
.comment-nick {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--copper);
  text-align: right;
  border-top: 1px solid rgba(122,90,50,0.2);
  padding-top: 0.25rem;
}
.comment-nick::before { content: "— "; color: var(--blood-deep); }
.recommend-region { margin-bottom: 0.4rem; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1c1a18, #151312);
  border: 1px solid #322d27;
  border-radius: 1px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
a.recommend-card { color: var(--bone); text-decoration: none; }
a.recommend-card:hover { border-color: var(--blood); transform: translateY(-2px); }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: grayscale(0.5) contrast(1.1) brightness(0.88);
  transition: filter 0.2s;
}
a.recommend-card:hover img { filter: grayscale(0.15) contrast(1.12) brightness(0.98); }
.recommend-name {
  font-size: 0.76rem;
  color: var(--paper);
  padding: 0.35rem 0.45rem 0.1rem;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #8b8377;
  padding: 0 0.45rem 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #0b0a09;
  border-top: 1px solid #2a2621;
  margin-top: 1rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.6;
  color: #726b61;
  max-width: 60em;
  border-left: 2px solid var(--copper-dim);
  padding-left: 0.6rem;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
}
.friend-links-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--copper);
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 0.7rem;
  color: #837b70;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(122,90,50,0.22);
  white-space: nowrap;
}
a.runtime-friend-link { color: #837b70; text-decoration: none; }
a.runtime-friend-link:hover { color: var(--blood-hot); border-color: var(--blood-deep); background: rgba(140,15,15,0.12); }
.footer-nav {
  display: flex;
  gap: 0.7rem;
  border-top: 1px solid #211e1a;
  padding-top: 0.5rem;
}
.footer-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8d8579;
  white-space: nowrap;
}
a[data-contract="footer-home"] { color: #8d8579; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: var(--blood-hot); text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #8d8579; text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: var(--blood-hot); text-decoration: underline; }
@media (max-width: 900px) {.movie-overview { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-ruler { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 680px) {body { font-size: 12.5px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }
.overview-poster-wrap {
    max-width: 200px;
    margin: 0 auto;
    width: 100%;
  }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-ruler { grid-template-columns: minmax(0, 1fr); }
.hero-wall { padding: 2rem 1rem 1.4rem; }
.titan-profile { right: -22%; width: 88%; }
.category-rail { justify-content: flex-start; }}
@media (max-width: 460px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-masonry { columns: 1; }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.header-inner { gap: 0.5rem; }
.hero-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
.footer-inner { padding: 0.8rem 0.7rem 1rem; }
.page-main { padding: 0 0.7rem 1rem; }
.hero-wall { margin: 0 -0.7rem 0.9rem; }
.player-controls { gap: 0.25rem; }
.player-btn { padding: 0.22rem 0.4rem; }}
@media (min-width: 1100px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: repeat(4, 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}
