/* Panda V1.1D: consistent site chrome + responsive player identity.
   Overrides V1.1C without altering data components or API logic. */
:root{--pb11d-ink:#eef0fa;--pb11d-line:#2a3142;--pb11d-panel:#15181f}
.pb11-topwrap{width:100%;max-width:none;margin:0;position:relative;z-index:20;background:#0d1120;border-radius:0}
.pb11-topbar{max-width:1500px;width:100%;margin:0 auto}
.pb11-toplinks a{font-weight:750}
.dashboard-shell,.section-shell,.training-shell{min-width:0}
.dashboard-shell>.command-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;overflow:visible!important;min-width:0;padding:22px 24px}
.dashboard-shell>.command-header .brand-block{grid-column:2;grid-row:1;min-width:0;margin:0!important;text-align:center}
.dashboard-shell>.command-header .brand-block h1{overflow-wrap:normal;line-height:1.12}
.dashboard-shell>.command-header #player-block{grid-column:3;grid-row:1;position:static!important;transform:none!important;justify-self:end;align-self:center;min-width:0;max-width:100%;margin:0!important;text-align:right}
.dashboard-shell>.command-header #player-block #player-name{display:block;overflow-wrap:anywhere}
.dashboard-shell>.command-header .back-button{grid-column:3;grid-row:1;justify-self:end;position:static!important;transform:none!important}
.dashboard-shell>.command-header .player-label,.dashboard-shell>.command-header #player-level{white-space:normal}
@media(max-width:950px){
 .dashboard-shell>.command-header{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:20px}
 .dashboard-shell>.command-header .brand-block{grid-column:1;grid-row:1;text-align:left;justify-self:start}
 .dashboard-shell>.command-header #player-block,.dashboard-shell>.command-header .back-button{grid-column:2;grid-row:1;justify-self:end}
}
@media(max-width:650px){
 .dashboard-shell>.command-header{grid-template-columns:minmax(0,1fr)!important;justify-items:center;gap:12px;padding:18px 14px;overflow:visible!important}
 .dashboard-shell>.command-header .brand-block{grid-column:1;grid-row:1;text-align:center;justify-self:center;max-width:100%}
 .dashboard-shell>.command-header #player-block{grid-column:1;grid-row:2;justify-self:center;text-align:center;max-width:100%;width:auto;min-width:0;border-top:1px solid var(--pb11d-line);padding:10px 12px 0}
 .dashboard-shell>.command-header .back-button{grid-column:1;grid-row:2;justify-self:center}
 .dashboard-shell>.command-header #player-block #player-name{max-width:min(75vw,300px)}
}
@media(max-width:380px){.dashboard-shell>.command-header .brand-block h1{font-size:clamp(25px,8vw,34px)}}
