:root {
  --glass: #cfd8d2;
  --glass-deep: #aebbb3;
  --glass-dark: #8d9a93;
  --ink: #1c2320;
  --ink-soft: #3d4744;
  --ink-faint: #6b7671;
  --straw: #7a0f1e;
  --straw-bright: #a8182b;
  --straw-dark: #4d0913;
  --line: rgba(28, 35, 32, 0.18);
  --frame: #5c6b64;
  --surface: #dbe3de;
  --surface-2: #c4d0c9;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gap: 0.55rem;
  --pad: 0.7rem;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, var(--glass) 0%, var(--glass-deep) 55%, var(--glass-dark) 100%) fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  display: block;
}
h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
::selection {
  background: var(--straw);
  color: #f4efe6;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(174, 187, 179, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 0.4rem 0.7rem;
  border-left: 3px solid var(--straw);
}
a[data-contract="site-name"].site-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--straw-dark);
  text-decoration: none;
  padding-right: 0.6rem;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--straw-bright);
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 0.16rem 0.5rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(219, 227, 222, 0.6);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--straw);
  border-color: var(--straw);
  background: rgba(122, 15, 30, 0.08);
}
.page-main {
  display: block;
  padding: 0.6rem 0.7rem 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  grid-template-areas:
    "visual player"
    "info info";
  gap: var(--gap);
  align-items: start;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.hero-visual {
  grid-area: visual;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--frame);
  background: var(--straw-dark);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.hero-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem;
  background:
    linear-gradient(180deg, rgba(28, 35, 32, 0.05) 30%, rgba(28, 35, 32, 0.82) 100%),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(92, 107, 100, 0.35) 26px 27px);
  pointer-events: none;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 0.72rem;
  line-height: 1.4;
  color: #e7ded2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
  border-left: 2px solid var(--straw-bright);
  padding-left: 0.4rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 700;
  color: #f6f1e7;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.03em;
}
.player-shell {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--frame);
  background: #101513;
  padding: 0;
}
.player-video {
  width: 100%;
  display: block;
  background: #0a0d0c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.35rem;
  background: linear-gradient(180deg, #1a211e, #101513);
  border-top: 1px solid rgba(92, 107, 100, 0.5);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 0.2rem 0.42rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #cfd8d2;
  background: rgba(92, 107, 100, 0.22);
  border: 1px solid rgba(141, 154, 147, 0.45);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: #f6f1e7;
  border-color: var(--straw-bright);
  background: rgba(168, 24, 43, 0.28);
}
.ctrl-btn.is-active {
  color: #f6f1e7;
  background: var(--straw);
  border-color: var(--straw-bright);
}
.ctrl-play {
  color: #f6f1e7;
  background: rgba(168, 24, 43, 0.42);
  border-color: var(--straw);
  font-weight: 700;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 80px;
}
.ctrl-volume {
  flex: 0 1 70px;
  min-width: 54px;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(141, 154, 147, 0.5);
  border-radius: 2px;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: rgba(141, 154, 147, 0.5);
  border-radius: 2px;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--straw-bright);
  border: 1px solid #f6f1e7;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--straw-bright);
  border: 1px solid #f6f1e7;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-radius: 50%;
  background: #cfd8d2;
  border: 1px solid var(--straw);
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd8d2;
  border: 1px solid var(--straw);
}
.player-shell.is-playing {
  border-color: var(--straw-bright);
}
.player-shell.is-muted .ctrl-volume {
  opacity: 0.45;
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--straw-dark);
}
.player-shell.is-fullscreen {
  border: none;
}
.player-shell.is-fullscreen .player-video {
  height: 100%;
  object-fit: contain;
}
.overview-info {
  grid-area: info;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.panel-heading {
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--straw-dark);
  padding-bottom: 0.2rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--straw);
  display: inline-block;
}
.episode-status-panel, .synopsis-panel, .details-panel, .cast-panel {
  min-width: 0;
}
.status-line {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.status-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--straw);
  padding: 0 0.15rem;
}
.seo-description {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink);
  padding: 0.35rem 0.45rem;
  border-left: 3px solid var(--straw);
  background: rgba(219, 227, 222, 0.7);
  margin-bottom: 0.4rem;
}
.synopsis-body p {
  font-size: 0.76rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.synopsis-body p:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.5rem;
}
.details-item {
  display: flex;
  gap: 0.3rem;
  align-items: baseline;
  font-size: 0.72rem;
  padding: 0.12rem 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  text-align: right;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.3rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid var(--frame);
  background:
    radial-gradient(circle at 35% 30%, rgba(168, 24, 43, 0.5), transparent 60%),
    linear-gradient(160deg, var(--glass-deep), var(--glass-dark));
}
.cast-name {
  font-size: 0.66rem;
  line-height: 1.2;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}
