*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff7f0;
  color: #2d1b14;
  line-height: 1.5;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(180deg, #ff6b35 0%, #ff8c42 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.15);
  border-bottom: 3px solid #f4f0ec;
}
.brand-link {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.brand-link:hover {
  opacity: 0.85;
}
.brand-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}
.primary-categories {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
  flex: 1;
}
.primary-categories::-webkit-scrollbar {
  display: none;
}
.runtime-category {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s, transform 0.2s;
}
.runtime-category:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.03);
}
.runtime-category:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}
.overview-panel {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15), 0 0 0 1px #ffe3d1, 0 0 0 6px #fff;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}
.overview-panel:hover {
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.22), 0 0 0 1px #ffb08a, 0 0 0 6px #fff;
}
.poster-media {
  background: #f2c4a8;
  min-height: 100%;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}
.main-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  background: #f2c4a8;
}
.overview-content {
  padding: 1.5rem 1.5rem 1.2rem;
  background: linear-gradient(160deg, #ffffff 0%, #fff8f2 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.title-group {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ffd9c4;
}
.movie-title {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.2;
  color: #c73e1d;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
}
.tagline {
  font-size: 1rem;
  color: #e07a3f;
  margin-top: 0.4rem;
  font-style: italic;
  letter-spacing: 0.05em;
}
.block-heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #f07c4f;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 4px;
  background: linear-gradient(180deg, #ff6b35, #ffaa5e);
  border-radius: 4px;
}
.synopsis-block, .cast-block, .episode-status-block, .details-block {
  padding: 0.2rem 0;
}
.synopsis-para {
  font-size: 0.92rem;
  color: #4a3023;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  max-width: 60ch;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.6rem;
}
.actor-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff0e6;
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  border: 1px solid #ffc9ad;
}
.actor-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a34a22;
}
.director-line {
  font-size: 0.9rem;
  color: #7a4a30;
  margin-top: 0.2rem;
}
.meta-sep {
  color: #f0a585;
  margin: 0 0.4rem;
}
.status-text, .current-episode {
  font-size: 0.85rem;
  color: #8a5a3b;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.current-episode {
  font-weight: 700;
  color: #c73e1d;
  background: #fff0e6;
  display: inline-block;
  padding: 0.2rem 0.9rem;
  border-radius: 50px;
  margin-top: 0.3rem;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
}
.detail-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  border-bottom: 1px dashed #f5d5c2;
}
.detail-label {
  color: #d07a52;
  flex-shrink: 0;
}
.detail-value {
  color: #3d2419;
  font-weight: 500;
}
.player-wrapper {
  background: #1a0e08;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  min-width: 0;
}
.player-wrapper video {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: #2d1b14;
}
.custom-player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}
.custom-player-controls button {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd9c4;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.custom-player-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.custom-player-controls button.is-muted {
  background: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}
.theater-mode .player-wrapper {
  padding: 0;
  background: #000;
}
.theater-mode .player-wrapper video {
  border-radius: 0;
}
.lights-low {
  background: #1a0e08;
}
.lights-low .overview-panel, .lights-low .recommendation-strip, .lights-low .episode-list-panel, .lights-low .timeline-horizontal, .lights-low .comments-grid, .lights-low .recommendation-section {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: #2d1b14;
  color: #f0d5c0;
}
.lights-low .movie-title {
  color: #ffb08a;
}
.lights-low .tagline, .lights-low .block-heading, .lights-low .detail-label, .lights-low .actor-name, .lights-low .status-text, .lights-low .current-episode, .lights-low .director-line, .lights-low .episode-duration, .lights-low .timecode, .lights-low .timeline-label, .lights-low .comment-text, .lights-low .comment-author {
  color: #e8b89a;
}
.lights-low .synopsis-para, .lights-low .episode-summary, .lights-low .detail-value {
  color: #d9b8a0;
}
.lights-low .overview-content {
  background: linear-gradient(160deg, #2d1b14 0%, #3d2419 100%);
}
.lights-low .actor-item {
  background: #3d2419;
  border-color: #7a4a30;
}
.lights-low .current-episode {
  background: #3d2419;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #c73e1d;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ffaa5e);
  border-radius: 4px;
}
.recommendation-strip {
  margin-bottom: 2.5rem;
}
.recommendation-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.recommendation-scroll::-webkit-scrollbar {
  height: 8px;
}
.recommendation-scroll::-webkit-scrollbar-track {
  background: #f5d5c2;
  border-radius: 10px;
}
.recommendation-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6b35, #ffaa5e);
  border-radius: 10px;
}
.rec-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
  border: 1px solid #ffe3d1;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.25);
}
.rec-card:focus-visible {
  outline: 3px solid #ff6b35;
  outline-offset: 2px;
}
.recommendation-strip .rec-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center;
}
.recommendation-strip .rec-card span {
  padding: 0.5rem 0.8rem 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3d2419;
}
.recommendation-strip .rec-card span:last-child {
  color: #8a5a3b;
  font-size: 0.75rem;
  font-weight: 400;
  padding-top: 0;
  padding-bottom: 0.8rem;
  line-height: 1.4;
}
.episode-list-panel {
  margin-bottom: 2.5rem;
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
}
.episode-vertical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: #fff8f2;
  border-radius: 12px;
  border: 1px solid #ffead9;
  border-left: 4px solid #ff6b35;
  transition: background 0.2s, transform 0.2s;
}
.episode-card:hover {
  background: #fff0e6;
  transform: translateX(4px);
}
.episode-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: #f07c4f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.episode-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c73e1d;
}
.episode-summary {
  font-size: 0.85rem;
  color: #8a5a3b;
  line-height: 1.5;
}
.episode-duration {
  font-size: 0.75rem;
  color: #d07a52;
  background: #fff;
  align-self: flex-start;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  border: 1px solid #ffd9c4;
}
.timeline-horizontal {
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff7f0 0%, #ffe3d1 100%);
  border-radius: 24px;
  padding: 1.5rem;
  overflow: hidden;
}
.timeline-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
}
.timeline-track::-webkit-scrollbar {
  height: 8px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #f5d5c2;
  border-radius: 10px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6b35, #ffaa5e);
  border-radius: 10px;
}
.timeline-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border-top: 4px solid #ff6b35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
  position: relative;
}
.timeline-item::before {
  content: "•";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: #ff6b35;
  background: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ff6b35;
  font-size: 0.8rem;
}
.timecode {
  font-size: 0.85rem;
  font-weight: 800;
  color: #c73e1d;
  letter-spacing: 0.05em;
}
.timeline-label {
  font-size: 0.85rem;
  color: #4a3023;
  line-height: 1.5;
}
.comments-grid {
  margin-bottom: 2.5rem;
}
.comment-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.comment-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid #ffead9;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comment-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c73e1d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.comment-author::before {
  content: "🔥";
  font-size: 0.9rem;
}
.comment-text {
  font-size: 0.9rem;
  color: #4a3023;
  line-height: 1.6;
}
.recommendation-section {
  margin-bottom: 2.5rem;
}
.recommendation-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.recommendation-flex .rec-card {
  flex: 1 1 180px;
  max-width: 220px;
}
.recommendation-flex .rec-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center;
}
.recommendation-flex .rec-card span {
  padding: 0.5rem 0.8rem 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3d2419;
}
.recommendation-flex .rec-card span:last-child {
  color: #8a5a3b;
  font-size: 0.75rem;
  font-weight: 400;
  padding-top: 0;
  padding-bottom: 0.8rem;
  line-height: 1.4;
}
.site-footer {
  background: linear-gradient(180deg, #2d1b14 0%, #1a0e08 100%);
  color: #e8b89a;
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 2rem;
  border-top: 4px solid #ff6b35;
}
.disclaimer-text {
  font-size: 0.8rem;
  color: #b08a70;
  max-width: 900px;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: #ffb08a;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ff6b35;
}
.footer-links a:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
  border-radius: 4px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.friend-label {
  font-size: 0.85rem;
  color: #b08a70;
}
.runtime-friend-link {
  font-size: 0.85rem;
  color: #e8b89a;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s, color 0.2s;
}
.runtime-friend-link:hover {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}
.runtime-friend-link:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}
@media (max-width: 1100px) {.overview-panel {
    grid-template-columns: 220px minmax(0, 1fr);
  }
.player-wrapper {
    grid-column: 1 / -1;
    padding: 1rem 1.5rem 1.5rem;
  }
.player-wrapper video {
    max-width: 100%;
  }}
