:root {
  --brown-deep: #1a120b;
  --brown: #2a1c10;
  --brown-soft: #3a2718;
  --amber: #d99a3c;
  --amber-glow: #f0b558;
  --amber-dim: #9c6b28;
  --cream: #f2e6d0;
  --cream-dim: #c9b494;
  --sake: #a8d8d0;
  --sake-deep: #6fb5ad;
  --line: rgba(217, 154, 60, 0.22);
  --radius-wood: 6px;
  --radius-curve: 14px;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --font-hand: "Kaiti SC", "STKaiti", "KaiTi", "Hiragino Mincho ProN", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--brown-deep);
  background-image:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(217, 154, 60, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 30% at 20% 12%, rgba(240, 181, 88, 0.08), transparent 60%),
    linear-gradient(180deg, #1a120b 0%, #150e08 55%, #100a06 100%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl, dd, figure, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(26, 18, 11, 0.97), rgba(26, 18, 11, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-hand);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-glow);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(240, 181, 88, 0.35);
  padding: 2px 4px;
  border-radius: var(--radius-wood);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--sake);
  text-shadow: 0 0 16px rgba(168, 216, 208, 0.5);
}
.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;
  padding: 3px 11px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  text-decoration: none;
  background: rgba(58, 39, 24, 0.6);
  border: 1px solid rgba(217, 154, 60, 0.16);
  border-radius: 999px 999px 999px 3px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.runtime-category:hover {
  color: var(--brown-deep);
  background: var(--amber);
  border-color: var(--amber-glow);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.slogan-band {
  position: relative;
  padding: 20px 22px 18px;
  border-radius: var(--radius-curve) var(--radius-curve) var(--radius-wood) var(--radius-wood);
  background:
    radial-gradient(ellipse 120% 160% at 12% 0%, rgba(240, 181, 88, 0.2), transparent 62%),
    linear-gradient(135deg, rgba(58, 39, 24, 0.9), rgba(26, 18, 11, 0.78));
  border: 1px solid var(--line);
  overflow: hidden;
}
.slogan-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(168, 216, 208, 0.14);
  pointer-events: none;
}
.slogan-text {
  font-family: var(--font-hand);
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  line-height: 1.4;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(240, 181, 88, 0.22);
}
.slogan-sub {
  margin-top: 4px;
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  color: var(--amber);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius-wood);
  background:
    linear-gradient(180deg, rgba(42, 28, 16, 0.94), rgba(26, 18, 11, 0.9));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(240, 181, 88, 0.09);
}
.poster-column {
  min-width: 0;
}
.poster-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-wood);
  overflow: hidden;
  border: 1px solid rgba(217, 154, 60, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  background: #0d0805;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
img.main-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1.3;
}
.movie-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--sake));
}
.movie-tagline {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--amber-glow);
}
.movie-seo {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--cream-dim);
  padding-top: 8px;
  border-top: 1px dashed rgba(217, 154, 60, 0.2);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 8px 0 2px;
  border-top: 1px solid rgba(217, 154, 60, 0.14);
  border-bottom: 1px solid rgba(217, 154, 60, 0.14);
}
.status-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-wood);
  background: rgba(58, 39, 24, 0.55);
  border-left: 2px solid var(--sake-deep);
}
.status-key {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}
.status-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber-glow);
}
.player-shell {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-wood);
  background: rgba(13, 8, 5, 0.72);
  border: 1px solid rgba(217, 154, 60, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.player-shell.is-theater {
  background: #050302;
  border-color: rgba(168, 216, 208, 0.32);
}
.player-shell.is-lights-down {
  box-shadow: 0 0 0 1px rgba(168, 216, 208, 0.24), 0 0 34px rgba(168, 216, 208, 0.16);
}
.player-shell.is-lights-down .main-player {
  filter: brightness(0.82) contrast(1.05);
}
video.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-btn {
  cursor: pointer;
  padding: 4px 10px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  background: rgba(58, 39, 24, 0.7);
  border: 1px solid rgba(217, 154, 60, 0.2);
  border-radius: 999px 999px 999px 3px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.control-btn:hover {
  color: var(--brown-deep);
  background: var(--amber);
  border-color: var(--amber-glow);
}
.control-btn.is-active, .control-btn.is-active:hover {
  color: var(--brown-deep);
  background: var(--sake);
  border-color: var(--sake);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber-dim), rgba(217, 154, 60, 0.25));
  outline: none;
  cursor: pointer;
  min-width: 64px;
}
.progress-range {
  flex: 1 1 140px;
}
.volume-range {
  flex: 0 1 90px;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sake);
  border: 1px solid var(--brown-deep);
  box-shadow: 0 0 8px rgba(168, 216, 208, 0.5);
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sake);
  border: 1px solid var(--brown-deep);
}
.section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 2px;
  background: var(--sake);
  box-shadow: 0 0 10px rgba(168, 216, 208, 0.55);
  flex: none;
}
.cast-section {
  padding-top: 10px;
  border-top: 1px dashed rgba(217, 154, 60, 0.2);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px 999px 999px 4px;
  background: linear-gradient(120deg, rgba(58, 39, 24, 0.8), rgba(42, 28, 16, 0.6));
  border: 1px solid rgba(217, 154, 60, 0.16);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cast-card:hover {
  border-color: rgba(168, 216, 208, 0.4);
  transform: translateY(-1px);
}
.cast-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(240, 181, 88, 0.85), transparent 55%),
    linear-gradient(140deg, var(--brown-soft), var(--brown-deep));
  border: 1px solid rgba(217, 154, 60, 0.4);
}
.cast-name {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  white-space: nowrap;
}
.synopsis-section {
  padding-top: 10px;
  border-top: 1px dashed rgba(217, 154, 60, 0.2);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.synopsis-paragraph {
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--cream-dim);
  padding-left: 10px;
  border-left: 2px solid rgba(168, 216, 208, 0.28);
}
.details-section {
  padding-top: 10px;
  border-top: 1px dashed rgba(217, 154, 60, 0.2);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 5px 10px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-wood);
  background: rgba(58, 39, 24, 0.42);
  border-bottom: 1px solid rgba(217, 154, 60, 0.1);
  min-width: 0;
}
.detail-key {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--amber-dim);
  flex: none;
}
.detail-value {
  font-size: 0.8rem;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 14px 14px 16px;
  border-radius: var(--radius-wood);
  background: linear-gradient(180deg, rgba(42, 28, 16, 0.72), rgba(26, 18, 11, 0.6));
  border: 1px solid var(--line);
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: var(--amber-dim) rgba(58, 39, 24, 0.6);
  scrollbar-width: thin;
}
.timeline-scroller::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: rgba(58, 39, 24, 0.6);
  border-radius: 4px;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--amber-dim);
  border-radius: 4px;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 4px 4px;
  min-width: max-content;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(217, 154, 60, 0.5), rgba(168, 216, 208, 0.5));
}
.timeline-node {
  position: relative;
  width: 158px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.timeline-drop {
  position: absolute;
  top: -14px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 50% 2px;
  background: var(--sake);
  border: 2px solid var(--brown-deep);
  box-shadow: 0 0 10px rgba(168, 216, 208, 0.6);
}
.timeline-time {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-glow);
}
.timeline-label {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--cream-dim);
}
.episodes-section {
  padding: 14px;
  border-radius: var(--radius-wood);
  background: linear-gradient(180deg, rgba(42, 28, 16, 0.72), rgba(26, 18, 11, 0.6));
  border: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 8px;
  border-radius: var(--radius-wood);
  background: rgba(58, 39, 24, 0.46);
  border: 1px solid rgba(217, 154, 60, 0.13);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.episode-card:hover {
  background: rgba(58, 39, 24, 0.72);
  border-color: rgba(168, 216, 208, 0.34);
}
.episode-thumb {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #0d0805;
  border: 1px solid rgba(217, 154, 60, 0.2);
  align-self: start;
}
.episode-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.episode-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-self: start;
}
.episode-number {
  font-family: var(--font-hand);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sake);
}
.episode-title {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
}
.episode-summary {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--cream-dim);
}
.episode-duration {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--amber-dim);
  margin-top: 2px;
}
.comments-section {
  padding: 14px;
  border-radius: var(--radius-wood);
  background: linear-gradient(180deg, rgba(42, 28, 16, 0.72), rgba(26, 18, 11, 0.6));
  border: 1px solid var(--line);
}
.comment-masonry {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-curve) var(--radius-curve) var(--radius-wood) var(--radius-curve);
  background: rgba(58, 39, 24, 0.5);
  border: 1px solid rgba(217, 154, 60, 0.14);
  border-left: 3px solid rgba(168, 216, 208, 0.4);
}
.comment-text {
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--cream);
}
.comment-author {
  margin-top: 6px;
  font-family: var(--font-hand);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-align: right;
}
.comment-author::before {
  content: "— ";
  color: var(--amber-dim);
}
.recommend-region {
  padding: 14px;
  border-radius: var(--radius-wood);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(240, 181, 88, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(42, 28, 16, 0.68), rgba(26, 18, 11, 0.58));
  border: 1px solid var(--line);
}
.recommend-title {
  margin-bottom: 10px;
}
.recommend-grid {
  display: grid;
  gap: 9px;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-radius: var(--radius-wood);
  background: rgba(58, 39, 24, 0.55);
  border: 1px solid rgba(217, 154, 60, 0.16);
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  min-width: 0;
}
a.recommend-card:hover {
  background: rgba(58, 39, 24, 0.82);
  border-color: rgba(168, 216, 208, 0.45);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #0d0805;
  display: block;
}
.recommend-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--cream-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 18, 11, 0.9), rgba(13, 8, 5, 0.98));
  padding: 18px 16px 26px;
  margin-top: 12px;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a.footer-link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--amber);
}
a[data-contract="footer-home"]:hover {
  color: var(--sake);
  border-bottom-color: var(--sake);
}
a[data-contract="footer-sitemap"] {
  color: var(--cream-dim);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-glow);
  border-bottom-color: var(--amber-glow);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(201, 180, 148, 0.7);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.friend-links-label {
  font-family: var(--font-hand);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--amber-dim);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 0.76rem;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px 999px 999px 3px;
  background: rgba(58, 39, 24, 0.5);
  border: 1px solid rgba(217, 154, 60, 0.12);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--brown-deep);
  background: var(--sake);
  border-color: var(--sake-deep);
}
main .click, main .input, main .player, main .progress, main .timeupdate, main .volume, main .light, main .mute, main .pip, main .play, main .speed, main .theater, main .fullscreen, main .x {
  
}
@media (max-width: 980px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 240px;
  }
.recommend-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 12px 12px 32px;
    gap: 18px;
  }
.slogan-band {
    padding: 16px 16px 14px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    column-count: 1;
  }
.recommend-grid-4, .recommend-grid-3, .recommend-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 200px;
  }}
@media (max-width: 480px) {.episode-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-3, .recommend-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.poster-column {
    max-width: 170px;
  }
.header-inner {
    padding: 7px 12px;
  }}

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}
