:root {
  --enamel: #e8e2d4;
  --enamel-dim: #cfc7b4;
  --stain: #a8884f;
  --stain-deep: #7d6231;
  --night: #141d2e;
  --night-soft: #1e2b42;
  --night-mid: #2c3a52;
  --ink: #d8d2c4;
  --ink-dim: #948d7c;
  --rust: #8a5a3b;
  --paper: #201c16;
  --gap-tight: 0.5rem;
  --gap: 0.85rem;
  --radius: 6px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 20% 0%, #232a38 0%, transparent 55%),
    radial-gradient(100% 80% at 90% 30%, #2a2418 0%, transparent 50%),
    linear-gradient(180deg, #161a22 0%, #131720 55%, #101319 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
input[type="range"] {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(19, 23, 31, 0.92);
  border-bottom: 1px solid rgba(168, 136, 79, 0.22);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.55rem 0.9rem;
}
a[data-contract="site-name"] {
  color: var(--enamel);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
a[data-contract="site-name"]:hover {
  color: var(--stain);
  text-decoration: underline;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  white-space: nowrap;
  display: inline-block;
  padding: 0.16rem 0.5rem;
  font-size: 12px;
  color: var(--enamel-dim);
  text-decoration: none;
  border: 1px solid rgba(168, 136, 79, 0.3);
  border-radius: 999px;
  background: rgba(232, 226, 212, 0.04);
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--stain);
  border-color: var(--stain);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0.85rem 2rem;
}
.block-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--stain);
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(168, 136, 79, 0.25);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.block-title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50% 50% 50% 0;
  background: var(--stain);
  transform: rotate(-45deg);
  flex: none;
}
.hero-bath {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "visual rim"
    "body body";
  gap: var(--gap);
  padding: 0.9rem 0 1.6rem;
  position: relative;
}
.hero-bath::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 136, 79, 0.4), transparent);
}
.hero-visual {
  grid-area: visual;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.poster-wrap {
  position: relative;
  align-self: flex-start;
  width: 100%;
  max-width: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  background: var(--night-soft);
}
.poster-wrap img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.03);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 45% at 30% 20%, rgba(232, 226, 212, 0.1), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(20, 29, 46, 0.55) 100%);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #0c1119;
  border: 1px solid rgba(168, 136, 79, 0.25);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.45rem;
  border-radius: var(--radius);
  background: rgba(30, 43, 66, 0.55);
  border: 1px solid rgba(168, 136, 79, 0.18);
}
.pc-btn {
  appearance: none;
  border: 1px solid rgba(168, 136, 79, 0.3);
  background: rgba(232, 226, 212, 0.05);
  color: var(--enamel-dim);
  font-size: 11px;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pc-btn:hover {
  color: var(--night);
  background: var(--stain);
  border-color: var(--stain);
}
.pc-btn.is-active {
  color: var(--night);
  background: var(--stain);
  border-color: var(--stain);
}
.pc-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(232, 226, 212, 0.18);
  flex: 1 1 90px;
  min-width: 70px;
  margin: 0 0.2rem;
  cursor: pointer;
}
.pc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--stain);
  border: none;
}
.pc-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--stain);
}
.hero-rim {
  grid-area: rim;
  align-self: start;
  position: relative;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(232, 226, 212, 0.07), rgba(20, 29, 46, 0.5)),
    var(--night-soft);
  border: 1px solid rgba(168, 136, 79, 0.3);
  box-shadow: inset 0 1px 0 rgba(232, 226, 212, 0.08), 0 8px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.hero-rim::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--stain), transparent);
}
.movie-title {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--enamel);
}
.movie-tagline {
  margin-top: 0.35rem;
  font-size: 12px;
  color: var(--stain);
  letter-spacing: 0.04em;
}
.movie-seo {
  margin-top: 0.5rem;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.hero-bath.is-theater .hero-visual {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #05080d;
  padding: 0.6rem;
  justify-content: center;
}
.hero-bath.is-theater .main-player {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100vh - 6rem);
}
.hero-bath.lights-off .main-player {
  filter: brightness(0.62) contrast(1.12);
}
.overview-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "cast cast synopsis"
    "status details synopsis";
  gap: var(--gap);
  align-items: start;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(168, 136, 79, 0.16);
}
.cast-strip {
  grid-area: cast;
  min-width: 0;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background:
    radial-gradient(70% 50% at 35% 25%, rgba(232, 226, 212, 0.35), transparent 65%),
    linear-gradient(160deg, #4a3f2c 0%, #2a2f3d 60%, #1a2130 100%);
  border: 1px solid rgba(168, 136, 79, 0.3);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -12%;
  height: 55%;
  border-radius: 50% 50% 0 0;
  background: rgba(20, 29, 46, 0.55);
}
.cast-name {
  font-size: 11px;
  color: var(--enamel-dim);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding: 0.6rem 0.7rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(30, 43, 66, 0.35);
  border: 1px solid rgba(168, 136, 79, 0.16);
}
.synopsis-paras {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  text-indent: 2em;
}
.synopsis-para:first-child {
  color: var(--enamel);
}
.episode-status {
  grid-area: status;
  min-width: 0;
  padding: 0.55rem 0.7rem 0.65rem;
  border-radius: var(--radius);
  background: rgba(138, 90, 59, 0.14);
  border: 1px solid rgba(168, 136, 79, 0.2);
}
.status-line {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.6;
}
.status-line + .status-line {
  color: var(--ink-dim);
}
.details-block {
  grid-area: details;
  min-width: 0;
  padding: 0.55rem 0.7rem 0.65rem;
  border-radius: var(--radius);
  background: rgba(30, 43, 66, 0.35);
  border: 1px solid rgba(168, 136, 79, 0.16);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.9rem;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.12rem 0;
  border-bottom: 1px dotted rgba(168, 136, 79, 0.16);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: none;
  font-size: 11px;
  color: var(--stain);
  letter-spacing: 0.04em;
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(168, 136, 79, 0.16);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 0.9rem;
  padding-left: 0.9rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(168, 136, 79, 0.7), rgba(168, 136, 79, 0.12) 70%, transparent);
  box-shadow: 0 0 6px rgba(168, 136, 79, 0.3);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 0.45rem;
  align-items: start;
  min-width: 0;
  padding: 0.35rem 0.45rem 0.4rem;
  border-radius: var(--radius);
  background: rgba(30, 43, 66, 0.28);
  border: 1px solid rgba(168, 136, 79, 0.12);
}
.node-drop {
  grid-row: 1 / span 2;
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(140deg, var(--enamel-dim), var(--stain));
  box-shadow: 0 0 0 2px rgba(19, 23, 31, 0.9), 0 0 8px rgba(168, 136, 79, 0.45);
  flex: none;
}
.node-time {
  font-size: 11px;
  color: var(--stain);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.node-label {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(168, 136, 79, 0.16);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.episode-card {
  min-width: 0;
  padding: 0.5rem 0.6rem 0.55rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 43, 66, 0.5), rgba(20, 29, 46, 0.42));
  border: 1px solid rgba(168, 136, 79, 0.16);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.15rem 0.4rem;
  align-items: baseline;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: rgba(168, 136, 79, 0.45);
  background: linear-gradient(180deg, rgba(44, 58, 82, 0.6), rgba(20, 29, 46, 0.5));
}
.ep-num {
  font-size: 11px;
  color: var(--stain);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.ep-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--enamel);
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ep-duration {
  font-size: 11px;
  color: var(--ink-dim);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ep-summary {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 0.2rem;
  padding-top: 0.3rem;
  border-top: 1px dashed rgba(168, 136, 79, 0.2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 12rem;
  opacity: 1;
}
.comments-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 136, 79, 0.16);
}
.comment-wall {
  column-count: 2;
  column-gap: 0.7rem;
}
.comment-note {
  break-inside: avoid;
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 3px 10px 4px 9px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(232, 226, 212, 0.1), transparent 55%),
    linear-gradient(170deg, #33291c 0%, #241f18 55%, #1c1a15 100%);
  border: 1px solid rgba(168, 136, 79, 0.28);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 0 22px rgba(168, 136, 79, 0.08);
  position: relative;
}
.comment-note::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  border: 1px dashed rgba(168, 136, 79, 0.18);
  pointer-events: none;
}
.comment-note:nth-child(2n) {
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(0.6deg);
}
.comment-nick {
  font-size: 12px;
  font-weight: 700;
  color: var(--stain);
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.rec-region {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(168, 136, 79, 0.16);
}
.rec-region:first-of-type {
  margin-top: 1.6rem;
}
.rec-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--enamel);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
.rec-title::after {
  content: attr(data-recommendation-title);
  display: none;
}
.rec-title::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--stain);
  flex: none;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.3rem;
  border-radius: var(--radius);
  background: rgba(30, 43, 66, 0.35);
  border: 1px solid rgba(168, 136, 79, 0.14);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(168, 136, 79, 0.5);
  background: rgba(44, 58, 82, 0.5);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #0c1119;
  filter: saturate(0.82);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--enamel);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 1.8rem;
  padding: 0.9rem 0.9rem 1.4rem;
  border-top: 1px solid rgba(168, 136, 79, 0.2);
  background: rgba(12, 16, 22, 0.7);
  font-size: 11.5px;
  color: var(--ink-dim);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 0.6rem;
  line-height: 1.55;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(168, 136, 79, 0.12);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--enamel-dim);
  text-decoration: none;
  font-size: 11.5px;
  padding: 0.1rem 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--stain);
  text-decoration: underline;
  border-bottom-color: var(--stain);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.6rem;
}
.friend-label {
  font-size: 11px;
  color: var(--stain);
  letter-spacing: 0.08em;
  flex: none;
}
a.runtime-friend-link {
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 11px;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 136, 79, 0.16);
  background: rgba(232, 226, 212, 0.03);
}
a.runtime-friend-link:hover {
  color: var(--night);
  background: var(--stain);
  border-color: var(--stain);
  text-decoration: none;
}
@media (max-width: 900px) {.hero-bath {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "rim"
      "body";
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "cast cast"
      "synopsis synopsis"
      "status details";
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.poster-wrap {
    max-width: 200px;
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 0.6rem 1.6rem;
  }
.hero-bath {
    padding-top: 0.7rem;
  }
.poster-wrap {
    max-width: 150px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cast"
      "synopsis"
      "status"
      "details";
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ep-summary {
    max-height: 12rem;
    opacity: 1;
  }
.comment-wall {
    column-count: 1;
  }
.rec-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.header-inner {
    padding: 0.5rem 0.6rem;
  }}
@media (max-width: 400px) {.rec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-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}
