body { background: #000; }
.pwa-startup { min-height: 100dvh; display: grid; place-content: center; text-align: center; }
.pwa-startup img { width: min(80vw, 360px); margin: auto; }
.pwa-startup p { color: #ddd; padding: 16px; }
.pwa-intro h1 { font-size: 1.8rem; margin-bottom: 10px; }
.pwa-intro p { color: #d7d7d0; line-height: 1.5; }
.native-app-links { padding: 14px 0; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.store-links a, .store-unavailable { display: inline-block; border: 1px solid #666; border-radius: 8px; padding: 10px 12px; color: #fff; background: #181818; }
.store-unavailable { color: #bbb; }
.native-app-shortcut { color: #ddd; font-size: .85rem; padding: 10px; text-align: center; background: transparent; border: 0; text-decoration: underline; }
.native-only-hint { border-left: 3px solid #8b8b8b; padding-left: 12px; color: #ccc; font-size: .85rem; }
.native-only-hint p { margin-bottom: 0; }
.native-only-hint .native-app-shortcut { padding: 8px 0; text-align: left; }
.native-app-dialog { position: fixed; inset: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid #666; border-radius: 16px; padding: 24px; background: #181818; color: #eee; box-shadow: 0 20px 80px #000; }
.native-app-dialog::backdrop { background: rgba(0,0,0,.75); }
.native-app-dialog h2 { padding-right: 30px; font-size: 1.35rem; }
.native-app-dialog p { line-height: 1.5; }
.native-app-dialog .dialog-close { position: absolute; top: 8px; right: 10px; }
.native-app-dialog .native-app-links { padding-bottom: 0; }
fieldset:disabled { opacity: .55; }
select:disabled, button:disabled { opacity: .55; cursor: not-allowed; }
#pwa-update:not([hidden]) { width: min(588px, calc(100% - 32px)); margin: 16px auto; padding: 16px; border: 1px solid #888; border-radius: 12px; background: #181818; color: #fff; }
#pwa-update button { display: block; margin-top: 8px; padding: 8px 14px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
