:root {
  --bg-deep: #0d1117;
  --bg-panel: #141b25;
  --bg-raised: #1b2430;
  --bg-strip: #10161e;
  --ink: #f2ede4;
  --ink-dim: #b3aca0;
  --ink-faint: #7d7democ;
  --amber: #ff9a2e;
  --amber-soft: #ffb75e;
  --amber-deep: #c96a14;
  --blue-black: #0a0f16;
  --rule: rgba(255, 154, 46, 0.18);
  --rule-soft: rgba(242, 237, 228, 0.09);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --gap: 0.5rem;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(120% 60% at 50% -10%, #17202c 0%, transparent 60%),
    linear-gradient(180deg, #0b1017 0%, #0d1117 45%, #0a0f16 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-dim {
  filter: brightness(0.72) contrast(1.06);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--amber);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 15, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 0.45rem 0.9rem;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  border-left: 3px solid var(--amber);
  padding-left: 0.5rem;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--amber-soft);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 0.16rem 0.5rem;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--rule);
  background: rgba(255, 154, 46, 0.08);
}
.movie-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 0.9rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  background: linear-gradient(160deg, #141b25 0%, #0f151d 100%);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}
.overview-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 70%);
}
.poster-shell {
  position: relative;
  align-self: start;
  border-radius: 3px;
  overflow: hidden;
  background: var(--blue-black);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}
.poster-frame {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}
.poster-haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 154, 46, 0.14) 0%, transparent 34%),
    linear-gradient(0deg, rgba(10, 15, 22, 0.92) 0%, transparent 46%);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-shadow: 0 0 22px rgba(255, 154, 46, 0.22);
}
.movie-tagline {
  color: var(--amber-soft);
  font-size: 0.83rem;
  font-weight: 300;
  border-left: 2px solid var(--amber-deep);
  padding-left: 0.5rem;
}
.meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.22rem 0.7rem;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 0.42rem 0;
  margin-top: 0.15rem;
}
.meta-cell {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.meta-cell dt {
  flex: none;
  color: var(--ink-faint, #7d7a72);
  color: #88827a;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.meta-cell dd {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.block-heading {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.1rem;
}
.block-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--rule) 0%, transparent 100%);
}
.synopsis-para {
  font-size: 0.82rem;
  font-weight: 300;
  color: #ded8cd;
  line-height: 1.72;
  text-indent: 1.6em;
}
.episode-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.1rem;
}
.status-item {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  background: rgba(255, 154, 46, 0.07);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.1rem 0.45rem;
  white-space: nowrap;
}
.cast-rail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.15rem;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  width: 62px;
  flex: none;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 183, 94, 0.55) 0%, transparent 55%),
    linear-gradient(150deg, #2a3340 0%, #101720 100%);
  border: 1px solid var(--rule);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-zone {
  width: 100%;
}
.player-shell {
  position: relative;
  width: 100%;
  background: var(--blue-black);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 2px var(--amber-deep), 0 10px 34px rgba(0, 0, 0, 0.7);
}
.player-frame {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(180deg, #131a24 0%, #0c121a 100%);
  border-top: 1px solid var(--rule-soft);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  padding: 0.22rem 0.5rem;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover {
  color: var(--amber);
  border-color: var(--rule);
  background: rgba(255, 154, 46, 0.09);
}
.ctrl-btn.is-active {
  color: var(--blue-black);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.is-playing {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
}
.ctrl-btn.is-muted {
  color: #ff6b5e;
  border-color: rgba(255, 107, 94, 0.5);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--amber-deep) 0%, #2a323d 100%);
  border-radius: 2px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: #2a323d;
  border-radius: 2px;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.filmstrip-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 154, 46, 0.14) 0 2px, transparent 2px 26px) top left / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 154, 46, 0.14) 0 2px, transparent 2px 26px) bottom left / 100% 6px no-repeat,
    var(--bg-strip);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) transparent;
}
.filmstrip-scroller::-webkit-scrollbar {
  height: 6px;
}
.filmstrip-scroller::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
  border-radius: 3px;
}
.timeline-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0.6rem 0.5rem 0.5rem;
  min-width: max-content;
}
.film-cell {
  position: relative;
  flex: none;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.4rem 0.55rem 0.5rem;
  border-right: 1px dashed rgba(255, 154, 46, 0.22);
  background: linear-gradient(180deg, rgba(255, 154, 46, 0.05) 0%, transparent 40%);
}
.film-cell:last-child {
  border-right: none;
}
.film-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.55rem;
  width: 12px;
  height: 12px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
