/* Keep the native focused input in its original DOM node above the keyboard. */
.game.auth-open .install-offer{display:none!important}
.game[data-keyboard-open=true] .install-offer{display:none!important}
.auth-editor-tools{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;flex:none;margin-bottom:4px}
.auth-editor-tools>span{text-align:center;color:#e8d7b5;font:16px/1.2 Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game .auth-editor-tools button{min-width:76px;min-height:48px;padding:8px 12px;border:1px solid #607d8f;border-radius:6px;background:#132735;color:#eaf1f4;font:15px Arial,sans-serif;touch-action:manipulation}
.auth[data-editing=true]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#07111dfc}
.auth[data-editing=true]::before{display:none}
.auth[data-editing=true] .auth-header,.auth[data-editing=true] .auth-footer,.auth[data-editing=true] .auth-tabs,.auth[data-editing=true] .auth-heading,.auth[data-editing=true] .auth-remember,.auth[data-editing=true] .auth-actions{display:none!important}
.auth[data-editing=true] .auth-content{width:min(700px,100%);height:100%;padding:0;align-items:flex-start}
.auth[data-editing=true] .auth-panel{height:100%;width:100%;padding:0;border:0;background:none;filter:none}
.auth[data-editing=true] #auth-form{flex:1;min-height:0;padding:0;scrollbar-gutter:auto;overflow-y:auto}
.auth[data-editing=true] .auth-field:not([data-active=true]){display:none}
.auth[data-editing=true] .auth-field{gap:4px}
.auth[data-editing=true] .auth-field>label,.auth[data-editing=true] .field-hint{display:none}
.auth[data-editing=true] .auth-fields{display:block}
.auth[data-editing=true] .auth-field input{min-height:48px;font:18px/24px Arial,sans-serif;border-width:5px;padding:5px 10px;filter:none;scroll-margin:0}
.auth[data-editing=true] .password-input input{padding-right:52px}
.auth[data-editing=true] .password-input>.icon-button{top:0;right:2px;min-width:48px;min-height:48px}
.auth[data-editing=true] .field-error{font:13px/1.25 Arial,sans-serif;margin:0}
.game[data-keyboard-tight=true] .auth[data-editing=true] .auth-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
.game[data-keyboard-tight=true] .auth[data-editing=true] .auth-editor-tools{display:contents}
.game[data-keyboard-tight=true] .auth[data-editing=true] .auth-editor-tools>span{display:none}
.game[data-keyboard-tight=true] #auth-editor-back{grid-column:1;grid-row:1}
.game[data-keyboard-tight=true] #auth-editor-next{grid-column:3;grid-row:1}
.game[data-keyboard-tight=true] .auth[data-editing=true] #auth-form{grid-column:2;grid-row:1;width:100%;max-height:100%}
@media(orientation:landscape) and (max-height:500px){
  .auth:not([data-editing=true]) .auth-panel{padding:8px 14px;border-width:10px}
  .auth:not([data-editing=true]) .auth-tabs{margin-bottom:8px}
  .auth:not([data-editing=true]) .auth-tabs button{min-height:40px}
  .auth:not([data-editing=true]) .auth-fields{gap:8px}
  .auth:not([data-editing=true]) .auth-field{gap:4px}
  .auth:not([data-editing=true]) .auth-field>label{font-size:16px;line-height:20px}
  .auth:not([data-editing=true]) .auth-field .field-hint{font-size:11px;line-height:14px}
}
#wow-chat-composer{display:none;position:fixed;z-index:26;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));height:60px;padding:4px;gap:6px;align-items:center;background:#071421f5;border:1px solid #607d8f;border-radius:8px;box-sizing:border-box}
html[data-input-mode=touch] #wow-chat-composer.on{display:flex}
.game #wow-chat-composer #wow-text{position:static!important;flex:1;min-width:0;width:0!important;height:48px;margin:0;padding:8px 10px!important;opacity:1;pointer-events:auto;box-sizing:border-box;font:18px Arial,sans-serif}
.game #wow-chat-composer button{min-width:48px;min-height:48px;flex:none;padding:6px 10px;border:1px solid #536f82;border-radius:6px;background:#163047;color:#edf5f7;font:15px Arial,sans-serif}
.game[data-keyboard-open=true] #game-fullscreen{display:none}
