#welcomeDialog {
  color:#eee7da; background:#131411; border:1px solid #665941; border-radius:14px;
  padding:0; width:min(480px,calc(100vw - 24px)); max-width:calc(100vw - 24px);
  max-height:calc(100dvh - 28px); overflow:hidden; box-shadow:0 24px 90px #000b;
  font:inherit; line-height:1.75;
}
#welcomeDialog[open] { display:flex; flex-direction:column; }
#welcomeDialog::backdrop { background:rgba(0,0,0,.84); backdrop-filter:blur(5px); }
#welcomeDialog [hidden] { display:none!important; }
#welcomeDialog button,#welcomeDialog select,#welcomeDialog a { touch-action:manipulation; }
.welcome-top {
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex:none;
  padding:12px 22px; border-bottom:1px solid #38392f; color:#b9ac95; font-size:12px; letter-spacing:.08em;
}
#welcomeBody { padding:0 22px 16px; min-height:0; overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y; }
#welcomeClose { border:1px solid #49483d; background:#20211c; color:#eee7da; border-radius:50%; width:44px; height:44px; flex-shrink:0; font-size:27px; cursor:pointer; }
#welcomeDialog h2 { font-size:25px; line-height:1.4; letter-spacing:.01em; margin:5px 0 14px; }
#welcomeDialog p { margin:0; text-wrap:pretty; line-break:strict; }
.welcome-phrase { display:inline-block; max-width:100%; }
.welcome-kicker { color:#c6ac78; font-size:12px; margin-top:16px!important; }
.welcome-lead { font-size:15px; color:#d3ccbf; }
.welcome-benefits { margin:18px 0; border-top:1px solid #38392f; }
.welcome-benefits>div { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid #38392f; }
.welcome-benefits>div>span { font-size:12px; color:#d4b67a; padding-top:2px; }
.welcome-benefits p { min-width:0; font-size:14px; color:#c8c2b7; }
.welcome-benefits strong { display:inline-block; color:#f1e7d3; font-size:15px; margin-bottom:3px; }
#welcomeDialog .welcome-note { font-size:13px; color:#bbb6a9; line-height:1.75; margin:12px 0; }
#welcomeDialog .welcome-primary,#welcomeDialog .welcome-secondary {
  display:block; width:100%; min-height:46px; white-space:normal; border-radius:12px; margin-top:10px; font:inherit; font-size:14px;
}
#welcomeDialog .welcome-primary { background:#d1b17a; color:#17150f; border-color:#d1b17a; }
#welcomeSkip { display:block; margin:14px auto 0; padding:10px 16px; min-height:44px; background:transparent; border:0; color:#bcb6a7; text-decoration:underline; text-underline-offset:4px; font:inherit; font-size:13px; cursor:pointer; }
.welcome-app { display:flex; align-items:center; gap:14px; margin:16px 0; }
.welcome-app img { flex:none; border-radius:12px; border:1px solid #605039; }
.welcome-app p { font-size:13px; color:#bbb5a9; }
.welcome-app strong { font-size:17px; letter-spacing:.15em; color:#e7d6b5; }
#welcomeDevice { width:100%; background:#1d1e19; border:1px solid #65573c; color:#eee7da; padding:10px; border-radius:8px; font:inherit; font-size:14px; margin:5px 0; }
#welcomeInstallHow label { font-size:13px; color:#c2b99f; }
#welcomeInstructions { padding-left:24px; margin:10px 0; font-size:14px; line-break:strict; text-wrap:pretty; }
#welcomeInstructions li { margin:9px 0; padding-left:3px; }
#welcomeHelp { font-size:13px; color:#d5bd8b; }
#welcomeLoginNote { padding:12px; background:#252219; color:#e5d3ac; border-radius:8px; font-size:13px; }
#welcomeDialog :focus-visible { outline:2px solid #e1c083; outline-offset:3px; }
#welcomeDialog h2:focus-visible { outline:none; }
@media(max-width:360px) {
  .welcome-top { padding:10px 16px; }
  #welcomeBody { padding:0 16px 14px; }
  #welcomeDialog h2 { font-size:22px; }
}