.film-cell::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--amber-deep) 0 5px, transparent 5px 9px);
  opacity: 0.5;
}
.timecode {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--amber);
  padding-top: 0.85rem;
  white-space: nowrap;
}
.film-label {
  font-size: 0.75rem;
  font-weight: 300;
  color: #d7d1c6;
  line-height: 1.4;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: start;
}
.episode-card {
  background: var(--bg-panel);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--amber-deep);
  border-radius: 3px;
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.episode-card:hover {
  border-left-color: var(--amber);
  background: var(--bg-raised);
}
.episode-inner {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.45rem 0.6rem 0.5rem;
}
.episode-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 0.76rem;
  font-weight: 300;
  color: #b9b3a8;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s ease;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 12;
  color: #ddd7cc;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--amber-deep);
  align-self: flex-start;
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.2rem;
  width: 100%;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.6rem;
}
.comment-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem 0.7rem;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.comment-column-right {
  margin-top: 0.9rem;
}
.comment-bubble {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 0.45rem 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
.comment-column-left .comment-bubble:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.comment-column-left .comment-bubble:nth-child(even) {
  transform: rotate(0.55deg) translateX(0.5rem);
}
.comment-column-right .comment-bubble:nth-child(odd) {
  transform: rotate(0.6deg) translateX(-0.35rem);
}
.comment-column-right .comment-bubble:nth-child(even) {
  transform: rotate(-0.7deg);
}
.comment-bubble.comment-hot {
  border-left: 2px solid var(--amber);
  background: linear-gradient(150deg, rgba(255, 154, 46, 0.09) 0%, var(--bg-panel) 55%);
}
.comment-bubble.comment-hot::before {
  content: "高赞";
  position: absolute;
  top: -0.5rem;
  right: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--blue-black);
  background: var(--amber);
  border-radius: 2px;
  padding: 0 0.28rem;
  line-height: 1.4;
}
.comment-text {
  font-size: 0.78rem;
  font-weight: 300;
  color: #ddd7cc;
  line-height: 1.62;
}
.comment-nick {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--amber-deep);
  align-self: flex-end;
}
.comment-nick::before {
  content: "— ";
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding-top: 0.75rem;
}
.recommend-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.recommend-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--rule) 0%, transparent 100%);
}
.recommend-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) transparent;
}
.recommend-strip::-webkit-scrollbar {
  height: 6px;
}
.recommend-strip::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
  border-radius: 3px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-panel);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 0.32rem;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--rule);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--blue-black);
  filter: saturate(0.9);
}
.recommend-name {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 0.68rem;
  font-weight: 300;
  color: #9d978c;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 1.4rem;
  background: linear-gradient(180deg, #0c121a 0%, #090d13 100%);
  border-top: 1px solid var(--rule);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 50%, transparent 100%);
  opacity: 0.7;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.7rem 0.9rem 0.35rem;
}
a.footer-link {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
a[data-contract="footer-sitemap"] {
  color: var(--amber-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.5rem;
  padding: 0.35rem 0.9rem 0.6rem;
  border-top: 1px solid var(--rule-soft);
}
.friend-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #7d7a72;
  margin-right: 0.2rem;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.7rem;
  color: #9d978c;
  text-decoration: none;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  padding: 0.08rem 0.38rem;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-color: var(--rule);
  background: rgba(255, 154, 46, 0.07);
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 0.9rem 1.1rem;
  font-size: 0.68rem;
  font-weight: 300;
  color: #6f6a62;
  line-height: 1.6;
  border-top: 1px solid var(--rule-soft);
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .input, .player .click, .player .timeupdate {
  transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
}
@media (max-width: 900px) {.overview-panel {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-title {
    font-size: 1.3rem;
  }}
@media (max-width: 680px) {body {
    font-size: 14px;
  }
.overview-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 220px;
  }
.meta-bar {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }
.comment-column-right {
    margin-top: 0.2rem;
  }
.comment-column-left .comment-bubble:nth-child(even), .comment-column-right .comment-bubble:nth-child(odd) {
    transform: rotate(0.4deg) translateX(0);
  }
.recommend-strip {
    grid-auto-columns: minmax(136px, 1fr);
  }
.movie-title {
    font-size: 1.18rem;
  }}
@media (max-width: 420px) {.header-inner {
    padding: 0.4rem 0.6rem;
  }
.movie-main {
    padding: 0.4rem 0.6rem 1.4rem;
  }
.cast-item {
    width: 56px;
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }
.recommend-strip {
    grid-auto-columns: minmax(120px, 1fr);
  }}

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}
