/* Scoped density overrides keep global form styles out of the pool. */
#auctionPoolSection .pool-shell{padding:12px;margin:0}
#auctionPoolSection .pool-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
#auctionPoolSection .pool-heading h3{font-size:16px;line-height:1.2;margin:0}
#auctionPoolSection button{min-height:28px;min-width:0;margin:0;line-height:1.2;font-size:12px;padding:5px 7px;align-self:center}
#auctionPoolSection input,#auctionPoolSection select{min-height:32px;height:32px;font-size:12px;line-height:1.2;padding:5px 8px;min-width:0;margin:0;width:100%}
#auctionPoolSection .pool-search-row{display:flex;gap:6px;align-items:center}
#auctionPoolSection .pool-search-row input{flex:1;width:0}
#auctionPoolSection .pool-filter-panel{margin:5px 0}
#auctionPoolSection .pool-filter-panel>summary{font-size:12px;cursor:pointer;color:#0b4b85;padding:5px 0;min-height:28px}
#auctionPoolSection .pool-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;align-items:start}
#auctionPoolSection .pool-filter-group{border:0;padding:3px 0;margin:0;display:flex;align-items:center;align-content:start;flex-wrap:wrap;gap:4px;min-width:0}
#auctionPoolSection .pool-filter-group legend{font-size:11px;line-height:1.3;font-weight:700;margin-bottom:3px}
#auctionPoolSection .pool-chip{background:#eef4fa;color:#164e78;border:1px solid #ceddeb;border-radius:6px;font-size:11px;font-weight:400;white-space:nowrap;cursor:pointer;flex:0 0 auto}
#auctionPoolSection .pool-chip[aria-pressed=true]{background:#0b4b85;color:#fff;border-color:#0b4b85}
#auctionPoolSection button:focus-visible{outline:3px solid #51a8e8;outline-offset:1px}
#auctionPoolSection .pool-date-mode{display:flex;align-items:center;gap:5px;font-size:11px;margin:0;width:100%}
#auctionPoolSection .pool-date-mode select{width:auto;flex:1}
#auctionPoolSection .pool-scope{font-size:11px;margin:0;min-width:0}
#auctionPoolSection .pool-help{font-size:11px;line-height:1.4;margin:5px 0;color:#65788a}
#auctionPoolSection #poolCount{font-size:11px;line-height:1.3;margin:4px 0 7px}
#auctionPoolSection .auction-player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px;align-items:start}
#auctionPoolSection .auction-player-tile{border:1px solid #d8e3ee;border-radius:8px;padding:7px;min-width:0;display:grid;gap:3px;align-content:start;background:#fff}
#auctionPoolSection .pool-player-name{font-size:12px!important;line-height:1.2!important;font-weight:700!important;text-align:left;padding:0!important;width:100%;height:30px;overflow:hidden;display:flex;align-items:center}
#auctionPoolSection .player-photo-label{gap:5px;align-items:center;min-width:0}
#auctionPoolSection .player-photo-label>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#auctionPoolSection .player-photo-small{width:22px;height:22px;min-width:22px}
#auctionPoolSection .pool-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;font-size:10px;color:#637487}
#auctionPoolSection .pool-meta .pool-chip{padding:2px 4px;min-height:22px;font-size:10px;max-width:75%;overflow:hidden;text-overflow:ellipsis}
#auctionPoolSection .pool-tile-dates{display:flex;gap:3px;align-items:center;min-width:0;height:26px}
#auctionPoolSection .pool-tile-dates button{padding:3px 4px;min-height:26px;font-size:10px}
#auctionPoolSection .pool-quick-stats{display:block;width:100%;min-height:34px;padding:3px 4px;background:#f3f7fb;border:0;border-radius:5px;text-align:left;color:#244c6d;cursor:pointer;align-self:stretch}
#auctionPoolSection .pool-quick-line{display:block;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#auctionPoolSection .pool-no-stats{font-size:10px;color:#66788a}
#auctionPoolSection .pool-player-actions{display:flex;align-items:center;gap:3px;min-width:0}
#auctionPoolSection .pool-player-actions button{font-size:10px;padding:4px;min-height:28px}
#auctionPoolSection .pool-player-actions button:first-child{font-size:18px;min-width:28px}
#auctionPoolSection .pool-player-actions button:nth-child(2){font-size:16px;min-width:28px}
#auctionPoolSection .pool-player-actions .primary{margin-left:auto}
#auctionPoolSection.pool-focus{position:fixed;inset:0;z-index:1500;background:#f4f7fb;overflow:auto;overscroll-behavior:contain;padding:8px;max-height:100dvh}
#auctionPoolSection.pool-focus>.pool-shell{min-height:100%;border-radius:8px}
#poolPlayerDetails .pool-stat-block{background:#f4f7fb;border-radius:8px;padding:10px;margin:8px 0;font-size:13px}
#poolPlayerDetails .pool-stat-block>.tiny{display:block;margin:4px 0}
#poolPlayerDetails .pool-metrics{display:flex;flex-wrap:wrap;gap:6px}
#poolPlayerDetails .pool-metrics>span{background:white;padding:4px 6px;border-radius:5px}
#poolPlayerDetails .private-note{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:1500px){#auctionPoolSection .auction-player-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr))}}
@media(max-width:600px){#auctionPoolSection .pool-shell{padding:7px}#auctionPoolSection .pool-filter-grid{grid-template-columns:1fr;gap:5px}#auctionPoolSection .auction-player-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#auctionPoolSection .auction-player-tile{padding:5px;gap:2px}#auctionPoolSection .pool-player-name{font-size:11px!important;height:28px}#auctionPoolSection .pool-meta{font-size:9px}#auctionPoolSection .pool-meta .pool-chip{font-size:9px}#auctionPoolSection .pool-tile-dates button{font-size:9px;padding:2px 3px}#auctionPoolSection .pool-quick-line{font-size:9px}#auctionPoolSection.pool-focus{padding:4px}}

#auctionPoolSection .pool-gender{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:5px 0;font-size:11px}
#appView.projector #auctionPoolSection,body.projector #auctionPoolSection{display:block!important}
body.projector #auctionPoolSection .pool-player-actions>button:nth-child(-n+2){display:none}
#auctionNominatedStats{border-top:1px solid var(--line);margin-top:14px;padding-top:8px}
#auctionNominatedStats .pool-metrics{display:flex;flex-wrap:wrap;gap:10px}
#auctionNominatedStats .pool-metrics>span{padding:8px;background:#eef4fa;border-radius:8px}
#auctionNominatedStats .pool-stat-block{margin:10px 0}

/* Compact live overview: six teams per desktop row, squads visible by default. */
#page-auction #auctionTeams{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:start;margin:10px 0}
#page-auction #auctionTeams .team-card{padding:8px;border-top-width:3px;border-radius:10px;min-width:0;margin:0}
#page-auction #auctionTeams h3{font-size:14px;line-height:1.25;margin:0 0 4px;overflow-wrap:anywhere}
#page-auction #auctionTeams p{font-size:10px;line-height:1.3;margin:3px 0;overflow-wrap:anywhere}
#page-auction #auctionTeams strong{font-size:12px}
#page-auction #auctionTeams button{font-size:10px;min-height:26px;padding:4px 6px;margin:3px 0}
#page-auction #auctionTeams .team-squad{margin-top:4px;border-top:1px solid #e1e9f0;padding-top:4px;font-size:11px}
#page-auction #auctionTeams .team-squad summary{font-size:11px;font-weight:600}
#page-auction #auctionTeams .team-squad ul,#page-auction #auctionTeams .team-squad ol{margin:4px 0 0;padding-left:18px;max-height:105px;overflow:auto;scrollbar-width:thin;font-size:11px;line-height:1.35}
#page-auction #auctionTeams .team-squad li{padding:2px 0;overflow-wrap:anywhere}
#page-auction .auction-stage{gap:8px;align-items:start;margin:8px 0}
#page-auction .auction-stage>.card{padding:10px 12px;margin:0;min-width:0;border-radius:10px}
#page-auction .auction-stage h2{font-size:20px;line-height:1.2;margin:4px 0}
#page-auction .auction-stage h3{font-size:14px;line-height:1.25;margin:4px 0}
#page-auction .auction-stage p,#page-auction .auction-stage details{font-size:12px;line-height:1.35;margin:3px 0}
#page-auction .auction-stage .eyebrow{font-size:10px;letter-spacing:1px}
#page-auction .auction-stage button{font-size:12px;padding:6px 9px;min-height:30px}
#page-auction .draft-order-line{max-height:50px;overflow:auto;overflow-wrap:anywhere}
#page-auction .draft-last-stats{background:#f1f6fa;border-radius:5px;padding:4px 6px;font-size:11px;line-height:1.4}
#page-auction .draft-last-stats .pool-quick-line{display:block}
#page-auction .draft-stat-details .pool-stat-block{margin:6px 0;padding:6px;background:#f5f8fb}
#page-auction .draft-stat-details .pool-metrics{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1250px){#page-auction #auctionTeams{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){#page-auction #auctionTeams{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#page-auction #auctionTeams{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#page-auction .auction-stage{grid-template-columns:1fr}#page-auction .auction-stage h2{font-size:18px}}
/* Read-only live squads in Sports Centre. */
#page-sports .centre-live-teams{margin:10px 0;padding:10px;border:1px solid #dce6ef;border-radius:10px;background:#fff}
#page-sports .centre-live-teams h4{margin:0 0 6px;font-size:15px}
#page-sports .centre-live-selection{margin:5px 0;padding:6px 8px;background:#eaf6ef;border-radius:6px;font-size:13px}
#page-sports .centre-live-team-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:8px}
#page-sports .centre-live-team{min-width:0;border:1px solid #e1e9f0;border-radius:8px;padding:7px;background:#f8fafc}
#page-sports .centre-live-team h5{margin:0;font-size:13px;overflow-wrap:anywhere}
#page-sports .centre-live-team h5 span{font-size:11px;color:#60758a}
#page-sports .centre-live-team p{font-size:10px;margin:4px 0;overflow-wrap:anywhere}
#page-sports .centre-live-team ol{margin:5px 0 0;padding-left:18px;max-height:145px;overflow:auto;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:1250px){#page-sports .centre-live-team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){#page-sports .centre-live-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#page-sports .centre-live-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#page-sports .centre-live-teams .centre-squad-player{display:inline;padding:0;margin:0;min-height:0;min-width:0;border:0;background:none;border-radius:0;font:inherit;line-height:inherit;text-align:left;color:#0b4b85;cursor:pointer;overflow-wrap:anywhere}
#page-sports .centre-live-teams .centre-squad-player:hover{text-decoration:underline}
#page-sports .centre-live-teams .centre-squad-player:focus-visible{outline:2px solid #0b4b85;outline-offset:2px}
@media(max-width:600px){
 #page-sports .centre-live-teams{padding:6px;margin:7px 0;border-radius:8px}
 #page-sports .centre-live-teams h4{font-size:12px;line-height:1.25;margin:0 0 4px}
 #page-sports .centre-live-selection{font-size:11px;line-height:1.3;padding:4px 5px;margin:4px 0}
 #page-sports .centre-live-team-grid{gap:5px;margin-top:5px;align-items:start}
 #page-sports .centre-live-team{padding:5px;border-radius:6px}
 #page-sports .centre-live-team h5{font-size:11px;line-height:1.25}
 #page-sports .centre-live-team h5 span{font-size:9px}
 #page-sports .centre-live-team p{font-size:9px;line-height:1.2;margin:3px 0}
 #page-sports .centre-live-team ol{font-size:10px;line-height:1.35;padding-left:15px;margin-top:3px;max-height:115px}
 #page-sports .centre-live-team li{padding:2px 0}
 #page-sports .centre-live-team .centre-squad-player{font-size:10px;line-height:1.35}
}

#page-sports [data-auction-logo-tid]{display:flex;align-items:center;gap:8px}
#page-sports .auction-event-logo{width:64px;height:64px;flex:0 0 64px;object-fit:contain;border-radius:6px}
@media(max-width:600px){#page-sports .auction-event-logo{width:44px;height:44px;flex-basis:44px}}

/* Show complete squads; the page scrolls naturally instead of individual lists. */
#page-auction #auctionTeams .team-squad ul,#page-auction #auctionTeams .team-squad ol,#page-sports .centre-live-team ol{max-height:none;overflow:visible}
.cricket-role-icon{display:inline-flex;vertical-align:middle;width:18px;height:18px;flex:0 0 18px;margin-right:4px;align-items:center;justify-content:center}
.cricket-role-icon svg{width:100%;height:100%;display:block}
@media(max-width:600px){.cricket-role-icon{width:15px;height:15px;flex-basis:15px;margin-right:3px}}

#auctionPoolSection .auction-player-tile.new-batch-tile{background:#154f70;border-color:#154f70;color:#fff}#auctionPoolSection .new-batch-tile .pool-player-name,.new-batch-tile .pool-player-actions>.link,.new-batch-tile .pool-meta>span{color:#fff}.new-batch-label{display:block;font-size:12px;font-weight:600;margin-bottom:6px;color:#fff}.new-batch-tile .pool-quick-stats{color:#163953}.new-batch-tile .pool-player-actions .ghost{color:#154f70}

#auctionSetup label[hidden]{display:none!important}

[data-auction-budget][hidden]{display:none!important}

#auctionOrder .prepared-pick-sequence{display:flex;flex-wrap:wrap;gap:5px 8px;list-style:none;padding:0;margin:8px 0;line-height:1.5}
#auctionOrder .prepared-pick-sequence li{display:inline-flex;gap:4px;align-items:baseline;margin:0;max-width:100%;overflow-wrap:anywhere}
#auctionOrder .prepared-pick-sequence li:not(:last-child)::after{content:"→";color:#71869a;margin-left:4px}

.auction-current-team{background:#e6f2ff!important;border:2px solid #0b5da8!important;box-shadow:0 0 0 2px #d5e9fb}.auction-turn-label{display:inline-block;background:#0b5da8;color:white;border-radius:6px;padding:3px 8px;margin:0 0 8px;font-size:12px}.pool-quick-status{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
