/* Visual layer only: no squad geometry, content, or interaction changes. */
body.is-teams-section:has(.team-profile-card__hero--players) { background: #03232b; }
body.is-teams-section:has(.team-profile-card__hero--players)::before {
    position: fixed;
    inset: 0;
    height: auto;
    background:
        radial-gradient(ellipse at 0% 10%, rgb(107 227 255 / 16%), transparent 36%),
        radial-gradient(ellipse at 100% 14%, rgb(74 240 193 / 17%), transparent 38%),
        linear-gradient(180deg, rgb(3 36 45 / 24%) 0%, rgb(2 21 32 / 48%) 34%, rgb(2 21 30 / 68%) 68%, rgb(2 21 27 / 87%) 100%),
        url('../img/teams/team-pitch-hero-v1.webp') center 32% / cover no-repeat;
}
#teamsSection:has(.team-profile-card__hero--players) .team-profile-card__hero {
    border-color: rgb(65 211 220 / 42%);
    background: radial-gradient(ellipse at top left, rgb(55 220 179 / 13%), transparent 65%), linear-gradient(135deg, rgb(5 35 44 / 86%), rgb(7 57 64 / 70%));
    box-shadow: inset 0 1px 0 rgb(175 251 255 / 10%), 0 5px 22px rgb(10 199 162 / 5%);
}
#teamsSection:has(.team-profile-card__hero--players) .team-workspace__nav {
    border-color: rgb(65 211 220 / 36%);
    background: linear-gradient(120deg, rgb(7 43 55 / 83%), rgb(5 32 42 / 77%));
    box-shadow: inset 0 1px 0 rgb(190 250 255 / 10%);
    backdrop-filter: blur(8px);
}
#teamsSection:has(.team-profile-card__hero--players) .team-workspace__tab { color: #a6c5cf; }
#teamsSection:has(.team-profile-card__hero--players) .team-workspace__tab.is-active {
    color: #fff;
    border-color: rgb(149 255 231 / 75%);
    background: linear-gradient(110deg, #15dfa5, #26d8c8 52%, #5dbbff);
    box-shadow: inset 0 1px 0 rgb(230 255 255 / 28%), inset 0 -1px 0 rgb(127 226 255 / 65%), 0 0 20px rgb(39 229 168 / 26%);
}
#teamsSection .squad-players > .team-players__header {
    border-color: rgb(65 211 220 / 55%);
    background: radial-gradient(ellipse at top right, rgb(68 198 212 / 15%), transparent 60%), linear-gradient(120deg, rgb(5 35 44 / 88%), rgb(7 57 64 / 76%)), url('../img/teams/team-pitch-hero-v1.webp') center 42% / cover;
    box-shadow: inset 0 1px 0 rgb(183 247 255 / 12%), 0 4px 20px rgb(33 228 174 / 7%);
    backdrop-filter: blur(5px);
}
#teamsSection .squad-players .team-players__title-icon {
    background: linear-gradient(140deg, #163c53, #154459);
    border-color: rgb(103 210 255 / 55%);
    color: #8ad8ff;
    box-shadow: inset 0 1px 0 rgb(199 244 255 / 12%), 0 0 12px rgb(76 183 255 / 13%);
}
#teamsSection .squad-players .team-players__title h3 { color: #f5fafc; }
#teamsSection .squad-players .team-players__title p { color: #a7c6cf; }
#teamsSection .squad-players .team-players__summary > span { background: rgb(10 48 60 / 75%); border-color: rgb(78 180 211 / 35%); color: #c0dce5; box-shadow: inset 0 1px 0 rgb(180 241 255 / 5%); }
#teamsSection .squad-players .team-players__summary i { color: #71caff; }
#teamsSection .squad-position-filters button { background: rgb(4 31 39 / 78%); border-color: rgb(55 165 186 / 45%); color: #9eb9c5; box-shadow: inset 0 1px 0 rgb(176 233 244 / 5%); }
#teamsSection .squad-position-filters button.is-active { background: linear-gradient(110deg, #0dcb8f, #28ddb6); border-color: #74efcb; color: #fff; box-shadow: inset 0 1px 0 rgb(220 255 244 / 25%), 0 0 13px rgb(31 225 164 / 20%); }
#teamsSection .squad-position-filters button.is-active span { color: #f2fff9; opacity: 1; }
#teamsSection .squad-search { background: linear-gradient(130deg, rgb(7 40 49 / 88%), rgb(5 35 45 / 84%)); border-color: rgb(67 184 211 / 52%); color: #80c4d5; box-shadow: inset 0 1px 0 rgb(140 231 251 / 10%); backdrop-filter: blur(5px); }
#teamsSection .squad-search input::placeholder { color: #9abcc9; opacity: 1; }
#teamsSection .squad-search:focus-within { border-color: #59d9e4; background: rgb(9 52 63 / 93%); box-shadow: inset 0 1px 0 rgb(153 243 255 / 14%), 0 0 15px rgb(39 220 200 / 12%); }
#teamsSection .team-player-card.squad-player {
    border-color: rgb(36 177 187 / 45%);
    border-left-color: rgb(39 229 168 / 78%);
    background: radial-gradient(ellipse at top left, rgb(39 229 168 / 12%), transparent 55%), radial-gradient(ellipse at bottom right, rgb(67 167 230 / 10%), transparent 60%), linear-gradient(125deg, rgb(5 45 53 / 92%), rgb(4 28 36 / 94%)), url('../img/teams/team-pitch-hero-v1.webp') center 70% / cover;
    box-shadow: inset 0 1px 0 rgb(147 247 225 / 8%), inset 2px 0 7px rgb(39 229 168 / 5%), 0 3px 14px rgb(0 14 23 / 12%);
}
#teamsSection .team-player-card.squad-player[open] {
    border-color: #36d7d4;
    border-left-color: #20e6a5;
    background: radial-gradient(ellipse at top left, rgb(51 235 180 / 18%), transparent 65%), radial-gradient(ellipse at bottom right, rgb(68 203 236 / 12%), transparent 70%), linear-gradient(130deg, rgb(8 65 70 / 93%), rgb(5 37 48 / 93%)), url('../img/teams/team-pitch-hero-v1.webp') center 65% / cover;
    box-shadow: inset 0 1px 0 rgb(181 255 241 / 18%), 0 0 18px rgb(38 221 193 / 14%);
}
#teamsSection .squad-player .team-player-card__photo { background: linear-gradient(140deg, #173a4c, #275e72); border-color: #59baf1; box-shadow: inset 0 1px 0 rgb(192 240 255 / 14%); }
#teamsSection .squad-player .team-player-card__photo-fallback { color: #f4fbff; }
#teamsSection .squad-player .team-player-card__number { background: linear-gradient(130deg, #3ca4ff, #56c5ff); border-color: #124050; color: #fff; box-shadow: 0 0 7px rgb(66 183 255 / 18%); }
#teamsSection .squad-player-identity > strong { color: #f5fafc; }
#teamsSection .squad-player-identity > small { color: #a3c1ca; }
#teamsSection .squad-player-stats > span { border-left-color: rgb(118 199 213 / 23%); }
#teamsSection .squad-player-stats b { color: #f1faff; }
#teamsSection .squad-player-stats > span:nth-child(2) b { color: #29e29e; }
#teamsSection .squad-player-stats > span:nth-child(3) b { color: #a77cf3; }
#teamsSection .squad-player-stats small { color: #a1bcc7; }
#teamsSection .squad-captain { background: rgb(125 84 15 / 22%); border-color: rgb(231 172 34 / 60%); color: #ffc746; box-shadow: 0 0 8px rgb(242 183 47 / 10%); }
#teamsSection .squad-player-extra { border-top-color: rgb(79 216 204 / 30%); }
#teamsSection .squad-player-extra i { color: #67d5f1; }
#teamsSection .squad-player-extra > span:nth-child(2) i { color: #edc54f; }
#teamsSection .squad-player-extra > span:nth-child(3) i { color: #ed8583; }
#teamsSection .squad-player-extra > span:nth-child(4) i { color: #6ce2c0; }
#teamsSection .squad-player-extra b { color: #f4fcff; }
#teamsSection .squad-player-extra small { color: #a0c1ca; }
#teamsSection .squad-player-chevron { color: #7ac7d5; }
