/* Room for the full halftime line, with local, accessible replacement controls. */
.half-substitution-position{margin-top:1.6rem}
.half-substitution-position>h3{justify-content:center;padding-bottom:.7rem}
.half-substitution-position .half-substitution-starters{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.half-substitution-position .half-substitution-starter{flex:1 1 270px;max-width:440px;grid-template-columns:68px minmax(0,1fr);padding:20px;gap:14px;min-height:208px;border-radius:14px}
.half-substitution-position .half-substitution-starter>span.half-player-points{align-items:center;gap:16px;padding-bottom:12px}
.half-substitution-position .half-player-points strong{font-size:2rem!important;line-height:1.1;white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}
.half-substitution-position .half-substitution-starter>.half-player-points small{font-size:.65rem;line-height:1.4;max-width:95px}
.half-substitution-position .half-substitution-starter>.phase-player-avatar{width:68px;height:80px}
.half-substitution-position .half-substitution-starter>.half-starter-name strong{font-size:1.08rem;line-height:1.3;overflow-wrap:break-word}
.half-substitution-position .half-substitution-starter>.half-starter-name small{font-size:.8rem;line-height:1.4}
.half-substitution-position .half-substitution-starter>b{font-size:.9rem;padding-top:3px}

.phase-player-cell{position:relative;min-width:0;align-self:stretch;display:grid;align-content:center;border-radius:12px}
.phase-player-cell.has-substitution{padding-bottom:40px}
.phase-player-cell:hover,.phase-player-cell:focus-within{background:#24526148}
.half-quick-substitute{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 13px;border:1px solid #73d6e080;border-radius:9px;background:linear-gradient(140deg,#214f5c,#15333f);color:#b9fff4;font-family:inherit;font-size:.78rem;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px #0002;transition:opacity .16s ease,background .16s ease,border-color .16s ease}
.half-quick-substitute>span{font-size:1.15em}
.half-quick-substitute:hover{background:#2b606b;border-color:#a5fff0}
.half-quick-substitute:focus-visible{outline:3px solid #8ff6ed;outline-offset:3px}
.half-row-substitute{position:absolute;right:8px;bottom:7px;opacity:0;pointer-events:none}
.phase-player-cell:hover>.half-row-substitute,.phase-player-cell:focus-within>.half-row-substitute{opacity:1;pointer-events:auto}
.half-player-identity{flex-wrap:wrap}
.half-player-identity .half-detail-substitute{margin-left:auto;min-height:42px;font-size:.86rem;padding:10px 16px}
.half-player-identity>div{min-width:0}
.half-player-detail .half-player-stats dd strong,.half-player-detail .half-player-identity>div>strong{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
@media(hover:none),(pointer:coarse){.half-row-substitute{opacity:1;pointer-events:auto;min-height:40px}.phase-player-cell.has-substitution{padding-bottom:46px}}
@media(max-width:700px){
 .half-substitution-position .half-substitution-starter{flex-basis:240px;max-width:100%;padding:17px;min-height:196px}
 .half-substitution-position .half-substitution-starter>.phase-player-avatar{width:62px;height:74px}
 .half-substitution-position .half-substitution-starter{grid-template-columns:62px minmax(0,1fr)}
 .half-player-identity .half-detail-substitute{margin-left:0}
 .half-row-substitute{left:4px;right:4px;padding:7px 5px;font-size:.7rem;gap:4px}
}
@media(prefers-reduced-motion:reduce){.half-quick-substitute{transition:none}}
