:root {
  --ink: #0b1114;
  --pool-deep: #0f1c22;
  --pool-mid: #16303a;
  --pool-edge: #1e4450;
  --tile-white: #cfd8d6;
  --tile-dim: #93a5a4;
  --steam: #b9cdcc;
  --red: #a3282c;
  --red-glow: #c8383c;
  --note: #e7dcc2;
  --note-ink: #2a2318;
  --line: rgba(185, 205, 204, 0.16);
  --radius: 10px;
  --radius-sm: 6px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(30, 68, 80, 0.55), transparent 70%),
    radial-gradient(90% 40% at 80% 110%, rgba(163, 40, 44, 0.14), transparent 70%),
    linear-gradient(180deg, #0b1114 0%, #0d181d 45%, #0a1013 100%);
  color: var(--tile-white);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "SimHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 15, 18, 0.88);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--steam);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px rgba(185, 205, 204, 0.3);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #eaf3f2;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30, 68, 80, 0.5), rgba(15, 28, 34, 0.6));
  color: var(--tile-dim);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: var(--tile-white);
  border-color: rgba(200, 56, 60, 0.6);
  background: rgba(163, 40, 44, 0.22);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.hero-pool {
  position: relative;
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(30, 68, 80, 0.7);
  background:
    linear-gradient(180deg, #0d1a20 0%, #10262e 38%, #0c1a20 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.7), 0 16px 44px rgba(0, 0, 0, 0.5);
}
.hero-pool-surface {
  position: relative;
  min-height: 300px;
  padding: 26px 20px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.hero-pool-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(185, 205, 204, 0.05) 0 1px, transparent 1px 9px),
    radial-gradient(70% 90% at 50% 10%, rgba(185, 205, 204, 0.13), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-pool-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(147, 165, 164, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(147, 165, 164, 0.06) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-fog-band {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 34%;
  height: 130px;
  background:
    radial-gradient(60% 100% at 30% 50%, rgba(185, 205, 204, 0.24), transparent 70%),
    radial-gradient(50% 100% at 78% 40%, rgba(185, 205, 204, 0.16), transparent 72%),
    radial-gradient(40% 100% at 55% 70%, rgba(200, 56, 60, 0.14), transparent 75%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
}
.hero-reflected-photo {
  position: relative;
  z-index: 2;
  width: min(240px, 46%);
  transform: translateY(6px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(185, 205, 204, 0.28);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 0, 0, 0.5);
  filter: saturate(0.55) contrast(1.05);
}
.hero-reflected-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(12, 26, 32, 0.5) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, rgba(12, 26, 32, 0.15), rgba(12, 26, 32, 0.72));
  pointer-events: none;
}
.poster-frame {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-silhouette-amu {
  position: absolute;
  right: 3%;
  bottom: 0;
  z-index: 3;
  width: 168px;
  height: 210px;
  background:
    radial-gradient(38% 22% at 50% 12%, #060c0f 0 70%, transparent 71%),
    radial-gradient(60% 46% at 50% 52%, #060c0f 0 72%, transparent 73%),
    linear-gradient(180deg, transparent 0 46%, #060c0f 46% 100%);
  background-repeat: no-repeat;
  filter: blur(0.6px) drop-shadow(0 0 24px rgba(6, 12, 15, 0.9));
  opacity: 0.95;
  pointer-events: none;
}
.hero-pool-foreground {
  position: relative;
  z-index: 4;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(30, 68, 80, 0.6);
  background: linear-gradient(180deg, rgba(9, 16, 19, 0.4), rgba(9, 16, 19, 0.85));
}
.hero-title {
  font-size: clamp(21px, 3.4vw, 32px);
  letter-spacing: 0.06em;
  color: #e8f0ef;
  text-shadow: 0 0 22px rgba(185, 205, 204, 0.25);
}
.hero-tagline {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--red-glow);
  letter-spacing: 0.06em;
  border-left: 3px solid var(--red);
  padding-left: 9px;
}
.hero-seo {
  margin-top: 9px;
  max-width: 78ch;
  font-size: 13.5px;
  color: var(--tile-dim);
}
.player-shell {
  position: relative;
  z-index: 5;
  margin: 12px 20px 4px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 68, 80, 0.8);
  background: linear-gradient(180deg, #0a1418, #0c1b21);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px rgba(200, 56, 60, 0.45), 0 14px 40px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  filter: brightness(0.62) saturate(0.8);
}
.player-wrapper {
  width: 100%;
  line-height: 0;
  background: #05090b;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  background: #05090b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(13, 28, 34, 0.92), rgba(9, 18, 22, 0.96));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--tile-dim);
  background: rgba(30, 68, 80, 0.28);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.ctrl-btn:hover {
  color: #eaf3f2;
  border-color: rgba(185, 205, 204, 0.4);
  background: rgba(30, 68, 80, 0.5);
}
.ctrl-play.is-playing, .ctrl-mute.is-muted, .ctrl-pip.is-active, .ctrl-fullscreen.is-active, .ctrl-theater.is-active, .ctrl-light.is-active, .ctrl-speed.is-active {
  color: #f3dede;
  border-color: rgba(200, 56, 60, 0.7);
  background: rgba(163, 40, 44, 0.38);
  box-shadow: 0 0 12px rgba(200, 56, 60, 0.35);
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 110px;
  min-width: 80px;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-runnable-track, .ctrl-volume::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 205, 204, 0.35), rgba(30, 68, 80, 0.7));
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--red-glow);
  border: 1px solid #2a1012;
  box-shadow: 0 0 10px rgba(200, 56, 60, 0.6);
}
.ctrl-progress::-moz-range-track, .ctrl-volume::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(30, 68, 80, 0.75);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 1px solid #2a1012;
  border-radius: 50%;
  background: var(--red-glow);
}
.cast-row {
  position: relative;
  z-index: 4;
  margin: 16px 20px 0;
  padding: 12px 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 38, 46, 0.5), rgba(11, 22, 27, 0.72));
}
.cast-heading {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--tile-dim);
  font-weight: 600;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 20px;
  margin-top: 12px;
}
.cast-member {
  position: relative;
  flex: 0 0 auto;
  padding: 26px 8px 30px;
  min-width: 62px;
  display: flex;
  justify-content: center;
}
.cast-member::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 34px;
  height: 54px;
  border-radius: 46% 46% 30% 30% / 62% 62% 22% 22%;
  background: linear-gradient(180deg, #101f26, #060c0f);
  box-shadow: 0 -2px 14px rgba(185, 205, 204, 0.12), inset 0 -8px 12px rgba(0, 0, 0, 0.6);
}
.cast-member::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(185, 205, 204, 0.3), transparent);
}
.cast-name {
  position: relative;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  color: var(--steam);
  padding: 4px 2px;
  border-radius: 4px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 20px 0;
}
.status-chip {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(30, 68, 80, 0.3);
  color: var(--tile-dim);
}
.status-score {
  color: #f0d9d9;
  border-color: rgba(200, 56, 60, 0.55);
  background: rgba(163, 40, 44, 0.26);
}
.status-current {
  color: var(--steam);
  border-color: rgba(185, 205, 204, 0.36);
}
.synopsis-block {
  margin: 18px 20px 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 28, 34, 0.6), rgba(10, 19, 23, 0.7));
}
.synopsis-heading, .detail-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--steam);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.synopsis-heading::before, .detail-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: 1px;
  background: radial-gradient(circle at 35% 35%, var(--red-glow), var(--red) 70%);
  box-shadow: 0 0 9px rgba(200, 56, 60, 0.75);
}
.synopsis-para {
  margin-top: 9px;
  font-size: 13.5px;
  color: #b6c6c4;
}
.synopsis-para:first-of-type {
  margin-top: 11px;
}
.detail-sheet {
  margin: 18px 20px 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 28, 34, 0.6), rgba(10, 19, 23, 0.7));
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(11, 22, 27, 0.86);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--tile-dim);
  min-width: 4.2em;
}
.detail-value {
  font-size: 13px;
  color: #c7d6d4;
}
.timeline-pool {
  margin-top: 22px;
  padding: 14px 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 68, 80, 0.72);
  background:
    linear-gradient(180deg, rgba(16, 38, 46, 0.55), rgba(9, 18, 22, 0.8));
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(146px, 1fr);
  gap: 8px;
  margin-top: 13px;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 205, 204, 0.3) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(185, 205, 204, 0.26);
  border-radius: 999px;
}
.timeline-tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 96px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(185, 205, 204, 0.2);
  background:
    linear-gradient(180deg, rgba(207, 216, 214, 0.1), rgba(15, 28, 34, 0.72)),
    repeating-linear-gradient(90deg, rgba(207, 216, 214, 0.05) 0 1px, transparent 1px 22px);
  box-shadow: inset 0 1px 0 rgba(207, 216, 214, 0.14), 0 4px 12px rgba(0, 0, 0, 0.35);
}
.timeline-tile:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(207, 216, 214, 0.05), rgba(10, 19, 23, 0.8)),
    repeating-linear-gradient(90deg, rgba(207, 216, 214, 0.04) 0 1px, transparent 1px 22px);
}
.timeline-timecode {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red-glow);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  color: #b8c8c6;
  line-height: 1.5;
}
.episodes-grid {
  margin-top: 22px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(185, 205, 204, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 38, 46, 0.72), rgba(10, 19, 23, 0.82)),
    repeating-linear-gradient(0deg, rgba(207, 216, 214, 0.045) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(207, 216, 214, 0.045) 0 1px, transparent 1px 18px);
  transition: border-color 0.2s, transform 0.2s;
}
.episode-card:hover {
  border-color: rgba(200, 56, 60, 0.5);
  transform: translateY(-1px);
}
.episode-index {
  align-self: flex-start;
  position: relative;
  padding: 2px 9px 2px 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #dfe9e8;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(185, 205, 204, 0.24), rgba(185, 205, 204, 0.06));
  border: 1px solid rgba(185, 205, 204, 0.24);
}
.episode-index::after {
  content: "";
  position: absolute;
  right: -7px;
  top: -3px;
  width: 16px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 205, 204, 0.3), transparent 70%);
  filter: blur(2px);
}
.episode-title {
  font-size: 14.5px;
  color: #e2ecea;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12.5px;
  color: var(--tile-dim);
  line-height: 1.55;
}
.episode-duration {
  margin-top: auto;
  padding-top: 5px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--red-glow);
  border-top: 1px dashed rgba(185, 205, 204, 0.16);
}
.comments-locker {
  margin-top: 22px;
  padding: 14px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 68, 80, 0.72);
  background:
    linear-gradient(180deg, rgba(16, 38, 46, 0.5), rgba(9, 18, 22, 0.82));
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin-top: 14px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-note {
  position: relative;
  padding: 11px 12px 10px;
  border-radius: 3px 8px 4px 7px;
  background: linear-gradient(180deg, #eadfc6, #ded0b2);
  color: var(--note-ink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(-0.35deg);
}
.comment-column:nth-child(2) .comment-note:nth-child(odd) {
  transform: rotate(0.5deg);
}
.comment-column:nth-child(2) .comment-note:nth-child(even) {
  transform: rotate(-0.6deg);
}
.comment-note::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 0 0 6px 0;
  background: linear-gradient(135deg, transparent 0 46%, rgba(120, 104, 74, 0.5) 50%, rgba(246, 240, 224, 0.85) 62%, #efe6d0 100%);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.comment-text {
  font-size: 13px;
  line-height: 1.6;
}
.comment-nickname {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #6d5f42;
  border-top: 1px dashed rgba(106, 92, 62, 0.35);
  padding-top: 5px;
}
.recommend-band {
  margin-top: 16px;
  padding: 12px 14px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 38, 46, 0.5), rgba(9, 18, 22, 0.76));
  border: 1px solid rgba(30, 68, 80, 0.6);
}
.recommend-band:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(11, 22, 27, 0.85), rgba(16, 38, 46, 0.42));
}
.recommend-heading {
  font-size: 13.5px;
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: start;
  gap: 4px;
  margin-top: 11px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(185, 205, 204, 0.12);
  background: linear-gradient(180deg, rgba(19, 42, 50, 0.75), rgba(10, 19, 23, 0.9));
  color: var(--tile-white);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
a.recommend-card:nth-child(even) {
  background: linear-gradient(180deg, rgba(12, 24, 29, 0.9), rgba(17, 36, 43, 0.7));
}
a.recommend-card:hover {
  border-color: rgba(200, 56, 60, 0.55);
  background: linear-gradient(180deg, rgba(30, 68, 80, 0.85), rgba(14, 28, 34, 0.95));
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.7) brightness(0.92);
}
.recommend-name {
  font-size: 13px;
  color: #dbe6e5;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--tile-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 15, 18, 0.6), #070c0f);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 18px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--tile-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--steam);
  border-bottom-color: rgba(185, 205, 204, 0.5);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6f8180;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: #7f9291;
  text-decoration: none;
  border-bottom: 1px dotted rgba(127, 146, 145, 0.45);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--red-glow);
  border-bottom-color: rgba(200, 56, 60, 0.7);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #66787a;
  max-width: 92ch;
  padding-top: 8px;
  border-top: 1px solid rgba(185, 205, 204, 0.08);
}
@media (max-width: 900px) {.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-pool-surface {
    min-height: 250px;
  }
.hero-silhouette-amu {
    width: 128px;
    height: 168px;
  }}
