/* Compact portraits make a chosen lineup recognizable before kickoff. */
.gameday-team-card:has(.team-showcase){display:grid;grid-template-columns:minmax(170px,.8fr) minmax(360px,1.5fr) auto;align-items:center;gap:24px}
.team-showcase{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0;align-items:start}
.team-highlight{min-width:0;text-align:center;margin:0}
.team-highlight-image{position:relative;display:block;width:clamp(58px,5.4vw,88px);aspect-ratio:1;margin:0 auto 10px;overflow:hidden;border:2px solid #80c8d9;border-radius:50%;background:radial-gradient(circle at 40% 25%,#36546c,#111b2a);box-shadow:0 0 0 5px #77bfd40b,0 9px 18px #0004}
.team-highlight-image img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%}
.team-highlight-logo img{object-fit:contain;object-position:center;padding:12%}
.team-highlight-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(22px,2.2vw,34px);font-weight:900;color:#b7d5df}
.team-highlight figcaption{display:grid;gap:4px;min-width:0}
.team-highlight-role{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#83d9e5}
.team-highlight strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.3;color:#eff7ff}
.team-highlight small{font-size:11px;color:#adc2d2;line-height:1.3}
.team-highlight.empty .team-highlight-image{border-style:dashed;filter:grayscale(1);opacity:.6}
.equipped-power-section{margin:32px 0 40px}
.equipped-power-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.equipped-power-slot{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;text-align:left;padding:20px;color:#f5f2ff;border:1px solid #74628d;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#66528150,transparent 65%),linear-gradient(145deg,#24243a,#101927);box-shadow:0 10px 24px #0002;cursor:pointer;transition:border-color .15s,background-color .15s}
.equipped-power-slot:hover{border-color:#dcc38b;background-color:#302a45}
.equipped-power-slot:focus-visible{outline:3px solid #c9a5ff;outline-offset:4px}
.equipped-power-slot-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:18px;font-size:14px;font-weight:800}
.equipped-power-state{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#e4ce96}
.equipped-power-slot .team-highlight-image{width:112px;border-color:#ddc48f;margin-bottom:18px}
.equipped-power-slot-copy{display:grid;gap:7px;text-align:center;margin-bottom:20px;flex:1}
.equipped-power-slot-copy strong{font-family:var(--serif,sans-serif);font-size:clamp(20px,2vw,28px);line-height:1.1;overflow-wrap:anywhere}
.equipped-power-slot-copy>span{font-size:14px;color:#c2bdce;line-height:1.4}
.equipped-power-link{display:flex;justify-content:space-between;border-top:1px solid #a28bbd35;padding-top:13px;color:#d5b6ff;font-size:14px;font-weight:800}
.equipped-power-slot.empty{border-color:#586170;background:radial-gradient(ellipse at 50% 0,#68758728,transparent 70%),linear-gradient(145deg,#252b36,#151b25)}
.equipped-power-slot.empty .team-highlight-image{border:1px dashed #8391a3;filter:grayscale(1);background:radial-gradient(circle at 40% 25%,#3c4653,#18202a);box-shadow:0 0 35px #c5d2e308}
.equipped-power-slot.empty .equipped-power-state,.equipped-power-slot.empty .equipped-power-link{color:#b4bfce}
@media(min-width:1500px){.team-highlight-role{font-size:12px}.team-highlight strong{font-size:15px}.team-highlight small{font-size:12px}.team-highlight-image{width:88px}}
@media(max-width:1100px){.gameday-team-card:has(.team-showcase){grid-template-columns:minmax(0,1fr) auto}.gameday-team-card>.team-showcase{grid-column:1 / -1;grid-row:2}.team-highlight-image{width:76px}.team-highlight strong{font-size:14px}.equipped-power-slot{padding:16px}.equipped-power-slot-head{font-size:13px}.equipped-power-slot .team-highlight-image{width:88px}}
@media(max-width:650px){.gameday-team-card:has(.team-showcase){gap:20px 12px}.team-showcase{gap:7px}.team-highlight-image{width:min(100%,64px);margin-bottom:8px;box-shadow:0 6px 12px #0003}.team-highlight-role{font-size:9px;letter-spacing:.01em}.team-highlight strong{font-size:11px;white-space:normal;overflow-wrap:anywhere}.team-highlight small{font-size:10px}.equipped-power-strip{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.equipped-power-slot .team-highlight-image{width:76px}.equipped-power-slot-head{font-size:12px}.equipped-power-slot-copy strong{font-size:22px}.equipped-power-slot-copy>span{font-size:12px}.equipped-power-state{font-size:9px}.equipped-power-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){.equipped-power-slot{transition:none}}

.team-highlight-image img[hidden]{display:none}
@media(max-width:650px){.gameday-team-card:has(.team-showcase){grid-template-columns:minmax(0,1fr)}.gameday-team-card:has(.team-showcase)>.actions{grid-column:1 / -1;grid-row:3}.gameday-team-card:has(.team-showcase)>.actions>.dream-team-button{flex:1}}

/* The roster's six fixed roles complement the unchanged five-portrait Gameday strip. */
.lineup-portraits{position:relative;margin:26px 0 28px;padding:26px 30px 30px;border:1px solid #44718466;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#38c7dd10,transparent 75%),linear-gradient(120deg,#12253099,#14202c55);overflow:hidden}
.lineup-portraits-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.lineup-portraits-heading .eyebrow{margin:0;font-size:12px;letter-spacing:.14em;color:#52e4ed}
.lineup-portraits-heading p{margin:0;font-size:15px;line-height:1.4;color:#a7c2cf}
.lineup-portrait-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:clamp(14px,2vw,36px)}
.lineup-portrait .team-highlight-image{width:clamp(84px,8.3vw,146px);max-width:100%;margin-bottom:17px;border:3px solid #81d3df;box-shadow:0 0 0 7px #83d8e50b,0 13px 25px #0004;background:radial-gradient(circle at 38% 20%,#37566a,#12212f 74%)}
.lineup-portrait .team-highlight-role{font-size:clamp(11px,1vw,15px);line-height:1.3;color:#8ce7ed;letter-spacing:.07em}
.lineup-portrait figcaption{gap:7px}
.lineup-portrait strong{font-size:clamp(15px,1.35vw,21px);font-weight:800;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.25}
.lineup-portrait small{font-size:clamp(12px,1vw,15px);line-height:1.4;color:#aec6d3}
.lineup-portrait.lineup-captain:not(.empty) .team-highlight-image{border-color:#efcf7c;box-shadow:0 0 0 7px #ebc65e0c,0 13px 25px #0004}
.lineup-portrait.lineup-captain .team-highlight-role{color:#f4d781}
.lineup-portrait.empty .team-highlight-image{filter:none;opacity:.75;box-shadow:none;border-color:#607c8b;background:radial-gradient(circle at 38% 20%,#243b4d,#101a27 74%)}
.lineup-portrait.empty .team-highlight-fallback{color:#8ca8bc;font-size:42px}
.lineup-portrait.empty strong{color:#a8bac8}
body.magic-view .lineup-portraits{border-color:#9169bd60;background:radial-gradient(ellipse at 50% 0,#9f6ee517,transparent 75%),linear-gradient(120deg,#24163699,#17202e55)}
@media(min-width:1600px){.lineup-portraits{padding:30px 48px 34px}.lineup-portrait-grid{gap:40px}.lineup-portrait .team-highlight-image{width:150px}}
@media(max-width:850px){.lineup-portraits{padding:23px 20px 25px}.lineup-portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}.lineup-portrait .team-highlight-image{width:clamp(92px,17vw,132px)}.lineup-portrait strong{font-size:17px}.lineup-portrait .team-highlight-role{font-size:12px}.lineup-portrait small{font-size:12px}}
@media(max-width:450px){.lineup-portraits{padding:20px 12px 22px;margin:22px 0}.lineup-portraits-heading{display:block;margin-bottom:22px}.lineup-portraits-heading p{margin-top:7px;font-size:14px}.lineup-portrait-grid{gap:23px 10px}.lineup-portrait .team-highlight-image{width:84px;border-width:2px;box-shadow:0 0 0 4px #83d8e509,0 8px 18px #0003}.lineup-portrait.lineup-captain:not(.empty) .team-highlight-image{box-shadow:0 0 0 4px #ebc65e0c,0 8px 18px #0003}.lineup-portrait .team-highlight-role{font-size:10px;letter-spacing:.03em}.lineup-portrait strong{font-size:14px}.lineup-portrait small{font-size:11px}}
