.ponder-fullscreen-button {
  box-sizing:border-box; display:flex; align-items:center; justify-content:center;
  width:50px; height:50px; padding:8px; border:1px solid rgba(116,212,229,.35);
  border-radius:8px; background:rgba(3,12,22,.88); color:#c9f9ff;
  cursor:pointer; touch-action:manipulation; pointer-events:auto;
}
.ponder-fullscreen-button svg { width:100%;height:100%; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ponder-fullscreen-button:focus-visible { outline:2px solid #27e6f0;outline-offset:2px; }
#appHomeScreen #ponderFullscreenHome { position:absolute; right:max(.8%,env(safe-area-inset-right)); top:calc(min(87.4%, calc(100% - 37px)) + max(5.2%, 18px));bottom:auto;transform:translateY(-50%); width:4.2%;height:auto;aspect-ratio:1;padding:0;border-radius:15%;z-index:20; }
#appHomeScreen #ponderFullscreenHome svg { width:60%;height:60%; }
#ponderFullscreenTable { position:absolute;top:1.5%;right:calc(1.6% + clamp(40px,5.2%,56px) + 6px);width:clamp(40px,5.2%,56px);height:auto;min-height:50px;aspect-ratio:1;z-index:190; }
body.table-controls-left #ponderFullscreenTable {right:auto;left:calc(1.6% + clamp(40px,5.2%,56px) + 6px);}
@media(max-width:900px),(max-height:520px),(pointer:coarse){#ponderFullscreenTable{width:clamp(36px,5.8%,50px);right:calc(1.6% + clamp(36px,5.8%,50px) + 6px)}body.table-controls-left #ponderFullscreenTable{left:calc(1.6% + clamp(36px,5.8%,50px) + 6px)}}
body:not(.app-view-table) #ponderFullscreenTable,
#appHomeScreen:not(.active) #ponderFullscreenHome,
body.ponder-table-transitioning .ponder-fullscreen-button,
body.ponder-table-intro-active .ponder-fullscreen-button,
body.ponder-action-blocked #ponderFullscreenTable,
body.home-modal-open #ponderFullscreenHome { display:none; }
#ponderFullscreenNotice { position:fixed;left:50%;bottom:calc(52px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:min(85vw,480px);padding:10px 14px;border:1px solid #397b87;border-radius:6px;background:#07131e;color:#e5faff;font-size:12px;z-index:900;pointer-events:none; }
#ponderFullscreenNotice[hidden] { display:none; }
html.ponder-focus-mode, html.ponder-focus-mode body { margin:0!important; width:100%;height:100dvh;overflow:hidden!important; }
html.ponder-focus-mode #stage { max-width:100vw!important;max-height:100dvh!important; }
html:fullscreen { background:#02050b; }
