/* Bottom-left Game Lab user profile control and upward-opening editor. */
body.signed-in #profile{position:relative}
body.signed-in #gl-my-profile-trigger{
 display:flex;align-items:center;gap:8px;flex:1;min-width:0;
 border:0;border-radius:8px;background:transparent;padding:2px 3px;
 color:inherit;text-align:left;cursor:pointer;min-height:34px
}
body.signed-in #gl-my-profile-trigger:hover,
body.signed-in #gl-my-profile-trigger:focus-visible{
 background:#204037;color:#e7fff5;outline:1px solid #2d7a65
}
body.signed-in #gl-my-profile-trigger .gl-profile-avatar{flex:0 0 34px}
body.signed-in #gl-my-profile-trigger #profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gl-avatar-has-photo{overflow:hidden!important}
.gl-avatar-has-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.gl-user-avatar{
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 25px;width:25px;height:25px;border-radius:50%;
 overflow:hidden;background:#174136;color:#d1ffe9;
 font-size:11px;font-weight:800
}
.gl-user-avatar img{width:100%;height:100%;object-fit:cover}
.person[data-person] .gl-user-avatar{margin-right:5px}
.gl-dm-contact-avatar.gl-avatar-has-photo img{width:100%;height:100%;object-fit:cover}
#gl-my-profile-panel{
 position:fixed;z-index:99030;width:min(318px,calc(100vw - 16px));
 max-height:min(440px,calc(100dvh - 28px));overflow-y:auto;
 padding:16px;display:grid;gap:12px;
 background:#13242a;color:#edf8f5;
 border:1px solid #287e69;border-radius:13px;
 box-shadow:0 20px 65px #000b;scrollbar-width:thin
}
#gl-my-profile-panel[hidden]{display:none!important}
.gl-my-profile-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gl-my-profile-head strong{font-size:17px;font-weight:850}
body.signed-in #gl-my-profile-panel .gl-my-profile-close{
 display:grid;place-items:center;width:28px;height:28px;min-height:28px;
 border-radius:8px;background:#1c3138;color:#ecf8f3;border:1px solid #35565a;
 padding:0;font-size:20px;cursor:pointer
}
.gl-my-profile-account{margin:0;color:#8cb9b0;font-size:12px}
.gl-my-profile-form{display:grid;gap:10px;min-width:0}
.gl-my-profile-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#d0e8e1}
body.signed-in #gl-my-profile-panel .gl-my-profile-form input{
 display:block;width:100%;min-width:0;height:37px;padding:9px;
 background:#0b191d;border:1px solid #37615b;border-radius:8px;
 color:#f6fffc;font-size:13px;outline:none
}
body.signed-in #gl-my-profile-panel .gl-my-profile-form input:focus{
 border-color:#27c597;box-shadow:0 0 0 2px #21bf8b2b
}
body.signed-in #gl-my-profile-panel .gl-my-profile-form button,
body.signed-in #gl-my-profile-panel .gl-my-profile-photo-controls button{
 min-height:35px;padding:8px 10px;border-radius:8px;
 background:#087d5d;border:1px solid #169b7a;color:#ecfff8;
 cursor:pointer;font-size:12px;font-weight:800
}
body.signed-in #gl-my-profile-panel button:hover{filter:brightness(1.13)}
body.signed-in #gl-my-profile-panel button:disabled{opacity:.5;cursor:default;filter:none}
.gl-my-profile-photo-label{margin:2px 0 0;font-size:12px;font-weight:800;color:#d0e8e1}
.gl-my-profile-photo-row{display:flex;align-items:center;gap:14px;min-width:0}
.gl-my-profile-preview{flex:0 0 64px!important;width:64px!important;height:64px!important;font-size:24px!important}
.gl-my-profile-photo-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}
body.signed-in #gl-my-profile-panel .gl-my-profile-photo-controls button.gl-my-photo-remove{
 color:#efc5c5;border-color:#86414a;background:#382229
}
.gl-my-profile-photo-controls small{display:block;flex-basis:100%;color:#91aaa6;font-size:10px}
.gl-my-profile-notice{margin:0;min-height:17px;color:#9de9c6;font-size:11px;line-height:1.45}
@media(max-width:640px){#gl-my-profile-panel{max-height:calc(100dvh - 22px)}}
