*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #232a33;
  color: #d8dee4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, li, table {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
:focus-visible {
  outline: 2px solid #e8a15c;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 22px;
  background-color: rgba(28, 34, 42, 0.94);
  border-bottom: 1px solid #3b454f;
  backdrop-filter: blur(6px);
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f0e7d8;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #e8a15c;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #a8b3be;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #3b454f;
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #232a33;
  background-color: #e8a15c;
  border-color: #e8a15c;
}
.page-main {
  display: block;
  padding: 0 22px 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-heading {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #f0e7d8;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #3b454f;
}
.hero {
  padding: 24px 0 20px;
  border-bottom: 1px solid #3b454f;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.hero-portrait {
  position: relative;
}
.hero-portrait-hori {
  position: relative;
  isolation: isolate;
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(0.35) brightness(0.78) contrast(1.05);
}
.poster-overlay {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  pointer-events: none;
}
.poster-overlay-uniform {
  top: 0;
  background: linear-gradient(180deg, rgba(35, 42, 51, 0.86), rgba(35, 42, 51, 0));
  justify-content: flex-start;
}
.poster-overlay-bare {
  bottom: 0;
  background: linear-gradient(0deg, rgba(35, 42, 51, 0.86), rgba(35, 42, 51, 0));
  justify-content: flex-end;
}
.overlay-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #f0e7d8;
  border-left: 2px solid #e8a15c;
  padding-left: 6px;
}
.hero-portrait-miyamura {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  align-content: start;
  min-height: 0;
}
.portrait-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  padding: 10px;
  border-radius: 3px;
  overflow: hidden;
}
.panel-uniform {
  background: linear-gradient(160deg, #333d49 0%, #2a323c 60%, #232a33 100%);
  border: 1px solid #3b454f;
}
.panel-tattoo {
  background: linear-gradient(160deg, #3a3238 0%, #2f2a30 55%, #232a33 100%);
  border: 1px solid #5a4238;
}
.panel-tattoo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 22% 30%, rgba(232, 161, 92, 0.22), transparent 55%),
    radial-gradient(circle at 74% 72%, rgba(232, 161, 92, 0.16), transparent 60%);
  pointer-events: none;
}
.portrait-tag {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #e8d9c4;
}
.panel-uniform .portrait-tag {
  color: #b9c4cf;
}
.hero-intro {
  min-width: 0;
}
.hero-title {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #f0e7d8;
  line-height: 1.25;
}
.hero-tagline {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e8a15c;
  line-height: 1.5;
}
.hero-description {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #a8b3be;
  max-width: 46em;
}
.hero-player-shell {
  position: relative;
  margin-top: 16px;
  width: 100%;
  background-color: #1b2129;
  border: 1px solid #3b454f;
  border-radius: 3px;
  overflow: hidden;
}
.hero-player {
  display: block;
  width: 100%;
  height: auto;
  background-color: #14191f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border-top: 1px solid #3b454f;
  background-color: #222932;
}
.control {
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #a8b3be;
  border: 1px solid #3b454f;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.control:hover {
  color: #f0e7d8;
  border-color: #e8a15c;
}
.control.is-active, .control.click, .control.play, .control.mute, .control.pip, .control.speed, .control.progress, .control.volume, .control.fullscreen, .control.theater, .control.light {
  color: #e8a15c;
  border-color: #e8a15c;
}
.hero-player-shell.lights-off {
  background-color: #0f1319;
}
.hero-player-shell.lights-off .hero-player {
  filter: brightness(1.12);
}
.hero-player-shell.theater-mode {
  border-color: #e8a15c;
}
.hero-player-shell.theater-mode .hero-player {
  filter: contrast(1.04) saturate(1.05);
}
.player {
  position: relative;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 12px 0 0;
  margin-bottom: 26px;
}
.status-item {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 2px;
}
.status-total {
  color: #a8b3be;
  border: 1px solid #3b454f;
}
.status-current {
  color: #232a33;
  background-color: #e8a15c;
}
.cast-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cast-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  padding: 7px;
  border-radius: 2px;
  background: linear-gradient(165deg, #36404b 0%, #2a323c 70%, #232a33 100%);
  border: 1px solid #3b454f;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 18%, rgba(232, 161, 92, 0.14), transparent 58%);
  pointer-events: none;
}
.cast-photo-name {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #6f7c88;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #f0e7d8;
}
.cast-role {
  font-size: 11px;
  line-height: 1.5;
  color: #8b97a3;
}
.synopsis-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  align-items: start;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: #a8b3be;
}
.details-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.details-table {
  width: 100%;
  table-layout: fixed;
}
.details-row {
  border-bottom: 1px solid #333c45;
}
.details-row:last-child {
  border-bottom: 0;
}
.details-key, .details-value {
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
}
.details-key {
  width: 12%;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8b97a3;
  background-color: #272f38;
}
.details-value {
  width: 38%;
  color: #d8dee4;
  word-break: break-word;
}
.timeline-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #e8a15c #2b333d;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background-color: #2b333d;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background-color: #e8a15c;
  border-radius: 3px;
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  align-items: flex-start;
  min-width: 100%;
  padding: 4px 0 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 1px;
  background-color: #3b454f;
}
.timeline-node {
  position: relative;
  flex: 1 0 168px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px;
  min-width: 0;
}
.timeline-timecode {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #f0e7d8;
  padding-bottom: 6px;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #e8a15c;
  box-shadow: 0 0 0 3px rgba(232, 161, 92, 0.18), 0 0 12px rgba(232, 161, 92, 0.5);
  z-index: 1;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8b97a3;
  padding-top: 2px;
}
.timeline-node:hover .timeline-label {
  color: #d8dee4;
}
.episodes-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid #333c45;
}
.episode-number {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e8a15c;
  white-space: nowrap;
  padding-top: 1px;
}
.episode-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.episode-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #e4e9ee;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8b97a3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #6f7c88;
}
.comments-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3b454f;
}
.comments-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-column-right {
  padding-top: 22px;
}
.comment-card {
  padding: 10px 12px;
  background-color: #2b333d;
  border-left: 2px solid #3b454f;
  border-radius: 0 2px 2px 0;
}
.comment-card:nth-child(even) {
  border-left-color: #e8a15c;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #c3cbd3;
}
.comment-nickname {
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #e8a15c;
}
.comment-nickname::before {
  content: "— ";
  color: #6f7c88;
}
.recommendation-region {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #3b454f;
}
.recommendation-region-3 {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 12px;
}
.recommendation-heading {
  font-size: 14px;
}
.recommendation-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #e8a15c #2b333d;
}
.recommendation-strip::-webkit-scrollbar {
  height: 6px;
}
.recommendation-strip::-webkit-scrollbar-track {
  background-color: #2b333d;
}
.recommendation-strip::-webkit-scrollbar-thumb {
  background-color: #e8a15c;
  border-radius: 3px;
}
a.recommendation-card {
  flex: 1 0 186px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 0;
  color: #d8dee4;
  text-decoration: none;
  background-color: #2b333d;
  border: 1px solid #3b454f;
  border-radius: 2px;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.recommendation-card:hover, a.recommendation-card:focus-visible {
  border-color: #e8a15c;
  background-color: #303945;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(0.25) brightness(0.85);
}
.recommendation-thumb {
  display: block;
}
.recommendation-name {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #f0e7d8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommendation-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8b97a3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  padding: 18px 22px 26px;
  border-top: 1px solid #3b454f;
  background-color: #1f262e;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 16px 26px;
  align-items: start;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f7c88;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a8b3be;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e8a15c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  align-items: center;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6f7c88;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8b97a3;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e8a15c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 980px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.friend-links {
    grid-column: 1 / -1;
  }}
@media (max-width: 720px) {.page-main {
    padding: 0 14px 20px;
  }
.site-header {
    padding: 10px 14px;
    gap: 10px;
  }
.hero {
    padding: 18px 0 16px;
  }
.hero-visual {
    gap: 10px;
  }
.hero-portrait-miyamura {
    gap: 10px;
  }
.hero-title {
    font-size: 22px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-card {
    padding: 8px 0;
  }
.comments-masonry {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comments-column-right {
    padding-top: 0;
  }
.site-footer {
    padding: 16px 14px 22px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.details-key {
    width: 20%;
  }
.details-value {
    width: 30%;
  }
a.recommendation-card {
    flex: 0 0 168px;
  }}
@media (max-width: 460px) {.hero-visual {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-portrait-miyamura {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.portrait-panel {
    min-height: 96px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.control {
    padding: 4px 7px;
    font-size: 11px;
  }
.details-key, .details-value {
    padding: 5px 7px;
    font-size: 11.5px;
  }
.details-table {
    table-layout: auto;
  }
.details-key {
    width: auto;
    white-space: nowrap;
  }
.details-value {
    width: auto;
  }}

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}
