* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #0a0a0f;
  color: #f0e6d2;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Noto Sans SC", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
h1, h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Sans", "Noto Serif SC", "Times New Roman", serif;
  font-weight: 500;
}
a {
  color: #d4af37;
  text-decoration: none;
}
a:hover {
  opacity: 0.85;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1rem;
  background: linear-gradient(180deg, #050508 0%, rgba(5, 5, 8, 0) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}
a.site-brand {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.65rem;
  letter-spacing: 0.25em;
  text-align: center;
  color: #f0e6d2;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1.8rem;
  border-radius: 999px;
  display: inline-block;
}
.category-rack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  max-width: 900px;
}
a.runtime-category {
  font-size: 0.85rem;
  color: #b8a882;
  border: 1px solid rgba(184, 168, 130, 0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
}
.hero-unit {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
@media (min-width: 720px) {.hero-unit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
  }}
.poster-column {
  min-width: 0;
}
.poster-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.15);
  background: #000;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08) 0%, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.info-wide {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-title {
  font-size: 1.9rem;
  line-height: 1.3;
  color: #f0e6d2;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
}
.hero-tagline {
  font-size: 1.05rem;
  color: #d4af37;
  letter-spacing: 0.4em;
  margin-top: -0.75rem;
  font-style: italic;
  opacity: 0.8;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  border-left: 2px solid rgba(212, 175, 55, 0.4);
}
@media (min-width: 560px) {.synopsis-panel {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }}
.synopsis-text p {
  margin-bottom: 0.85rem;
  color: #ded5c2;
  font-size: 0.95rem;
  line-height: 1.8;
}
.synopsis-text p:last-child {
  margin-bottom: 0;
}
.synopsis-visual {
  min-height: 120px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 60%, rgba(212, 175, 55, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(120, 160, 200, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #11131a 0%, #1a1d28 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}
.synopsis-visual::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 65%);
}
.synopsis-visual::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 200, 230, 0.12) 0%, transparent 60%);
}
.cast-grid {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #d4af37;
  margin-bottom: 0.6rem;
  letter-spacing: 0.2em;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}
