/* The mobile entry is one viewport: navigation, artwork, then footer links. */
@media(max-width:760px){
 html[data-current-page=welcome]{height:100%;overflow-x:clip;overflow-y:auto}
 html[data-current-page=welcome] body[data-palette]{height:100dvh;min-height:0;overflow:visible;padding:0!important}
 html[data-current-page=welcome] body[data-palette] #main{
  display:flex;flex-direction:column;gap:8px;width:100%;height:100svh;height:100dvh;min-height:0;max-height:none;
  padding:max(8px,env(safe-area-inset-top)) 12px max(8px,env(safe-area-inset-bottom))!important;overflow:visible;
 }
 html[data-current-page=welcome] body[data-palette] #main>header{
  position:relative;flex:0 0 44px;height:44px!important;min-height:44px!important;margin:0;padding:0!important;align-items:center;z-index:2;
 }
 html[data-current-page=welcome] body[data-palette] #main>header #theme{width:44px;min-width:44px;height:44px;min-height:44px;margin:0}
 html[data-current-page=welcome] body[data-palette] #welcome{flex:1 1 0;min-height:min-content;height:auto;margin:0;padding:0;overflow:visible;isolation:isolate}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-stage{min-height:0;height:100%;padding:20px;align-items:flex-end}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card{width:100%;max-width:none}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card-top{margin-bottom:12px;font-size:11px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-logo{width:190px;max-width:80%;margin:0 0 16px}
 html[data-current-page=welcome] body[data-palette] #welcome h1{font-size:clamp(25px,7vw,32px);line-height:1.12;margin:0 0 12px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-description{font-size:14px;line-height:1.45;margin:0 0 16px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-enter{min-height:44px;padding:10px 20px}
 html[data-current-page=welcome] body[data-palette] #main>footer{flex:none;margin:0;padding:0;gap:0}
 html[data-current-page=welcome] body[data-palette] #main>footer>span{display:none}
}
@media(max-width:760px) and (max-height:640px){
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-stage{padding:16px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card-top{margin-bottom:8px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-logo{width:160px;margin-bottom:10px}
 html[data-current-page=welcome] body[data-palette] #welcome h1{font-size:25px;margin-bottom:10px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-description{font-size:13px;margin-bottom:12px}
}
@media(max-width:760px) and (max-height:440px){
 html[data-current-page=welcome] body[data-palette] #main{gap:5px;padding-block:5px!important}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-stage{padding:12px 18px;align-items:center}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card{width:100%;max-width:430px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card-top{display:none}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-logo{width:140px;margin-bottom:8px}
 html[data-current-page=welcome] body[data-palette] #welcome h1{font-size:22px;margin-bottom:8px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-description{font-size:12px;line-height:1.3;margin-bottom:10px}
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-backdrop::after{background:linear-gradient(90deg,#06111fee,#06111fbb 60%,#06111f33)}
}
@media(min-width:480px) and (max-width:760px) and (max-height:440px){
 html[data-current-page=welcome] body[data-palette] #welcome .welcome-card{width:60%}
}
