*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --straw: #c9a24a;
  --straw-dim: #a8853a;
  --straw-pale: #e2c47c;
  --wall: #8d8577;
  --wall-dark: #5c564c;
  --soil: #2c231a;
  --soil-deep: #1a140e;
  --soil-mid: #3d3122;
  --rain: #171310;
  --cold: #e8e6df;
  --cold-dim: #b8b3a6;
  --ink: #201a12;
  --line: rgba(201, 162, 74, 0.28);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--soil-deep);
  color: var(--cold-dim);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--straw); text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: 0.02em; }
dt, dd { display: inline; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
.site-header {
  background: linear-gradient(180deg, var(--rain), var(--soil-deep));
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--straw-pale);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
a[data-contract="site-name"]:hover { color: var(--cold); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--wall);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(201, 162, 74, 0.05);
}
a.runtime-category:hover {
  color: var(--soil-deep);
  background: var(--straw);
  border-color: var(--straw);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
  padding: 22px 0 30px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
img.hero-poster {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.86);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(201, 162, 74, 0.18);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid var(--line);
}
video[data-contract="player"] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(26, 20, 14, 0.96), rgba(12, 9, 6, 0.98));
  border-top: 1px solid var(--line);
}
.player-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cold-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover { color: var(--soil-deep); background: var(--straw); border-color: var(--straw); }
.player-btn.is-active, .player-btn.play.is-active { color: var(--soil-deep); background: var(--straw-pale); border-color: var(--straw-pale); }
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(184, 179, 166, 0.28);
  cursor: pointer;
  border: none;
}
.player-progress { flex: 1 1 120px; min-width: 60px; }
.player-volume { flex: 0 1 70px; min-width: 48px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--straw-pale);
  box-shadow: 0 0 6px rgba(232, 230, 223, 0.5);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--straw-pale);
}
.player-speed {
  background: var(--soil-mid);
  border: 1px solid var(--line);
  color: var(--cold-dim);
  font-size: 11px;
  padding: 2px 4px;
  cursor: pointer;
}
body.is-lights-off { background: #0a0705; }
body.is-lights-off .hero-media { box-shadow: 0 0 0 1px var(--straw-dim); }
.hero-player-wrap.is-theater {
  box-shadow: 0 0 0 2px var(--straw), 0 20px 50px rgba(0, 0, 0, 0.8);
}
.hero-info {
  min-width: 0;
  background: linear-gradient(160deg, rgba(60, 49, 34, 0.5), rgba(26, 20, 14, 0.2));
  border-left: 2px solid var(--straw-dim);
  padding: 4px 0 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.2;
  color: var(--cold);
  letter-spacing: 0.04em;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--straw);
  font-style: italic;
  letter-spacing: 0.05em;
  border-left: 1px solid var(--straw-dim);
  padding-left: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-card {
  background: linear-gradient(180deg, var(--soil-mid), var(--soil));
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 4px;
  position: relative;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 6px 6px auto 6px;
  height: 3px;
  background: var(--straw-dim);
  opacity: 0.55;
}
.cast-name {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--cold);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}
.cast-title, .episode-status-title, .synopsis-title, .details-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--straw);
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 3px solid var(--straw-dim);
}
.episode-status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.status-item {
  background: rgba(44, 35, 26, 0.8);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.status-item dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--wall);
}
.status-item dd {
  font-size: 15px;
  font-weight: 700;
  color: var(--cold);
  letter-spacing: 0.04em;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.55;
  color: var(--cold-dim);
  text-indent: 2em;
  margin-bottom: 6px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  background: rgba(44, 35, 26, 0.62);
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.detail-item dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--wall);
}
.detail-item dd {
  font-size: 12px;
  color: var(--cold);
  font-weight: 400;
}
.timeline {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.timeline-title, .episodes-title, .comments-title {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--straw-pale);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--straw);
}
.timeline-list {
  columns: 2;
  column-gap: 26px;
  counter-reset: tl;
}
.timeline-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(201, 162, 74, 0.18);
  break-inside: avoid;
}
.timeline-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--straw);
  border-right: 1px solid var(--line);
  padding-right: 8px;
  text-align: right;
}
.timeline-label {
  font-size: 13px;
  color: var(--cold-dim);
  line-height: 1.4;
}
.episodes {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-cell {
  background: rgba(38, 30, 21, 0.86);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "sum sum"
    "dur dur";
  gap: 2px 10px;
  align-items: baseline;
  position: relative;
  cursor: default;
  transition: background 0.18s;
}
.episode-cell:hover { background: rgba(60, 49, 34, 0.95); }
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--straw);
  white-space: nowrap;
}
.episode-name {
  grid-area: name;
  font-size: 14px;
  color: var(--cold);
  letter-spacing: 0.06em;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.45;
  color: var(--cold-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin: 4px 0 2px;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--wall);
}
.comments {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}
.comment-list {
  columns: 2;
  column-gap: 26px;
}
.comment-item {
  break-inside: avoid;
  position: relative;
  padding: 8px 10px 10px 40px;
  margin-bottom: 10px;
  background: rgba(38, 30, 21, 0.62);
  border-left: 2px solid var(--straw-dim);
}
.comment-item:nth-child(even) { border-left-color: var(--wall-dark); }
.comment-avatar {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--soil-deep);
  background: var(--straw);
  border-radius: 50%;
  letter-spacing: 0;
}
.comment-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cold);
  margin-bottom: 4px;
}
.comment-nickname {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wall);
}
.comment-nickname::before { content: "—— "; }
.rec-region {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}
.rec-region:last-of-type { border-bottom: none; }
.rec-title {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--straw-pale);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--straw-dim);
}
.rec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: start;
}
.rec-item {
  flex: 1 1 220px;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--cold-dim);
  text-decoration: none;
  background: rgba(38, 30, 21, 0.7);
  border: 1px solid rgba(201, 162, 74, 0.14);
  padding: 6px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--straw-dim);
  background: rgba(60, 49, 34, 0.92);
  color: var(--cold);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.9);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 400;
  color: var(--straw-pale);
  letter-spacing: 0.04em;
  line-height: 1.35;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: var(--wall);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-1 .rec-title::after { content: " ／ 一"; }