.section-heading {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--straw-dark);
  padding: 0 0 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--straw);
}
.timeline-panel {
  padding: 0.7rem 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  padding-left: 1.5rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: linear-gradient(180deg, var(--straw-bright), var(--straw-dark));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "time label"
    "icon label";
  gap: 0.1rem 0.5rem;
  align-items: start;
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--line);
}
.timeline-node:last-child {
  border-bottom: none;
}
.node-icon {
  grid-area: icon;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--straw);
  box-shadow: inset 0 0 0 2px var(--glass), 0 0 0 1px var(--straw-dark);
  position: relative;
}
.node-icon::after {
  content: "";
  position: absolute;
  inset: 3px 2px 3px 3px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, #f2e3d8 0 1px, transparent 1px 3px);
}
.node-timecode {
  grid-area: time;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--straw);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.node-label {
  grid-area: label;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episodes-panel {
  padding: 0.7rem 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.episodes-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "thumb title"
    "thumb num"
    "summary summary"
    "dur dur";
  gap: 0.15rem 0.45rem;
  align-items: start;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: rgba(219, 227, 222, 0.55);
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--straw);
  background: rgba(219, 227, 222, 0.9);
}
.episode-thumb {
  grid-area: thumb;
  display: block;
  width: 42px;
  height: 60px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(28, 35, 32, 0.15), rgba(28, 35, 32, 0.85)),
    radial-gradient(circle at 60% 35%, var(--straw-dark), #141a17 70%);
  border: 1px solid var(--frame);
}
.episode-number {
  grid-area: num;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--straw);
  letter-spacing: 0.05em;
}
.episode-title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.episode-summary {
  grid-area: summary;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.episode-duration {
  grid-area: dur;
  font-size: 0.64rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  border-top: 1px dotted var(--line);
  padding-top: 0.15rem;
  margin-top: 0.15rem;
}
.comments-panel {
  padding: 0.7rem 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.comments-columns {
  column-count: 2;
  column-gap: var(--gap);
  column-rule: 1px solid var(--line);
}
.comment-card {
  position: relative;
  break-inside: avoid;
  display: block;
  padding: 0.4rem 0.45rem 0.4rem 0.6rem;
  margin-bottom: var(--gap);
  border: 1px solid var(--line);
  background: rgba(219, 227, 222, 0.6);
  border-radius: 2px;
  min-width: 0;
}
.comment-tape {
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 4px;
  border-radius: 1px;
  background: var(--straw);
}
.comment-card:nth-child(3n + 2) .comment-tape {
  background: var(--straw-bright);
}
.comment-card:nth-child(3n) .comment-tape {
  background: var(--straw-dark);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--straw-dark);
  margin-bottom: 0.15rem;
}
.comment-text {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.recommend-region {
  padding: 0.7rem 0 0.6rem;
  border-bottom: 1px solid var(--line);
}
.recommend-region:last-of-type {
  border-bottom: none;
}
.region-heading {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  padding-left: 0.45rem;
  border-left: 4px solid var(--straw);
  line-height: 1.3;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}
a.thumb-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: rgba(219, 227, 222, 0.5);
  padding: 0.25rem;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.thumb-card:hover {
  border-color: var(--straw);
  background: rgba(219, 227, 222, 0.9);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 1px;
  background: #1a211e;
}
.thumb-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thumb-blurb {
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.7rem 0.7rem 1.2rem;
  border-top: 2px solid var(--straw);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex: 0 0 auto;
}
a.footer-link {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover {
  color: var(--straw);
  border-bottom-color: var(--straw);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--straw);
  border-bottom-color: var(--straw);
}
a[data-contract="footer-home"] {
  color: var(--straw-dark);
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-faint);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--straw-dark);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.7rem;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 0.05rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--straw);
  border-color: var(--straw);
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 0.66rem;
  line-height: 1.6;
  color: var(--ink-faint);
  border-top: 1px dotted var(--line);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
.overview-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 13px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "player"
      "info";
  }
.hero-visual {
    max-width: 320px;
  }
.hero-title {
    font-size: 1.15rem;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-flow {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    column-count: 1;
    column-rule: none;
  }
.thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.site-footer {
    flex-direction: column;
  }}
@media (max-width: 480px) {.page-main {
    padding: 0.5rem 0.5rem 1rem;
  }
.header-inner {
    padding: 0.35rem 0.5rem;
  }
.hero-visual {
    max-width: none;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-btn {
    font-size: 0.64rem;
    padding: 0.18rem 0.34rem;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}

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}
