.mobile-bottom{display:none}
@media (width < 768px) {
 body:has(.mobile-bottom){padding-bottom:calc(62px + env(safe-area-inset-bottom))}
 .mobile-bottom{position:fixed;inset:auto 0 0;z-index:6;background:linear-gradient(0deg,#101112 86%,#10111200);height:calc(60px + env(safe-area-inset-bottom));padding:4px 4px calc(4px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);align-items:center}
 .mobile-bottom a{display:grid;place-items:center;align-content:center;gap:1px;font:500 10px/1.2 Arial;color:#999;text-decoration:none}
 .mobile-bottom a>span{font-size:21px;line-height:24px}
 .mobile-bottom a[aria-current=page]{color:white}
 .mobile-bottom a[aria-label=Generate]{margin:auto;background:#d9fa39;color:#16190b;width:min(66px,17vw);height:42px;border-radius:12px}
}
.mobile-gate{display:none}
@media (width < 768px) {
 body:has(>.mobile-gate){display:block;background:#131415}
 body:has(>.mobile-gate)>:is(main,aside){display:none}
 body:has(>.mobile-gate)>.mobile-gate{display:grid;place-content:center;justify-items:center;padding:20px;text-align:center;min-height:calc(100svh - 114px)}
 .mobile-gate h1{max-width:200px;color:#fafafa;text-transform:uppercase;font:700 28px/1.15 Arial;letter-spacing:-1px;transform:none;text-shadow:none;margin:0}
 .mobile-gate p{max-width:340px;margin:18px 0 24px;color:#999;font:16px/1.5 Arial}
 .mobile-gate button{background:transparent;cursor:pointer;padding:9px 14px;border:1px solid #353637;border-radius:9px;color:white;text-decoration:none}
}
@media(max-width:720px){
 body:has(.mobile-bottom)>header .asset-link{display:none}
 body:has(.mobile-bottom)>header .start{background:transparent;color:#ddd;font-size:20px;min-width:32px;padding:0}
 body:has(.mobile-bottom)>header .price{background:#222325;color:#eee}
}

@media(max-width:720px){
 body:has(.edit-main:not(.upscale),.workspace)>header .start{background:#dfff1a;color:#111;font-size:14px;font-weight:600;padding:0 11px}
 body:has(.edit-main:not(.upscale)) .mobile-gate h1{line-height:36px}
 body:has(.edit-main:not(.upscale)) .mobile-gate p{max-width:358px;margin:16px 0 24px}
}
