/* Page-local black/yellow presentation. Shared header and appearance stay intact. */
body.home-portal.drama-page{--drama-yellow:#ffde00;background:var(--y,#ffde00);color:var(--ink,#111);line-height:1.6}
.drama-page [hidden]{display:none!important}
.drama-page>main{position:relative;z-index:0;isolation:isolate}
.drama-page .drama-shell{width:min(1184px,calc(100% - 64px));margin-inline:auto}
.drama-page .drama-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;padding:48px 0 32px}
.drama-page .drama-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;margin-bottom:16px}
.drama-page .drama-back svg{width:16px;height:16px}
.drama-page .hero-copy h1{font-size:clamp(48px,5.4vw,78px);font-weight:650;letter-spacing:-.045em;line-height:1.14;margin:0;text-wrap:balance}
.drama-page .subtitle{font-size:clamp(18px,1.8vw,23px);margin:18px 0 0;line-height:1.6}
.drama-page .hero-art{width:100%;max-width:400px;justify-self:end;pointer-events:none}
.drama-page .hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.drama-page .drama-toolbar{padding:0 0 36px;border-bottom:1px solid rgba(var(--line-rgb,0,0,0),.18)}
.drama-page .search{max-width:520px}
.drama-page .search label{display:block;font-size:12px;margin-bottom:10px}
.drama-page .search-field{position:relative}
.drama-page .search-field svg{position:absolute;width:20px;height:20px;top:17px;left:18px;pointer-events:none;color:var(--ink,#111)}
.drama-page .search input{display:block;box-sizing:border-box;width:100%;height:54px;border:1px solid currentColor;border-radius:999px;padding:12px 20px 12px 48px;color:var(--ink,#111);background:transparent;font:inherit;font-size:14px;opacity:1;-webkit-text-fill-color:currentColor;cursor:default}
.drama-page .search input::placeholder{color:currentColor;opacity:.75}
.drama-page .drama-library{padding:32px 0 0}
.drama-page .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}
.drama-page .section-heading h2{font-size:24px;font-weight:600;letter-spacing:-.025em;margin:0}
.drama-page .section-heading>span{font-size:12px;border:1px solid currentColor;border-radius:999px;padding:4px 12px;white-space:nowrap}
.drama-page .drama-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.drama-page .drama-card{min-width:0;display:block;overflow:hidden;background:#111;color:#ffde00;border:1px solid #ffde0030;border-radius:20px;height:100%;text-decoration:none;cursor:default}
.drama-page .cover{aspect-ratio:8/5;position:relative;overflow:hidden;background:#171717;border-bottom:1px solid #ffde0033}
.drama-page .cover img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.drama-page .cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;color:#ffde00}
.drama-page .cover-fallback:before{content:"";position:absolute;top:0;left:0;right:0;height:9px;background:repeating-linear-gradient(130deg,#ffde00 0 24px,#111 24px 48px)}
.drama-page .cover-number{font-size:clamp(80px,10vw,142px);font-weight:650;line-height:1;letter-spacing:-.07em;opacity:.95}
.drama-page .cover-note{font-size:12px;letter-spacing:.12em;color:#d9d9d9}
.drama-page .info{padding:24px}
.drama-page .tag{font-size:12px;color:#ffde00}
.drama-page .name{margin:8px 0 10px;font-size:24px;letter-spacing:-.025em;line-height:1.35;color:#ffde00;font-weight:600;overflow-wrap:anywhere}
.drama-page .desc{font-size:14px;line-height:1.75;color:#d0d0d0;margin:0;min-height:49px;overflow-wrap:anywhere}
.drama-page .card-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #ffde002e;font-size:13px;color:#e3d994}
.drama-page .card-action>span:last-child{font-size:16px}
.drama-page .load-area{padding:30px 0 0;text-align:center}
.drama-page .load-more{font:inherit;font-size:16px;font-weight:500;min-width:200px;min-height:50px;max-width:100%;padding:11px 26px;border:0;border-radius:999px;background:#111;color:#fff;cursor:pointer}
.drama-page .load-more:hover{opacity:.85}
.drama-page .load-more:disabled{cursor:default;opacity:.65}
.drama-page .load-status{font-size:12px;min-height:22px;margin:10px 0 0}
.drama-page .tips{font-size:12px;line-height:1.9;margin:28px 0 48px;padding-top:24px;border-top:1px solid rgba(var(--line-rgb,0,0,0),.18)}
.drama-page .tips p{margin:4px 0}
.drama-page .tips strong{font-weight:600}
.drama-page :is(input,button,a):focus-visible{outline:2px solid currentColor;outline-offset:5px}
html[data-theme=contrast] .drama-page .load-more{background:#ffde00;color:#111}
html[data-theme=contrast] .drama-page .drama-card{background:#111;border-color:#ffde0040}
@media(max-width:800px){
 .drama-page .drama-shell{width:calc(100% - 40px)}
 .drama-page .drama-hero{grid-template-columns:1fr;gap:16px;padding:22px 0 18px;text-align:center}
 .drama-page .drama-back{margin:0 0 12px}
 .drama-page .hero-copy h1{font-size:46px}
 .drama-page .subtitle{font-size:18px;margin-top:12px}
 .drama-page .hero-art{width:210px;max-width:70%;justify-self:center}
 .drama-page .drama-toolbar{padding-bottom:28px}
 .drama-page .search{max-width:520px;margin-inline:auto;text-align:left}
 .drama-page .drama-library{padding-top:28px}
 .drama-page .drama-wrap{gap:14px}
 .drama-page .section-heading h2{font-size:22px}
 .drama-page .info{padding:16px}
 .drama-page .name{font-size:20px}
 .drama-page .desc{font-size:13px}
 .drama-page .tips{margin-bottom:36px}
}
@media(max-width:540px){
 .drama-page .hero-art{width:180px}
 .drama-page .cover{aspect-ratio:3/4}
 .drama-page .cover-number{font-size:78px}
 .drama-page .cover-note{font-size:10px;letter-spacing:.04em}
 .drama-page .info{padding:14px 12px}
 .drama-page .name{font-size:18px}
 .drama-page .tag{font-size:11px}
 .drama-page .desc{min-height:68px;font-size:12px;line-height:1.8}
 .drama-page .card-action{font-size:11px;gap:4px;margin-top:14px;padding-top:12px}
 .drama-page .drama-card{border-radius:14px}
}
@media(max-width:360px){
 .drama-page .drama-shell{width:calc(100% - 32px)}
 .drama-page .hero-copy h1{font-size:38px}
 .drama-page .subtitle{font-size:16px}
 .drama-page .drama-wrap{gap:10px}
 .drama-page .info{padding:12px 10px}
 .drama-page .name{font-size:16px}
 .drama-page .card-action>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.drama-page *, .drama-page *:before,.drama-page *:after{scroll-behavior:auto!important;transition:none!important}}

/* Alias promotion uses local typography and an explicit clipboard action. */
.drama-page .watch-guide{border-top:1px solid rgba(var(--line-rgb,0,0,0),.18);border-bottom:1px solid rgba(var(--line-rgb,0,0,0),.18);padding:24px 0}
.drama-page .watch-guide h2{font-size:16px;font-weight:600;margin:0 0 16px}
.drama-page .watch-guide ol{display:flex;flex-wrap:wrap;gap:16px 40px;list-style:none;padding:0;margin:0;font-size:14px}
.drama-page .watch-guide li{display:flex;align-items:center;gap:10px}
.drama-page .watch-guide li span{font-size:11px;opacity:.65;font-variant-numeric:tabular-nums}
.drama-page .drama-wrap{grid-template-columns:minmax(0,1fr)}
.drama-page .alias-story{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
.drama-page .alias-cover{aspect-ratio:auto;min-height:390px;border-bottom:0;border-right:1px solid #ffde0033}
.drama-page .alias-cover .cover-fallback{align-items:flex-start;gap:26px;padding:40px;box-sizing:border-box;min-height:390px}
.drama-page .cover-title{font-size:clamp(40px,4.4vw,64px);line-height:1.3;font-weight:600;letter-spacing:-.04em}
.drama-page .cover-caption{font-size:12px;color:#d0d0d0}
.drama-page .alias-story .info{display:flex;flex-direction:column;justify-content:center;padding:36px;min-width:0}
.drama-page .alias-story .name{font-size:30px}
.drama-page .alias-story .desc{min-height:0}
.drama-page .alias-panel{border-top:1px solid #ffde0033;margin-top:24px;padding-top:20px;min-width:0}
.drama-page .alias-panel label{display:block;font-size:12px;color:#d0d0d0;margin-bottom:10px}
.drama-page .alias-controls{display:flex;align-items:center;gap:12px;min-width:0}
.drama-page .alias-value{box-sizing:border-box;min-width:0;width:100%;padding:10px 0;background:transparent;border:0;border-bottom:1px solid #ffde0055;border-radius:0;color:#ffde00;-webkit-text-fill-color:#ffde00;font:inherit;font-size:25px;font-weight:600;line-height:1.4;letter-spacing:.04em;user-select:text;-webkit-user-select:text}
.drama-page .alias-copy{display:flex;justify-content:center;align-items:center;gap:8px;flex-shrink:0;min-height:48px;padding:10px 20px;border:1px solid #ffde00;border-radius:999px;background:#ffde00;color:#111;font:inherit;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation}
.drama-page .alias-copy:hover{background:#111;color:#ffde00}
.drama-page .alias-copy svg{width:16px;height:16px;flex:none}
.drama-page .alias-help{font-size:12px;line-height:1.8;color:#d0d0d0;margin:12px 0 0;overflow-wrap:anywhere}
.drama-page .alias-status{font-size:12px;line-height:1.8;color:#ffde00;min-height:44px;margin:8px 0 0;overflow-wrap:anywhere}
@media(max-width:800px){.drama-page .alias-story{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.drama-page .alias-story .info{padding:24px}.drama-page .alias-cover .cover-fallback{padding:28px}.drama-page .alias-story .name{font-size:24px}.drama-page .alias-controls{flex-direction:column;align-items:stretch}.drama-page .alias-copy{width:100%}.drama-page .alias-value{font-size:23px}}
@media(max-width:540px){.drama-page .watch-guide ol{display:grid;gap:12px}.drama-page .alias-story{grid-template-columns:minmax(0,1fr)}.drama-page .alias-cover{aspect-ratio:auto;min-height:0;border-right:0;border-bottom:1px solid #ffde0033}.drama-page .alias-cover .cover-fallback{min-height:0;padding:30px 24px;gap:14px}.drama-page .cover-title{font-size:38px}.drama-page .cover-title br{display:none}.drama-page .cover-caption{display:none}.drama-page .alias-story .info{padding:24px}.drama-page .alias-controls{flex-direction:row;align-items:center}.drama-page .alias-value{font-size:23px}.drama-page .alias-copy{width:auto;padding:10px 16px;font-size:13px}.drama-page .alias-status{min-height:44px}}
@media(max-width:360px){.drama-page .alias-story .info{padding:20px}.drama-page .cover-title{font-size:32px}.drama-page .alias-value{font-size:21px}.drama-page .alias-copy{padding:10px 12px}.drama-page .alias-copy svg{display:none}}

/* Gallery cover windows display task artwork without its original-title lettering. */
.drama-page .alias-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.drama-page .alias-gallery .alias-story{display:flex;flex-direction:column;scroll-margin-top:112px}
.drama-page .alias-gallery .poster-cover{aspect-ratio:auto;min-height:0;border-right:0;border-bottom:1px solid #ffde0033;background:#171717}
.drama-page .poster-art{display:block;width:100%;aspect-ratio:1.05;overflow:hidden;background:#171717}
.drama-page .poster-name.name{font-size:29px;line-height:1.35;padding:23px 24px 20px;margin:0;letter-spacing:.03em;font-weight:650;user-select:text;-webkit-user-select:text;overflow-wrap:anywhere}
.drama-page .alias-gallery .info{padding:20px 24px 8px;justify-content:flex-start;flex:1}
.drama-page .alias-gallery .alias-panel{border-top:0;margin-top:14px;padding-top:0}
.drama-page .alias-gallery .alias-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.drama-page .alias-gallery .alias-copy{width:100%;min-height:48px}
.drama-page .alias-gallery .alias-value:not(.is-manual),.drama-page .alias-input-label{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden;padding:0;border:0;white-space:nowrap}
.drama-page .alias-gallery .alias-value.is-manual{position:static;width:100%;height:auto;clip-path:none;overflow:visible;font-size:22px;letter-spacing:0;padding:8px 0;box-sizing:border-box}
.drama-page .alias-gallery .alias-help{margin-top:10px}
.drama-page .alias-gallery .alias-status{font-size:12px;min-height:44px;line-height:1.8;margin-top:5px}
.drama-page .section-heading h2 small{font:inherit;font-size:12px;opacity:.65;margin-left:10px;vertical-align:middle}
@media(max-width:1000px){.drama-page .alias-gallery{gap:18px}.drama-page .poster-name.name{font-size:25px;padding:20px}.drama-page .alias-gallery .info{padding:18px 20px 6px}}
@media(max-width:800px){.drama-page .alias-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.drama-page .poster-name.name{font-size:27px}.drama-page .alias-gallery .alias-story{scroll-margin-top:88px}}
@media(max-width:540px){.drama-page .alias-gallery{gap:14px}.drama-page .poster-name.name{font-size:21px;padding:16px 12px;letter-spacing:0}.drama-page .alias-gallery .info{padding:14px 12px 4px}.drama-page .alias-gallery .tag{font-size:11px}.drama-page .alias-gallery .alias-panel{margin-top:12px}.drama-page .alias-gallery .alias-copy{padding:10px 8px;font-size:13px;gap:6px;min-height:44px}.drama-page .alias-gallery .alias-help{font-size:10px}.drama-page .alias-gallery .alias-status{font-size:11px;min-height:60px}.drama-page .alias-gallery .alias-value.is-manual{font-size:19px}.drama-page .section-heading h2 small{margin-left:6px}}
@media(max-width:360px){.drama-page .alias-gallery{gap:10px}.drama-page .poster-name.name{font-size:19px;padding:15px 10px}.drama-page .alias-gallery .info{padding:12px 10px 4px}.drama-page .alias-gallery .alias-value.is-manual{font-size:17px}.drama-page .alias-gallery .alias-status{min-height:60px}}

/* Alias remains the primary label; original title is secondary reference text. */
.drama-page .poster-visual{position:relative;overflow:hidden}
.drama-page .poster-heat{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:5px;box-sizing:border-box;padding:30px 16px 12px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:#fff;font-size:14px;font-weight:600;line-height:1.5;pointer-events:none}
.drama-page .poster-heat svg{width:15px;height:15px;flex:none}
.drama-page .poster-heat.is-pending{font-size:12px;color:#ddd;font-weight:400}
.drama-page .collection-stat{display:flex;align-items:center;gap:5px;width:fit-content;max-width:100%;margin-top:10px;color:#ffde00;font-size:12px;line-height:1.7}
.drama-page .collection-stat svg{width:14px;height:14px;flex:none}
.drama-page .collection-stat.is-pending{color:#a8a8a8}
.drama-page .original-title{font-size:12px;font-weight:400;line-height:1.65;color:#aaa;min-height:40px;margin:8px 0 0;overflow-wrap:anywhere}
.drama-page .drama-data-note{font-size:12px;line-height:1.8;opacity:.75;margin:22px 0 0}
@media(max-width:540px){.drama-page .poster-heat{font-size:12px;padding:25px 10px 8px;gap:4px}.drama-page .poster-heat svg{width:13px;height:13px}.drama-page .poster-heat.is-pending{font-size:10px}.drama-page .collection-stat{font-size:11px;margin-top:8px}.drama-page .collection-stat svg{width:12px;height:12px}.drama-page .original-title{font-size:11px;min-height:38px;margin-top:6px}.drama-page .drama-data-note{font-size:11px}}

/* Full portrait artwork, keeping every image pixel in the visible frame. */
.drama-page .poster-picture{position:relative;aspect-ratio:3/4;width:100%;background:#111;overflow:hidden}
.drama-page .poster-picture img.poster-art{position:absolute;inset:0;display:block;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none;filter:none}
.drama-page .poster-visual .poster-heat{position:static;inset:auto;display:flex;align-items:center;gap:5px;min-height:34px;padding:7px 16px;background:#181818;color:#ffde00;font-size:12px;line-height:1.6;font-weight:500}
.drama-page .poster-visual .poster-heat svg{width:14px;height:14px;flex:none}
@media(max-width:540px){.drama-page .poster-visual .poster-heat{min-height:31px;padding:6px 10px;font-size:11px;gap:4px}.drama-page .poster-visual .poster-heat svg{width:12px;height:12px}}

/* Compact introduction and card controls. */
.drama-page .drama-hero.drama-hero-compact{display:block;padding:28px 0 20px;text-align:left}
.drama-page .drama-hero-compact .hero-copy h1{font-size:48px;line-height:1.15}
.drama-page .drama-hero-compact .subtitle{margin:10px 0 0;font-size:15px;line-height:1.6;opacity:.85}
.drama-page .drama-library{padding-top:8px}
.drama-page .section-heading{margin-bottom:16px}
.drama-page .alias-gallery .info.alias-panel{display:block;flex:none;margin:0;border:0;padding:12px 16px 14px;min-width:0}
.drama-page .story-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.drama-page .story-title-row .poster-name.name{min-width:0;padding:0;margin:0;font-size:23px;font-weight:650;line-height:1.4;letter-spacing:0;white-space:nowrap}
.drama-page .alias-gallery .story-title-row .alias-copy{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:64px;min-width:0;max-width:none;min-height:30px;height:30px;padding:0;gap:4px;border-radius:8px;border:1px solid #ffde0070;background:transparent;color:#ffde00;font-size:12px;line-height:1;font-weight:500;overflow:visible}
.drama-page .story-title-row .alias-copy:before{content:"";position:absolute;inset:-7px 0;background:transparent}
.drama-page .story-title-row .alias-copy:hover,.drama-page .story-title-row .alias-copy[data-copied]{background:#ffde00;color:#111}
.drama-page .story-title-row .alias-copy svg{width:12px;height:12px;flex:none}
.drama-page .story-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:8px}
.drama-page .story-meta .collection-stat{display:inline-flex;margin:0;font-size:11px;line-height:1.6}
.drama-page .story-meta .collection-stat svg{width:12px;height:12px}
.drama-page .story-meta .tag{font-size:11px;line-height:1.6}
.drama-page .alias-gallery .original-title{min-height:0;margin:6px 0 0;font-size:11px;line-height:1.5}
.drama-page .alias-gallery .alias-status:not(.is-error){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.drama-page .alias-gallery .alias-status.is-error{position:static;min-height:0;margin:5px 0 0;font-size:11px;line-height:1.5;clip-path:none;white-space:normal}
.drama-page .alias-gallery .alias-value.is-manual{font-size:16px;padding:6px 0;margin-top:6px}
.drama-page .tips{margin:18px 0 28px;padding-top:16px}
.drama-page .drama-data-note{margin-top:16px;font-size:11px}
@media(max-width:800px){.drama-page .drama-hero.drama-hero-compact{padding:22px 0 16px}.drama-page .drama-hero-compact .hero-copy h1{font-size:40px}.drama-page .drama-hero-compact .subtitle{font-size:14px;margin-top:8px}.drama-page .alias-gallery .info.alias-panel{padding:12px}.drama-page .story-title-row .poster-name.name{font-size:21px}}
@media(max-width:540px){.drama-page .story-title-row{gap:5px}.drama-page .story-title-row .poster-name.name{font-size:17px}.drama-page .alias-gallery .story-title-row .alias-copy{width:40px;height:28px;min-height:28px;font-size:11px;border-radius:7px}.drama-page .story-title-row .alias-copy:before{inset:-8px -2px}.drama-page .story-title-row .alias-copy svg{display:none}.drama-page .story-meta{gap:4px 8px;margin-top:7px}}
@media(max-width:374px){.drama-page .story-title-row .poster-name.name{font-size:16px}}
@media(max-width:340px){.drama-page .alias-gallery .info.alias-panel{padding:10px}.drama-page .story-title-row .poster-name.name{font-size:14px}.drama-page .drama-hero-compact .subtitle{font-size:13px}}

/* Retain the original theatre artwork beside the compact introduction. */
.drama-page .drama-hero.drama-hero-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px}
.drama-page .drama-hero-compact .hero-copy{min-width:0}
.drama-page .drama-hero-compact .hero-art{display:block;width:180px;max-width:none;margin:0;justify-self:end}
.drama-page .drama-hero-compact .hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;transform:none}
@media(max-width:800px){.drama-page .drama-hero.drama-hero-compact{gap:12px}.drama-page .drama-hero-compact .hero-art{width:clamp(88px,28vw,140px)}}

/* Compact app-opening feedback is outside the cards and never changes their height. */
.drama-page .app-launch-tip{position:fixed;z-index:1100;bottom:calc(16px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(440px,calc(100% - 32px));display:grid;grid-template-columns:minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:12px 10px 12px 14px;background:#111;color:#ffde00;border:1px solid #ffde0080;border-radius:12px;box-shadow:0 6px 24px #0004}
.drama-page .app-launch-message{margin:0;font-size:12px;line-height:1.6}
.drama-page .app-launch-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border:1px solid #ffde0070;border-radius:8px;font-size:12px;white-space:nowrap;color:#ffde00}
.drama-page .app-launch-close{position:relative;width:28px;height:44px;padding:0;background:transparent;border:0;color:#ffde00;font-size:24px;cursor:pointer}
.drama-page .app-launch-close:before{content:"";position:absolute;inset:0 -8px}

