:root {
  --cabin-cream: #f2ede4;
  --cabin-cream-dim: #ddd6c9;
  --metal-silver: #b8bec6;
  --metal-line: #3a4250;
  --night-blue: #0e1626;
  --night-blue-deep: #080d17;
  --night-blue-soft: #141f33;
  --alert-orange: #f07a1f;
  --alert-orange-dim: #c25f12;
  --text-main: #e7e3da;
  --text-mute: #9aa3b0;
  --text-faint: #6b7484;
  --surface: #111a2b;
  --surface-2: #162135;
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 12px;
  --font-narrow: "Noto Sans KR", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Menlo", "Consolas", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(240, 122, 31, 0.06), transparent 60%),
    linear-gradient(180deg, var(--night-blue) 0%, var(--night-blue-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 13, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--metal-line);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
a[data-contract="site-name"].brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cabin-cream);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--alert-orange);
  padding-left: 9px;
}
a[data-contract="site-name"].brand:hover {
  color: var(--alert-orange);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--metal-silver);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid var(--metal-line);
  border-radius: 999px;
  background: rgba(184, 190, 198, 0.05);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--alert-orange);
  border-color: var(--alert-orange-dim);
  background: rgba(240, 122, 31, 0.1);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-title, .block-title {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--cabin-cream);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--metal-line);
}
.section-title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--alert-orange);
  flex: none;
}
.block-title {
  font-size: 12.5px;
  color: var(--alert-orange);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-weight: 700;
}
.player-shell {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell.is-theater {
  border-color: var(--alert-orange-dim);
  box-shadow: 0 0 0 1px rgba(240, 122, 31, 0.35), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}
.player-stage {
  position: relative;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--metal-line);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
}
.ctrl {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cabin-cream-dim);
  background: rgba(184, 190, 198, 0.07);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--alert-orange);
  border-color: var(--alert-orange-dim);
}
.ctrl.is-active {
  color: var(--night-blue-deep);
  background: var(--alert-orange);
  border-color: var(--alert-orange);
}
.ctrl-range, .ctrl-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  background: rgba(184, 190, 198, 0.04);
}
.ctrl-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  white-space: nowrap;
}
.ctrl-input {
  background: transparent;
  border: none;
  outline: none;
}
input.ctrl-input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 96px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--alert-orange) 0%, var(--alert-orange) var(--p, 0%), var(--metal-line) var(--p, 0%), var(--metal-line) 100%);
  cursor: pointer;
}
input.ctrl-input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cabin-cream);
  border: 2px solid var(--alert-orange);
  cursor: pointer;
}
input.ctrl-input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cabin-cream);
  border: 2px solid var(--alert-orange);
  cursor: pointer;
}
select.ctrl-input {
  font-size: 12px;
  color: var(--cabin-cream-dim);
  background: var(--night-blue-soft);
  border: 1px solid var(--metal-line);
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
}
select.ctrl-input option {
  background: var(--night-blue-soft);
  color: var(--cabin-cream-dim);
}
.movie-overview {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
}
.movie-overview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 122, 31, 0.55) 30%, rgba(240, 122, 31, 0.55) 70%, transparent);
}
.overview-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--metal-line);
}
.overview-title {
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--cabin-cream);
}
.overview-tagline {
  margin-top: 8px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--alert-orange);
}
.overview-seo {
  margin-top: 10px;
  max-width: 74ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-mute);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.overview-poster {
  min-width: 0;
}
.overview-media {
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--night-blue-deep);
  position: relative;
}
.overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0) 55%, rgba(8, 13, 23, 0.72) 100%);
  pointer-events: none;
}
.overview-poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 22px;
  align-items: start;
  min-width: 0;
}
.overview-summary {
  grid-column: 1 / -1;
  min-width: 0;
}
.synopsis {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-mute);
}
.episode-status, .details, .cast {
  min-width: 0;
}
.status-list, .detail-list {
  border-top: 1px solid var(--metal-line);
}
.status-row, .detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px solid rgba(58, 66, 80, 0.55);
}
.status-key, .detail-key {
  flex: none;
  width: 74px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.status-value, .detail-value {
  font-size: 12.5px;
  color: var(--cabin-cream-dim);
}
.status-value, .detail-value:first-of-type {
  font-variant-numeric: tabular-nums;
}
.detail-list {
  columns: 2;
  column-gap: 20px;
}
.detail-row {
  break-inside: avoid;
}
.detail-row .detail-value {
  font-family: var(--font-mono);
  font-size: 12px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 6px;
  text-align: center;
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  background: rgba(184, 190, 198, 0.04);
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--alert-orange-dim);
  background: rgba(240, 122, 31, 0.07);
}
.cast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(242, 237, 228, 0.55), transparent 55%),
    linear-gradient(140deg, var(--night-blue-soft), var(--metal-line));
  border: 1px solid var(--metal-line);
  flex: none;
}
.cast-name {
  font-size: 12.5px;
  color: var(--cabin-cream);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: var(--alert-orange-dim);
  letter-spacing: 0.06em;
}
.timeline-section {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.timeline-list {
  position: relative;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--alert-orange-dim), rgba(58, 66, 80, 0.4));
}
.timeline-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 5px 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--night-blue);
  border: 1px solid var(--alert-orange);
}
.timeline-time {
  flex: none;
  width: 56px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--alert-orange);
}
.timeline-label {
  font-size: 12.5px;
  color: var(--text-mute);
}
.episodes-section {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  min-width: 0;
  padding: 10px 12px 11px;
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover, .episode-card.is-active {
  border-color: var(--alert-orange-dim);
  background: rgba(240, 122, 31, 0.08);
}
.episode-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  font-size: 13px;
}
.episode-number {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--alert-orange);
}
.episode-title {
  color: var(--cabin-cream);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.episode-duration {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.episode-summary {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.episode-card:hover .episode-summary, .episode-card.is-active .episode-summary {
  -webkit-line-clamp: unset;
  display: block;
  color: var(--cabin-cream-dim);
}
.comments-section {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.comment-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-card {
  padding: 10px 12px;
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.comment-card.comment-long {
  border-left: 2px solid var(--alert-orange-dim);
}
.comment-card.comment-short {
  border-left: 2px solid rgba(58, 66, 80, 0.9);
}
.comment-nickname {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--alert-orange);
  margin-bottom: 4px;
}
.comment-short .comment-nickname {
  color: var(--metal-silver);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--text-mute);
}
.recommend-region {
  background: var(--surface);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  color: var(--text-main);
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--metal-line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--alert-orange-dim);
  background: rgba(240, 122, 31, 0.08);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: var(--night-blue-deep);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cabin-cream);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 32px;
}
.footer-top {
  border-top: 1px solid var(--metal-line);
  padding-top: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--metal-silver);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--metal-line);
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--alert-orange);
  border-color: var(--alert-orange-dim);
}
.friend-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--metal-line);
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.friend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-mute);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--alert-orange);
  border-bottom-color: var(--alert-orange-dim);
}
.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--metal-line);
}
.disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
}
body.is-light-on {
  background: linear-gradient(180deg, #f4f0e8 0%, #e3ddd1 100%);
  color: #1b2333;
}
body.is-light-on .site-header {
  background: rgba(244, 240, 232, 0.9);
  border-bottom-color: #c9c2b4;
}
body.is-light-on a[data-contract="site-name"].brand {
  color: #1b2333;
}
body.is-light-on a.runtime-category {
  color: #3a4250;
  border-color: #c9c2b4;
  background: rgba(27, 35, 51, 0.03);
}
body.is-light-on .player-shell, body.is-light-on .movie-overview, body.is-light-on .timeline-section, body.is-light-on .episodes-section, body.is-light-on .comments-section, body.is-light-on .recommend-region {
  background: #fbf8f2;
  border-color: #c9c2b4;
}
body.is-light-on .section-title, body.is-light-on .overview-title, body.is-light-on .episode-title, body.is-light-on .cast-name, body.is-light-on .recommend-name {
  color: #1b2333;
}
body.is-light-on .overview-seo, body.is-light-on .synopsis-para, body.is-light-on .timeline-label, body.is-light-on .episode-summary, body.is-light-on .comment-text, body.is-light-on .recommend-blurb {
  color: #4a5464;
}
body.is-light-on .episode-card, body.is-light-on .comment-card, body.is-light-on a.recommend-item {
  background: #f1ece1;
  border-color: #d5cec0;
}
@media (max-width: 980px) {.overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-media {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    columns: 1;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 560px) {.page-main {
    padding: 12px 12px 32px;
    gap: 14px;
  }
.overview-title {
    font-size: 21px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.player-controls {
    gap: 6px;
  }
input.ctrl-input[type="range"] {
    width: 70px;
  }
.header-bar {
    flex-wrap: wrap;
    gap: 8px;
  }}

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}
