*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --snow: #e8e4da;
  --snow-deep: #c9c5bb;
  --cold-grey: #8d9197;
  --rice: #f3ede0;
  --rice-warm: #e7dcc6;
  --ember: #7a1f18;
  --ember-deep: #4d1210;
  --earth: #8a6435;
  --earth-deep: #5a3d1e;
  --noren: #b98a3f;
  --soot: #2a2521;
  --soot-soft: #3b342c;
  --text: #2e2822;
  --text-soft: #5d5348;
  --rule: rgba(90, 61, 30, 0.28);
  --title-font: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC",
    "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  --body-font: "Helvetica Neue", "Hiragino Sans", "Yu Gothic", "PingFang SC",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html {
  background: var(--soot);
}
body {
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text);
  background:
    linear-gradient(180deg, #211d19 0, #211d19 340px, var(--rice) 340px, var(--rice) 100%);
  background-color: var(--rice);
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(34, 29, 24, 0.96);
  border-bottom: 1px solid rgba(185, 138, 63, 0.35);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--rice-warm);
  text-decoration: none;
  border-left: 3px solid var(--ember);
  padding-left: 9px;
  line-height: 1.2;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--noren);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
  padding: 3px 9px;
  color: var(--snow-deep);
  text-decoration: none;
  border: 1px solid rgba(185, 138, 63, 0.4);
  background: rgba(122, 31, 24, 0.28);
}
a.runtime-category:hover {
  color: var(--soot);
  background: var(--noren);
  border-color: var(--noren);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 26px;
  display: block;
}
.section-heading {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ember-deep);
  padding: 0 0 4px 0;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--ember);
  flex: 0 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 0 22px;
  align-items: start;
  margin: 16px 0 22px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -16px -14px auto -14px;
  height: 300px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(122, 31, 24, 0.55) 0%, rgba(34, 29, 24, 0) 62%),
    linear-gradient(180deg, #221d18 0%, #221d18 72%, rgba(34, 29, 24, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-poster, .hero-info {
  position: relative;
  z-index: 1;
}
.hero-poster {
  border: 1px solid rgba(185, 138, 63, 0.5);
  background: var(--soot);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  align-self: start;
}
.hero-poster img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-family: var(--title-font);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rice);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-family: var(--title-font);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--noren);
  border-left: 3px solid var(--ember);
  padding-left: 10px;
  max-width: 30ch;
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.68;
  color: #cbc4b6;
  max-width: 62ch;
}
.hero-player {
  max-width: 100%;
  background: #14110e;
  border: 1px solid rgba(185, 138, 63, 0.32);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-player video {
  width: 100%;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 3px 2px 1px;
}
.player-button {
  font-family: var(--body-font);
  font-size: 11.5px;
  line-height: 1.2;
  padding: 4px 8px;
  color: var(--rice-warm);
  background: #2c2620;
  border: 1px solid rgba(185, 138, 63, 0.4);
  cursor: pointer;
  white-space: nowrap;
}
.player-button:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--rice);
}
.player-button.is-playing {
  background: var(--ember);
  border-color: var(--noren);
  color: var(--rice);
}
.player-button.is-muted, .player-button.is-active {
  background: var(--earth-deep);
  border-color: var(--noren);
  color: var(--rice);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--ember);
  background: #463c31;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 80px;
  min-width: 56px;
  height: 4px;
  accent-color: var(--earth);
  background: #463c31;
  cursor: pointer;
}
.player-speed {
  font-size: 11.5px;
  padding: 3px 4px;
  color: var(--rice-warm);
  background: #2c2620;
  border: 1px solid rgba(185, 138, 63, 0.4);
  cursor: pointer;
}
.hero.is-theater .hero-poster {
  display: none;
}
.hero.is-theater {
  grid-template-columns: minmax(0, 1fr);
}
.hero.is-light-off::before {
  background: #0d0b09;
  inset: -16px -14px auto -14px;
  height: 100%;
}
.hero.is-light-off .hero-seo, .hero.is-light-off .hero-tagline {
  color: #7d766a;
}
.cast {
  margin-top: 4px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 6px;
  background: rgba(46, 40, 34, 0.55);
  border: 1px solid rgba(185, 138, 63, 0.28);
  border-left: 3px solid var(--ember);
  min-width: 0;
}
.cast-portrait {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--soot);
  border: 1px solid rgba(232, 228, 218, 0.18);
}
.cast-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.cast-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cast-name {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  line-height: 1.35;
  color: #a89d8c;
}
.synopsis, .episode-status, .details {
  margin-top: 4px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.72;
  color: #cfc8ba;
  text-align: justify;
  max-width: 68ch;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 6px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 4px 12px;
  align-items: start;
}
.status-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(185, 138, 63, 0.3);
}
.status-key, .detail-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--noren);
  flex: 0 0 auto;
  white-space: nowrap;
}
.status-value, .detail-value {
  font-size: 12px;
  color: var(--rice);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(185, 138, 63, 0.22);
  min-width: 0;
}
.detail-value {
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline {
  margin: 20px 0 22px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding: 6px 0 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--earth) var(--rice-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--rice-warm);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--earth);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 12px 0 10px;
  scroll-snap-align: start;
  text-align: left;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(90, 61, 30, 0.35);
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
  border: 2px solid var(--rice);
  box-shadow: 0 0 0 1px var(--ember);
  margin-left: 0;
}
.timeline-timecode {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember-deep);
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-soft);
  text-align: left;
}
.episodes {
  margin: 0 0 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 7px 9px 8px;
  background: var(--rice-warm);
  border: 1px solid rgba(90, 61, 30, 0.24);
  border-top: 2px solid rgba(122, 31, 24, 0.55);
  min-width: 0;
}
.episode-card:hover {
  background: #efe3ca;
  border-color: rgba(122, 31, 24, 0.5);
}
.episode-title {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ember-deep);
  margin-bottom: 3px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}
