/* MAAMORI ROYAL MOTION — independent brand layer, November 2026. */
.art-stage:has(.art-main-royal){min-height:485px}
.art-main-royal{container-type:size;isolation:isolate;background:radial-gradient(ellipse at 50% 37%,#3e2d17 0%,#101114 55%,#090a0c 88%);border-color:#d2a45675;box-shadow:0 35px 90px #000b,0 0 36px #c28b3b25,inset 0 0 45px #bc862113;display:grid;place-items:center}
.art-main-royal::before{content:"";pointer-events:none;position:absolute;z-index:-1;inset:10%;border:1px solid #f6d28a3a;border-radius:50%;box-shadow:0 0 26px #f3ba5b17,0 0 25px #f3ba5b17 inset;animation:maamori-orbit 28s linear infinite}
.art-main-royal::after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(106deg,transparent 24%,#fbe6ad12 44%,transparent 58%);background-size:230% 100%;mix-blend-mode:screen;animation:maamori-light-sweep 9s ease-in-out infinite}
.royal-crest{position:relative;z-index:1;width:min(100cqw,100cqh);height:min(100cqw,100cqh);max-width:100%;max-height:100%;aspect-ratio:1;min-width:0;min-height:0;display:grid;place-items:center;animation:maamori-royal-float 6.8s ease-in-out infinite;filter:drop-shadow(0 0 28px #b785314c)}
.royal-crest .art-brand-photo{width:100%;height:100%;border-radius:0;object-fit:contain;mix-blend-mode:screen;mask-image:radial-gradient(ellipse at center,#000 77%,transparent 100%)}
.royal-crest-eye{pointer-events:none;position:absolute;left:60.9%;top:17.3%;width:5px;height:5px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 0 5px 3px #fff,0 0 18px 9px #fafbffad,0 0 32px 13px #fff7c475;animation:maamori-eye-pulse 3.5s ease-in-out infinite}
.royal-crest-eye::before,.royal-crest-eye::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:1px;height:28px;background:linear-gradient(transparent,#fff,transparent);opacity:.7}.royal-crest-eye::after{height:1px;width:28px}
.royal-splash{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;background:radial-gradient(ellipse at center,#2c2112 0%,#08090c 62%,#030407 100%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s}
.royal-splash[aria-hidden="false"]{visibility:visible;opacity:1;pointer-events:auto}
.royal-splash::before{content:"";position:absolute;inset:0;opacity:.26;background:radial-gradient(circle at 15% 30%,#f9d68c 1px,transparent 2px),radial-gradient(circle at 78% 65%,#f9d68c 1px,transparent 2px),radial-gradient(circle at 38% 82%,#f9d68c 1px,transparent 2px);background-size:270px 300px,380px 320px,500px 400px;animation:maamori-sparkle-drift 12s linear infinite}
.royal-splash__halo{position:absolute;width:min(79vmin,640px);aspect-ratio:1;border:1px solid #ffe1a957;border-radius:50%;box-shadow:0 0 85px #ffcc641c,inset 0 0 40px #efbd5525;animation:maamori-orbit 16s linear infinite}
.royal-splash__halo::after{content:"";position:absolute;left:0;top:50%;width:9px;height:9px;border-radius:50%;background:#ffe5ac;box-shadow:0 0 20px 5px #f4c46b}
.royal-splash__crest{position:relative;z-index:1;width:min(75vmin,600px);aspect-ratio:1;display:block;animation:maamori-splash-enter 2.6s ease both}
.royal-splash__crest img{width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 0 37px #f4c26b83);mask-image:radial-gradient(ellipse at center,#000 81%,transparent 100%)}
.royal-splash__eye{position:absolute;left:60.9%;top:17.3%;width:6px;height:6px;transform:translate(-50%,-50%);background:#fff;border-radius:50%;box-shadow:0 0 6px 3px #fff,0 0 25px 11px #ffffffa6;animation:maamori-eye-pulse 2.1s ease-in-out infinite}
.royal-splash__bottom{position:absolute;z-index:2;bottom:max(5%,20px);display:grid;gap:7px;text-align:center;justify-items:center;color:#f2d8aa;animation:maamori-caption-enter 1.1s ease-out .15s both}
.royal-splash__bottom strong{font-size:clamp(17px,3vw,30px)}.royal-splash__bottom small{font-size:12px;color:#cfb587}
.royal-splash__progress{margin-top:9px;height:2px;background:#efc67939;width:190px;overflow:hidden;border-radius:4px}.royal-splash__progress>i{display:block;width:0;height:100%;background:#f4db9e;box-shadow:0 0 8px #f4db9e}
.royal-splash[aria-hidden="false"] .royal-splash__progress>i{animation:maamori-progress 2.4s linear forwards}
.royal-splash--navigation .royal-splash__progress>i{animation-duration:1.35s}
.royal-splash__skip{position:absolute;z-index:4;left:clamp(18px,3vw,45px);top:clamp(18px,3vw,40px);border:1px solid #f2d7a05c;border-radius:25px;padding:10px 19px;color:#f2dfc2;background:#101113c9;cursor:pointer;font:600 13px inherit;min-height:44px}.royal-splash__skip:hover{background:#3c2c16}.royal-splash__skip:focus-visible{outline:3px solid #f3cd7f;outline-offset:3px}
.royal-splash[aria-hidden="false"] .royal-splash__crest{animation:maamori-splash-enter 2.6s ease both}
.royal-splash.royal-splash--navigation .royal-splash__crest{animation-duration:1.6s}
body.royal-splash-open{overflow:hidden}
@keyframes maamori-royal-float{0%,100%{transform:translateY(0) rotate(-.2deg)}50%{transform:translateY(-9px) rotate(.3deg)}}
@keyframes maamori-eye-pulse{0%,100%{opacity:.42;filter:brightness(.9);transform:translate(-50%,-50%) scale(.8)}38%{opacity:1;filter:brightness(1.4);transform:translate(-50%,-50%) scale(1.1)}45%{opacity:.72;transform:translate(-50%,-50%) scale(.9)}55%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}}
@keyframes maamori-orbit{to{transform:rotate(360deg)}}@keyframes maamori-light-sweep{0%,12%{background-position:-180% center}65%,100%{background-position:180% center}}
@keyframes maamori-sparkle-drift{to{background-position:0 -200px,0 -170px,0 -240px}}
@keyframes maamori-splash-enter{0%{opacity:0;transform:translateY(34px) scale(.79);filter:blur(16px)}30%{opacity:1;filter:blur(2px)}60%{transform:translateY(0) scale(1.03);filter:blur(0)}100%{opacity:1;transform:scale(1)}}
@keyframes maamori-caption-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes maamori-progress{to{width:100%}}
@media(max-width:600px){.art-stage:has(.art-main-royal){min-height:370px}.royal-splash__crest{width:min(92vmin,530px)}.royal-splash__halo{width:min(94vmin,590px)}.royal-splash__bottom{bottom:max(8%,32px)}.royal-splash__bottom small{font-size:10px}.royal-splash__progress{width:145px}}
@media(prefers-reduced-motion:reduce){.royal-crest,.royal-crest-eye,.art-main-royal::before,.art-main-royal::after,.royal-splash *{animation:none!important}.royal-splash{display:none!important}}

/* Unified circular emblem for both the intro/navigation splash and the royal hero.
   The source WebP stays untouched; we mask presentation only. The previous
   ellipse gradient reached the square corners, revealing a rectangular photo. */
.royal-splash__crest,
.royal-crest{
  border-radius:50%;
  isolation:isolate;
}
.royal-splash__crest::after{
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:2;
  inset:2.8%;
  border-radius:50%;
  border:1px solid #f5d28b67;
  box-shadow:0 0 24px #e4af5433,inset 0 0 24px #e1b46a18;
}
.royal-splash__crest img,
.royal-crest .art-brand-photo{
  display:block;
  border-radius:50%;
  clip-path:circle(50% at 50% 50%);
  -webkit-mask-image:radial-gradient(circle closest-side at center,
     #000 0%,#000 78%,rgba(0,0,0,.93) 87%,transparent 100%);
  mask-image:radial-gradient(circle closest-side at center,
     #000 0%,#000 78%,rgba(0,0,0,.93) 87%,transparent 100%);
}
.royal-splash__eye{z-index:3}
