/* Musical index + Werther detail */

.musical-hint {
  margin: 0 0 1rem;
  font-size: 12px;
  color: #a3a3a3;
}

.musical-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
}

@media (min-width: 768px) {
  .page--wide .musical-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

.musical-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  border: 1px solid #f0f0f0;
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .musical-card:hover {
    transform: translateY(-2px);
    border-color: #d4d4d4;
  }
}

.musical-card.is-active {
  border-color: #111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.musical-card-frame {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0.7rem 0.7rem 0 0;
}

.musical-card-poster {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.musical-card-poster--contain {
  object-fit: contain;
}

.musical-card-body {
  min-width: 0;
  padding: 0.625rem 0.75rem 0.75rem;
}

.musical-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.musical-card-year {
  display: block;
  margin: 0;
  font-family: Oswald, Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111;
}

.musical-card-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  color: #a3a3a3;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}

.musical-card:hover .musical-card-toggle {
  color: #111;
}

.musical-card.is-active .musical-card-toggle {
  color: #111;
  transform: rotate(180deg);
}

.musical-card-title {
  display: block;
  margin: 0.125rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.musical-card-role {
  display: block;
  margin: 0.25rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #888;
}

/* Musical Detail Drawer — Mobile Bottom Sheet / PC Slide-over Drawer */
body.drawer-open {
  overflow: hidden;
}

.musical-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.musical-backdrop.is-open {
  opacity: var(--drawer-backdrop-opacity, 1);
  visibility: visible;
}

.musical-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-height: 80vh;
  max-height: 80dvh;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.musical-drawer.is-open {
  transform: translateY(var(--drawer-drag-y, 0px));
  visibility: visible;
}

.musical-drawer.is-dragging {
  transition: none;
  user-select: none;
}

body.drawer-dragging .musical-backdrop {
  transition: none;
}

.drawer-edge-close {
  display: none;
}

.musical-drawer-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  padding: 0 0.875rem;
  border-bottom: none;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
}

.musical-drawer.is-dragging .musical-drawer-header {
  cursor: grabbing;
}

.musical-drawer-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  pointer-events: none;
}

.drawer-handle-bar {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: #d4d4d4;
}

.drawer-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: #737373;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer-close-btn:hover {
  background: #f5f5f5;
  color: #111;
}

.drawer-close-btn:active {
  background: #ebebeb;
}

.musical-drawer-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding: 1rem 1.25rem 2.5rem;
}

@media (min-width: 768px) {
  body.drawer-open {
    overflow: auto;
  }

  .musical-backdrop {
    display: none !important;
  }

  .musical-drawer {
    left: auto;
    top: 0;
    right: 0;
    bottom: 0;
    width: 500px;
    max-width: 90vw;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: -4px 0 28px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.24s cubic-bezier(0.4, 0, 1, 1), visibility 0.24s ease;
  }

  .musical-drawer.is-open {
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }

  .musical-drawer.is-dragging {
    user-select: auto;
  }

  .drawer-edge-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: -14px;
    transform: translateY(-50%);
    width: 28px;
    height: 56px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 25;
    color: #9e9e9e;
    transition: color 0.15s ease;
  }

  .edge-chevron {
    display: block;
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 2px #fff);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.15s ease;
  }

  .drawer-edge-close:hover {
    color: #111;
  }

  .drawer-edge-close:hover .edge-chevron {
    transform: translateX(2px);
  }

  .drawer-edge-close:active .edge-chevron {
    transform: translateX(4px);
  }

  .musical-drawer-header {
    height: 48px;
    padding: 0 1rem;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
    touch-action: auto;
  }

  .musical-drawer-handle {
    display: none;
  }

  .drawer-close-btn {
    display: inline-flex;
  }

  .musical-drawer-content {
    padding: 1.25rem 1.5rem 3rem;
  }
}

.detail-block {
  padding-bottom: 0.25rem;
}

.detail-posters {
  display: flex;
  max-width: 28rem;
  gap: 0.5rem;
}

.detail-poster {
  min-width: 0;
  flex: 1;
}

.detail-poster img,
.poster-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f5f5f5;
}

