/* Dexider Studios layout fixes. Button styling moved to /glass-buttons.css (Nov 4, 2026). */
/* ---- Header on tablets (768–1099px): use the menu button, so the nine links never wrap or run off screen ---- */
@media(min-width:768px) and (max-width:1099px){
 header .menu{display:flex!important;position:absolute;right:4%;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;padding:11px;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%;color:#f5f5f7;align-items:center;justify-content:center;-webkit-backdrop-filter:none;backdrop-filter:none}
 header .menu:before,header .menu:after{display:none}
 header .menu-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 header .menu-lines{display:flex;flex-direction:column;gap:6px;width:20px}
 header .menu-lines i{display:block;height:1.5px;width:20px;background:currentColor;border-radius:2px;transition:transform .2s ease}
 header .menu[aria-expanded="true"] .menu-lines i:first-child{transform:translateY(3.75px) rotate(45deg)}
 header .menu[aria-expanded="true"] .menu-lines i:last-child{transform:translateY(-3.75px) rotate(-45deg)}
 header nav{display:none!important;position:absolute;top:100%;left:0;right:0;z-index:21;flex-direction:column;align-items:stretch;gap:22px;margin:0;padding:26px 8% 30px;background:rgba(9,10,12,.97);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-top:1px solid #ffffff10;border-bottom:1px solid #ffffff15;box-shadow:0 18px 40px #0006}
 header nav.open{display:flex!important;opacity:1;visibility:visible}
 header nav a{font-size:16px;white-space:nowrap}
 header nav .button{width:100%;justify-content:center;min-height:44px}
 header .account-badge{right:calc(4% + 56px)!important}
}

/* ---- Phones and tablets: once scrolled, the see-through header is frosted enough that page text never shows through the logo ---- */
@media(max-width:1099px){header.is-scrolled{background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),rgba(9,10,12,.78)!important;-webkit-backdrop-filter:blur(24px) saturate(160%)!important;backdrop-filter:blur(24px) saturate(160%)!important}}

/* ---- Phones: stack the home intro (text, buttons, then device) instead of squeezing two columns ---- */
@media(max-width:767px){
 .depth-hero{display:flex!important;flex-direction:column!important;align-items:stretch}
 .depth-hero .hero-art.device-showcase{width:100%!important;max-width:420px;margin:8px auto 0;align-self:center}
 .depth-hero .actions{flex-wrap:wrap}
 /* Floating buttons: back-to-top moves to the left so it doesn't sit on centered text; chat shows just its icon */
 .back-to-top-badge{left:calc(16px + env(safe-area-inset-left,0px))!important;translate:none!important;width:44px;height:44px;min-width:44px}
 .studio-chat-launcher{width:52px!important;min-width:52px!important;height:52px!important;padding:0!important;border-radius:50%!important}
 .studio-chat-launcher .studio-chat-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}

/* ---- Promo bands: never wider than the screen on tablets and phones ---- */
@media(max-width:820px){body main section.gc-promo{margin-left:auto!important;margin-right:auto!important}}

/* Follow: icon-only brand logos in one row (Nov 3, 2026) */
.dx-follow.dx-follow-icons{flex-wrap:wrap;gap:14px 28px}
.dx-follow.dx-follow-icons>span{flex-basis:100%}
.dx-follow.dx-follow-icons a{display:inline-flex!important;padding:0!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important;transition:transform .2s ease!important}
.dx-follow.dx-follow-icons a:hover,.dx-follow.dx-follow-icons a:focus-visible{transform:translateY(-2px) scale(1.06)!important;box-shadow:none!important}
.dx-follow.dx-follow-icons a:focus-visible{outline:2px solid #99a0a9;outline-offset:4px}
.dx-follow .dx-social-logo{width:44px;height:44px;flex:0 0 44px;display:block;object-fit:contain}
@media (prefers-reduced-motion:reduce){.dx-follow.dx-follow-icons a,.dx-follow.dx-follow-icons a:hover{transition:none!important;transform:none!important}}