@media (max-width: 768px) {html {
    font-size: 15px;
  }
header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    position: relative;
  }
.primary-categories {
    width: 100%;
  }
.overview-panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
.poster-media {
    max-width: 220px;
    margin: 0 auto;
    padding-top: 1rem;
  }
.main-poster-img {
    border-radius: 12px;
  }
.overview-content {
    padding: 1rem;
  }
.movie-title {
    font-size: 1.5rem;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.player-wrapper {
    padding: 0.8rem;
  }
.episode-vertical-list {
    grid-template-columns: 1fr;
  }
.comment-grid-container {
    grid-template-columns: 1fr;
  }
.recommendation-flex .rec-card {
    flex: 0 0 160px;
    max-width: none;
  }
.recommendation-flex {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }
.recommendation-flex .rec-card {
    scroll-snap-align: start;
  }
.timeline-item {
    flex: 0 0 160px;
  }
.rec-card {
    flex: 0 0 160px;
  }
.section-title {
    font-size: 1.3rem;
  }}
@media (max-width: 480px) {html {
    font-size: 14px;
  }
.page-shell {
    padding: 1rem 0.75rem 1.5rem;
  }
.overview-panel {
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
  }
.poster-media {
    max-width: 180px;
  }
.actor-list {
    gap: 0.4rem;
  }
.episode-card {
    padding: 0.8rem;
  }
.comment-card {
    padding: 1rem;
  }
.footer-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
.friend-links {
    flex-direction: column;
    align-items: flex-start;
  }
.recommendation-strip .rec-card, .recommendation-flex .rec-card, .rec-card {
    flex: 0 0 140px;
  }
.recommendation-strip .rec-card img, .recommendation-flex .rec-card img {
    height: 100px;
  }
.custom-player-controls button {
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
  }
.timeline-item {
    flex: 0 0 140px;
  }}

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}
