*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background-color: #1a1a1a;
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
video {
  display: block;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #111;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 100;
}
a[data-contract="site-name"] {
  color: #f5f5f5;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
a[data-contract="site-name"]:hover {
  color: #e67e22;
}
.category-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar {
  display: none;
}
.category-nav .runtime-category {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: #aaa;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.category-nav .runtime-category:hover {
  color: #f5f5f5;
  background-color: #2a2a2a;
}
main {
  max-width: 100%;
  padding: 0;
}
.overview-unit {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background-color: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}
.overview-poster-col {
  flex: 0 0 300px;
  max-width: 300px;
  padding: 1.2rem;
  background-color: #141414;
}
.poster-frame {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #222;
  position: relative;
}
.main-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.overview-info-col {
  flex: 1 1 400px;
  min-width: 280px;
  padding: 1.2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.title-main {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f5f5f5;
  letter-spacing: 0.02em;
}
.tagline {
  font-size: 0.95rem;
  color: #e67e22;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.cast-panel {
  margin-top: 0.2rem;
}
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e67e22;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.actor-chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background-color: #2a2a2a;
  border: 1px solid #333;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #ccc;
  transition: border-color 0.2s, color 0.2s;
}
.actor-chip:hover {
  border-color: #e67e22;
  color: #f5f5f5;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.synopsis-paragraph {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.65;
}
.episode-status-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background-color: #e67e22;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.4rem;
  border-top: 1px solid #2a2a2a;
  padding-top: 0.8rem;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.detail-label {
  font-size: 0.7rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-value {
  font-size: 0.9rem;
  color: #ddd;
  font-weight: 500;
}
.player-wrapper {
  width: 100%;
  padding: 1.5rem 1.2rem;
  background-color: #111;
  border-bottom: 1px solid #2a2a2a;
  min-width: 0;
}
.player-wrapper video {
  width: 100%;
  background-color: #000;
  border-radius: 4px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
  justify-content: center;
}
.player-controls button {
  padding: 0.3rem 0.8rem;
  background-color: #2a2a2a;
  border: 1px solid #333;
  border-radius: 3px;
  font-size: 0.8rem;
  color: #ccc;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.player-controls button:hover {
  background-color: #3a3a3a;
  border-color: #e67e22;
  color: #f5f5f5;
}
video.theater-mode {
  border-radius: 0;
}
body.lights-dim {
  background-color: #0a0a0a;
}
body.lights-dim .overview-unit, body.lights-dim .player-wrapper {
  background-color: #0f0f0f;
}
.timeline-section {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #2a2a2a;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #333;
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-color: #444 #1a1a1a;
}
.timeline-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0.4rem 0;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 1.2rem;
  border-left: 2px solid #e67e22;
  position: relative;
  min-width: 160px;
  max-width: 220px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e67e22;
  box-shadow: 0 0 8px rgba(230, 126, 34, 0.6);
}
.timecode {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e67e22;
  letter-spacing: 0.05em;
}
.timeline-desc {
  font-size: 0.85rem;
  color: #bbb;
  line-height: 1.5;
}
.episode-list-section {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #2a2a2a;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.8rem;
}
.episode-card {
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  transition: border-color 0.2s, background-color 0.2s;
}
.episode-card:hover {
  border-color: #e67e22;
  background-color: #242424;
}
.ep-number {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  font-size: 2rem;
  font-weight: 800;
  color: #2a2a2a;
  line-height: 1;
  z-index: 0;
}
.ep-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f5;
  z-index: 1;
  position: relative;
}
.ep-summary {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
  flex: 1;
}
.ep-duration {
  font-size: 0.75rem;
  color: #e67e22;
  font-weight: 600;
  align-self: flex-end;
}
.director-note {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #2a2a2a;
  background-color: #181818;
}
.director-note p {
  font-size: 0.9rem;
  color: #bbb;
  max-width: 800px;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid #e67e22;
  padding-left: 1rem;
}
.comments-wall {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #2a2a2a;
}
.comment-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
  align-items: start;
}
.comment-card {
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(0);
  transition: transform 0.2s, border-color 0.2s;
}
.comment-card:nth-child(even) {
  transform: translateY(6px);
}
.comment-card:nth-child(3n) {
  transform: translateY(12px);
}
.comment-card:nth-child(4n) {
  transform: translateY(3px);
}
.comment-card:hover {
  transform: translateY(0);
  border-color: #e67e22;
}
.comment-nick {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e67e22;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
}
.reco-region {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid #2a2a2a;
}
.reco-horizontal .reco-scroll {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-color: #444 #1a1a1a;
}
a.reco-card {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.8rem;
  text-decoration: none;
  color: #f5f5f5;
  transition: border-color 0.2s, background-color 0.2s;
}
a.reco-card:hover {
  border-color: #e67e22;
  background-color: #242424;
}
a.reco-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  background-color: #333;
}
a.reco-card [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.3;
}
a.reco-card [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-grid .reco-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}
a.reco-grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.8rem;
  text-decoration: none;
  color: #f5f5f5;
  transition: border-color 0.2s, background-color 0.2s;
}
a.reco-grid-item:hover {
  border-color: #e67e22;
  background-color: #242424;
}
a.reco-grid-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  background-color: #333;
}
a.reco-grid-item [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.3;
}
a.reco-grid-item [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-list .reco-list-ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reco-list .reco-list-ul li {
  width: 100%;
}
.reco-list .reco-list-ul a {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #f5f5f5;
  transition: border-color 0.2s, background-color 0.2s;
}
.reco-list .reco-list-ul a:hover {
  border-color: #e67e22;
  background-color: #242424;
}
.reco-list .reco-list-ul img {
  width: 50px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  background-color: #333;
  flex-shrink: 0;
}
.reco-list .reco-list-ul [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f5f5f5;
  min-width: 120px;
}
.reco-list .reco-list-ul [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #999;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer {
  background-color: #111;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid #2a2a2a;
}
.disclaimer-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.6;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-items: center;
}
.friend-link-label {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
a.runtime-friend-link:hover {
  color: #e67e22;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid #222;
}
.footer-links a {
  font-size: 0.8rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #e67e22;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #888;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e67e22;
}
@media (max-width: 900px) {.overview-unit {
    flex-direction: column;
  }
.overview-poster-col {
    flex: 1 1 auto;
    max-width: none;
    padding: 1rem 1rem 0.5rem 1rem;
  }
.poster-frame {
    max-width: 280px;
    margin: 0 auto;
  }
.overview-info-col {
    padding: 1rem;
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 600px) {header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.6rem;
  }
.category-nav {
    width: 100%;
  }
.overview-unit {
    margin: 0;
  }
.overview-poster-col {
    padding: 0.8rem 0.8rem 0.4rem 0.8rem;
  }
.poster-frame {
    max-width: 220px;
  }
.overview-info-col {
    padding: 0.8rem;
    gap: 0.7rem;
  }
.title-main {
    font-size: 1.3rem;
  }
.player-wrapper {
    padding: 0.8rem;
  }
.timeline-section, .episode-list-section, .director-note, .comments-wall, .reco-region {
    padding: 1rem 0.8rem;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.comment-wall-grid {
    grid-template-columns: 1fr;
  }
.comment-card:nth-child(even), .comment-card:nth-child(3n), .comment-card:nth-child(4n) {
    transform: translateY(0);
  }
.reco-grid .reco-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
.reco-list .reco-list-ul a {
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
  }
.reco-list .reco-list-ul [data-runtime="name"] {
    min-width: 0;
    flex: 1;
  }
.reco-list .reco-list-ul [data-runtime="blurb"] {
    flex-basis: 100%;
    -webkit-line-clamp: 2;
  }
.details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.footer-friend-links {
    gap: 0.4rem 0.8rem;
  }}
@media (max-width: 380px) {.reco-grid .reco-grid-list {
    grid-template-columns: 1fr;
  }
.reco-horizontal .reco-scroll {
    gap: 0.6rem;
  }
a.reco-card {
    flex-basis: 200px;
  }}

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}
