:root {
  --ink: #1a1c22;
  --ink-2: #23262e;
  --warm-grey: #3a3733;
  --warm-grey-2: #4a463f;
  --hall-blue: #12203a;
  --hall-blue-2: #1b2e50;
  --hall-blue-3: #27406b;
  --paper: #cfc7b8;
  --paper-dim: #a89f8e;
  --paper-mute: #8b8474;
  --key-white: #f2ede1;
  --baton: #ffe9a8;
  --baton-glow: #fff6d4;
  --line: rgba(207, 199, 184, 0.18);
  --line-strong: rgba(207, 199, 184, 0.34);
  --accent: #c9a44a;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-stretch: condensed;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol, dl, dd, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--hall-blue) 0%, rgba(18, 32, 58, 0.94) 100%);
  border-bottom: 1px solid var(--line-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--key-white);
  text-decoration: none;
  text-transform: uppercase;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--baton-glow);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--paper-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--key-white);
  border-color: var(--accent);
  background: rgba(201, 164, 74, 0.12);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 22px;
  display: block;
}
.hero {
  position: relative;
  margin: 12px 0 10px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(255, 233, 168, 0.10) 0%, rgba(255, 233, 168, 0) 55%),
    linear-gradient(160deg, var(--hall-blue-2) 0%, var(--hall-blue) 45%, #0d1526 100%);
  overflow: hidden;
}
.hero-silhouettes {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  height: 190px;
  padding: 0 10px;
}
.silhouette {
  position: relative;
  flex: 0 0 auto;
}
.silhouette-nodame {
  width: 46%;
  height: 100%;
}
.silhouette-chiaki {
  width: 38%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.silhouette-figure {
  position: absolute;
  bottom: 0;
  display: block;
  background: #0b111d;
  box-shadow: inset 0 0 0 1px rgba(207, 199, 184, 0.08);
}
.silhouette-nodame .silhouette-figure {
  left: 6%;
  width: 74%;
  height: 62%;
  border-radius: 48% 52% 6px 8px / 62% 58% 6px 8px;
  background:
    radial-gradient(60% 45% at 34% 22%, #0b111d 0%, #0b111d 70%, transparent 72%),
    linear-gradient(180deg, #0d1421 0%, #090e17 100%);
}
.silhouette-nodame .silhouette-figure::after {
  content: "";
  position: absolute;
  right: -22%;
  bottom: 0;
  width: 62%;
  height: 26%;
  background: #090e17;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -1px 0 rgba(207, 199, 184, 0.14);
}
.silhouette-chiaki .silhouette-figure {
  right: 4%;
  width: 56%;
  height: 88%;
  border-radius: 40% 44% 4px 4px / 30% 32% 4px 4px;
  background: linear-gradient(180deg, #0d1421 0%, #080d15 100%);
}
.silhouette-chiaki .silhouette-figure::before {
  content: "";
  position: absolute;
  top: 4%;
  left: -34%;
  width: 52%;
  height: 9%;
  background: #080d15;
  transform: rotate(-38deg);
  transform-origin: right center;
  border-radius: 4px;
}
.baton-highlight {
  position: absolute;
  top: 6%;
  right: 24%;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, var(--baton) 0%, var(--baton-glow) 60%, rgba(255, 246, 212, 0.15) 100%);
  transform: rotate(-38deg);
  transform-origin: left center;
  border-radius: 2px;
  box-shadow: 0 0 8px 1px rgba(255, 233, 168, 0.55);
}
.hero-clutter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
  pointer-events: none;
}
.clutter-bag {
  position: absolute;
  bottom: 0;
  display: block;
  background: linear-gradient(160deg, #2c2a26 0%, #1d1c19 100%);
  border-radius: 42% 46% 8px 8px / 52% 48% 8px 8px;
  box-shadow: inset 0 1px 0 rgba(207, 199, 184, 0.12);
}
.clutter-bag:nth-of-type(1) {
  left: 2%;
  width: 30%;
  height: 100%;
}
.clutter-bag:nth-of-type(2) {
  left: 24%;
  width: 24%;
  height: 74%;
  background: linear-gradient(160deg, #33302a 0%, #211f1b 100%);
}
.clutter-sheet {
  position: absolute;
  bottom: 4%;
  display: block;
  background: linear-gradient(170deg, rgba(242, 237, 225, 0.82) 0%, rgba(207, 199, 184, 0.6) 100%);
  border-radius: 1px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.clutter-sheet:nth-of-type(3) {
  left: 46%;
  width: 26%;
  height: 42%;
  transform: rotate(-14deg);
}
.clutter-sheet:nth-of-type(4) {
  left: 62%;
  width: 30%;
  height: 36%;
  transform: rotate(9deg);
  background: linear-gradient(170deg, rgba(242, 237, 225, 0.7) 0%, rgba(168, 159, 142, 0.5) 100%);
}
.watch-panel {
  margin: 0 0 12px;
}
.player-shell {
  position: relative;
  border: 1px solid var(--line-strong);
  background: #0a0f1a;
  padding: 8px;
  transition: background 0.25s, border-color 0.25s;
}
.player-shell.lights-off {
  background: #040609;
  border-color: rgba(255, 233, 168, 0.28);
}
.player-shell.is-theater {
  border-color: var(--accent);
  background: #070c16;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid rgba(207, 199, 184, 0.12);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.player-btn {
  appearance: none;
  cursor: pointer;
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--key-white);
  border-color: var(--accent);
  background: rgba(201, 164, 74, 0.14);
}
.player-btn.is-active {
  color: var(--baton-glow);
  border-color: var(--baton);
  background: rgba(255, 233, 168, 0.16);
}
.player-btn.is-muted {
  color: #e0b4a0;
  border-color: rgba(224, 180, 160, 0.55);
}
.player-range {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: rgba(207, 199, 184, 0.22);
  border-radius: 3px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--baton);
  box-shadow: 0 0 5px rgba(255, 233, 168, 0.6);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--baton);
}
.player-range.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-select {
  appearance: none;
  padding: 4px 8px;
  font-size: 11.5px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
}
.player-select:hover {
  border-color: var(--accent);
}
.movie-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "poster title title"
    "poster status cast"
    "poster details cast"
    "poster details synopsis"
    "poster details synopsis";
  gap: 0 18px;
  align-items: start;
  padding: 14px;
  margin: 0 0 14px;
  background:
    linear-gradient(180deg, rgba(58, 55, 51, 0.55) 0%, rgba(26, 28, 34, 0.9) 100%);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--hall-blue-3);
}
.overview-poster-wrap {
  grid-area: poster;
  width: 132px;
  align-self: start;
  border: 1px solid var(--line-strong);
  background: #0b0d12;
  padding: 3px;
}
.overview-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-title-group {
  grid-area: title;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-bottom: 8px;
}
.movie-title {
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--key-white);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  color: var(--paper-dim);
  line-height: 1.4;
  max-width: 62ch;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.status-item {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--key-white);
  background: rgba(39, 64, 107, 0.55);
  border: 1px solid rgba(122, 158, 214, 0.32);
  border-radius: 2px;
}
.details-block {
  grid-area: details;
  margin-bottom: 6px;
}
.block-heading {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  padding-bottom: 3px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 11.5px;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(207, 199, 184, 0.14);
}
.detail-key {
  flex: 0 0 auto;
  color: var(--paper-mute);
  min-width: 4.2em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper);
}
.cast-block {
  grid-area: cast;
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 46px;
}
.cast-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #3a4b66 0%, #1d2a40 62%, #131c2c 100%);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 10px;
  line-height: 1.15;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.04em;
  height: auto;
}
.synopsis-block {
  grid-area: synopsis;
}
.synopsis-para {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--paper-dim);
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--key-white);
  padding: 0 0 4px 8px;
  margin-bottom: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.timeline-section {
  margin-bottom: 14px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: 6px;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0 3px 14px;
  font-size: 12px;
  border-bottom: 1px solid rgba(207, 199, 184, 0.08);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tl, var(--hall-blue-3));
}
.timeline-item:nth-child(1) { --tl: #16243c; }
.timeline-item:nth-child(2) { --tl: #1a2c49; }
.timeline-item:nth-child(3) { --tl: #1f3556; }
.timeline-item:nth-child(4) { --tl: #253e63; }
.timeline-item:nth-child(5) { --tl: #2b4771; }
.timeline-item:nth-child(6) { --tl: #33507e; }
.timeline-item:nth-child(7) { --tl: #3b598b; }
.timeline-item:nth-child(8) { --tl: #456397; }
.timeline-item:nth-child(9) { --tl: #506da3; }
.timeline-item:nth-child(10) { --tl: #5c77af; }
.timeline-item:nth-child(11) { --tl: #6b83b9; }
.timeline-time {
  flex: 0 0 auto;
  width: 3.4em;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--baton);
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper-dim);
}
.timeline-item:hover .timeline-label {
  color: var(--key-white);
}
.episodes-section {
  margin-bottom: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 9px;
  background: linear-gradient(180deg, rgba(58, 55, 51, 0.42) 0%, rgba(26, 28, 34, 0.72) 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--hall-blue-3);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--line-strong);
  border-top-color: var(--accent);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.episode-title {
  font-size: 12.5px;
  color: var(--key-white);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.45;
  color: var(--paper-mute);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.28s ease;
  margin: 0;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin: 2px 0 0;
}
.episode-duration {
  margin-top: auto;
  padding-top: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--paper-mute);
  border-top: 1px dotted rgba(207, 199, 184, 0.16);
}
.comments-section {
  margin-bottom: 14px;
}
.comment-columns {
  column-count: 2;
  column-gap: 12px;
}
.comment-item {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 7px 9px;
  background: rgba(58, 55, 51, 0.32);
  border-left: 2px solid var(--hall-blue-3);
  border-top: 1px solid rgba(207, 199, 184, 0.1);
}
.comment-item:nth-child(even) {
  margin-left: 12px;
  border-left-color: var(--warm-grey-2);
}
.comment-nick {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--baton);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--paper-dim);
}
.recommend-region {
  margin-bottom: 12px;
}
.recommend-title {
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.14em;
  color: var(--key-white);
  padding: 0 0 4px 7px;
  margin-bottom: 6px;
  border-left: 3px solid var(--hall-blue-3);
  border-bottom: 1px solid var(--line);
}
.recommend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.recommend-item {
  flex: 1 1 150px;
  min-width: 0;
  max-width: 200px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 5px;
  color: var(--paper-dim);
  text-decoration: none;
  background: rgba(26, 28, 34, 0.7);
  border: 1px solid var(--line);
  transition: border-color 0.16s, background 0.16s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: var(--accent);
  background: rgba(39, 64, 107, 0.35);
  color: var(--key-white);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b0d12;
  border: 1px solid rgba(207, 199, 184, 0.12);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11.5px;
  font-weight: 700;
  color: inherit;
  line-height: 1.3;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--paper-mute);
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--hall-blue) 0%, #0c1526 100%);
  padding: 12px 14px 16px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 8px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--paper-mute);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--key-white);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  max-width: 1280px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--paper-mute);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--key-white);
  text-decoration: underline;
}
.player .play, .player .is-active, .player-shell .fullscreen {
  color: var(--baton-glow);
}
@media (max-width: 980px) {.movie-overview {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "poster title"
      "poster status"
      "poster details"
      "cast cast"
      "synopsis synopsis";
    gap: 0 16px;
  }
.cast-list {
    gap: 6px 8px;
  }
.cast-name {
    writing-mode: horizontal-tb;
  }
.cast-item {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.header-inner {
    gap: 8px;
  }
.hero-silhouettes {
    height: 150px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "poster"
      "status"
      "details"
      "cast"
      "synopsis";
    gap: 8px 0;
    padding: 11px;
  }
.overview-poster-wrap {
    width: 46%;
    max-width: 168px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin: 2px 0 0;
  }
.comment-columns {
    column-count: 1;
  }
.comment-item:nth-child(even) {
    margin-left: 0;
  }
.recommend-item {
    flex: 1 1 44%;
    max-width: none;
  }
.player-range {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-item {
    flex: 1 1 100%;
  }}

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}
