@layer visibility {
/* Legacy navigation remains available to the site's access code, but the carousel is the visible menu. */
html.refresh.sphere-menu-v1 #siteHeader .site-header-inner > .nav {display:none!important}
html.refresh.sphere-menu-v1 #siteHeader .logo-message-birds,
html.refresh.sphere-menu-v1 #siteHeader .bird-toggle,
html.refresh.sphere-menu-v1 #siteHeader [data-bird-toggle] {display:none!important}

/* Preserve the original full-build header height while centering the selected design. */
html.refresh.sphere-menu-v1 body .site #siteHeader.top{height:244px!important;min-height:244px!important}
html.refresh.sphere-menu-v1 body .site #siteHeader.top .site-header-inner{height:203px!important;top:50%!important;transform:translateY(-50%)!important}
@media(max-width:600px){html.refresh.sphere-menu-v1 body .site #siteHeader.top{height:207px!important;min-height:207px!important}html.refresh.sphere-menu-v1 body .site #siteHeader.top .site-header-inner{height:144px!important}}

/* Keep the existing narrow header centered when the games area widens. */
html.refresh.sphere-menu-v1 body .site.site--games #siteHeader.top .site-header-inner {
 margin-left:auto!important;margin-right:auto!important;
}
/* In an open game, the full-width cloud layer replaces the inner one. */
html.refresh.sphere-menu-v1 body .site.game-workspace-wide #siteHeader .terra-wide-clouds {
 display:block!important;
}
html.refresh.sphere-menu-v1 body .site.game-workspace-wide #siteHeader .terra-scenery :is(.terra-floor-light,.terra-floor-dark) {
 display:none!important;
}
@media (min-width:601px) {
 html.refresh.sphere-menu-v1 body .site.site--games #siteHeader .terra-wide-clouds {display:block!important}
 html.refresh.sphere-menu-v1 body .site.site--games #siteHeader .terra-scenery :is(.terra-floor-light,.terra-floor-dark) {display:none!important}
}

/* Screen-reader announcement: keep it out of the visual menu and layout. */
html.refresh.sphere-menu-v1 body .site #siteHeader .orbit-nav .orbit-live {
 position:absolute!important;width:1px!important;height:1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
 padding:0!important;margin:-1px!important;border:0!important;white-space:nowrap!important;
}

/* Restore the approved glow and a gentle, actual scale transition on cards. */
html.refresh body .site #games#games#games#games#games#games#games #gameGallery#gameGallery .game-card {
 transform:scale(.97)!important; transform-origin:center center!important;
 transition:transform .2s ease,box-shadow .2s ease!important;
}
@media (hover:hover) and (pointer:fine) {
 html.refresh body .site #games#games#games#games#games#games#games #gameGallery#gameGallery .game-card:hover,
 html.refresh body .site #games#games#games#games#games#games#games #gameGallery#gameGallery .game-card:focus-visible {
  transform:scale(1.045)!important;z-index:5!important;
 }
}
@media (prefers-reduced-motion:reduce) {
 html.refresh body .site #games#games#games#games#games#games#games #gameGallery#gameGallery .game-card {transition:none!important}
}
}
@layer proportions {
 #socialAccessPage[data-section=radio] .social-access-panel {
  --social-accent-rgb:90,186,240;
  --social-light-rgb:195,232,255;
  --social-primary-ink:#123d60;
  --social-secondary-ink:#205a82;
  --social-focus:#2877a8;
 }
}
.radio-mini-player[hidden]{display:none!important}
.radio-mini-player{position:fixed;z-index:1900;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);box-sizing:border-box;display:flex;align-items:center;gap:10px;width:min(520px,calc(100% - 24px));min-height:62px;padding:8px 10px;border:1px solid #abdafa;border-radius:18px;background:rgba(245,251,255,.97);color:#153c63;box-shadow:0 10px 35px #15395b44;font-family:Manrope,Arial,sans-serif}
.radio-mini-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#d6efff;font-size:21px}
.radio-mini-info{display:flex;min-width:0;flex:1;align-items:flex-start;flex-direction:column;gap:3px;padding:0;border:0;background:transparent!important;color:inherit!important;text-align:left;cursor:pointer}
.radio-mini-info strong{font-size:13px;line-height:1.15}.radio-mini-info span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.2;opacity:.85}
.radio-mini-play,.radio-mini-stop,.radio-mini-close{flex:none;min-width:0;min-height:36px;padding:0 10px;border:1px solid #badcf4;border-radius:11px;background:#fff;color:#165280;cursor:pointer;font:700 12px Manrope,Arial,sans-serif}
.radio-mini-play{background:#168bce;color:white;border-color:#168bce}.radio-mini-player button:disabled{opacity:.45;cursor:default}.radio-mini-close{width:32px;padding:0;font-size:20px}
html[data-theme=dark] .radio-mini-player{background:rgba(12,31,62,.97);border-color:#396e9c;color:#eaf7ff;box-shadow:0 10px 35px #0009}
html[data-theme=dark] .radio-mini-icon{background:#1b456e}html[data-theme=dark] .radio-mini-stop,html[data-theme=dark] .radio-mini-close{background:#18395b;color:#eaf7ff;border-color:#42769d}
@media(max-width:420px){.radio-mini-player{gap:6px;padding:7px}.radio-mini-icon{flex-basis:34px;height:34px}.radio-mini-play,.radio-mini-stop{padding:0 8px}.radio-mini-info strong{font-size:12px}.radio-mini-info span{font-size:10px}.radio-mini-close{width:29px}}
/* Keep the message composer unobstructed while the mobile keyboard is open. */
body.chat-keyboard-open .radio-mini-player{display:none!important}
