/* PitchPlay dashboard as an installed app (PWA): install button + desktop window-controls overlay title bar */
.pwa-install{width:100%;margin-bottom:8px}
.pwa-titlebar{display:none}
@media (display-mode: window-controls-overlay){
  .pwa-titlebar{display:flex;align-items:center;gap:8px;position:fixed;left:env(titlebar-area-x,0);top:env(titlebar-area-y,0);width:env(titlebar-area-width,100%);height:env(titlebar-area-height,33px);
    padding:0 12px;box-sizing:border-box;z-index:80;background:#04101f;border-bottom:1px solid rgba(255,255,255,.08);color:#c3d4e4;font-size:12.5px;font-weight:600;-webkit-app-region:drag;app-region:drag;user-select:none}
  .pwa-titlebar img{width:16px;height:16px;border-radius:4px}.pwa-titlebar small{color:#9fb2c7;font-weight:500}
  .pwa-titlebar button,.pwa-titlebar a{-webkit-app-region:no-drag;app-region:no-drag}
  body{padding-top:env(titlebar-area-height,33px)}
  .side{top:env(titlebar-area-height,33px);height:calc(100vh - env(titlebar-area-height,33px));height:calc(100dvh - env(titlebar-area-height,33px))}
  .modal{top:env(titlebar-area-height,33px)}
  .cal-side{top:calc(env(titlebar-area-height,33px) + 12px)}
}
@media (display-mode: standalone),(display-mode: window-controls-overlay){ .pwa-install{display:none!important} }
