*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #05070c;
  background-image:
    radial-gradient(120% 90% at 8% 0%, rgba(28, 52, 84, 0.55) 0%, rgba(5, 7, 12, 0) 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(214, 116, 34, 0.10) 0%, rgba(5, 7, 12, 0) 62%),
    linear-gradient(180deg, #0a1220 0%, #05070c 46%, #04060a 100%);
  color: #c8d2dd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #9db2c6; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid #e08a3c; outline-offset: 2px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 11, 19, 0.96) 0%, rgba(6, 11, 19, 0.82) 100%);
  border-bottom: 1px solid rgba(126, 160, 196, 0.16);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: #eef3f8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding-right: 14px;
  border-right: 1px solid rgba(126, 160, 196, 0.22);
}
a[data-contract="site-name"]::before {
  content: "2902";
  display: inline-block;
  margin-right: 8px;
  color: #e08a3c;
  font-size: 10px;
  letter-spacing: 0.1em;
  vertical-align: 1px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #9fb3c7;
  text-decoration: none;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid rgba(126, 160, 196, 0.20);
  border-radius: 2px;
  background: rgba(18, 30, 46, 0.55);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #f6d3ae;
  border-color: rgba(224, 138, 60, 0.65);
  background: rgba(60, 38, 18, 0.55);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}
