:root {
  --porcelain-blue: #1f6f78;
  --porcelain-blue-deep: #14535c;
  --ginger-yellow: #d99a2b;
  --ginger-light: #e8b75a;
  --wood-dark: #140f0c;
  --wood-mid: #221a15;
  --wood-panel: #2b211a;
  --wood-line: #3d2f24;
  --ink: #ece2d4;
  --ink-dim: #a99a86;
  --ink-faint: #7d6f5d;
  --radius: 6px;
  --radius-sm: 4px;
  --gap-tight: 8px;
  --gap: 12px;
  --section-gap: 22px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(31, 111, 120, 0.16), transparent 46%),
    radial-gradient(circle at 8% 88%, rgba(217, 154, 43, 0.09), transparent 42%),
    linear-gradient(180deg, #140f0c 0%, #100c09 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ginger-light);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 28px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.97), rgba(20, 15, 12, 0.86));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--wood-line);
  margin: 0 -14px 18px;
  padding: 0 14px;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 10px 0;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ginger-yellow);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(217, 154, 43, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--ginger-light);
}
.header-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--wood-line);
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: rgba(31, 111, 120, 0.34);
  border-color: var(--porcelain-blue);
  color: #fff;
}
.card-heading, .rail-heading, .grid-heading, .comments-heading, .recommend-heading {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ginger-yellow);
}
.card-heading {
  font-size: 15px;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--porcelain-blue);
  line-height: 1.4;
}
.rail-heading, .grid-heading, .comments-heading, .recommend-heading {
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 7px;
}
.rail-heading::after, .grid-heading::after, .comments-heading::after, .recommend-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--porcelain-blue), var(--ginger-yellow));
  border-radius: 2px;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}
.hero-archive {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  background:
    linear-gradient(180deg, rgba(43, 33, 26, 0.92), rgba(26, 20, 16, 0.94));
  border: 1px solid var(--wood-line);
  border-radius: var(--radius);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.hero-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(31, 111, 120, 0.22), transparent 52%),
    radial-gradient(circle at 0% 100%, rgba(217, 154, 43, 0.08), transparent 46%);
  pointer-events: none;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  position: relative;
  z-index: 1;
}
.hero-still {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(31, 111, 120, 0.5);
  background: #0b0908;
  box-shadow: 0 0 0 1px rgba(217, 154, 43, 0.14) inset, 0 10px 26px rgba(0, 0, 0, 0.5);
  align-self: start;
  height: fit-content;
}
.hero-still img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.hero-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: 0 0 20px rgba(31, 111, 120, 0.45);
}
.hero-tagline {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 16px;
  letter-spacing: 0.34em;
  color: var(--ginger-yellow);
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--porcelain-blue);
}
.hero-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-dim);
  text-align: justify;
}
.hero-player {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--wood-line);
  align-self: start;
}
.hero-player video {
  display: block;
  width: 100%;
}
.player-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.9), rgba(26, 20, 16, 0.98));
  border-top: 1px solid var(--wood-line);
}
.player-btn {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(31, 111, 120, 0.2);
  border: 1px solid rgba(31, 111, 120, 0.55);
  border-radius: var(--radius-sm);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover {
  background: rgba(31, 111, 120, 0.42);
  border-color: var(--porcelain-blue);
}
.player-btn.play, .player-btn.change {
  background: rgba(217, 154, 43, 0.22);
  border-color: rgba(217, 154, 43, 0.6);
  color: var(--ginger-light);
}
.player-range {
  flex: 1 1 90px;
  min-width: 72px;
  height: 4px;
  accent-color: var(--ginger-yellow);
  background: transparent;
  cursor: pointer;
}
.player-select {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--ink);
  background: var(--wood-mid);
  border: 1px solid var(--wood-line);
  border-radius: var(--radius-sm);
}
.hero-player.is-theater {
  box-shadow: 0 0 0 2px var(--ginger-yellow), 0 0 34px rgba(217, 154, 43, 0.4);
}
.hero-player.is-lights-off {
  background: #000;
}
.hero-player.is-lights-off .player-console {
  opacity: 0.55;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.status-item {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
  background: rgba(31, 111, 120, 0.18);
  border: 1px solid rgba(31, 111, 120, 0.45);
  border-radius: 999px;
  white-space: nowrap;
}
.status-item:first-child {
  background: rgba(217, 154, 43, 0.18);
  border-color: rgba(217, 154, 43, 0.55);
  color: var(--ginger-light);
}
.detail-card, .synopsis-panel, .cast-band {
  position: relative;
  z-index: 1;
  background: rgba(20, 15, 12, 0.5);
  border: 1px solid var(--wood-line);
  border-radius: var(--radius);
  padding: 12px;
  align-self: start;
  height: fit-content;
}
.detail-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(61, 47, 36, 0.9);
  font-size: 13px;
  line-height: 1.55;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row dt {
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-row dd {
  color: var(--ink);
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-line {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-dim);
  text-align: justify;
}
.synopsis-line:first-of-type {
  color: var(--ink);
}
.cast-band {
  padding-bottom: 14px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cast-cell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: rgba(31, 111, 120, 0.1);
  border: 1px solid var(--wood-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(217, 154, 43, 0.5) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, rgba(31, 111, 120, 0.7) 0 40%, transparent 41%),
    linear-gradient(160deg, #2b211a, #191310);
  border-bottom: 1px solid var(--wood-line);
}
.cast-cell:nth-child(even) .cast-avatar {
  background:
    radial-gradient(circle at 50% 34%, rgba(31, 111, 120, 0.6) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 92%, rgba(217, 154, 43, 0.6) 0 40%, transparent 41%),
    linear-gradient(160deg, #241c16, #16110e);
}
.cast-name {
  display: block;
  padding: 5px 4px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
  letter-spacing: 0.04em;
  background: rgba(20, 15, 12, 0.72);
}
.timeline-rail {
  position: relative;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--porcelain-blue) var(--wood-mid);
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--wood-mid);
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--porcelain-blue);
  border-radius: 3px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
  min-width: max-content;
  padding: 0 2px;
}
.timeline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 168px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(43, 33, 26, 0.96), rgba(24, 18, 14, 0.98));
  border: 1px solid var(--wood-line);
  border-top: 3px solid var(--ginger-yellow);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(31, 111, 120, 0.12);
}
.timeline-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--porcelain-blue);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(31, 111, 120, 0.9);
}
.timeline-timecode {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ginger-yellow);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.episode-grid-section {
  position: relative;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  background: rgba(43, 33, 26, 0.62);
  border: 1px solid var(--wood-line);
  border-left: 2px solid rgba(31, 111, 120, 0.7);
  border-radius: var(--radius-sm);
  transition: background 0.16s ease, border-color 0.16s ease;
  height: 100%;
}
.episode-cell:hover {
  background: rgba(31, 111, 120, 0.16);
  border-left-color: var(--ginger-yellow);
}
.episode-number {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--porcelain-blue);
  filter: brightness(1.55);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.comments-section {
  position: relative;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(61, 47, 36, 0.9);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ginger-yellow);
}
.comment-text {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-dim);
}
.recommend-region {
  position: relative;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  background: rgba(43, 33, 26, 0.62);
  border: 1px solid var(--wood-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  align-self: start;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--porcelain-blue);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b0908;
  border-bottom: 1px solid var(--wood-line);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  display: block;
  padding: 6px 9px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.03em;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  display: block;
  padding: 3px 9px 9px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--wood-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ginger-yellow);
  border-bottom-color: var(--ginger-yellow);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.footer-friends-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--wood-line);
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.08);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--ginger-light);
  border-color: rgba(217, 154, 43, 0.6);
  background: rgba(217, 154, 43, 0.12);
}
.player .progress {
  accent-color: var(--ginger-yellow);
}
.player .volume {
  accent-color: var(--porcelain-blue);
}
.player .speed {
  color: var(--ink);
}
.player .timeupdate {
  color: var(--ink-dim);
}
.player .data-player-action {
  cursor: pointer;
}
.player .input {
  background: var(--wood-mid);
  border: 1px solid var(--wood-line);
}
.player .light, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .play, .player .click {
  outline: none;
}
.player .fullscreen, .player .theater {
  border-color: rgba(217, 154, 43, 0.55);
}
.player .light {
  color: var(--ginger-light);
}
.player .mute {
  color: var(--ink-dim);
}
.player .pip {
  color: var(--ink);
}
.player .click {
  transform: translateY(1px);
}
@media (min-width: 560px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
.detail-row {
    grid-template-columns: 68px minmax(0, 1fr);
    border-bottom: 1px dashed rgba(61, 47, 36, 0.9);
  }}
