/* Keep the pool beside the hero cards without changing the rest of the app. */
body.gr-tool-view:has(#draft:not(.hidden)) .app{max-width:1660px}
#liveDraftContent>.cols{grid-template-columns:205px minmax(0,1fr) 270px!important}
#liveDraftContent #characterPoolPanel{margin:0!important;padding:13px!important;background:#111315;position:sticky;top:14px;min-width:0;border:1px solid #665139}
#poolToggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;background:none;border:0;color:#f3d483;font:700 17px Georgia,serif;text-align:left}
#poolToggle>span{display:none;font:12px 'Segoe UI',sans-serif;color:#c7b490}
#poolSummary{font-size:12px;color:#d0c3ab;margin:7px 0 12px}
#characterPoolPanel #fullPool{display:block!important}
#characterPoolPanel .pool-class-row{padding:9px 0;border-top:1px solid #35312b;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between}
#characterPoolPanel .pool-class{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;min-width:76px}
#characterPoolPanel .pool-class img{width:16px;height:16px;object-fit:cover}
#characterPoolPanel .pool-races{display:flex;flex-wrap:wrap;gap:3px}
#characterPoolPanel .pool-race{font:600 11px/1.4 'Segoe UI',sans-serif;padding:4px 5px;border:1px solid #484137;border-radius:3px;background:#242423;color:#f0e6d2;min-height:26px}
#characterPoolPanel .pool-race.is-taken{color:#a49a8c;background:#18191b;border-color:#302e2a;text-decoration:line-through}
#characterPoolPanel .pool-race sup{font-size:10px;margin-left:2px;color:#dac28c}
#poolDetail{border-top:1px solid #44392a;margin:10px 0 0;padding-top:10px;color:#dbcdb4;font-size:12px;min-height:44px;overflow-wrap:anywhere}
#poolLegend{margin:7px 0 0;color:#b7ac9b;font-size:11px}
@media(max-width:1250px){
 #liveDraftContent>.cols{grid-template-columns:190px minmax(0,1fr)!important}
 #liveDraftContent #characterPoolPanel{position:static;grid-column:2;grid-row:1}
 #draftCenter{grid-column:2;grid-row:2}
 #unifiedLeft{grid-column:1;grid-row:1 / span 2;display:block!important}
 #poolToggle>span{display:inline}
 #poolSummary{margin-bottom:0}
 #characterPoolPanel:not(.pool-open) #poolBody{display:none}
 #poolBody{margin-top:12px}
}
@media(max-width:760px){
 #liveDraftContent>.cols{grid-template-columns:minmax(0,1fr)!important}
 #liveDraftContent #characterPoolPanel{grid-column:1;grid-row:1}
 #draftCenter{grid-column:1;grid-row:2}
 #unifiedLeft{grid-column:1;grid-row:3}
}
@media(pointer:coarse){#characterPoolPanel .pool-race{min-height:44px;min-width:44px}}
/* Override legacy fixed grid rows when the compact pool moves above the cards. */
@media(max-width:1250px){
 #liveDraftContent>.cols>#unifiedLeft{grid-column:1!important;grid-row:1 / span 2!important}
 #liveDraftContent>.cols>#draftCenter{grid-column:2!important;grid-row:2!important}
}
@media(max-width:760px){
 #liveDraftContent>.cols>#unifiedLeft{grid-column:1!important;grid-row:3!important}
 #liveDraftContent>.cols>#draftCenter{grid-column:1!important;grid-row:2!important}
}
