/* Six equal slots fit the existing mobile character selection window. */
html[data-client=mobile] #char-select-screen .char-select-container{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;box-sizing:border-box}
html[data-client=mobile] #char-select-screen .char-select-header{flex:0 0 auto;margin-bottom:8px;align-items:center}
html[data-client=mobile] #char-select-screen #char-grid{flex:1 1 0;min-height:0;width:100%;margin-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
html[data-client=mobile] #char-select-screen #char-grid>.char-sel-slot{height:100%!important;min-height:0;min-width:0;box-sizing:border-box;padding-bottom:0!important;margin:0;overflow:hidden}
html[data-client=mobile] #char-select-screen #char-grid>.char-page-padding{visibility:hidden;pointer-events:none}
html[data-client=mobile] #char-select-screen .char-pagination{flex:0 0 auto;margin-top:8px;gap:12px;flex-wrap:nowrap}
html[data-client=mobile] #char-select-screen .char-pagination button{min-height:44px;padding:6px 14px}
html[data-client=mobile] #char-select-screen .char-sel-slot.empty>div:last-child{margin-top:6px!important;font-size:11px!important;letter-spacing:0!important}
html[data-client=mobile] #char-select-screen .char-sel-slot.empty .plus-btn{width:36px;height:36px;flex-shrink:0}
html[data-client=mobile] #char-select-screen .char-sel-slot .avatar-wrapper{top:28px!important;bottom:32px!important;min-height:0}
html[data-client=mobile] #char-select-screen .char-sel-slot .name-bar{font-size:10px!important;padding:3px 0!important;gap:3px}
html[data-client=mobile] #char-select-screen .char-sel-slot .mobile-character-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(orientation:landscape){html[data-client=mobile] #char-select-screen #char-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))}html[data-client=mobile] #char-select-screen .char-select-header{margin-bottom:4px;padding-bottom:4px}html[data-client=mobile] #char-select-screen .char-select-header-title{font-size:18px}html[data-client=mobile] #char-select-screen .char-pagination{margin-top:4px}}