.detail-poster img.poster-img--contain {
  aspect-ratio: unset;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.detail-head {
  margin-top: 1.25rem;
}

.detail-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.detail-role {
  margin: 0.25rem 0 0;
  font-size: 13px;
  color: #737373;
}

.detail-chips {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.year-chip {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid #d4d4d4;
  padding: 2px 0.5rem;
  font-size: 10px;
  font-weight: 600;
  color: #737373;
}

.section-label {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #262626;
}

.section-label::before {
  content: "";
  display: block;
  width: 3px;
  height: 1rem;
  flex-shrink: 0;
  background: #000;
}

.section-label--spaced {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.content-stack > section > .section-label--spaced:first-child,
.content-stack > section > .antenna-block.is-lead .section-label--spaced {
  margin-top: 0;
}

.antenna-block[hidden] {
  display: none !important;
}

.detail-block .section-label {
  margin-top: 1.5rem;
}

.table-scroll {
  margin-top: 0.5rem;
  overflow-x: auto;
}

.schedule-table,
.cast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  color: #404040;
}

.schedule-table {
  min-width: 320px;
  font-size: 12px;
}

.schedule-table th,
.schedule-table td {
  padding: 0.6rem 0.5rem 0.6rem 0;
}

.cast-table {
  min-width: 420px;
  text-align: center;
}

.schedule-table thead tr,
.cast-table thead tr {
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  color: #a3a3a3;
}

.cast-table thead tr {
  text-align: center;
}

.schedule-table th,
.cast-table th {
  padding: 0.5rem 0.5rem 0.5rem 0;
  font-weight: 600;
}

.schedule-table th:last-child,
.cast-table th:last-child {
  padding-right: 0;
}

.schedule-table tbody tr,
.cast-table tbody tr {
  border-bottom: 1px solid #f5f5f5;
}

.schedule-table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.schedule-table td:last-child {
  padding-right: 0;
}

.schedule-table--no-ticket {
  min-width: 260px;
}

/* Schedule table ticket toggle & subrow (Sharp Outline Tag) */
.ticket-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.5rem;
  font-size: 11px;
  font-weight: 500;
  color: #262626;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.2;
  font-family: inherit;
  vertical-align: middle;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.ticket-toggle-btn:hover {
  color: #000;
  border-color: #000;
  background: #fafafa;
}

.ticket-toggle-btn.is-active {
  color: #fff;
  background: #171717;
  border-color: #171717;
}

.ticket-toggle-btn .ticket-symbol {
  display: inline-block;
  font-family: monospace, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.ticket-toggle-btn .ticket-symbol::before {
  content: "+";
}

.ticket-toggle-btn.is-active .ticket-symbol::before {
  content: "−";
}

.schedule-table tr.has-subrow-open {
  border-bottom: none;
}

.schedule-subrow {
  background: #fafafa;
}

.schedule-subrow[hidden] {
  display: none !important;
}

.schedule-table .schedule-subrow td {
  padding: 0.55rem 0.75rem 0.65rem 0.75rem;
  background: #fcfcfc;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #eaeaea;
}

.schedule-subrow-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.schedule-subrow-label {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.schedule-subrow-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}

.ticket-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.55rem;
  font-size: 11px;
  font-weight: 500;
  color: #171717;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.ticket-chip:hover {
  color: #000;
  border-color: #000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ticket-chip-arrow {
  font-size: 10px;
  line-height: 1;
  color: #737373;
  transition: color 0.15s ease;
}

.ticket-chip:hover .ticket-chip-arrow {
  color: #000;
}

.ticket-link-single {
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
}

.cast-table td {
  padding: 0.375rem 0;
}

.cast-date--sat {
  color: #5194ff;
  font-weight: 600;
}

.cast-date--sun,
.cast-date--holiday {
  color: #ff322e;
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

.section-label + .detail-links {
  margin-top: 0;
}

.detail-links {
  margin-top: 1.25rem;
  font-size: 13px;
  font-weight: 500;
}

.detail-links a {
  display: block;
  padding: 0.25rem 0;
}

.detail-links a:hover {
  text-decoration: underline;
}

.detail-links--inline {
  line-height: 1.55;
}

.detail-links--inline a {
  display: inline;
  padding: 0;
}

.detail-awards {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.6;
}

.detail-awards p {
  margin: 0;
}

/* Media grids */
.video-grid {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.5rem;
}

@media (min-width: 768px) {
  .video-grid {
    gap: 1rem 0.75rem;
  }
}

.video-grid a {
  display: block;
  min-width: 0;
}

.video-item--wide {
  grid-column: 1 / -1;
}

.video-thumb,
.media-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f5f5f5;
}

.media-video--contain {
  aspect-ratio: unset;
  height: auto;
  object-fit: contain;
}

.media-caption {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #262626;
}

.video-grid .media-caption a {
  display: inline;
}

.caption-sep {
  margin: 0 0.4em;
  font-weight: 400;
  color: #c4c4c4;
}

.caption-xlogo {
  display: inline-block;
  vertical-align: -1px;
  color: #0f1419;
}

.photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.photo-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.photo-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.photo-grid a {
  display: block;
}

.photo-row a {
  display: block;
}

.photo-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-grid + .photo-rows {
  margin-top: 0.75rem;
}

.photo-row {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.photo-row > li {
  flex: var(--ar, 1) 1 0;
  min-width: 0;
}

.photo-row--solo {
  justify-content: flex-start;
}

.photo-row--solo > li {
  flex: 0 0 calc((100% - 1rem) / 3);
}

.photo-row--full > li {
  flex: 1 1 100%;
}

.media-fit {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: contain;
  background: #f5f5f5;
}

.media-photo,
.media-square {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f5f5f5;
}

.media-full {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f5f5f5;
}

.yt-embed {
  position: relative;
  width: 100%;
  max-width: 40rem;
  margin-top: 0.5rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #111;
}

.yt-embed + .yt-embed {
  margin-top: 0.75rem;
}

.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.poster-pair {
  margin-top: 1rem;
  display: flex;
  max-width: 28rem;
  gap: 0.5rem;
}

.poster-pair img {
  width: 50%;
  aspect-ratio: 3 / 4;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f5f5f5;
}

.char-poster-wrap {
  max-width: 240px;
}

.char-poster-wrap {
  max-width: 240px;
}

.content-stack {
  margin-top: 1.5rem;
}

.content-stack > section + section {
  margin-top: 2.5rem;
}

.content-stack > .cat-panel,
.content-stack > .cat-panel + .cat-panel {
  margin-top: 0;
}

.cat-panel[hidden] {
  display: none !important;
}

.werther-nav {
  position: sticky;
  top: var(--site-header-h);
  z-index: 35;
  margin: 1.25rem -1rem 0;
  padding: 0.5rem 1rem 0.75rem;
  background: #fff;
}

.werther-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.werther-nav .filter-btn {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0.375rem 0.875rem;
  font-size: 13px;
  font-weight: 500;
  color: #737373;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.werther-nav .filter-btn:hover:not(.is-active) {
  border-color: #111;
  color: #111;
}

.werther-nav .filter-btn.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
  font-weight: 600;
}

.werther-subnav {
  margin-top: 0.625rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
}

.werther-subnav[hidden] {
  display: none !important;
}

.werther-nav .tag-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: #a3a3a3;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.15s ease;
}

.werther-nav .tag-btn:hover:not(.is-active) {
  color: #000;
}

.werther-nav .tag-btn.is-active {
  font-weight: 600;
  color: #000;
}

#werther-videos,
#werther-2015,
#werther-2020,
#werther-bora,
#werther-schedule {
  scroll-margin-top: calc(var(--site-header-h) + 3.75rem);
}