.cast-item {
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.12);
  color: #e8ddc8;
}
.episode-status-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  background: rgba(212, 175, 55, 0.07);
  border-radius: 6px;
  padding: 0.7rem 1rem;
}
.status-label {
  font-size: 0.9rem;
  color: #b8a882;
}
.current-episode-badge {
  font-size: 0.9rem;
  color: #f0e6d2;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.details-panel {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1rem;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
@media (min-width: 640px) {.detail-list {
    grid-template-columns: repeat(4, 1fr);
  }}
.detail-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.detail-item dt {
  color: #b8a882;
  min-width: 3.5em;
}
.detail-item dd {
  color: #f0e6d2;
  margin: 0;
}
.section-title {
  font-size: 1.5rem;
  color: #f0e6d2;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  letter-spacing: 0.15em;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: linear-gradient(180deg, #d4af37, rgba(212, 175, 55, 0.2));
  border-radius: 2px;
}
.episodes-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.episode-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 640px) {.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 960px) {.episode-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.2rem 0.8rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
  align-items: center;
}
.episode-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
}
.episode-card.current-episode {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.ep-number {
  grid-row: 1 / 3;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.8rem;
  color: rgba(212, 175, 55, 0.6);
  margin-right: 0.2rem;
  grid-row: 1 / 3;
}
.current-episode .ep-number {
  color: #d4af37;
}
.ep-title {
  font-size: 1rem;
  color: #f0e6d2;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.ep-summary {
  grid-column: 2;
  font-size: 0.8rem;
  color: #b8a882;
  line-height: 1.5;
  margin-top: 0.1rem;
}
.ep-duration {
  grid-column: 2;
  font-size: 0.75rem;
  color: rgba(212, 175, 55, 0.55);
  margin-top: 0.2rem;
}
.timeline-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.timeline-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) rgba(255, 255, 255, 0.03);
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 3px;
}
.timeline-node {
  flex: 0 0 180px;
  position: relative;
  padding: 1.2rem 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-top: 2px solid rgba(212, 175, 55, 0.5);
  text-align: center;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
.timecode {
  display: block;
  font-size: 0.8rem;
  color: #d4af37;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.timeline-label {
  font-size: 0.85rem;
  color: #ded5c2;
  line-height: 1.5;
}
.comments-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.comment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 640px) {.comment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 960px) {.comment-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border-left: 2px solid transparent;
}
.comment-item:nth-child(odd) {
  background: rgba(255, 255, 255, 0.055);
}
.comment-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.comment-item:first-child, .comment-item:hover {
  border-left-color: #d4af37;
}
.comment-nickname {
  font-size: 0.85rem;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.comment-text {
  font-size: 0.85rem;
  color: #ded5c2;
  line-height: 1.7;
}
.player-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  min-width: 0;
}
.player-wrapper video {
  width: 100%;
  display: block;
  border-radius: 8px;
  background: #000;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.player-controls button {
  font-size: 0.75rem;
  color: #b8a882;
  border: 1px solid rgba(184, 168, 130, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.player-controls button:hover {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.06);
}
.player-wrapper.theater-mode video {
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.recommendation-region {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {.recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 900px) {.recommendation-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
.recommendation-region:nth-of-type(2) .recommendation-grid, .recommendation-region:nth-of-type(3) .recommendation-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {.recommendation-region:nth-of-type(2) .recommendation-grid, .recommendation-region:nth-of-type(3) .recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: #f0e6d2;
  height: 100%;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  background: #111;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0e6d2;
  line-height: 1.3;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #b8a882;
  line-height: 1.5;
  flex: 1;
}
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contract {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: #8a8478;
}
.footer-contract span[data-contract="disclaimer"] {
  flex-basis: 100%;
  line-height: 1.6;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.85rem;
  color: #b8a882;
  border-bottom: 1px solid rgba(184, 168, 130, 0.3);
  padding-bottom: 0.1rem;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.6);
}
footer nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
}
.friend-label {
  color: #6e6a60;
  letter-spacing: 0.15em;
  margin-right: 0.5rem;
}
a.runtime-friend-link {
  color: #8a8478;
  border-bottom: 1px solid rgba(138, 132, 120, 0.2);
  padding-bottom: 0.1rem;
}
a.runtime-friend-link:hover {
  color: #b8a882;
  border-color: rgba(184, 168, 130, 0.4);
}
body.dark-lights {
  background: #040407;
}
body.dark-lights .hero-unit, body.dark-lights .episodes-section, body.dark-lights .timeline-section, body.dark-lights .comments-section, body.dark-lights .recommendation-region, body.dark-lights footer {
  background: transparent;
}
body.dark-lights .player-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}
@media (max-width: 719px) {.hero-title {
    font-size: 1.5rem;
  }
.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.timeline-node {
    flex-basis: 150px;
  }}
@media (max-width: 479px) {.category-rack {
    gap: 0.3rem;
  }
a.runtime-category {
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
  }
.cast-list {
    grid-template-columns: repeat(2, 1fr);
  }
.synopsis-panel {
    grid-template-columns: 1fr;
  }
.player-controls button {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
a[data-runtime="recommendation"] img {
    height: 110px;
  }}
.player-wrapper.theater-mode {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.player-wrapper.theater-mode video {
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.player-wrapper.theater-mode .player-controls {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.player-wrapper .player {
  position: relative;
}
.player-wrapper .player-controls .play, .player-wrapper .player-controls .progress, .player-wrapper .player-controls .volume, .player-wrapper .player-controls .mute, .player-wrapper .player-controls .speed, .player-wrapper .player-controls .pip, .player-wrapper .player-controls .fullscreen, .player-wrapper .player-controls .theater, .player-wrapper .player-controls .light, .player-wrapper .click, .player-wrapper .light, .player-wrapper .fullscreen, .player-wrapper .pip, .player-wrapper .mute, .player-wrapper .theater-mode {
  
}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    scroll-behavior: auto !important;
  }}
main, header, footer, section {
  min-width: 0;
}
main > section:not(:first-of-type) {
  margin-top: 0;
}
.episodes-section + .timeline-section, .timeline-section + .comments-section, .comments-section + .player-wrapper, .player-wrapper + .recommendation-region, .recommendation-region + .recommendation-region {
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

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}
