.sdna-image-slot{display:inline-flex;vertical-align:middle;align-items:center;gap:7px;max-width:100%;margin:2px 8px 2px 0}.sdna-image-picture{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:8px;background:#214c65;color:#fff;font-size:13px;font-weight:700;overflow:hidden}.sdna-image-picture img{width:100%;height:100%;object-fit:cover}.sdna-image-slot[data-image-kind$="LOGO"] .sdna-image-picture{width:72px;height:72px}.sdna-image-slot[data-image-kind$="LOGO"] img{object-fit:contain}.sdna-image-caption{display:flex;flex-direction:column;gap:2px}.sdna-image-caption small{font-size:10px;line-height:1.2}.sdna-image-edit{font-size:11px!important;line-height:1.3!important;padding:4px 6px!important;min-height:28px!important;cursor:pointer}.sdna-career-photos{display:flex;flex-wrap:wrap;gap:16px}.sdna-career-photos>div{display:flex;flex-direction:column;gap:8px}.sdna-career-photos .sdna-image-picture{width:88px;height:88px}.sdna-image-dialog{background:var(--panel,#102b3d);color:var(--text,#edf7ff);border:1px solid #557185;border-radius:16px;width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:20px;box-sizing:border-box}.sdna-image-dialog::backdrop{background:#00101dcc}.sdna-image-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sdna-image-dialog h2{font-size:22px;margin:0}.sdna-image-dialog p{font-size:14px;line-height:1.5}.sdna-image-dialog label{display:block;font-weight:700}.sdna-image-dialog input{display:block;margin:10px 0;max-width:100%}.sdna-image-dialog footer{display:flex;flex-wrap:wrap;gap:10px}.sdna-image-dialog button{padding:9px 12px;border-radius:8px;cursor:pointer}.sdna-image-dialog button:disabled{opacity:.5;cursor:default}.sdna-image-preview{height:190px;display:flex;align-items:center;justify-content:center;background:#607b8a22;border-radius:10px;margin:12px 0}.sdna-image-preview img{max-width:100%;max-height:100%;object-fit:contain}.roster-player-identity>.sdna-image-slot{float:left}.sdna-image-dialog [hidden]{display:none!important}
.roster-card .roster-player-identity:has(>.sdna-image-slot){display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:0 8px!important;min-width:220px}.roster-card .roster-player-identity>.sdna-image-slot{grid-column:1;grid-row:1 / 3;float:none;margin:0}.roster-card .roster-player-identity>.roster-player-name{grid-column:2;grid-row:1}.roster-card .roster-player-identity>.roster-player-id{grid-column:2;grid-row:2}.roster-card .sdna-image-picture{width:34px;height:34px}.roster-card .sdna-image-caption{max-width:65px}.roster-card .sdna-image-edit{min-height:24px!important}
body .roster-card .roster-table .sdna-image-edit{padding:3px 5px!important;font-size:10px!important;line-height:1.2!important;min-height:22px!important;white-space:nowrap}.roster-card .sdna-image-caption{max-width:none;gap:0}.roster-card .sdna-image-caption small{white-space:nowrap}
.sdna-image-edit,.sdna-image-dialog button{background:var(--ui-raised,#19364d);color:var(--ui-text,#edf5fc);border:1px solid var(--ui-border,#4c6a80);border-radius:6px}.sdna-image-dialog [data-save]{background:#087dff;color:white;border-color:#087dff}.home-player-avatar .sdna-image-slot,.portal-avatar .sdna-image-slot{margin:0}.home-player-avatar .sdna-image-caption,.portal-avatar .sdna-image-caption{display:none}