.episode-duration {
  display: inline-block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--earth-deep);
  background: rgba(138, 100, 53, 0.16);
  border: 1px solid rgba(138, 100, 53, 0.35);
  padding: 1px 6px;
}
.comments {
  margin: 0 0 22px;
}
.comment-columns {
  columns: 3;
  column-gap: 10px;
  column-rule: 1px solid var(--rule);
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 6px 8px 7px;
  background: var(--rice-warm);
  border-left: 3px solid var(--earth);
  border-top: 1px solid rgba(90, 61, 30, 0.18);
  border-right: 1px solid rgba(90, 61, 30, 0.18);
  border-bottom: 1px solid rgba(90, 61, 30, 0.18);
}
.comment-nickname {
  display: block;
  font-family: var(--title-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ember);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: justify;
}
.recommend-region {
  margin: 0 0 20px;
}
.recommend-heading {
  color: var(--earth-deep);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  text-decoration: none;
  color: var(--text);
  background: var(--rice-warm);
  border: 1px solid rgba(90, 61, 30, 0.22);
  transition: background 0.15s ease, border-color 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  background: #efe3ca;
  border-color: var(--ember);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--soot);
  display: block;
  filter: saturate(0.9);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--title-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ember-deep);
  line-height: 1.35;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--soot-soft);
  border-top: 3px solid var(--ember);
  color: #b8af9f;
  padding: 16px 14px 22px;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  border-bottom: 1px solid rgba(185, 138, 63, 0.3);
  padding-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title-font);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--rice-warm);
}
a[data-contract="footer-home"] {
  border-left: 3px solid var(--ember);
  padding-left: 8px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--noren);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--snow-deep);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.friend-links-label {
  font-family: var(--title-font);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--earth);
  border-right: 1px solid rgba(185, 138, 63, 0.4);
  padding-right: 8px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  line-height: 1.2;
  color: #a89d8c;
  text-decoration: none;
  padding: 2px 5px;
  border: 1px solid rgba(185, 138, 63, 0.18);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--rice);
  border-color: var(--noren);
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
  color: #7f7668;
  border-top: 1px dotted rgba(185, 138, 63, 0.28);
  padding-top: 8px;
}
@media (max-width: 980px) {.hero {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 0 16px;
  }
.hero-title {
    font-size: 25px;
  }
.comment-columns {
    columns: 2;
  }}
@media (max-width: 720px) {body {
    font-size: 12.5px;
    background:
      linear-gradient(180deg, #211d19 0, #211d19 300px, var(--rice) 300px, var(--rice) 100%);
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero::before {
    height: 220px;
  }
.hero-poster {
    max-width: 230px;
  }
.hero.is-theater .hero-poster {
    display: none;
  }
.hero-title {
    font-size: 22px;
  }
.hero-seo {
    max-width: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    columns: 1;
    column-rule: none;
  }
.timeline-track {
    grid-auto-columns: minmax(160px, 78vw);
  }
.status-list, .details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }}
@media (max-width: 480px) {.header-inner {
    padding: 7px 10px;
    gap: 5px 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.hero-title {
    font-size: 20px;
  }
.section-heading {
    font-size: 14px;
    letter-spacing: 0.12em;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-progress {
    flex-basis: 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}
