*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: #10161a;
  color: #d6dbd8;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #d6dbd8;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 10px 18px;
  background:
    linear-gradient(180deg, #0c1216 0%, #131c21 100%);
  border-bottom: 2px solid #22302f;
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #ff7a1a 0%, #ff7a1a 14%, transparent 14%, transparent 100%);
}
.site-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: #f2f5f1;
  text-decoration: none;
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px 4px 0;
  border-right: 6px solid #ff7a1a;
  transform: skewX(-8deg);
  display: inline-block;
}
.site-header__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  color: #9fb0aa;
  text-decoration: none;
  white-space: nowrap;
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: #182226;
  border-left: 3px solid #2e403c;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #10161a;
  background: #ff7a1a;
  border-color: #ff7a1a;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 26px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(160deg, #16211f 0%, #111a1d 60%, #0e1518 100%);
  border: 1px solid #23332f;
  border-top: 4px solid #ff7a1a;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -40px;
  width: 260px;
  height: 360px;
  background: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 240, 0.16), transparent 68%);
  pointer-events: none;
  transform: rotate(12deg);
  z-index: 0;
}
.movie-overview__poster-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  align-self: start;
  z-index: 1;
  border-left: 3px solid #2b3d38;
  clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 97%);
}
.movie-overview__poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.movie-overview__poster-badge {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: inline-block;
  background: #ff7a1a;
  color: #10161a;
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.movie-overview__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  z-index: 1;
}
.movie-overview__title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: #f4f7f3;
  text-shadow: 0 2px 0 #0a0f11, 3px 3px 0 rgba(255, 122, 26, 0.35);
  transform: skewX(-4deg);
  transform-origin: left bottom;
}
.movie-overview__tagline {
  font-size: 0.9rem;
  color: #c7d2cc;
  border-left: 4px solid #ff7a1a;
  padding: 2px 0 2px 10px;
  letter-spacing: 0.03em;
}
.movie-overview__player-wrap {
  position: relative;
  width: 100%;
  background: #060a0c;
  border: 1px solid #2a3b37;
  box-shadow: 0 0 0 1px #0a1013 inset;
}
.movie-overview__player {
  width: 100%;
  display: block;
  background: #040708;
}
.movie-overview__player-wrap.is-light-off::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
.movie-overview__player-wrap.is-theater {
  box-shadow: 0 0 0 3px #ff7a1a, 0 0 42px rgba(255, 122, 26, 0.28);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #131c20 0%, #0d1518 100%);
  border-top: 1px solid #243430;
}
.player-controls__btn {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #b7c4be;
  background: #1b272b;
  border: 1px solid #2d4039;
  padding: 4px 9px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-controls__btn:hover {
  background: #263632;
  color: #f1f5f1;
}
.player-controls__btn.is-active {
  background: #ff7a1a;
  color: #10161a;
  border-color: #ff7a1a;
}
.cast-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.cast-panel__heading, .synopsis-panel__heading, .details-panel__heading, .episode-list__heading, .comment-panel__heading, .timeline-strip__heading {
  font-size: 0.92rem;
  color: #ff7a1a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 2px solid #263633;
  position: relative;
}
.cast-panel__heading::after, .synopsis-panel__heading::after, .details-panel__heading::after, .episode-list__heading::after, .comment-panel__heading::after, .timeline-strip__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 46px;
  height: 2px;
  background: #ff7a1a;
}
.cast-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 9px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  min-width: 0;
}
.cast-card__avatar-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #1d2b2a 0%, #131d20 100%);
  border: 1px solid #2d403a;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.cast-card__avatar {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, #3d524b 0%, #24332f 42%, #131d20 78%);
}
.cast-card__avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 62%;
  height: 66%;
  transform: translateX(-50%);
  background: #1a2724;
  border-radius: 48% 48% 0 0;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.18);
}
.cast-card__light-streak {
  position: absolute;
  top: -22%;
  left: -34%;
  width: 46%;
  height: 144%;
  background: linear-gradient(90deg, rgba(255, 255, 245, 0) 0%, rgba(255, 255, 245, 0.42) 50%, rgba(255, 255, 245, 0) 100%);
  transform: rotate(20deg);
  mix-blend-mode: screen;
  pointer-events: none;
}
.cast-card__name {
  font-size: 0.76rem;
  color: #cfd9d3;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.synopsis-panel__lead {
  font-size: 0.87rem;
  color: #e2e8e1;
  padding: 8px 10px;
  background: #17221f;
  border-left: 4px solid #ff7a1a;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.synopsis-panel__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.synopsis-panel__para {
  font-size: 0.82rem;
  color: #aab7b0;
  line-height: 1.62;
  padding-left: 9px;
  border-left: 1px solid #2b3b37;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.episode-status__item {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #cbd6d0;
  padding: 3px 10px;
  background: #1a262a;
  border: 1px solid #2c3e38;
  border-left: 3px solid #ff7a1a;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.details-panel__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
  align-items: start;
}
.details-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dotted #2b3a36;
}
.details-row__key {
  font-size: 0.72rem;
  color: #7f918a;
  letter-spacing: 0.06em;
}
.details-row__value {
  font-size: 0.79rem;
  color: #dbe3dd;
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-strip {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, #0d1418 0%, #16211f 55%, #0c1316 100%);
  border: 1px solid #23332f;
  border-left: 4px solid #ff7a1a;
  position: relative;
  overflow: hidden;
}
.timeline-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.timeline-strip__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
  align-items: start;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px 7px 11px;
  background: rgba(20, 30, 34, 0.82);
  border-top: 2px solid #2c3f3a;
  border-left: 2px solid #ff7a1a;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  min-width: 0;
}
.timeline-item__time {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: #ff7a1a;
  letter-spacing: 0.08em;
}
.timeline-item__label {
  font-size: 0.76rem;
  color: #b9c5bf;
  line-height: 1.5;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.episode-list__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 11px;
  background: linear-gradient(100deg, #141e22 0%, #101a1d 100%);
  border: 1px solid #24332f;
  border-bottom: 2px solid #2b3d38;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.episode-row:hover {
  border-color: #ff7a1a;
  background: linear-gradient(100deg, #1a2629 0%, #121c20 100%);
}
.episode-row__number {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 900;
  font-size: 2.05rem;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px #3c5a52;
  padding-right: 8px;
  border-right: 2px solid #253531;
  align-self: start;
}
.episode-row__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-row__title {
  font-size: 0.9rem;
  color: #f0f4ef;
  letter-spacing: 0.03em;
}
.episode-row__summary {
  font-size: 0.78rem;
  color: #9daba4;
  line-height: 1.55;
}
.episode-row__duration {
  align-self: flex-start;
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #ff7a1a;
  padding: 1px 7px;
  background: rgba(255, 122, 26, 0.1);
  border: 1px solid rgba(255, 122, 26, 0.35);
}
.comment-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-panel__stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #16211f;
  border: 1px solid #273733;
  border-top: 3px solid #2f443e;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  min-width: 0;
}
.comment-card--left {
  transform: rotate(-0.7deg);
  background: linear-gradient(120deg, #17231f 0%, #131c1f 100%);
}
.comment-card--right {
  transform: rotate(0.8deg);
  background: linear-gradient(240deg, #17231f 0%, #131c1f 100%);
  border-top-color: #ff7a1a;
}
.comment-card__text {
  font-size: 0.8rem;
  color: #c2cec7;
  line-height: 1.6;
}
.comment-card__nickname {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #ff7a1a;
  padding-top: 5px;
  border-top: 1px dotted #2b3a36;
}
.comment-card__nickname::before {
  content: "— ";
  color: #4f665e;
}
.recommend-strip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 4px;
  border-top: 2px solid #22302f;
}
.recommend-strip__title {
  font-size: 0.95rem;
  color: #f1f5f0;
  letter-spacing: 0.08em;
  align-self: flex-end;
  padding: 3px 10px;
  background: #ff7a1a;
  color: #10161a;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(-2px);
}
.recommend-strip__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #ff7a1a #1a2428;
}
.recommend-strip__rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-strip__rail::-webkit-scrollbar-track {
  background: #1a2428;
}
.recommend-strip__rail::-webkit-scrollbar-thumb {
  background: #ff7a1a;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  background: #141e21;
  border: 1px solid #253430;
  color: #d6dbd8;
  text-decoration: none;
  scroll-snap-align: start;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  background: #1b2729;
  border-color: #ff7a1a;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-card__pic {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0d1417;
  filter: saturate(0.9) contrast(1.05);
}
.recommend-card__name {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: #eef3ee;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.recommend-card__blurb {
  font-size: 0.7rem;
  color: #93a29b;
  line-height: 1.45;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 22px;
  padding: 16px 18px 26px;
  background: #0b1114;
  border-top: 3px solid #22302f;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 96px;
  height: 3px;
  background: #ff7a1a;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #c3cfc8;
  text-decoration: none;
  padding: 3px 8px;
  background: #161f22;
  border-left: 3px solid #2f443e;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #10161a;
  background: #ff7a1a;
  border-color: #ff7a1a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  flex: 1 1 260px;
  min-width: 0;
}
.friend-links__label {
  font-family: "Hiragino Sans GB", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #ff7a1a;
  padding-right: 8px;
  border-right: 2px solid #2b3d38;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: #8fa099;
  text-decoration: none;
  border-bottom: 1px dotted #35473f;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #ff9a4d;
  border-bottom-color: #ff7a1a;
}
.site-footer__disclaimer {
  flex: 1 1 100%;
  font-size: 0.72rem;
  color: #6c7d76;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px dotted #22302f;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.movie-overview__poster-wrap {
    max-width: 260px;
  }
.movie-overview__title {
    transform: none;
  }
.episode-row__number {
    font-size: 1.7rem;
  }}
@media (max-width: 620px) {.page-main {
    padding: 10px 10px 20px;
    gap: 12px;
  }
.site-header {
    padding: 9px 12px;
  }
a[data-contract="site-name"] {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }
.movie-overview {
    padding: 12px;
  }
.movie-overview__poster-wrap {
    max-width: 200px;
  }
.movie-overview__title {
    font-size: 1.5rem;
  }
.cast-panel__grid {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 7px;
  }
.details-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
.timeline-strip {
    padding: 12px 12px;
  }
.recommend-strip__rail {
    grid-auto-columns: minmax(130px, 1fr);
  }
.comment-panel__stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card--left, .comment-card--right {
    transform: none;
  }
.site-footer {
    padding: 14px 12px 22px;
    gap: 12px;
  }}
@media (max-width: 400px) {.episode-list__items {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-row__number {
    font-size: 1.5rem;
    padding-right: 6px;
  }
.recommend-strip__rail {
    grid-auto-columns: minmax(118px, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: 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}
