.pwa-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 0 0 16px; }
.pwa-tools button { font: inherit; font-size: 12px; color: var(--accent-secondary, #65d8e3); background: var(--bg-secondary, #090f15); border: 1px solid var(--border-color, #24323b); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.pwa-tools:has(> [hidden]:first-child + [hidden]:last-child) { display: none; }
.pwa-network { padding: 12px 16px; border: 1px solid #765c27; border-radius: 12px; background: #30291c; color: #ffdc8c; margin-bottom: 16px; font-size: 14px; }
.pwa-dialog { max-width: min(440px, calc(100vw - 40px)); border: 1px solid var(--border-color, #24323b); border-radius: 20px; background: var(--bg-card, #0e171e); color: var(--text-primary, #f3f0e7); padding: 24px; line-height: 1.6; }
.pwa-dialog::backdrop { background: #0009; }
.offline { margin: 0; background: #05090d; color: #f3f0e7; font-family: system-ui, sans-serif; line-height: 1.65; }
.offline main { max-width: 640px; margin: 40px auto; padding: 24px; }
.offline img { border-radius: 50%; vertical-align: middle; margin-right: 12px; }
.offline h1 { font-size: 24px; }
.offline a { color: #65d8e3; }
.offline .retry { display: inline-block; padding: 12px 20px; background: #91b9be; color: #10202b; border-radius: 12px; text-decoration: none; }
.offline details { border: 1px solid var(--border-color, #24323b); border-radius: 12px; padding: 14px; margin: 12px 0; }
.offline summary { cursor: pointer; font-weight: 600; }
.offline details p { white-space: pre-line; }
