.royal-action{position:fixed;left:50%;bottom:calc(145px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:8;padding:12px 19px;border:2px solid #f3d478;border-radius:16px;background:#21485aea;color:#fff3cd;font-size:13px;font-weight:900;box-shadow:0 5px 26px #091b34a6;white-space:nowrap}
.royal-scene{position:fixed;inset:0;z-index:12;pointer-events:none;background:radial-gradient(ellipse at center,#edb45d11,#0a183588);color:#fff6d9;text-align:center}.royal-top,.royal-bottom{position:absolute;left:0;right:0;height:11%;background:#071522e8;box-shadow:0 0 24px #071522}.royal-top{top:0}.royal-bottom{bottom:0}.royal-title{position:absolute;left:10%;right:10%;top:16%;text-shadow:0 3px 12px #051725;animation:royalArrive .8s both}.royal-title small{color:#e9c87d;letter-spacing:3px;font-weight:850}.royal-title h2{margin:7px 0;font-size:clamp(30px,6vw,62px);text-transform:uppercase;letter-spacing:-2px}.royal-title p{font-size:16px;margin:0}.royal-skip{position:absolute;right:18px;bottom:12%;pointer-events:auto;border:1px solid #e2c489;border-radius:10px;padding:8px 12px;background:#1c3951;color:white}
.royal-ending{position:fixed;inset:0;z-index:35;display:grid;place-items:center;padding:18px;background:#091f32d9;backdrop-filter:blur(8px)}.royal-ending>div{position:relative;width:min(480px,100%);border:3px solid #e9cb86;border-radius:23px;background:radial-gradient(circle at top,#fbebba,#edf0e6 68%);color:#274344;padding:36px;text-align:center;box-shadow:0 20px 70px #051a2f}.royal-ending small{letter-spacing:2.5px;color:#9d6d31;font-weight:900}.royal-ending h2{font-size:31px;line-height:1.1}.royal-ending p{font-size:14px;line-height:1.6}.royal-emblem{font-size:47px;color:#d9a344}.royal-close{position:absolute;right:14px;top:14px;background:#fff7dd;border-radius:9px;padding:6px 10px}.royal-continue{padding:12px 18px;border-radius:10px;background:#286a56;color:white;font-weight:800}
@keyframes royalArrive{from{opacity:0;transform:translateY(-25px) scale(.8)}to{opacity:1;transform:none}}
@media(max-width:650px){.royal-action{bottom:calc(233px + env(safe-area-inset-bottom));font-size:11px;padding:9px 11px;max-width:80vw;white-space:normal}.royal-title{top:20%}.royal-title small{font-size:9px}.royal-title p{font-size:12px}.royal-ending>div{padding:24px}}
@media(prefers-reduced-motion:reduce){.royal-title{animation:none}}

.royal-action{left:auto;right:20px;top:120px;bottom:auto;transform:none;max-width:min(230px,30vw);white-space:normal;padding:9px 12px}
.reunion-scene{position:relative;isolation:isolate;height:185px;margin:8px auto 16px;overflow:hidden;border:2px solid #d4a850;border-radius:15px;background:linear-gradient(#264b78 0%,#8466a3 48%,#e9b773 74%,#536852 75%);box-shadow:inset 0 0 45px #ffd77a80,0 8px 25px #35445255}.reunion-sky{position:absolute;top:10px;left:0;right:0;color:#ffe9a0;letter-spacing:34px;animation:reunionSpark 2s infinite alternate}.reunion-ground{position:absolute;bottom:0;width:100%;height:29px;background:repeating-linear-gradient(90deg,#3b6546 0 22px,#49784b 22px 44px);border-top:7px solid #87aa64}.reunion-hero,.reunion-princess{position:absolute;bottom:34px;width:47px;height:93px;filter:drop-shadow(3px 6px 4px #14293c99)}.reunion-hero{left:calc(50% - 85px);animation:reunionHero 1.5s ease-out both}.reunion-princess{right:calc(50% - 85px);animation:reunionPrincess 1.5s ease-out both}.reunion-hero i,.reunion-princess i{position:absolute;top:1px;left:8px;width:31px;height:28px;background:#c99670;border:3px solid #775640;box-shadow:0 -7px #352f3d}.reunion-princess i{background:#d7a582;box-shadow:0 -9px #573d59,0 -15px #f8d054}.reunion-hero b,.reunion-princess b{position:absolute;top:34px;left:5px;width:38px;height:44px;background:#7190a7;border:5px solid #dfb456;box-shadow:-12px 3px #829ba9,12px 3px #829ba9}.reunion-princess b{background:#8c67a9;border-color:#eed196;box-shadow:-12px 3px #9d78b4,12px 3px #9d78b4}.reunion-hero em,.reunion-princess em{position:absolute;bottom:0;left:7px;width:12px;height:17px;background:#283345;box-shadow:22px 0 #283345}.reunion-glow{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-size:42px;color:#fff2ae;text-shadow:0 0 23px #fff9bf;animation:reunionHeart 1.3s 1.3s both}@keyframes reunionHero{from{transform:translateX(-95px)}to{transform:none}}@keyframes reunionPrincess{from{transform:translateX(95px)}to{transform:none}}@keyframes reunionHeart{from{opacity:0;transform:translate(-50%,-30%) scale(.4)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes reunionSpark{to{opacity:.4;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.reunion-scene *{animation:none!important}}