.detail-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.breadcrumb-link {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: #111;
}

.breadcrumb-sep {
  color: #a3a3a3;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.breadcrumb-current {
  color: #111;
  font-weight: 600;
}

.werther-back {
  margin: 0 0 1rem;
}

.detail-top-nav .detail-back-link,
.werther-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 500;
  color: #737373;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.detail-top-nav .detail-back-link .back-arrow-icon,
.werther-back a .back-arrow-icon {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.detail-top-nav .detail-back-link:hover,
.werther-back a:hover {
  color: #111;
}

.detail-top-nav .detail-back-link:hover .back-arrow-icon,
.werther-back a:hover .back-arrow-icon {
  transform: translateX(-3px);
}

.season-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.season-num {
  font-family: Oswald, Pretendard, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #a3a3a3;
  font-weight: 500;
  padding: 2px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}

a.season-num:hover {
  color: #111;
}

.season-num.is-current {
  color: #111;
  font-weight: 700;
  border-bottom-color: #111;
  cursor: default;
}

.season-divider {
  font-family: Oswald, Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #d4d4d4;
  user-select: none;
}

.werther-tagline {
  position: relative;
  margin: 0.85rem 0 1.35rem;
  padding: 0.2rem 0 0.2rem 1.75rem;
  border-left: none;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #1a1a1a;
}

.werther-tagline::before {
  content: "“";
  position: absolute;
  top: -0.45rem;
  left: -0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
  color: #e5e5e5;
  pointer-events: none;
  user-select: none;
}

.werther-tagline::after {
  content: none;
}

.info-table--werther th {
  width: 7.5rem;
  white-space: normal;
}

.official-links {
  font-weight: 500;
}

.official-links a + a::before {
  content: " · ";
  color: #a3a3a3;
  font-weight: 400;
  pointer-events: none;
}

.official-links a:hover {
  text-decoration: underline;
}

.ost-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.ost-cover {
  flex: 0 0 30%;
  max-width: 7.5rem;
  min-width: 5.5rem;
}

.ost-cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #111;
}

.ost-tracks {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #171717;
}

.ost-row .ost-tracks {
  flex: 1;
  min-width: 0;
  margin: 0;
  border-top: 0;
}

.ost-tracks a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #171717;
}

.ost-row .ost-tracks a {
  padding: 0.5rem 0;
  font-size: 15px;
}

.ost-tracks a:hover {
  color: #525252;
}