.rec-region-2 .rec-title::after { content: " ／ 二"; }
.rec-region-3 .rec-title::after { content: " ／ 三"; }
.site-footer {
  background: linear-gradient(180deg, var(--soil-deep), #0d0a07);
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--straw);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--wall);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--cold);
  border-color: var(--line);
  background: rgba(201, 162, 74, 0.08);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--wall-dark);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--straw-dim);
}
a[data-contract="footer-home"] { color: var(--straw-pale); }
a[data-contract="footer-sitemap"] { color: var(--wall); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cold);
  text-decoration: underline;
}
.input { outline: none; }
.click { cursor: pointer; }
.player { position: relative; }
.progress { accent-color: var(--straw); }
.volume { accent-color: var(--straw); }
.speed { accent-color: var(--straw); }
.fullscreen { background: #000; }
.pip { background: #000; }
.theater { background: #000; }
.light { background: #000; }
.mute { opacity: 1; }
.play { opacity: 1; }
.change { transition: all 0.2s ease; }
.data-player-action { cursor: pointer; }
.timeupdate { transition: none; }
@media (max-width: 980px) {.hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
img.hero-poster { max-width: 200px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 13px; }
.timeline-list { columns: 1; }
.comment-list { columns: 1; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-status-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movie-title { font-size: 20px; }
.hero-info { border-left-width: 2px; padding-left: 12px; }
.rec-item { flex: 1 1 100%; }
.player-controls { gap: 4px; }
.player-btn { font-size: 10px; padding: 3px 5px; }}
@media (max-width: 480px) {.page-main { padding: 0 12px 30px; }
.header-inner { padding: 8px 12px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-card { min-height: 78px; }
.cast-name { font-size: 12px; }
.episode-status-list { grid-template-columns: minmax(0, 1fr); }
.rec-item { flex: 1 1 100%; }
a[data-runtime="recommendation"] img { max-height: 180px; aspect-ratio: 16 / 9; }
.comment-text { font-size: 14px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }}

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}