@media (min-width: 760px) {.page-shell {
    padding: 0 20px 34px;
  }
.site-header {
    margin: 0 -20px 22px;
    padding: 0 20px;
  }
.hero-archive {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    grid-template-areas:
      "still legend"
      "player player"
      "status status"
      "detail synopsis"
      "cast cast";
    gap: 14px;
    padding: 18px;
  }
.hero-still {
    grid-area: still;
  }
.hero-legend {
    grid-area: legend;
    justify-content: center;
    padding-right: 8%;
  }
.hero-player {
    grid-area: player;
  }
.episode-status {
    grid-area: status;
  }
.detail-card {
    grid-area: detail;
  }
.synopsis-panel {
    grid-area: synopsis;
  }
.cast-band {
    grid-area: cast;
  }
.hero-title {
    font-size: 38px;
  }
.hero-tagline {
    font-size: 18px;
  }
.hero-seo {
    font-size: 13.5px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
.recommend-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-card {
    width: 186px;
  }
.site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 22px;
  }
.footer-disclaimer {
    flex: 1 1 320px;
    max-width: 60ch;
  }}
@media (min-width: 1024px) {.hero-archive {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas:
      "still legend"
      "still player"
      "status status"
      "detail synopsis"
      "cast cast";
    gap: 16px;
    padding: 20px;
  }
.hero-stage {
    grid-column: 1 / -1;
    display: contents;
  }
.hero-still {
    align-self: start;
  }
.hero-legend {
    padding-right: 14%;
    justify-content: flex-start;
  }
.hero-title {
    font-size: 42px;
  }
.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-card {
    width: 200px;
  }
.cast-strip {
    gap: 10px;
  }
.detail-card, .synopsis-panel {
    padding: 14px;
  }}
@media (max-width: 419px) {.hero-title {
    font-size: 26px;
  }
.hero-tagline {
    font-size: 14px;
    letter-spacing: 0.24em;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-console {
    gap: 5px;
    padding: 7px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 11px;
  }}

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}
