/* rdramaplaya r4 polish (additive on dp-diff.css dp1, which is NOT changed; enqueued after it only when assets/r6/diff/R4_ON exists). Rollback: delete R4_ON.
   Motion 'Curtain up': the drapes draw back to their tie-backs, the two spotlights come on and sweep slowly, and the mark's star rises into
   the light (a young performer stepping into confidence). One-shot reveal ~3.4 s, then a calm 8 s spotlight sway + 6 s star glow.
   transform/opacity only, on the shipped curtain/stage SVGs (no markup change, no layout). Reduced motion: no animation; the static frame
   is the complete shipped hero.
   Texture: the served --brand-pattern sparkle tile (assets/r6/pattern/light.svg, 240 px, as served: PALETTE_RELEASED), the same tile family
   the old hero carried in db-hero:before; now on the cream stage top, low opacity, masked clear behind the copy. */
.site-dramaplayarea .dp-top{isolation:isolate}
.site-dramaplayarea .dp-top:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url('svg/dp-r4-tex.svg') 50% 0/240px 240px repeat;opacity:0.3;-webkit-mask-image:radial-gradient(ellipse 470px 250px at 50% 56%,transparent 0 70%,#000 100%);mask-image:radial-gradient(ellipse 470px 250px at 50% 56%,transparent 0 70%,#000 100%)}
@media (max-width:760px){
.site-dramaplayarea .dp-top:before{opacity:0.24;background-size:200px 200px;-webkit-mask-image:linear-gradient(#000 0,transparent 70px,transparent calc(100% - 40px),#000 100%);mask-image:linear-gradient(#000 0,transparent 70px,transparent calc(100% - 40px),#000 100%)}
}
@media (prefers-reduced-motion:no-preference){
.site-dramaplayarea .dp-curtain-svg{transform-origin:0 50%;animation:dpr4drape 2.2s cubic-bezier(.3,.7,.2,1) .15s both}
.site-dramaplayarea .dp-stage-svg>path:nth-of-type(1),.site-dramaplayarea .dp-stage-svg>path:nth-of-type(2){transform-box:fill-box;transform-origin:50% 0}
.site-dramaplayarea .dp-stage-svg>path:nth-of-type(1){animation:dpr4beam 1.1s ease-out 1.3s both,dpr4swayl 8s ease-in-out 2.4s infinite alternate}
.site-dramaplayarea .dp-stage-svg>path:nth-of-type(2){animation:dpr4beam 1.1s ease-out 1.45s both,dpr4swayr 8s ease-in-out 2.55s infinite alternate}
.site-dramaplayarea .dp-stage-svg g[mask]>path:last-child{transform-box:fill-box;transform-origin:50% 50%;animation:dpr4star 1.3s cubic-bezier(.3,1.4,.5,1) 2.1s both,dpr4glow 6s ease-in-out 3.4s infinite}
}
@keyframes dpr4drape{0%{transform:scaleX(1.55)}100%{transform:scaleX(1)}}
@keyframes dpr4beam{0%{opacity:0}100%{opacity:.75}}
@keyframes dpr4swayl{0%{transform:rotate(0)}100%{transform:rotate(-3deg)}}
@keyframes dpr4swayr{0%{transform:rotate(0)}100%{transform:rotate(3deg)}}
@keyframes dpr4star{0%{opacity:0;transform:translateY(14px) scale(.3) rotate(-40deg)}100%{opacity:1;transform:none}}
@keyframes dpr4glow{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
