/* Star Paradise responsive mobile layer — v23, applies below 760px. */
.sp-mobile-shell{display:none}
@media (max-width:760px){
 html{overflow-x:hidden;-webkit-text-size-adjust:100%}
 body{overflow-x:hidden;min-width:0!important}
 .sp-mobile-shell{display:block!important;position:relative;z-index:10020;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#fff6da}
 .sp-mobile-header{position:sticky;top:0;z-index:10022;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));background:rgba(13,10,42,.97);border-bottom:1px solid #d7b65d;box-shadow:0 4px 24px #0008}
 .sp-mobile-brand{display:flex;align-items:center;gap:8px;color:#ffe09a!important;text-decoration:none!important;font:700 15px/1.25 Georgia,serif!important;min-width:0}
 .sp-mobile-brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .sp-mobile-menu-toggle{flex-shrink:0;min-width:46px;min-height:46px;padding:7px 11px;border:1px solid #efcd75;border-radius:12px;background:#38206b;color:white;font:700 14px system-ui;cursor:pointer}
 .sp-mobile-panel{display:none;padding:14px 14px 20px;background:linear-gradient(140deg,#151042,#100a2e);border-bottom:1px solid #bda66b}
 .sp-mobile-panel.sp-open{display:block}
 .sp-mobile-panel h2{font:700 18px/1.4 Georgia,serif;color:#ffe09a;margin:8px 0 10px;text-align:left}
 .sp-mobile-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}
 .sp-mobile-primary a,.sp-mobile-explore a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:9px 8px;border-radius:12px;border:1px solid rgba(255,215,126,.58);background:linear-gradient(145deg,#38216d,#24174e);color:#fff9eb!important;text-decoration:none!important;font:700 14px/1.3 system-ui!important;overflow-wrap:anywhere;box-shadow:0 3px 9px #0004}
 .sp-mobile-primary a:focus-visible,.sp-mobile-explore a:focus-visible,.sp-mobile-menu-toggle:focus-visible{outline:3px solid #80e6ff;outline-offset:2px}
 .sp-mobile-explore{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .sp-mobile-explore a.sp-external:after{content:' ↗';font-size:12px}
 .sp-mobile-shortcut{display:block;padding:10px 13px;margin:12px auto 3px;max-width:640px;background:#17123e;border:1px solid #b19c61;border-radius:12px;color:#fff3cf;text-align:center;font:600 13px/1.5 system-ui}
 .sp-mobile-page-links{display:block;max-width:760px;margin:8px auto 26px;padding:18px 14px 24px;background:linear-gradient(180deg,#14103b,#0a0928);border-top:1px solid #bfa568;color:#fff4d6;font:15px/1.5 system-ui}
 .sp-mobile-page-links h2{font:700 24px/1.3 Georgia,serif;color:#ffdb8b;margin:0 0 8px}
 .sp-mobile-page-links p{margin:0 0 12px}
 .sp-mobile-page-links .sp-mobile-explore{margin-top:10px}
 /* Retain illustrated image maps, but provide full-size touch links below them. */
 .page{min-height:initial!important;padding:12px 8px!important;display:block!important}
 .stage{border-radius:12px!important;width:100%!important;max-width:100%!important;margin:auto!important}
 .stage img,.art img{max-width:100%!important;height:auto}
 .sr-links{padding:12px!important;overflow-wrap:anywhere}
 .sr-links a{white-space:normal!important;display:inline-block;margin-bottom:8px}
 .back-button{position:relative!important;display:inline-flex!important;top:auto!important;left:auto!important;margin:10px!important;min-height:44px;align-items:center;justify-content:center;padding:10px 14px!important;max-width:calc(100% - 20px);white-space:normal}
 .starlight-return-nav{position:relative!important;padding:9px!important;gap:7px!important}
 .starlight-return-nav a{min-height:44px;display:inline-flex!important;align-items:center;padding:8px 10px!important;font-size:13px!important}
 .video-modal,.modal{max-width:100vw!important;padding:10px!important}
 .video-modal-inner,#aurora-video-box{width:100%!important;max-width:100%!important;padding:10px!important}
 dialog{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important}
 iframe,video{max-width:100%!important}
 img{max-width:100%}
 a,button{touch-action:manipulation}
}
@media (max-width:360px){.sp-mobile-explore,.sp-mobile-primary{grid-template-columns:1fr 1fr}.sp-mobile-explore a,.sp-mobile-primary a{font-size:12px!important}}
@media (min-width:761px){.sp-mobile-page-links,.sp-mobile-shell{display:none!important}}

/* v24 accessibility refinement — skip links appear only when keyboard-focused.
   Applies across mobile and desktop without changing illustrated page layout. */
a.skip:not(:focus):not(:focus-visible),
a[href^="#"][aria-label^="Skip"]:not(:focus):not(:focus-visible) {
  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;
  clip-path:inset(50%)!important;white-space:nowrap!important;
  border:0!important;left:-10000px!important;top:auto!important;
}
a.skip:focus,a.skip:focus-visible,
a[href^="#"][aria-label^="Skip"]:focus {
  position:fixed!important;top:12px!important;left:12px!important;
  width:auto!important;height:auto!important;clip:auto!important;
  clip-path:none!important;overflow:visible!important;white-space:normal!important;
  margin:0!important;padding:12px 16px!important;z-index:2147483647!important;
  background:#ffffff!important;color:#1b1550!important;
  border:3px solid #d5af57!important;border-radius:8px!important;
  text-decoration:underline!important;
}
