/* Star Paradise unified site header · v36 */
#sp-global-header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:74px;padding:10px clamp(16px,3vw,42px);background:#12082e;color:#ffe0a0;border-bottom:2px solid #e7b75d;position:relative;z-index:10030;font-family:Georgia,"Times New Roman",serif}
#sp-global-header *,#sp-global-menu *{box-sizing:border-box}
#sp-global-header .sp-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none!important;color:#ffe0a0!important;font-size:clamp(23px,2.6vw,35px)!important;font-weight:700!important;line-height:1.15!important;white-space:nowrap;letter-spacing:0}
#sp-global-header .sp-star{width:40px;height:40px;min-width:40px;display:block;flex:none}
#sp-global-header .sp-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:17px}
#sp-global-header .sp-links a{font:600 15px/1.3 system-ui,sans-serif!important;color:#fff7ec!important;text-decoration:none!important;padding:10px 3px;border-radius:20px}
#sp-global-header .sp-links a[aria-current="page"]{background:#4c2375;border:1px solid #ffcf6d;padding:10px 15px}
#sp-global-header .sp-toggle{display:none;align-items:center;justify-content:center;min-height:50px;border:1px solid #ffcf6d;border-radius:16px;color:#fff!important;background:#4c2375;font:600 17px system-ui,sans-serif!important;padding:10px 18px;cursor:pointer;white-space:nowrap}
#sp-global-menu{display:none;position:relative;z-index:10029;background:#241049;border-bottom:1px solid #e7b75d;padding:12px 20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#sp-global-menu.sp-open{display:grid}
#sp-global-menu a{display:flex;min-height:46px;align-items:center;justify-content:center;border:1px solid #9d76ac;border-radius:12px;background:#3b1b68;color:#fff!important;text-decoration:none!important;font:600 15px system-ui,sans-serif!important;text-align:center;padding:9px}
#sp-global-header a:focus-visible,#sp-global-header button:focus-visible,#sp-global-menu a:focus-visible{outline:3px solid #7bf1ff;outline-offset:3px}
/* Old headers were duplicated by a mix of page HTML and an older mobile JS layer. */
body > header.topbar,body > nav.menu-panel,body > header.sp-replaced-book-header,.sp-mobile-shell{display:none!important}
@media(max-width:900px){#sp-global-header .sp-links{display:none!important}#sp-global-header .sp-toggle{display:inline-flex!important}}
@media(max-width:760px){#sp-global-header{min-height:76px;padding:12px 18px}#sp-global-header .sp-brand{font-size:clamp(23px,5vw,31px)!important;gap:10px}#sp-global-header .sp-star{width:39px;height:39px;min-width:39px}#sp-global-header .sp-toggle{font-size:17px!important;padding:11px 15px}#sp-global-menu{padding:12px}}
@media(max-width:370px){#sp-global-header .sp-brand{font-size:22px!important}#sp-global-header .sp-star{width:33px;height:33px;min-width:33px}#sp-global-header .sp-toggle{font-size:15px!important;padding:9px 11px}}

/* Behind the Magic: share the same Star Paradise palette and card/button language. */
body.sp-behind-the-magic{background:radial-gradient(ellipse at top,#401568,#13082c 70%);color:#fff3d6}
body.sp-behind-the-magic .quicknav a,body.sp-behind-the-magic .tile,body.sp-behind-the-magic .episode{background:linear-gradient(145deg,#422073,#1b103e);border:1px solid #f4c26a;border-radius:16px;box-shadow:0 0 15px #edb96035}
body.sp-behind-the-magic .video-btn,body.sp-behind-the-magic .smallbtn{border:1px solid #f0c266;background:#52228d;border-radius:14px;font:700 15px/1.35 system-ui,sans-serif;min-height:44px}
body.sp-behind-the-magic .headingline h1,body.sp-behind-the-magic .headingline h2,body.sp-behind-the-magic .subheading{color:#ffda8b}
body.sp-behind-the-magic .archive-grid a{background:linear-gradient(145deg,#422073,#1b103e);border:1px solid #f4c26a;border-radius:14px}
/* Guarantee only the new shared header is visible, including legacy page headers. */
body > header:not(#sp-global-header),body > .site-header,body > .mobile-header{display:none!important}
