/* Shared full-screen pages and a single permanent bottom navigation, e5/e6. */
body.gc55-nav-ready{--gc55-nav-space:calc(78px + env(safe-area-inset-bottom,0px));--gc55-page-bg:radial-gradient(ellipse at 60% 0%,#12465e,#061e34 43%,#04182a 88%)}
html body.gc55-nav-ready #startOverlay .gc31-bottom,html body.gc55-nav-ready[data-gc55-page=ranking] #gc43Ranking .gc43-nav,html body.gc55-nav-ready[data-gc55-page=ranking] #gc43Close{display:none!important}
#gc55MainNav[hidden]{display:none!important}
#gc55MainNav{position:fixed;z-index:525;bottom:max(7px,env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(760px,calc(100% - 20px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;border:1px solid #558db9;border-radius:20px;background:linear-gradient(#103b60,#071e37);box-shadow:0 6px 25px #0007;color:#fff}
#gc55MainNav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:0;min-height:51px;margin:0;padding:5px 1px;border:1px solid transparent;border-radius:14px;background:none;color:#fff;font:750 clamp(10px,2.9vw,13px)/1.15 system-ui,sans-serif;cursor:pointer;overflow-wrap:anywhere;text-align:center}
#gc55MainNav svg{width:24px;height:24px;fill:currentColor;flex-shrink:0}#gc55MainNav .gc55-nav-trophy{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#gc55MainNav button[aria-current=page]{border-color:#78edff;background:linear-gradient(#06aaf2,#0561b8 50%,#073675);box-shadow:inset 0 0 9px #42caff80,0 0 6px #0bd4ff77}#gc55MainNav button:focus-visible{outline:2px solid #ffe4a3;outline-offset:-2px}
body.gc55-nav-ready[data-gc55-page=ranking] #gc43Ranking .gc43-shell{height:calc(100dvh - var(--gc55-nav-space));padding-bottom:0}
body.gc55-nav-ready #gc43Ranking .gc43-logo{max-width:65%}
/* Full opaque surfaces: no underlying home content or modal framing. */
html body.gc55-nav-ready #statsOverlay.gc55-fullpage:not([hidden]),html body.gc55-nav-ready #gc260Social.gc55-fullpage:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:stretch!important;justify-content:center!important;box-sizing:border-box!important;padding:0 10px var(--gc55-nav-space)!important;background:var(--gc55-page-bg)!important;backdrop-filter:none!important;overflow:hidden!important}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .stats-dialog,html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-panel{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:min(100%,760px)!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:12px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .stats-dialog{overflow:auto!important;scrollbar-width:thin;scrollbar-color:#397e92 transparent;gap:0!important}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage :is(.stats-modal-handle,#closeStatsBtn,.gc91-profile-shortcuts){display:none!important}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .stats-modal-head{margin:0 0 10px!important;padding:0!important;border:0!important;flex-shrink:0;display:flex!important}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage :is(.gc91-profile-hero,.gc55-tabs){flex-shrink:0!important;width:100%;box-sizing:border-box}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .gc86-stats-scroll{display:block!important;overflow:visible!important;height:auto!important;max-height:none!important;min-height:auto!important;padding:0 0 8px!important;flex:0 0 auto!important}
.gc55-friends-brand{display:none}html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc55-friends-brand{display:block;flex-shrink:0;margin:0 0 10px}
.gc55-friends-brand button{border:0;background:transparent;padding:0;cursor:pointer;display:flex}.gc55-friends-brand img{width:clamp(120px,43vw,210px);height:auto;object-fit:contain}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-head{flex-shrink:0;min-height:110px;border:1px solid #50d7e5!important;border-radius:17px!important;padding:13px!important}
html body.gc55-nav-ready #gc260Social.gc55-fullpage:not([data-community-view=profile]) #gc260Close{display:none!important}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-panel .gc260-tabs:not([hidden]){display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr) minmax(0,1fr)!important;flex-shrink:0;gap:6px!important;padding:9px 0!important;margin:0!important;border:0!important;background:transparent!important}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-tabs button{min-width:0;font-size:clamp(10px,2.9vw,14px)!important;overflow-wrap:anywhere!important;min-height:45px;padding:6px 3px!important}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-content{flex:1;min-height:0;height:auto!important;max-height:none!important;overflow:auto!important;padding:4px 0 10px!important;scrollbar-width:thin;scrollbar-color:#397e92 transparent;touch-action:pan-y}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-panel{overflow:hidden!important}
@media(min-width:650px){#gc55MainNav button{flex-direction:row;font-size:15px;gap:7px}html body.gc55-nav-ready #statsOverlay.gc55-fullpage:not([hidden]),html body.gc55-nav-ready #gc260Social.gc55-fullpage:not([hidden]){padding-inline:18px!important}}
@media(min-width:1080px) and (hover:hover) and (pointer:fine){html body.gc55-nav-ready #startOverlay .gc16-home.gch-integrated{padding-bottom:var(--gc55-nav-space)!important}html body.gc55-nav-ready #startOverlay .gc34-home-information{padding-bottom:var(--gc55-nav-space)!important}}
[data-theme=light] body.gc55-nav-ready{--gc55-page-bg:linear-gradient(#e9f5fc,#d6e8f2)}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .gc86-stats-scroll{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px!important;align-content:start}
html body.gc55-nav-ready #statsOverlay.gc55-fullpage .stats-modal-head{position:relative!important;top:auto!important}
html body.gc55-nav-ready #gc260Social.gc55-fullpage .gc260-head .gc260-heading-copy{max-width:100%}
body.gc55-nav-ready[data-theme=light]{--gc55-page-bg:linear-gradient(#e9f5fc,#d6e8f2)}
