/* Game Hub UG V34: functional clarity only. Brand colors, logo and every
   existing font-family and font-size remain defined by the original styles. */
.squad-logo-editor{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:18px;padding:15px;margin:6px 0 12px;border:1px solid var(--line);background:var(--surface-2);border-radius:12px;min-width:0}
.squad-logo-preview{display:grid;place-items:center;overflow:hidden;aspect-ratio:1;width:100%;border:1px solid var(--line);border-radius:16px;color:var(--yellow);background:var(--surface-3);font-weight:900}
.squad-logo-preview img{display:block;width:100%;height:100%;object-fit:cover}
.squad-logo-actions{display:grid;gap:10px;min-width:0}
.squad-logo-actions>label{display:block;font-weight:800}
.squad-logo-actions label small{display:block;margin:4px 0;color:var(--muted);font-weight:400}
.squad-logo-actions input[type=file]{width:100%;max-width:100%;min-width:0}
.squad-logo-removal{display:flex!important;align-items:center;gap:9px;font-weight:600!important;color:var(--muted);cursor:pointer}
.squad-logo-removal input{width:18px!important;height:18px!important;flex:0 0 auto;accent-color:var(--red)}
.gh-upload-preview{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;width:100%;max-width:100%;min-width:0;margin:10px 0;padding:10px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);box-sizing:border-box}
.gh-upload-preview[hidden]{display:none!important}
.gh-upload-thumb{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface-3);color:var(--muted)}
.gh-upload-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gh-upload-copy{display:grid;gap:6px;min-width:0}
.gh-upload-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gh-upload-copy small{color:var(--muted);overflow-wrap:anywhere}
.gh-upload-track{display:block;width:100%;height:4px;border-radius:6px;overflow:hidden;background:var(--line)}
.gh-upload-track i{display:block;height:100%;width:0;transition:width .15s ease;background:var(--yellow)}
.gh-upload-done .gh-upload-track i{background:var(--green)}
.gh-upload-failed .gh-upload-track i{background:var(--red)}
.event-participant-card{min-width:0}
.event-participant-card>span:nth-child(3){min-width:0}
.event-participant-card>span:nth-child(3)>b,.event-participant-card>span:nth-child(3)>small{overflow-wrap:anywhere}
.event-participant-list[aria-busy=true]{opacity:.78;pointer-events:none}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
:where(.data-row,.event-participant-card,.player-profile-card){scroll-margin-top:90px}
@media(max-width:1024px){
  .squad-manager-grid,.dashboard-grid{min-width:0}
  .squad-logo-editor{gap:12px}
  .data-row>.row-actions{flex-wrap:wrap;min-width:0}
}
@media(max-width:760px){
  .squad-logo-editor{grid-template-columns:76px minmax(0,1fr);align-items:start;padding:11px;gap:12px}
  .squad-logo-actions{min-width:0}
  .squad-manager-grid,.squad-manager-form{max-width:100%;min-width:0}
  .squad-manager-panel .panel-head{flex-wrap:wrap}
  .gh-upload-preview{grid-template-columns:52px minmax(0,1fr);gap:9px}
  .gh-upload-thumb{width:52px;height:52px}
  .event-participant-card{gap:9px}
  .event-participant-card em{white-space:normal;text-align:right}
}
@media(max-width:380px){.squad-logo-editor{grid-template-columns:minmax(0,1fr)}.squad-logo-preview{max-width:82px}.squad-manager-panel{overflow:hidden}}
@media(prefers-reduced-motion:reduce){.gh-upload-track i{transition:none}}

.form-grid > .gh-upload-preview{grid-column:1/-1}
