/* Version 52: the same two rows throughout the entire site. */
#sp-global-header,#sp-global-menu,#sp-subnav{box-sizing:border-box}
#sp-global-header * ,#sp-global-menu *, .sp-subnav *{box-sizing:border-box}
#sp-global-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px;min-height:76px;padding:12px clamp(14px,3vw,42px);background:#160b31!important;color:#ffe3a1!important;border-bottom:2px solid #c89b53;position:relative;z-index:10030;font-family:Georgia,'Times New Roman',serif}
#sp-global-header .sp-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;color:#ffe3a1!important;font-weight:700!important;font-size:clamp(22px,3vw,35px)!important;white-space:nowrap;line-height:1.2}
#sp-global-header .sp-star{width:39px;height:39px;flex:none}
#sp-global-header .sp-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:49px;padding:10px 17px;border:1px solid #efc06a;border-radius:16px;background:#492777!important;color:#fff!important;font:600 17px system-ui,sans-serif!important;white-space:nowrap;cursor:pointer}
#sp-global-menu{display:none;position:relative;z-index:10029;background:#241049;border-bottom:1px solid #c89b53;padding:12px clamp(14px,3vw,42px);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
#sp-global-menu.sp-open{display:grid!important}
#sp-global-menu a{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;padding:9px;border:1px solid #a17eb8;border-radius:12px;background:#3b1b68;color:#fff!important;font:600 14px system-ui,sans-serif!important;text-decoration:none!important}
.sp-subnav{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px;padding:10px clamp(14px,3vw,42px);min-height:65px;background:#241342!important;border-bottom:1px solid #b38761;position:relative;z-index:10020;color:#ffe3a1;font-family:system-ui,sans-serif}
.sp-subnav .sp-station-link{display:inline-flex!important;align-items:center;justify-content:center;padding:10px 15px;min-height:43px;border:1px solid #efc06a;border-radius:999px;background:#45216e;color:#ffe3a1!important;text-decoration:none!important;font:700 14px system-ui,sans-serif!important;white-space:nowrap}
.sp-subnav .sp-current-page{text-align:right;max-width:58%;font:700 clamp(13px,1.8vw,17px)/1.3 system-ui,sans-serif!important;color:#ffe3a1!important;overflow-wrap:anywhere}
/* Remove old global headers that would duplicate the primary header. */
body > header.topbar,body > nav.menu-panel,body > header.sp-replaced-book-header,.sp-mobile-shell,body > header.site-header{display:none!important}
/* Context navigation is retained only for links to other sections, not another row to Station. */
.sp-context-nav{position:relative!important;top:auto!important;box-shadow:none!important;background:transparent!important;border:0!important;display:flex!important;justify-content:flex-start;gap:8px;margin:6px auto!important;max-width:1100px;padding:6px 12px!important}
.sp-context-nav a{font:600 13px system-ui,sans-serif!important;padding:8px 11px!important}
/* Standalone pages must not acquire horizontal overflow when new headers are present. */
html,body{max-width:100%;overflow-x:clip}
#sp-global-header a:focus-visible,#sp-global-header button:focus-visible,#sp-global-menu a:focus-visible,.sp-subnav a:focus-visible{outline:3px solid #7bf1ff;outline-offset:3px}
@media(max-width:600px){#sp-global-header{min-height:72px;padding:9px 14px}#sp-global-header .sp-star{width:34px;height:34px}#sp-global-header .sp-brand{font-size:clamp(21px,5.5vw,28px)!important;gap:7px}#sp-global-header .sp-toggle{min-height:44px;font-size:15px!important;padding:9px 12px}.sp-subnav{padding:8px 12px;min-height:60px;gap:8px}.sp-subnav .sp-station-link{min-height:42px;font-size:12px!important;padding:8px 10px}.sp-subnav .sp-current-page{font-size:12px!important;max-width:53%}}
/* Full artwork remains visible at every screen width; hotspots scale with its container. */
body.sp-home-page main.page{display:block!important;min-height:0!important;padding:clamp(8px,1.5vw,18px)!important}
body.sp-home-page .stage{width:min(100%,1448px)!important;max-width:100%!important;height:auto!important;aspect-ratio:1536/1024!important;margin:0 auto!important;overflow:hidden!important}
body.sp-home-page .stage>img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;display:block!important}