@media (max-width: 680px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 0 12px 30px;
  }
.header-inner {
    padding: 8px 12px;
  }
.hero-pool {
    margin-top: 10px;
  }
.hero-pool-surface {
    min-height: 210px;
    padding: 18px 14px 4px;
  }
.hero-reflected-photo {
    width: min(190px, 52%);
  }
.hero-silhouette-amu {
    width: 104px;
    height: 142px;
    right: 1%;
  }
.hero-pool-foreground {
    padding: 12px 14px 14px;
  }
.player-shell, .cast-row, .episode-status, .synopsis-block, .detail-sheet {
    margin-left: 14px;
    margin-right: 14px;
  }
.player-shell {
    margin-top: 10px;
  }
.player-controls {
    padding: 7px 8px;
    gap: 5px;
  }
.ctrl-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
    min-width: 0;
  }
.ctrl-volume {
    flex: 1 1 80px;
  }
.cast-list {
    gap: 8px 12px;
  }
.cast-member {
    padding: 22px 4px 26px;
    min-width: 52px;
  }
.cast-member::before {
    width: 28px;
    height: 44px;
    bottom: 23px;
  }
.cast-member::after {
    bottom: 17px;
  }
.cast-name {
    font-size: 11.5px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note, .comment-column:nth-child(2) .comment-note:nth-child(odd), .comment-column:nth-child(2) .comment-note:nth-child(even) {
    transform: none;
  }
.timeline-track {
    grid-auto-columns: minmax(132px, 1fr);
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 5px;
  }
.footer-inner {
    padding: 14px 12px 22px;
  }}
@media (max-width: 420px) {.hero-reflected-photo {
    width: 58%;
  }
.hero-silhouette-amu {
    width: 84px;
    height: 118px;
  }
.recommend-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 11.5px;
  }}

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}
