/* App-level styles. The shared party theme lives in GameNight.Framework/wwwroot/gamenight.css. */
h1:focus { outline: none; }

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    padding: .8rem 1.25rem; background: #ff5d73; color: #fff; font-weight: 800;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .6rem; }
#blazor-error-ui .reload { color: #fff; }

/* Opened from a phone's home screen, so there's no address bar or Back button. */
.web-app-only { display: none; }
@media (display-mode: standalone) {
    .web-app-only { display: inline-grid; place-items: center; min-height: 44px; padding: 0 12px; }
    /* Clear of the notch when it's sideways. Pages with these two handle it themselves. */
    body:not(:has(.gn-phone, .gn-host)) { padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}
