*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(233, 176, 108, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 138, 82, 0.12), transparent 55%),
    #f4ede2;
  color: #3a332c;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p {
  margin: 0;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: #a9561f;
  text-decoration: none;
}
a:hover, a:focus-visible {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid #c8702c;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 237, 226, 0.94);
  border-bottom: 1px solid #d8c9b4;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: #2f2a25;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
a[data-contract="site-name"]:hover {
  color: #b4652a;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: baseline;
}
a.runtime-category {
  color: #6b5c4c;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  padding: 2px 8px;
  border: 1px solid #d8c9b4;
  border-radius: 2px;
  background: #fbf6ee;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #a9561f;
  border-color: #c08b5c;
  background: #f6ead9;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6a5540;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #d8c9b4;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: #c8702c;
}
.overview-block {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  background: #fdf9f2;
  border: 1px solid #e0d2bd;
  border-radius: 3px;
  padding: 14px;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px -18px rgba(90, 60, 30, 0.5);
}
.overview-poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid #d8c9b4;
  background: #efe5d6;
  padding: 5px;
  box-shadow: 0 6px 16px -12px rgba(70, 45, 20, 0.7);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f2a25;
}
.movie-tagline {
  font-size: 14px;
  color: #9a5a22;
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 3px solid #c8702c;
  font-weight: 500;
}
.overview-player-wrap {
  width: 100%;
  min-width: 0;
  background: #241f1a;
  border: 1px solid #3a3128;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.player-video {
  display: block;
  width: 100%;
  background: #14100d;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  background: #2b241d;
  border-top: 1px solid #443a2e;
}
.ctrl-btn {
  background: #3a3128;
  color: #ecdfcc;
  border: 1px solid #4d4133;
  border-radius: 2px;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  background: #4d4133;
  border-color: #6b5a45;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  background: #c8702c;
  border-color: #d98a45;
  color: #fff7ec;
}
.ctrl-btn.is-muted {
  background: #5c3a22;
  border-color: #8a5a34;
  color: #f3ddc4;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  accent-color: #c8702c;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 60px;
  height: 4px;
  accent-color: #c8702c;
  cursor: pointer;
}
.overview-player-wrap.is-theater {
  box-shadow: 0 0 0 1px #c8702c;
}
body.is-lights-off {
  background: #171310;
}
body.is-lights-off .site-header, body.is-lights-off .page-main, body.is-lights-off .site-footer {
  filter: brightness(0.55);
}
body.is-lights-off .overview-player-wrap, body.is-lights-off .overview-player-wrap * {
  filter: brightness(1.6);
}
.cast-strip {
  border-top: 1px solid #e6dac6;
  padding-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 4px 6px;
  background: #f6ecdd;
  border: 1px solid #e2d3bd;
  border-top: 3px solid #c8702c;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 10px -9px rgba(80, 50, 20, 0.8);
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
  color: #332c25;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: #8b7761;
  letter-spacing: 0.02em;
}
.synopsis-block {
  border-top: 1px solid #e6dac6;
  padding-top: 10px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: #4b4238;
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #e2d3bd;
}
.synopsis-para:first-of-type::first-letter {
  font-size: 1.9em;
  font-weight: 700;
  color: #b4652a;
  line-height: 1;
  padding-right: 2px;
}
.episode-status, .details-block {
  border-top: 1px solid #e6dac6;
  padding-top: 10px;
}
.status-line {
  font-size: 13px;
  color: #5a5046;
  letter-spacing: 0.04em;
}
.status-value {
  font-size: 19px;
  font-weight: 700;
  color: #b4652a;
  padding: 0 2px;
  letter-spacing: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted #e2d3bd;
}
.detail-key {
  flex: 0 0 5.2em;
  font-size: 12.5px;
  color: #8b7761;
  letter-spacing: 0.06em;
}
.detail-val {
  font-size: 13px;
  color: #3a332c;
  font-weight: 500;
}
.timeline-block {
  background: #fdf9f2;
  border: 1px solid #e0d2bd;
  border-radius: 3px;
  padding: 12px 14px 14px;
}
.timeline-list {
  position: relative;
  padding-left: 14px;
  border-left: 2px solid #e0d2bd;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px 22px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 3.6em auto minmax(0, 1fr);
  align-items: center;
  gap: 0 8px;
  padding: 5px 0;
  border-bottom: 1px solid #efe4d2;
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  color: #b4652a;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.timeline-key {
  position: relative;
  width: 12px;
  height: 12px;
  background: #c8702c;
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 0 2px #fdf9f2;
}
.timeline-key::before, .timeline-key::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c8702c;
}
.timeline-key::before {
  top: 4px;
}
.timeline-key::after {
  top: 8px;
}
.timeline-label {
  font-size: 13px;
  color: #4b4238;
  line-height: 1.5;
}
.episodes-block {
  border-top: 1px solid #e6dac6;
  padding-top: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  background: #fbf3e4;
  border: 1px solid #e2d3bd;
  border-radius: 2px;
  padding: 8px 10px 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  box-shadow: 1px 2px 0 #e6dac6, 0 6px 12px -12px rgba(80, 50, 20, 0.9);
  transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
}
.episode-card:nth-child(3n) {
  transform: rotate(-0.35deg);
}
.episode-card:nth-child(4n) {
  transform: rotate(0.4deg);
}
.episode-card:hover {
  transform: rotate(0deg) translateY(-1px);
  border-color: #c08b5c;
  box-shadow: 1px 3px 0 #e6dac6, 0 10px 18px -14px rgba(80, 50, 20, 0.9);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b4652a;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #2f2a25;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: #5a5046;
}
.episode-duration {
  position: absolute;
  left: 10px;
  bottom: 7px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #93806a;
  border-top: 1px dashed #e2d3bd;
  padding-top: 3px;
  width: calc(100% - 20px);
}
.comments-block {
  border-top: 1px solid #e6dac6;
  padding-top: 12px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px 14px;
  align-items: start;
}
.comment-note {
  position: relative;
  background: #fdf6e6;
  border: 1px solid #e6d6ba;
  border-left: 3px solid #d8b98a;
  padding: 9px 11px 10px;
  box-shadow: 2px 3px 0 #ece0cb, 0 8px 14px -14px rgba(80, 50, 20, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-note:nth-child(2n) {
  transform: rotate(0.7deg);
  background: #fdf8ec;
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.9deg);
  background: #faf1de;
}
.comment-note:nth-child(5n) {
  transform: rotate(0.45deg);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: #a9561f;
  letter-spacing: 0.05em;
}
.comment-nickname::before {
  content: "— ";
  color: #c8b295;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: #4b4238;
}
.recommend-region {
  background: #fdf9f2;
  border: 1px solid #e0d2bd;
  border-radius: 3px;
  padding: 11px 12px 12px;
}
.recommend-heading {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #6a5540;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid #e6dac6;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  background: #fbf3e4;
  border: 1px solid #e2d3bd;
  border-radius: 2px;
  color: #3a332c;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a[data-runtime="recommendation"]:hover {
  border-color: #c08b5c;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 14px -12px rgba(80, 50, 20, 0.95);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #e9dcc8;
  border: 1px solid #e2d3bd;
  filter: saturate(0.92);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  color: #2f2a25;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: #7a6a58;
}
.site-footer {
  border-top: 1px solid #d8c9b4;
  background: #efe6d7;
  padding: 14px 16px 22px;
}
.footer-nav, .friend-links, .footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0d2bd;
  margin-bottom: 9px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.05em;
}
a[data-contract="footer-home"] {
  color: #a9561f;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #7d3c11;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: #6b5c4c;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #a9561f;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid #e0d2bd;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8b7761;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #7d6a55;
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 7px;
  border: 1px solid #ddd0ba;
  border-radius: 2px;
  background: #f8f1e5;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #a9561f;
  border-color: #c08b5c;
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: #8b7761;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {.overview-block {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px 16px;
  }
.movie-title {
    font-size: 22px;
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 12px 12px 32px;
    gap: 18px;
  }
.overview-block {
    grid-template-columns: minmax(0, 1fr);
    padding: 11px;
  }
.overview-poster-wrap {
    max-width: 190px;
  }
.movie-title {
    font-size: 20px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }
.timeline-node {
    grid-template-columns: 3.2em auto minmax(0, 1fr);
    gap: 0 6px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 3;
  }
.overview-poster-wrap {
    max-width: 150px;
  }}
.overview-player-wrap:fullscreen {
  background: #000;
  border: none;
}
.overview-player-wrap:fullscreen .player-video {
  max-height: 100vh;
}

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}
