#welcomeDialog { box-sizing:border-box; width:min(480px,calc(100% - 24px)); max-width:480px; height:auto; min-height:0; max-height:calc(100dvh - 32px); margin:auto; padding:28px 24px 16px; overflow-y:auto; overscroll-behavior:contain; border:2px solid #c9b77b; border-radius:24px; background:#fffdf5; color:#173e30; box-shadow:0 20px 80px #092a3266; font-family:inherit; text-align:left; }
#welcomeDialog::backdrop { background:#082c35b8; }
#welcomeDialog * { box-sizing:border-box; }
#welcomeDialog p { margin:10px 0; color:#234b3c; font-size:14px; line-height:1.75; }
#welcomeDialog .welcome-kicker { margin:0 38px 12px 0; font-size:12px; font-weight:800; letter-spacing:.05em; }
#welcomeDialog .welcome-close { position:absolute; top:8px; right:8px; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:#234b3c; font-size:30px; cursor:pointer; }
#welcomeDialog .welcome-progress { display:flex; gap:8px; font-size:12px; font-weight:700; }
#welcomeDialog .welcome-progress span { flex:1; padding:7px 8px; border-radius:8px; background:#edece2; color:#536658; }
#welcomeDialog .welcome-progress .current { background:#dcebdd; color:#164631; box-shadow:inset 0 -3px #2d7351; }
#welcomeDialog .welcome-icon { display:block; width:64px; height:64px; margin:20px 0 12px; border-radius:16px; }
#welcomeDialog h2 { margin:0 0 12px; color:#143e2e; font-size:27px; line-height:1.4; letter-spacing:.01em; }
#welcomeDialog .welcome-lead { font-weight:800; font-size:15px; }
#welcomeDialog .welcome-tip { margin:16px 0 10px; padding:14px; border-radius:12px; background:#edf4e7; color:#1b4830; }
#welcomeDialog .welcome-tip b { font-size:14px; }
#welcomeDialog .welcome-tip p { margin:6px 0 0; font-size:13px; }
#welcomeDialog .welcome-note { color:#526253; font-size:12px; line-height:1.7; }
#welcomeDialog button { font-family:inherit; touch-action:manipulation; }
#welcomeDialog .welcome-primary, #welcomeDialog .welcome-secondary, #welcomeDialog .welcome-skip { display:block; width:100%; min-height:44px; padding:12px; border-radius:12px; cursor:pointer; font-size:14px; font-weight:750; line-height:1.5; }
#welcomeDialog .welcome-primary { margin-top:18px; border:1px solid #1c5b3c; background:#1c5b3c; color:#fffdf5; }
#welcomeDialog .welcome-secondary { margin-top:10px; border:1px solid #b9cbb8; background:#fffdf5; color:#1c5b3c; }
#welcomeDialog .welcome-skip { margin-top:6px; border:0; background:transparent; color:#536253; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
#welcomeDialog [hidden] { display:none !important; }
#welcomeDialog button:focus-visible, #welcomeDialog select:focus-visible { outline:3px solid #9a721f; outline-offset:3px; }
#welcomeDialog .welcome-device { display:block; margin:16px 0 10px; color:#3e5745; font-size:12px; font-weight:700; }
#welcomeDialog select { width:100%; min-height:44px; margin-top:6px; padding:8px; border:1px solid #aabcaa; border-radius:8px; background:#fff; color:#173e30; font:inherit; font-size:16px; }
#welcomeDialog .welcome-steps { margin:12px 0; padding-left:24px; color:#234b3c; font-size:14px; line-height:1.8; }
#welcomeDialog .welcome-steps li { margin:10px 0; padding-left:3px; }
@media (max-width:360px), (max-height:700px) { #welcomeDialog { padding:20px 18px 12px; } #welcomeDialog .welcome-icon { width:48px; height:48px; margin:12px 0 8px; } #welcomeDialog h2 { font-size:23px; } }
#welcomeDialog #welcomeTitle:focus { outline:none; }
