*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li {
  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;
}
:root {
  --cold-base: #2b323d;
  --cold-deep: #1e242c;
  --cold-panel: #333c49;
  --cold-line: #454f5d;
  --lamp-white: #e8ebee;
  --lamp-dim: #b9c0c8;
  --desk-wood: #4a3b2e;
  --desk-wood-deep: #322720;
  --ink: #161a20;
  --warm-grey: #6f6a62;
  --warm-card: #3b3a38;
  --accent: #c9a86a;
  --font-sans: "Hiragino Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
}
html {
  background: var(--cold-deep);
}
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--lamp-dim);
  background:
    linear-gradient(180deg, #232a34 0%, #2b323d 26%, #2f3742 58%, #262d36 100%);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(24, 29, 36, 0.94);
  border-bottom: 1px solid var(--cold-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"].brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--lamp-white);
  text-decoration: none;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
  white-space: nowrap;
}
a[data-contract="site-name"].brand:hover {
  color: var(--accent);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lamp-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--cold-line);
  background: #2a323c;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 0;
}
.section-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--lamp-white);
  text-transform: uppercase;
  margin: 0 0 8px;
  padding-left: 8px;
  border-left: 2px solid var(--accent);
  line-height: 1.3;
}
.hero {
  position: relative;
  margin-bottom: 18px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.6fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(105deg, #1b2028 0%, #232a34 40%, #2d3541 100%);
  border: 1px solid var(--cold-line);
  padding: 14px;
}
.hero-poster-col {
  align-self: start;
  min-width: 0;
}
.poster-wrapper {
  position: relative;
  margin: 0;
  background: #10141a;
  border: 1px solid #11151b;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06);
}
.poster-caption {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lamp-dim);
  padding: 5px 6px;
  background: #161b22;
  border-top: 1px solid #2a323c;
  text-align: center;
}
.hero-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-title-block {
  position: relative;
  padding: 12px 14px 12px 16px;
  background:
    linear-gradient(100deg, rgba(12, 15, 20, 0.96) 0%, rgba(20, 25, 32, 0.72) 62%, rgba(20, 25, 32, 0) 100%);
  border-left: 4px solid var(--accent);
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 5px;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--lamp-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.6;
  color: #a9b3bf;
  margin-top: 7px;
  max-width: 46em;
}
.hero-player-shell {
  position: relative;
  width: 100%;
  background: #0c0f14;
  border: 1px solid var(--cold-line);
}
.hero-player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #232a33 0%, #1a2029 100%);
  border-top: 1px solid var(--cold-line);
}
.player-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lamp-dim);
  background: #2d353f;
  border: 1px solid var(--cold-line);
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s linear, color 0.12s linear;
}
.player-btn:hover {
  color: var(--lamp-white);
  background: #3a4450;
}
.player-btn-play {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
}
.player-btn-play:hover {
  color: var(--ink);
  background: #d9bb7f;
}
.player-btn.is-active {
  color: var(--ink);
  background: var(--lamp-white);
  border-color: var(--lamp-white);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #4b5562;
  border: none;
  cursor: pointer;
}
.player-range-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.player-range-volume {
  flex: 0 0 70px;
  width: 70px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
  border: none;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
}
.player-select {
  font-size: 11px;
  color: var(--lamp-dim);
  background: #2d353f;
  border: 1px solid var(--cold-line);
  padding: 3px 4px;
  cursor: pointer;
}
.player-select.is-active {
  color: var(--lamp-white);
  border-color: var(--accent);
}
.hero-player-shell.is-playing {
  border-color: #5a6674;
}
.hero-player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--accent), 0 16px 34px rgba(0, 0, 0, 0.6);
}
.hero-player-shell.is-lights-off {
  background: #000;
}
.hero-player-shell.is-lights-off video {
  filter: brightness(0.55) contrast(1.12);
}
.episode-status {
  border-top: 1px solid var(--cold-line);
  padding-top: 9px;
}
.status-line {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--lamp-white);
  margin-bottom: 6px;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--lamp-dim);
  background: #2a323c;
  border: 1px solid var(--cold-line);
  padding: 2px 7px;
  white-space: nowrap;
}
.chip-current {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
}
.chip-rating {
  color: #e4c988;
  border-color: #5c5133;
  background: #2f2b21;
  font-weight: 700;
}
.chip-total, .chip-duration {
  color: #9aa4b0;
}
.cast {
  margin-top: 14px;
  padding-top: 4px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px;
  background: #262d36;
  border: 1px solid var(--cold-line);
  border-bottom: 2px solid var(--desk-wood);
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #8f9aa6 0%, #5d6874 46%, #333c47 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: none;
}
.cast-name {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lamp-white);
  line-height: 1.3;
}
.cast-role {
  font-family: var(--font-serif);
  font-size: 11px;
  color: #8d97a3;
  line-height: 1.35;
}
.synopsis {
  margin-top: 14px;
  padding: 12px 14px;
  background: #262d36;
  border: 1px solid var(--cold-line);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  align-items: start;
}
.synopsis-para {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.72;
  color: #b3bcc6;
  border-left: 1px solid #3a434f;
  padding-left: 9px;
}
.synopsis-seo {
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.65;
  color: #7d8792;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #414b58;
}
.details {
  margin-top: 14px;
  padding: 12px 14px;
  background: #222932;
  border: 1px solid var(--cold-line);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #3a434f;
  border: 1px solid #3a434f;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 9px;
  background: #262d36;
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7f8a96;
  white-space: nowrap;
  flex: none;
}
.detail-value {
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: var(--lamp-white);
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline {
  margin-top: 18px;
  padding: 12px 14px;
  background: #242b34;
  border: 1px solid var(--cold-line);
}
.timeline-list {
  position: relative;
  padding-left: 16px;
  margin-top: 4px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, #5b6673 0%, var(--desk-wood) 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 16px;
  align-items: start;
  padding: 5px 0 5px 4px;
  border-bottom: 1px dotted #3b4450;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--cold-deep);
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.timeline-timecode {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
  align-self: start;
  background: #1d232b;
  border: 1px solid #3b4450;
  padding: 1px 7px;
  justify-self: start;
}
.timeline-label {
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.6;
  color: #aab3be;
  justify-self: end;
  text-align: right;
  max-width: 40em;
}
.episodes {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 1px 8px;
  padding: 7px 9px;
  background: #262d36;
  border: 1px solid var(--cold-line);
  border-left: 3px solid var(--desk-wood);
}
.episode-number {
  grid-area: num;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  white-space: nowrap;
  align-self: center;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--lamp-white);
  line-height: 1.3;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  color: #7f8a96;
  white-space: nowrap;
  align-self: center;
}
.episode-summary {
  grid-area: sum;
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.55;
  color: #8590 9c;
  color: #85909c;
  margin-top: 2px;
}
.comments {
  margin-top: 20px;
}
.comment-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  padding: 4px 2px 6px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px;
  background: linear-gradient(170deg, #43413d 0%, #3a3835 100%);
  border: 1px solid #4d4a45;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
  transform: rotate(-0.7deg);
  transform-origin: top left;
}
.comment-card:nth-child(2n) {
  transform: rotate(0.8deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-1.1deg);
}
.comment-text {
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.62;
  color: #d6d0c6;
}
.comment-meta {
  border-top: 1px dashed #5b5751;
  padding-top: 5px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #a49b8c;
}
.recommend-region {
  margin-top: 20px;
  padding-top: 4px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--lamp-dim);
  background: #262d36;
  border: 1px solid var(--cold-line);
  padding: 0 0 7px;
  transition: border-color 0.12s linear, transform 0.12s linear;
}
a.recommend-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #141922;
  filter: saturate(0.85);
}
.recommend-name {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lamp-white);
  line-height: 1.35;
  padding: 0 8px;
  margin-top: 3px;
}
.recommend-blurb {
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.5;
  color: #7f8a96;
  padding: 0 8px;
}
.region-1 .section-heading {
  border-left-color: #c9a86a;
}
.region-2 .section-heading {
  border-left-color: #7d9bb8;
}
.region-3 .section-heading {
  border-left-color: #a87f7f;
}
.region-2 .recommend-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.region-3 .recommend-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer {
  margin-top: 26px;
  background: #1b2028;
  border-top: 1px solid var(--cold-line);
  padding: 14px 0 18px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f7783;
  max-width: 78em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #98a2ae;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 9px;
  border-top: 1px solid #2b333d;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #5f6874;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #79838f;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row, .region-2 .recommend-row, .region-3 .recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-col {
    max-width: 220px;
  }
.hero-title {
    font-size: 23px;
  }
.hero-title-block {
    padding: 10px 10px 10px 12px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
.timeline-label {
    justify-self: start;
    text-align: left;
  }
.comment-board {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card, .comment-card:nth-child(2n), .comment-card:nth-child(3n) {
    transform: rotate(0deg);
  }
.recommend-row, .region-2 .recommend-row, .region-3 .recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 460px) {.header-inner {
    padding: 7px 12px;
  }
a[data-contract="site-name"].brand {
    font-size: 15px;
  }
.page-main {
    padding: 10px 12px 0;
  }
.hero-poster-col {
    max-width: 180px;
  }
.hero-title {
    font-size: 20px;
  }
.player-range-volume {
    flex: 1 1 60px;
    width: auto;
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row, .region-2 .recommend-row, .region-3 .recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    padding: 0 12px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