/* BONUS */
.bonus-section {
  margin-top: 3rem;
}

.bonus-heading {
  margin: 0 0 1rem;
  font-family: Oswald, Pretendard, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a3a3a3;
}

.bonus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .bonus-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bonus-list a {
  display: block;
}

.archive-cta-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.archive-cta-list .archive-cta {
  margin-top: 0;
}

.poster-single {
  max-width: 16rem;
  margin: 1.25rem 0 0;
}

.poster-single--landscape {
  max-width: 24rem;
}

.poster-single img {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
}

.archive-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 0.8125rem 1rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.archive-cta:hover {
  background: #262626;
  border-color: #262626;
  color: #fff;
  transform: translateY(-1px);
}

.archive-cta:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.archive-cta-arrow {
  display: flex;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive-cta-arrow svg {
  display: block;
}

.archive-cta:hover .archive-cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Floating Scroll-to-Top Button
   (모바일은 브라우저 자체 맨위/맨아래 기능 및 사진 가림 방지를 위해 숨김 처리, PC에서만 노출)
   ========================================================================== */
.scroll-top-btn {
  display: none;
}

@media (min-width: 1024px) {
  .scroll-top-btn {
    position: fixed;
    right: max(2rem, calc(50vw - 360px - 4rem));
    bottom: 2.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
  }

  .scroll-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .scroll-top-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  }

  .scroll-top-btn:active {
    transform: translateY(0);
  }

  .scroll-top-btn svg {
    display: block;
    stroke: currentColor;
  }

  .scroll-top-text {
    font-family: Oswald, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 1px;
  }
}

/* ==========================================================================
   Detail Sibling Navigation (이전 / 다음 작품 이동)
   ========================================================================== */
.sibling-nav {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #111;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.sibling-nav-item {
  min-width: 0;
}

.sibling-nav-item--next {
  text-align: right;
}

.sibling-nav-link {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.25rem 0;
  max-width: 100%;
}

.sibling-nav-item--next .sibling-nav-link {
  align-items: flex-end;
}

.sibling-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Oswald, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888;
  line-height: 1;
  text-transform: uppercase;
}

.sibling-nav-arrow {
  display: block;
  stroke: currentColor;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sibling-nav-link:hover .sibling-nav-dir {
  color: #111;
}

.sibling-nav-item--prev .sibling-nav-link:hover .sibling-nav-arrow {
  transform: translateX(-3px);
}

.sibling-nav-item--next .sibling-nav-link:hover .sibling-nav-arrow {
  transform: translateX(3px);
}

.sibling-nav-title {
  display: block;
  font-family: Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  margin-top: 0.35rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.15s ease;
}

.sibling-nav-link:hover .sibling-nav-title {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sibling-nav-item.is-disabled {
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}

.sibling-nav-hub-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.5rem;
}

.sibling-nav-hub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  font-family: Pretendard, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #737373;
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 0;
  transition: color 0.15s ease;
}

.sibling-nav-hub-icon {
  display: block;
  stroke: currentColor;
  opacity: 0.8;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
}

.sibling-nav-hub:hover {
  color: #000;
}

.sibling-nav-hub:hover .sibling-nav-hub-icon {
  opacity: 1;
  transform: scale(1.08);
}

.sibling-nav-hub:hover .sibling-nav-hub-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Cast Schedule Pair Filter (캐스팅 일정 페어 필터 - 샤프 아카이브 태그형)
   ========================================================================== */
.pair-filter-wrap {
  margin: 1.5rem 0 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.pair-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.pair-filter-title {
  font-size: 12px;
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pair-filter-reset {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  transition: color 0.15s ease;
}

.pair-filter-reset:hover {
  color: #171717;
}

.pair-role-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f0f0f0;
}

.pair-role-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #d4d4d4;
  color: #555;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pair-role-btn:hover {
  border-color: #171717;
  color: #171717;
}

.pair-role-btn.is-active {
  background: #171717;
  border-color: #171717;
  color: #fff;
  font-weight: 600;
}

.pair-actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pair-actor-btn {
  font-size: 11.5px;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #d4d4d4;
  color: #171717;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.pair-actor-btn:hover {
  border-color: #000;
  color: #000;
}

.pair-actor-btn.is-active {
  background: #000;
  border-color: #000;
  color: #fff;
  font-weight: 600;
}

.pair-actor-btn .actor-count {
  font-size: 10px;
  opacity: 0.75;
}

/* 테이블 내 매칭 하이라이트 및 빈 결과 안내 */
.cast-cell--match {
  background-color: #eef2ff !important;
  font-weight: 700 !important;
  color: #1e3a8a !important;
}

.cast-empty-msg {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 13px;
  color: #888;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 6px;
  margin: 0.5rem 0;
}

