.pwa-card .pwa-heading{display:flex;align-items:center;gap:14px}.pwa-heading>img{width:48px;height:48px;border-radius:16px;flex-shrink:0}.pwa-heading h3{margin:0 0 5px}.pwa-heading p{margin:0}.pwa-card>button{margin-top:16px}.pwa-card [data-pwa-update]{margin-top:18px;border-top:1px solid var(--club-line,#d5e0ed);padding-top:18px}.pwa-card [data-pwa-update] button{min-height:46px}.pwa-card [data-pwa-message]:empty{display:none}.pwa-card details{margin-top:16px}.pwa-card summary{cursor:pointer;min-height:40px;align-content:center}.pwa-connectivity,.pwa-update-notice{position:fixed;z-index:22;left:50%;transform:translateX(-50%);bottom:24px;width:max-content;max-width:calc(100% - 32px);padding:12px 18px;border:1px solid var(--club-line,#d5e0ed);border-radius:18px;background:var(--surface,#fff);color:var(--text,#253b50);box-shadow:0 8px 26px #172b4420;font-size:13px;line-height:1.5}.pwa-update-notice{display:flex;align-items:center;gap:16px}.pwa-update-notice button{min-height:42px;padding:7px 13px;border-radius:12px}.pwa-connectivity:not([hidden])~.pwa-update-notice{bottom:100px}.pwa-connectivity[hidden],.pwa-update-notice[hidden],[data-pwa-update][hidden],[data-pwa-install][hidden]{display:none!important}body[data-screen=game] .pwa-connectivity{position:static;transform:none;width:auto;margin:12px auto;max-width:calc(100% - 24px);box-shadow:none;text-align:center}@media(max-width:650px){.pwa-connectivity,.pwa-update-notice{bottom:calc(82px + env(safe-area-inset-bottom));font-size:12px}.pwa-update-notice{gap:10px;flex-wrap:wrap}.pwa-card .pwa-heading{align-items:flex-start}}
.pwa-install-guide ol{padding-left:22px;margin:12px 0}.pwa-install-guide li{margin:12px 0;line-height:1.65}
/* Insets belong to the shell; internal navigation retains the same origin and
   manifest scope. Never emulate browser-chrome removal with negative offsets. */
@media(display-mode:standalone),(display-mode:fullscreen){
 body{padding-top:env(safe-area-inset-top)!important;padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important}
 body[data-screen=game]{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
 dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}
