.drama-play-page {
    --dp-surface: var(--dx-base2-color, #17171e);
    --dp-surface-2: var(--dx-base3-color, #202029);
    --dp-line: var(--dx-border-color, #353742);
    --dp-text: #f3f3f6;
    --dp-muted: var(--dx-font2-color, #94949e);
    --dp-brand: var(--dx-primary-color, #ff2f6d);
    padding-bottom: 56px;
}
.drama-play-page *, .drama-play-page *::before, .drama-play-page *::after { box-sizing: border-box; }
.drama-play-page button { font: inherit; }
.drama-play-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.drama-play-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr); align-items: stretch; gap: 28px; margin-bottom: 24px; }
.drama-play-main { min-width: 0; }
.drama-play-heading { display: flex; min-height: 62px; padding: 16px 20px; margin-bottom: 16px; align-items: center; border: 1px solid var(--dp-line); border-radius: 12px; background: var(--dp-surface); }
.drama-play-heading h1 { overflow-wrap: anywhere; margin: 0; color: var(--dp-text); font-size: clamp(17px,1.5vw,22px); font-weight: 650; line-height: 1.45; }
.drama-play-stage { overflow: hidden; margin-bottom: 22px; border-radius: 14px; background: #000; }
.drama-play-video-shell { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.drama-play-video-shell video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
.drama-play-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.drama-play-actions > * { display: flex; min-width: 0; min-height: 54px; padding: 10px 8px; gap: 7px; justify-content: center; align-items: center; border: 1px solid var(--dp-line); border-radius: 10px; background: var(--dp-surface); color: var(--dp-text); font-size: 14px; line-height: 1.3; text-decoration: none; }
.drama-play-actions button { cursor: pointer; }
.drama-play-actions svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drama-play-actions button:hover:not(:disabled), .drama-play-actions a:hover { border-color: var(--dp-brand); color: var(--dp-brand); }
.drama-play-actions [aria-pressed="true"] { color: var(--dp-brand); border-color: var(--dp-brand); background: rgba(255,47,109,.09); }
.drama-play-actions [aria-pressed="true"] svg { fill: currentColor; }
.drama-play-actions .is-disabled { opacity: .38; cursor: not-allowed; }
.drama-play-actions button:disabled { opacity: .55; cursor: wait; }
.drama-action-feedback { min-height: 20px; margin: 8px 0 0; color: var(--dp-muted); font-size: 12px; overflow-wrap: anywhere; }
.drama-play-episodes { display: flex; min-width: 0; min-height: 0; flex-direction: column; padding: 24px; border: 1px solid var(--dp-line); border-radius: 16px; background: var(--dp-surface); }
.drama-play-episodes header { position: relative; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--dp-line); }
.drama-play-episodes h2 { margin: 0 0 10px; color: var(--dp-text); font-size: 20px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.drama-play-episodes h2 span { margin-left: 4px; white-space: nowrap; }
.drama-play-episodes header p { margin: 0; color: var(--dp-muted); font-size: 13px; line-height: 1.6; }
.drama-current-label { display: block; margin-top: 12px; color: var(--dp-brand); font-size: 13px; }
.drama-episode-scroll { max-height: 350px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--dp-line) transparent; overscroll-behavior: contain; }
.drama-play-episodes ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin: 0; padding: 2px; list-style: none; }
.drama-play-episodes li { min-width: 0; }
.drama-play-episodes li a { position: relative; display: flex; width: 100%; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--dp-line); border-radius: 9px; background: var(--dp-surface-2); color: #b5b5c1; text-decoration: none; }
.drama-play-episodes li a:hover { border-color: var(--dp-brand); color: #fff; }
.drama-play-episodes li a.is-current { border-color: var(--dp-brand); background: var(--dp-brand); color: #fff; }
.drama-play-episodes li a strong { font-size: 14px; font-weight: 650; }
.drama-play-episodes li a small { position: absolute; bottom: 2px; font-size: 8px; }
.drama-play-back { display: flex; margin-top: auto; padding-top: 24px; gap: 8px; align-items: center; justify-content: center; color: var(--dp-muted); font-size: 13px; text-decoration: none; }
.drama-play-back:hover { color: var(--dp-brand); }
.drama-play-info { margin-bottom: 0; padding: 18px 20px; border: 1px solid var(--dp-line); border-radius: 16px; background: var(--dp-surface); }
.drama-play-info h2 { margin: 0 0 12px; color: var(--dp-text); font-size: 18px; font-weight: 650; }
.drama-play-info dl { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 5px 12px; margin: 0; font-size: 13px; }
.drama-play-info dt { color: var(--dp-muted); }
.drama-play-info dd { overflow-wrap: anywhere; margin: 0; color: #d4d4db; }
.drama-play-info dd a { color: inherit; text-decoration: none; }
.drama-play-info dd a:hover { color: var(--dp-brand); }
.drama-play-tags { display: flex; margin: 14px 0 0; padding: 0; flex-wrap: wrap; gap: 7px; list-style: none; }
.drama-play-tags li { overflow-wrap: anywhere; padding: 5px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: var(--dp-surface-2); color: #b7b7c0; font-size: 12px; line-height: 1.5; }
.drama-play-synopsis { margin-top: 18px; }
.drama-play-synopsis h3 { margin: 0 0 8px; color: var(--dp-text); font-size: 14px; font-weight: 650; }
.drama-play-synopsis p { margin: 0; color: #d4d4db; font-size: 13px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.drama-play-page :focus-visible { outline: 2px solid var(--dp-brand); outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 901px) {
    .drama-play-layout { gap: 18px; grid-template-columns: minmax(0,2fr) minmax(260px,1fr); }
    .drama-play-episodes { padding: 18px; }
    .drama-play-actions { gap: 6px; }
    .drama-play-actions > * { font-size: 12px; gap: 4px; }
}
@media (max-width: 900px) {
    .drama-play-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .drama-play-episodes ol { grid-template-columns: repeat(auto-fill,minmax(54px,1fr)); }
    .drama-play-episodes h2 { font-size: 18px; }
    .drama-play-episodes { padding: 18px; }
    .drama-episode-scroll { max-height: 240px; }
}
@media (max-width: 767px) {
    .drama-play-page { padding-inline: 12px !important; padding-bottom: 38px; }
    .drama-play-heading { min-height: 0; padding: 12px 14px; margin-bottom: 12px; }
    .drama-play-heading h1 { font-size: 17px; }
    .drama-play-stage { margin-inline: -12px; border-radius: 0; margin-bottom: 14px; }
    .drama-play-actions { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
    .drama-play-actions > * { grid-column: span 2; font-size: 13px; min-height: 46px; gap: 5px; }
    .drama-play-actions > :nth-last-child(-n+2) { grid-column: span 3; }
}
@media (prefers-reduced-motion: reduce) {
    .drama-play-page *, .drama-play-page *::before, .drama-play-page *::after { transition-duration: .01ms !important; }
}
