.player-profile-button{white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.player-dialog{width:min(540px,calc(100% - 28px))}.player-dialog fieldset{margin:22px 0;padding:0;border:0}.player-dialog legend{font-size:13px;color:#b4c6d5;margin-bottom:12px}.player-avatar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.player-avatar{min-height:56px;border:1px solid #40576b;border-radius:9px;background:#0a1826;font-size:28px;cursor:pointer}.player-avatar[aria-pressed=true]{border:2px solid #c6f665;background:#263a29}.player-dialog p{font-size:13px;line-height:1.65}.player-dialog .player-warning{border-left:2px solid #c6f665;padding-left:12px;color:#d7e2eb}.player-storage-note{color:#94a9bd!important;font-size:11px!important}#playerProfileError{color:#ffc5b9;min-height:20px}.player-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.player-dialog-actions .er-button{flex:1}.player-chat-avatar{display:inline-flex;align-items:center;justify-content:center;font-size:17px;margin-right:5px}.input[readonly]{color:#c6f665;background:#0c1c29}.night-court .er-topbar{gap:32px}.night-court .er-topbar>.er-status{margin-left:auto}.night-court .er-topbar>.player-profile-button{font-size:12px;min-height:44px;padding:10px 14px}.night-court .er-hero-title{font-weight:850}@media(max-width:640px){.night-court .er-topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.night-court .er-topbar>.er-status{display:none}.night-court .player-profile-button{grid-column:2;grid-row:1;max-width:150px;font-size:11px;min-height:44px;padding:9px 10px}.night-court .er-nav{grid-row:2;grid-column:1/-1}.player-dialog{padding:27px 20px}.player-dialog h2{font-size:28px}.player-dialog .input{font-size:16px}.player-dialog-actions .er-button{min-height:48px}.player-profile-button{max-width:135px}}
.player-dialog{background:#102033;color:#eef5fb;border:1px solid #40576b;border-radius:14px;padding:30px;max-height:calc(100svh - 32px);overflow:auto}.player-dialog::backdrop{background:#020913d9}.player-dialog .input{box-sizing:border-box;display:block;width:100%;min-height:48px;padding:12px;margin:8px 0;color:#edf4fa;background:#07131f;border:1px solid #40576b;border-radius:7px;font:16px system-ui}.player-dialog .er-button{cursor:pointer;padding:12px 16px;min-height:46px;border:1px solid #587084;border-radius:6px;background:#152a3d;color:#eef5fb;font:600 13px system-ui}.player-dialog .er-button.primary{background:#c6f665;color:#101b06;border-color:#c6f665}.player-dialog [aria-invalid=true]{border-color:#ffb9a8}
@media(max-width:980px){.night-court .er-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;gap:12px;padding:20px 0 0}.night-court .er-topbar>.er-status{display:none}.night-court .er-logo{grid-column:1;grid-row:1}.night-court .player-profile-button{grid-column:2;grid-row:1;max-width:min(210px,40vw)}.night-court .er-nav{grid-column:1/-1;grid-row:2;display:flex;width:100%;margin:0;gap:0;justify-content:space-between}.night-court .er-nav a{flex:1;min-height:48px;justify-content:center}.night-court .er-nav [aria-current=page]::after{bottom:0;left:12px;right:12px}}
