/* Reuse the practice-language chevron without changing control boxes. */
select:not([multiple]):not([size]),select[size="1"]:not([multiple]){
 appearance:none;-webkit-appearance:none;
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m3%206%205%205%205-5%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
 background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;padding-right:32px;
}
html body.theme-dark select:not([multiple]):not([size]),html body.theme-dark select[size="1"]:not([multiple]){
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22m3%206%205%205%205-5%22%20fill%3D%22none%22%20stroke%3D%22%23e2e8f0%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E");
}
/* Theme background shorthands reset these; preserve existing box padding. */
html body select:not([multiple]):not([size]),html body select[size="1"]:not([multiple]){
 background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;
}
#realtimeLobbyRecommendLanguageSelect{height:38px;min-height:38px;box-sizing:border-box}
#realtimeSetupPassage472[hidden]{display:none!important}
/* Reserve the complete configuration layout while no language is selected. */
#realtimeSetupTextRow471.duel-language-pending575>:not(#realtimeLanguageMount470),
.realtime-duel-host-config-row.duel-language-pending575>:not(:first-child){visibility:hidden;pointer-events:none}
.duel-text-heading573{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;flex-wrap:wrap}
#realtimeTextLabel,#realtimeTextSortLabel{
 display:flex;align-items:center;min-height:32px;box-sizing:border-box;margin:0;
 padding:4px 6px;border:0;background:none;color:inherit;cursor:pointer;text-align:inherit;
 font:inherit!important;font-weight:700!important;white-space:nowrap;
}
.duel-text-heading573 .challenge-random-check{margin-left:auto;min-height:0;align-self:center}
#realtimeSetupPassage472.duel-text-control573{flex:2 1 328px}
#realtimeSetupPassage472 .duel-text-combo572{width:100%}
.modal.compact-dialog573{width:max-content;min-width:0;max-width:calc(100vw - 24px);box-sizing:border-box}
.compact-dialog573 h2{width:max-content;max-width:100%;overflow-wrap:anywhere}
.compact-dialog573 [role="status"]{max-width:0;min-width:100%;overflow-wrap:anywhere}
.compact-dialog573 [role="status"]:empty{display:none}
#realtimeJoinDialog572 .compact-dialog573{width:296px}
#realtimeJoinCodeInput{display:block;width:100%;min-width:0;box-sizing:border-box}
