/* Signup only: keep consent content intact and the primary action in view. */
body:has(#accountWelcome070:not([hidden]) [data-signup-step]) #rotate{display:none!important}
#accountWelcome070:has([data-signup-step]){padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
#accountWelcome070:has([data-signup-step]) .account-entry-card070{max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));gap:8px;padding:16px}
#accountWelcome070:has([data-signup-step]) .account-legal070{gap:8px;line-height:1.5}
#accountWelcome070:has([data-signup-step]) .account-actions070{gap:4px 16px}
#accountWelcome070 [data-signup-step=consent]{grid-template-columns:repeat(2,minmax(0,1fr))}
#accountWelcome070 [data-signup-step=consent]>*{grid-column:1/-1}
#accountWelcome070 [data-signup-step=consent]>button{grid-column:auto}
#accountWelcome070 [data-signup-step=consent]>button:only-of-type{grid-column:1/-1}
#accountWelcome070 .signup-consent-row input{width:20px;height:20px;min-width:20px;margin:0}
@media(max-width:479px){
 #accountWelcome070:has([data-signup-step]) .account-entry-card070{position:relative;padding:10px;gap:4px}
 #accountWelcome070:has([data-signup-step]) .account-intro070{text-align:left;padding-right:70px}
 #accountWelcome070:has([data-signup-step]) .account-intro070 p{display:none}
 #accountWelcome070:has([data-signup-step]) .account-intro070 h1{font-size:20px;margin:4px 0}
 #accountWelcome070:has([data-signup-step]) .account-entry-card070>nav[aria-label]{position:absolute;right:10px;top:10px}
 #accountWelcome070:has([data-signup-step]) .account-legal070{padding:8px;gap:4px;line-height:1.4}
 #accountWelcome070 [data-signup-step=consent]>small,#accountWelcome070 [data-signup-step=consent]>.signup-legal-hint{display:none}
 #accountWelcome070 .signup-required-consents{gap:0}
 #accountWelcome070 .signup-optional-note{padding-top:4px}
 #accountWelcome070 .signup-optional-note p{font-size:12px;line-height:1.4}
 #accountWelcome070 .signup-age-adjust{gap:6px}
 #accountWelcome070 .signup-age-adjust button{width:44px;flex:none}
 #accountWelcome070 .signup-age-adjust output{min-width:0;font-size:18px;flex:1}
 #accountWelcome070:has([data-signup-step]) .account-actions070{font-size:12px}
 #accountWelcome070:has([data-signup-step]) .language-asia4{margin-top:0;padding-top:4px}
 #accountWelcome070:has([data-signup-step]) .language-asia4 label{display:flex;gap:8px;align-items:center;min-width:0;width:100%;font-size:12px}
 #accountWelcome070:has([data-signup-step]) .language-asia4 select{flex:1;min-width:0;max-width:100%;width:auto;min-height:44px}
 #accountWelcome070:has([data-signup-step]) .language-status-asia4:empty{display:none}
}
@media(min-width:480px) and (max-height:500px){
 #accountWelcome070:has([data-signup-step]) .account-entry-card070{width:min(100%,820px);display:grid;grid-template-columns:clamp(104px,22vw,128px) minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:12px;row-gap:4px;padding:10px;align-items:start}
 #accountWelcome070:has([data-signup-step]) .account-intro070{display:block;grid-column:1;grid-row:1;text-align:left}
 #accountWelcome070:has([data-signup-step]) .account-intro070 h1{font-size:20px;margin:4px 0;line-height:1.3}
 #accountWelcome070:has([data-signup-step]) .account-intro070 small{font-size:9px;letter-spacing:1px}
 #accountWelcome070:has([data-signup-step]) .account-intro070 p{display:none}
 #accountWelcome070:has([data-signup-step]) .account-entry-card070>nav[aria-label]{grid-column:1;grid-row:2;justify-content:start}
 #accountWelcome070:has([data-signup-step]) .account-entry-card070>nav:not([aria-label]){grid-column:1;grid-row:3;display:flex;flex-direction:column;align-items:start;gap:0;font-size:12px}
 #accountWelcome070:has([data-signup-step]) .account-entry-card070>.language-asia4{grid-column:1;grid-row:4;min-width:0;max-width:100%;display:flex;flex-wrap:wrap;gap:2px;align-self:start}
 #accountWelcome070:has([data-signup-step]) .language-asia4 label{width:100%;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:stretch}
 #accountWelcome070:has([data-signup-step]) .language-asia4 select{max-width:100%;min-width:0;width:100%;min-height:36px;box-sizing:border-box}
 #accountWelcome070:has([data-signup-step]) .account-legal070{grid-column:2;grid-row:1/6;gap:4px;padding:8px;align-self:stretch;align-content:center}
 #accountWelcome070:has([data-signup-step]) .account-legal070 h2{font-size:18px;line-height:1.3;margin:0}
 #accountWelcome070:has([data-signup-step]) .account-entry-card070>.account-status070:not(:empty){grid-column:1/-1;grid-row:6}
 #accountWelcome070 [data-signup-step=age] .account-age238{padding:6px;gap:2px}
 #accountWelcome070 .signup-age-adjust{gap:8px}
 #accountWelcome070 .signup-age-adjust output{min-width:0;font-size:20px}
 #accountWelcome070 .signup-required-consents{gap:0}
 #accountWelcome070 .signup-optional-note{padding-top:4px}
 #accountWelcome070 .signup-optional-note p{font-size:12px;line-height:1.4;margin-top:2px}
 #accountWelcome070 [data-signup-step=consent]>button{padding:6px;min-height:44px}
}
