body.team-editor-open{overflow:hidden}
body.team-editor-open .scrim-bottom-nav,body.team-editor-open .scrim-context-nav{display:none!important}
body.team-editor-open #profileOverlay{overflow:hidden}
body #profileEditPanel:not([hidden]){position:fixed!important;inset:0!important;z-index:20050!important;box-sizing:border-box;display:flex;flex-direction:column;margin:0!important;padding:0!important;width:100%;height:100dvh;max-width:none!important;border:0!important;border-radius:0!important;background:#071729;overflow:hidden;transform:none!important}
.team-editor-heading{display:flex;align-items:center;gap:16px;flex:none;min-height:64px;padding:10px max(16px,calc((100% - 800px)/2));border-bottom:1px solid #285168;background:#091d30;color:#e9f6ff;box-sizing:border-box}
.team-editor-heading strong{font:700 22px/1.2 'Barlow Condensed',Arial,sans-serif}.team-editor-heading .team-editor-back{white-space:nowrap;margin:0}
body #profileEditPanel #profileForm{position:static!important;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0!important;padding:22px max(16px,calc((100% - 800px)/2)) calc(120px + env(safe-area-inset-bottom,0px))!important;align-content:start;scroll-padding-bottom:130px}
.team-editor-footer{box-sizing:border-box;position:absolute;bottom:0;left:0;right:0;z-index:5;display:flex;flex-direction:column;gap:6px;padding:12px max(16px,calc((100% - 800px)/2)) calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #285168;background:#091d30;box-shadow:0 -8px 24px #0003}
.team-editor-footer [type=submit]{margin:0!important;width:100%;min-height:46px;flex:none}.team-editor-footer [role=status]{margin:0;font-size:12px;max-height:48px;overflow:auto}.team-editor-footer [role=status]:empty{display:none}
.scrim-photo-picker{flex-wrap:wrap}.scrim-photo-picker .scrim-photo-crop,.team-photo-crop{font-size:11px;padding:9px 12px;white-space:normal}.team-photo-crop{margin-top:8px}
body .gt-profile-dialog{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden;background:#071729}
body .gt-profile-dialog[open]{display:flex;flex-direction:column}
body .gt-profile-dialog .gt-dialog-heading{flex:none;min-height:64px;padding:12px max(16px,calc((100% - 800px)/2));gap:16px;justify-content:flex-start}
body .gt-profile-dialog .gt-dialog-heading button{width:auto;min-width:75px;padding:8px 12px;white-space:nowrap}
body .gt-profile-dialog .gt-dialog-body{position:static;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px max(16px,calc((100% - 800px)/2)) calc(120px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:130px}
body .gt-profile-dialog #gtProfileForm{position:static}
.team-roster-swap{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding-top:16px;margin-top:16px;border-top:1px solid #234052}
.team-roster-swap label{display:grid;gap:8px;font-size:13px;color:#a9bdcd}.team-roster-swap select{width:100%;min-width:0;min-height:44px;background:#061322;color:#ecf7ff;border:1px solid #29495b;border-radius:8px;padding:10px;font:inherit}
.team-roster-swap button{width:100%;min-height:44px;border:1px solid #2b91aa;border-radius:8px;background:#0c3546;color:#6ae4ef;font-weight:700}.team-roster-swap small{font-size:12px;line-height:1.6;color:#91a8ba}