.page-main > section + section { margin-top: 26px; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.34fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(126, 160, 196, 0.16);
  border-radius: 3px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(30, 54, 88, 0.42) 0%, rgba(8, 12, 20, 0) 62%),
    linear-gradient(180deg, rgba(13, 21, 34, 0.92) 0%, rgba(7, 11, 18, 0.96) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(150, 196, 240, 0.10) 0 1px, transparent 1px 100%) 0 0 / 100% 42px,
    linear-gradient(0deg, rgba(150, 196, 240, 0.07) 0 1px, transparent 1px 100%) 0 0 / 58px 100%;
  mask-image: linear-gradient(120deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 62%);
  opacity: 0.7;
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  z-index: 1;
}
.poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(126, 160, 196, 0.22);
  border-radius: 2px;
  background: #0b1421;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-index {
  position: absolute;
  top: 10px;
  right: -2px;
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(224, 138, 60, 0.30);
  text-shadow: 0 0 18px rgba(224, 138, 60, 0.28);
  pointer-events: none;
  user-select: none;
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-size: 25px;
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #f2f6fa;
}
.hero-tagline {
  font-size: 12.5px;
  color: #e0a468;
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 2px solid rgba(224, 138, 60, 0.7);
}
.hero-seo {
  font-size: 12px;
  line-height: 1.62;
  color: #8fa2b5;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  display: block;
  border: 1px solid rgba(126, 160, 196, 0.24);
  border-radius: 2px;
  background: #000;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  max-width: none;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.96) 0%, rgba(7, 11, 18, 0.98) 100%);
  border-top: 1px solid rgba(126, 160, 196, 0.18);
}
.ctrl {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(126, 160, 196, 0.26);
  background: rgba(20, 32, 48, 0.72);
  color: #b9c8d7;
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl:hover { color: #f6d3ae; border-color: rgba(224, 138, 60, 0.6); }
.ctrl-play { color: #f0f4f8; border-color: rgba(224, 138, 60, 0.5); background: rgba(58, 36, 16, 0.6); }
.ctrl-play.play, .ctrl-play.is-playing { color: #f6d3ae; }
.ctrl-light { margin-left: auto; }
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(126, 160, 196, 0.24);
  accent-color: #e08a3c;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 74px;
  min-width: 56px;
  height: 4px;
  padding: 0;
  border: none;
  background: rgba(126, 160, 196, 0.24);
  accent-color: #7fa8d6;
  cursor: pointer;
}
.ctrl-speed {
  padding: 4px 6px;
  background-color: rgba(20, 32, 48, 0.72);
}
.ctrl-speed option { background: #0d1624; color: #c8d2dd; }
.ctrl.is-muted, .ctrl-mute.mute { color: #e08a3c; border-color: rgba(224, 138, 60, 0.6); }
.ctrl.is-active, .ctrl.is-fullscreen { color: #f6d3ae; border-color: rgba(224, 138, 60, 0.75); }
.player-shell.is-theater {
  border-color: rgba(224, 138, 60, 0.45);
  box-shadow: 0 0 0 1px rgba(224, 138, 60, 0.18), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.player-shell.is-lights-off video { filter: brightness(0.55); }
.player-shell.is-lights-off .player-controls { background: #04070c; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 10px;
  border: 1px solid rgba(126, 160, 196, 0.16);
  border-left: 2px solid rgba(224, 138, 60, 0.7);
  border-radius: 2px;
  background: rgba(16, 26, 40, 0.6);
  font-size: 11.5px;
}
.status-current { color: #e6ecf3; letter-spacing: 0.05em; }
.status-total { color: #7f93a7; letter-spacing: 0.05em; }
.status-total::before { content: "／"; color: rgba(126, 160, 196, 0.4); margin-right: 4px; }
.details {
  padding: 10px 12px;
  border: 1px solid rgba(126, 160, 196, 0.14);
  border-radius: 2px;
  background: rgba(12, 20, 31, 0.55);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(126, 160, 196, 0.14);
  min-width: 0;
}
.details-row dt {
  flex: 0 0 58px;
  color: #7d90a4;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.details-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: #d3dde7;
  font-size: 12px;
  word-break: break-word;
}
.cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #dfe7ef;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(126, 160, 196, 0.18);
}
.cast-heading::before, .synopsis-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: #e08a3c;
  transform: translateY(-2px) rotate(45deg);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(126, 160, 196, 0.18);
  border-radius: 2px;
  background: rgba(18, 29, 44, 0.62);
}
.cast-card::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(224, 138, 60, 0.6) 0%, rgba(224, 138, 60, 0) 62%),
    linear-gradient(150deg, #2b3f58 0%, #16202f 100%);
  border: 1px solid rgba(126, 160, 196, 0.28);
  flex: 0 0 auto;
}
.cast-name { font-size: 12px; color: #d6dee7; letter-spacing: 0.05em; white-space: nowrap; }
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: #98aab9;
  max-width: 68ch;
}
.synopsis-para + .synopsis-para { margin-top: 7px; }
.timeline { position: relative; }
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 138, 60, 0.6) rgba(126, 160, 196, 0.12);
}
.timeline-track::-webkit-scrollbar { height: 7px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(126, 160, 196, 0.10); border-radius: 4px; }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(224, 138, 60, 0.55); border-radius: 4px; }
.timeline-item {
  flex: 0 0 clamp(150px, 22%, 210px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 11px;
  border: 1px solid rgba(126, 160, 196, 0.16);
  border-top: 2px solid rgba(224, 138, 60, 0.55);
  border-radius: 2px;
  background: rgba(14, 24, 38, 0.7);
}
.timeline-time {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #e0a468;
  text-transform: uppercase;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: #c3cfdb;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 4px 10px;
  padding: 9px 11px;
  border: 1px solid rgba(126, 160, 196, 0.15);
  border-left: 2px solid rgba(126, 160, 196, 0.28);
  border-radius: 2px;
  background: rgba(11, 19, 30, 0.72);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-left-color: rgba(224, 138, 60, 0.85);
  background: rgba(16, 26, 40, 0.85);
}
.episode-number {
  grid-area: num;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #e0a468;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #eaf0f6;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  color: #7f93a7;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8b9dae;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  border: 1px solid rgba(126, 160, 196, 0.14);
  border-radius: 2px;
  background: rgba(10, 17, 27, 0.68);
}
.comment-nickname {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #d9a367;
}
.comment-nickname::before { content: "▍"; color: rgba(224, 138, 60, 0.5); margin-right: 4px; }
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: #96a8b8;
}
.recommend-region { position: relative; }
.recommend-list {
  display: grid;
  gap: 6px;
}
.recommend-item {
  min-width: 0;
  border: 1px solid rgba(126, 160, 196, 0.12);
  border-radius: 2px;
  background: rgba(10, 17, 27, 0.6);
  overflow: hidden;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  align-items: center;
  gap: 2px 12px;
  padding: 7px 11px 7px 7px;
  color: #c6d2de;
  text-decoration: none;
  transition: background 0.15s ease;
}
a[data-runtime="recommendation"]:hover { background: rgba(26, 40, 58, 0.7); }
[data-runtime="recommendation"] img {
  grid-area: img;
  width: 54px;
  height: 72px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(126, 160, 196, 0.2);
  border-radius: 2px;
  background: #0b1421;
  filter: saturate(0.8) brightness(0.92);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #e6ecf3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8194a6;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 16px 16px 26px;
  border-top: 1px solid rgba(126, 160, 196, 0.16);
  background: linear-gradient(180deg, rgba(6, 10, 17, 0.4) 0%, rgba(4, 7, 12, 0.9) 100%);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #93a6ba;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #f0c79a; border-bottom-color: rgba(224, 138, 60, 0.6); }
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 11px;
  line-height: 1.65;
  color: #66788a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px dotted rgba(126, 160, 196, 0.16);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7f93a7;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #8fa3b6;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover { color: #e0a468; }
@media (max-width: 1020px) {.hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hero-media { max-width: 300px; }
.hero-index { font-size: 28px; }
.comment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {.page-main { padding: 14px 12px 32px; }
.page-main > section + section { margin-top: 20px; }
.hero { padding: 13px; gap: 14px; }
.hero-media { max-width: 240px; }
.hero-title { font-size: 21px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.ctrl-light { margin-left: 0; }
.player-controls { gap: 5px; }}
@media (max-width: 520px) {.header-inner { padding: 8px 12px; gap: 6px 10px; }
a[data-contract="site-name"] { font-size: 14px; padding-right: 10px; }
.hero-media { max-width: 200px; }
.hero-index { font-size: 23px; }
.cast-card { padding: 3px 8px 3px 3px; }
.cast-card::before { width: 17px; height: 17px; }
.timeline-item { flex-basis: 78%; }
a[data-runtime="recommendation"] { grid-template-columns: 46px minmax(0, 1fr); gap: 2px 10px; }
[data-runtime="recommendation"] img { width: 46px; height: 62px; }}

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}
