:root {
  --ink: #07090e;
  --ink-2: #0d1119;
  --ink-3: #141a26;
  --panel: #10151f;
  --panel-soft: #eef1f4;
  --panel-soft-2: #e4e8ed;
  --line: #232b3a;
  --line-soft: #c9cfd7;
  --neon: #2f8bff;
  --neon-dim: #1d5fbf;
  --neon-glow: rgba(47, 139, 255, 0.35);
  --kiss: #ff2545;
  --kiss-dim: rgba(255, 37, 69, 0.55);
  --text: #e8ecf2;
  --text-dim: #98a3b5;
  --text-dark: #10151f;
  --text-dark-dim: #5a6577;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt, figure {
  margin: 0;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.96), rgba(7, 9, 14, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 18px;
}
a[data-contract="site-name"].site-brand {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 4px 12px 4px 10px;
  border-left: 3px solid var(--kiss);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(47, 139, 255, 0.16), transparent 70%);
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand::after {
  content: "吻";
  color: var(--kiss);
  margin-left: 6px;
  font-size: 12px;
  vertical-align: 2px;
  letter-spacing: 0;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--neon);
  background: rgba(47, 139, 255, 0.14);
}
.page-main {
  display: block;
  padding: 12px 18px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 0 0 6px 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--kiss);
  border-bottom: 1px solid var(--line);
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster player"
    "poster details"
    "poster status"
    "cast cast"
    "synopsis synopsis";
  gap: 12px;
  align-content: start;
  align-items: start;
  padding: 16px;
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(47, 139, 255, 0.18), transparent 60%),
    radial-gradient(80% 60% at 96% 0%, rgba(255, 37, 69, 0.12), transparent 62%),
    linear-gradient(180deg, #0b0f18, #0a0d14);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.poster-media {
  grid-area: poster;
  margin: 0;
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  border-left: 2px solid var(--neon);
  background: var(--ink-2);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.poster-media::after {
  content: "龙吻 · DRAGON KISS";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: #fff;
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.92), rgba(7, 9, 14, 0));
  border-top: 1px solid rgba(47, 139, 255, 0.4);
}
img.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.9);
}
.overview-head {
  grid-area: head;
  min-width: 0;
  padding: 4px 2px 10px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 24px var(--neon-glow), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #fff;
  background: linear-gradient(90deg, var(--kiss), rgba(255, 37, 69, 0.05));
  border-left: 2px solid #fff;
}
.movie-seo {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-dim);
}
.player-shell {
  grid-area: player;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-top: 2px solid var(--neon);
  background: #000;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
video.main-player {
  display: block;
  width: 100%;
  max-width: none;
  background: #000;
  object-fit: contain;
}
.player-shell.is-playing {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon), 0 0 28px rgba(47, 139, 255, 0.28);
}
.player-shell.is-muted .control-btn[data-player-action="mute"] {
  color: var(--kiss);
  border-color: var(--kiss);
}
.player-shell.is-fast .control-btn[data-player-action="speed"] {
  color: #06121f;
  background: var(--neon);
  border-color: var(--neon);
}
.player-shell.is-pip .control-btn[data-player-action="pip"], .player-shell.is-fullscreen .control-btn[data-player-action="fullscreen"], .player-shell.is-theater .control-btn[data-player-action="theater"] {
  color: #06121f;
  background: var(--neon);
  border-color: var(--neon);
}
.player-shell.is-light {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.06);
}
.player-shell.is-light .control-btn {
  border-color: rgba(255, 255, 255, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #0d1219, #090c12);
  border-top: 1px solid var(--line);
}
.control-btn {
  appearance: none;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--line);
  padding: 4px 9px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.control-btn:hover {
  color: #fff;
  border-color: var(--neon);
  background: rgba(47, 139, 255, 0.12);
}
.control-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--kiss), var(--neon-dim));
  border: none;
  outline: none;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: #fff;
  border: 1px solid var(--neon);
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: #fff;
  border: 1px solid var(--neon);
  cursor: pointer;
}
.detail-list {
  grid-area: details;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0 10px;
  align-content: start;
  padding-top: 4px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  min-width: 0;
  border-bottom: 1px dashed rgba(35, 43, 58, 0.9);
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.detail-item dt::after {
  content: "／";
  color: var(--line);
  margin-left: 2px;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}
.detail-item:last-child dd {
  color: var(--kiss);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}
.status-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--neon);
  padding: 3px 9px;
  border: 1px solid var(--neon-dim);
  background: rgba(47, 139, 255, 0.08);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.status-chip:first-child {
  color: #fff;
  border-color: var(--kiss);
  background: rgba(255, 37, 69, 0.14);
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-left: 2px solid var(--neon-dim);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cast-card:hover {
  border-left-color: var(--kiss);
  background: rgba(47, 139, 255, 0.07);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(150deg, #1b2634 0%, #2f8bff 52%, #0b0f16 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}
.cast-name, .cast-role {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}
.cast-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.synopsis-body {
  columns: 2;
  column-gap: 18px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  break-inside: avoid;
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--text-dim);
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--kiss);
  margin-right: 4px;
}
.timeline-panel, .episodes-panel, .comments-panel {
  color: var(--text-dark);
  background: var(--panel-soft);
  border: 1px solid var(--line-soft);
  margin-top: 12px;
  padding: 12px 14px;
}
.timeline-panel .section-heading, .episodes-panel .section-heading, .comments-panel .section-heading {
  color: var(--text-dark);
  border-bottom-color: var(--line-soft);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: start;
  counter-reset: tl;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  grid-template-areas:
    "dot code"
    "dot label";
  column-gap: 8px;
  align-items: start;
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid rgba(16, 21, 31, 0.12);
}
.timeline-node:nth-child(3n + 2) {
  margin-top: 14px;
}
.timeline-node:nth-child(3n) {
  margin-top: 28px;
}
.timeline-dot {
  grid-area: dot;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  background: var(--kiss);
  box-shadow: 0 0 0 3px rgba(255, 37, 69, 0.16);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.timeline-node:not(:last-child) .timeline-dot::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: -10px;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--kiss-dim) 0 4px, transparent 4px 8px);
}
.timeline-timecode {
  grid-area: code;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--neon-dim);
}
.timeline-label {
  grid-area: label;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 4px 8px;
  align-items: baseline;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--neon-dim);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.episode-card:hover {
  border-left-color: var(--kiss);
  box-shadow: 0 6px 18px rgba(16, 21, 31, 0.14);
  transform: translateY(-1px);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--text-dark);
  padding: 2px 7px;
  white-space: nowrap;
}
.episode-card:hover .episode-number {
  background: var(--kiss);
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  min-width: 0;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-dark-dim);
}
.episode-duration {
  grid-area: dur;
  justify-self: start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 2px;
  padding-top: 3px;
  border-top: 1px dashed var(--line-soft);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-list {
  display: grid;
  gap: 8px;
  align-content: start;
}
.comment-list:last-child {
  margin-top: 18px;
}
.comment-card {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--neon-dim);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.comment-card:hover {
  border-top-color: var(--kiss);
}
.comment-text {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.62;
  color: var(--text-dark);
}
.comment-nickname {
  display: inline-block;
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8b95a5;
}
.comment-nickname::before {
  content: "— ";
  color: var(--kiss);
  font-weight: 900;
}
.recommend-region {
  position: relative;
  margin-top: 12px;
  padding: 12px 14px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.recommend-heading {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #fff;
  padding-left: 9px;
  border-left: 3px solid var(--kiss);
  margin-bottom: 8px;
}
.recommend-count {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--neon);
  padding: 2px 8px;
  border: 1px solid var(--neon-dim);
  background: rgba(47, 139, 255, 0.1);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 6px;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  color: #fff;
  border-color: var(--kiss);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 6px;
  filter: saturate(0.9) brightness(0.88);
  border-bottom: 1px solid var(--line);
}
a[data-runtime="recommendation"]:hover img {
  filter: saturate(1.05) brightness(1);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 12px;
  padding: 14px 18px 22px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.65;
}
.footer-disclaimer {
  max-width: 92ch;
  margin-bottom: 8px;
  color: #7d8798;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"] {
  color: var(--neon);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}
a[data-contract="footer-home"]:hover {
  color: #fff;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--kiss);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  color: #8f9aab;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--neon);
  text-decoration: underline;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "head"
      "player"
      "details"
      "status"
      "cast"
      "synopsis";
  }
.poster-media {
    max-width: 260px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node:nth-child(3n + 2), .timeline-node:nth-child(3n) {
    margin-top: 0;
  }
.timeline-node:nth-child(2n) {
    margin-top: 16px;
  }}
@media (max-width: 620px) {.page-main {
    padding: 10px 12px 0;
  }
.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
.movie-overview {
    padding: 12px;
    gap: 10px;
  }
.episode-grid, .comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list:last-child {
    margin-top: 0;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node:nth-child(2n) {
    margin-top: 0;
  }
.timeline-node:not(:last-child) .timeline-dot::after {
    bottom: -8px;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-footer {
    padding: 12px 12px 20px;
  }}
@media (max-width: 400px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: minmax(0, 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}
