.io-pwa { width: min(600px,calc(100dvw - 24px)); max-height: calc(100dvh - 24px); padding: 28px; border: 1px solid #c9d9eb30; border-radius: 22px; color: #eff5fa; background: #16212c; box-shadow: 0 24px 100px #0006; font: 16px/1.6 Inter,system-ui,sans-serif; }
.io-pwa::backdrop { background: #0006; }
.io-pwa [hidden] { display: none !important; }
.io-pwa h2 { margin: 0; font-size: 26px; line-height: 1.3; }
.io-pwa header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.io-pwa p { margin: 16px 0; }
.io-pwa button { font: 600 16px/1.4 Inter,system-ui,sans-serif; color: #edf5fb; background: #253746; border: 1px solid #a4c0d040; border-radius: 11px; padding: 12px 16px; min-height: 46px; cursor: pointer; }
.io-pwa button:disabled { opacity: .55; cursor: default; }
.io-pwa button:focus-visible { outline: 2px solid #91cfff; outline-offset: 3px; }
.io-pwa .pwa-primary { color: #102030; background: #b7def7; }
.io-pwa .pwa-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.io-pwa .pwa-note { font-size: 11pt; color: #bfccd8; }
.io-pwa .pwa-storage { padding: 15px; border-radius: 12px; background: #07121c50; }
.io-pwa progress { width: 100%; height: 14px; accent-color: #91cfff; }
.io-pwa .pwa-error { color: #ffd2cb; }
.io-pwa .pwa-close { padding: 10px 15px; }
.pwa-offline-page { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 28px; box-sizing: border-box; background: #111820; color: #eff5fa; font: 18px/1.7 system-ui,sans-serif; }
.pwa-offline-page main { max-width: 700px; }
.pwa-offline-page h1 { font-size: clamp(28px,6vw,48px); }
.pwa-offline-page nav { display: flex; flex-wrap: wrap; gap: 14px; }
.pwa-offline-page a { padding: 10px 16px; border: 1px solid #91cfff60; border-radius: 10px; color: #b7def7; }
@media (max-width: 600px) { .io-pwa { padding: 22px; } .io-pwa .pwa-actions button { flex: 1 1 160px; } }
