.ys-pwa-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; color: #17233d; background: white; border: 1px solid #e1e6ee; border-radius: 10px; box-shadow: 0 12px 40px #17233d26; }
html .mobile-header-menu { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.ys-pwa-dialog::backdrop { background: #17233d66; }
.ys-pwa-guide { padding: 24px; font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
.ys-pwa-guide * { box-sizing: border-box; }
.ys-pwa-brand { display: flex; align-items: center; gap: 14px; }
.ys-pwa-brand img { flex: none; border-radius: 10px; }
.ys-pwa-brand h1 { margin: 0 0 4px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.ys-pwa-brand p, .ys-pwa-note, .ys-pwa-status, .ys-pwa-link { color: #667085; }
.ys-pwa-brand p { margin: 0; font-size: 13px; }
.ys-pwa-note { padding: 12px 0; border-bottom: 1px solid #e8edf5; }
.ys-pwa-guide ol { padding-left: 23px; margin: 16px 0; }
.ys-pwa-guide li { padding: 4px 0 4px 3px; }
.ys-pwa-status { min-height: 23px; }
.ys-pwa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ys-pwa-actions button, .ys-pwa-actions a { min-height: 44px; padding: 10px 16px; border: 1px solid #1677ff; border-radius: 6px; background: #1677ff; color: white; font: inherit; text-decoration: none; cursor: pointer; }
.ys-pwa-actions a, .ys-pwa-actions .ys-pwa-secondary { color: #344054; border-color: #d0d5dd; background: white; }
.ys-pwa-actions button:hover { filter: brightness(.96); }
.ys-pwa-actions button:disabled { opacity: .6; cursor: wait; }
.ys-pwa-guide [hidden] { display: none !important; }
.ys-pwa-guide :focus-visible { outline: 3px solid #1677ff; outline-offset: 3px; }
.ys-pwa-link { margin: 18px 0 0; font-size: 13px; }
.ys-pwa-link a { color: #1677ff; }
@media(max-width: 360px) { .ys-pwa-guide { padding: 20px 16px; } .ys-pwa-brand h1 { font-size: 17px; } }
