#ceilingSwitch{display:inline-flex;gap:3px;background:#0c1431;border:1px solid #393c66;border-radius:24px;padding:3px;margin:12px}
#clPriceLabel[hidden],#ceilingSwitch[hidden],#ceilingPanel[hidden],#clMore[hidden],.ceiling-active #boardPanel,.ceiling-active .nba-board-toolbar,.ceiling-active #premiumFilter,.ceiling-active #onCourtFilter,.ceiling-active #alreadyHitFilter,.ceiling-active #boardSwipeHint{display:none!important}
#ceilingSwitch button,#clMore{border:0;border-radius:22px;padding:10px 18px;background:transparent;color:#c3c8e5;font:inherit;font-weight:700;cursor:pointer}
#ceilingSwitch [aria-pressed=true],#clMore{background:#543bb0;color:white}

#ceilingPanel{min-width:0;color:var(--text,#edf1ff)}
#clTabs{display:flex;max-width:100%;overflow-x:auto;flex-wrap:nowrap}
#clTabs button{flex:0 0 auto}
.ceiling-controls{display:flex;gap:14px;flex-wrap:wrap;padding:10px 14px;align-items:center}
.ceiling-controls label{display:flex;gap:8px;align-items:center;font-size:.85rem}
.ceiling-controls select{font:inherit;color:inherit;background:#101b41;border:1px solid #4c547d;border-radius:8px;padding:7px}
#clStatus,#ceilingPanel details{padding:0 14px;font-size:.85rem;color:#bfc9e8;margin:8px 0}
#clRows{max-width:100%;overflow:auto}
#clRows table{border-collapse:collapse;table-layout:auto;min-width:100%;width:max-content}
#clRows th,#clRows td{white-space:nowrap;width:auto;text-align:center;padding:9px 12px}
#clRows th:first-child,#clRows td:first-child{position:sticky;left:0;z-index:1;background:#10193c;text-align:left}
#clRows td small{display:block}#clRows .cl-sort{border:0;color:inherit;background:transparent;font:inherit;cursor:pointer;padding:5px}
#clRows th[aria-sort=descending],#clRows th[aria-sort=ascending]{color:#d4baff}
@media(max-width:760px){#clRows th,#clRows td{padding:7px}#clRows .player-cell{min-width:0;max-width:144px;white-space:normal}#clRows .avatar{width:32px;height:32px}#clRows .nba-prob-ring{width:45px;height:45px}}

/* Keep full-resolution team artwork inside the sticky identity and matchup cells. */
#clRows .nba-player-teamline img,#clRows .nba-matchup img{width:var(--logo-size);height:var(--logo-size);max-width:var(--logo-size);max-height:var(--logo-size);object-fit:contain;vertical-align:middle;flex:0 0 var(--logo-size)}
#clRows .nba-player-teamline{--logo-size:18px;white-space:normal;line-height:1.35}
#clRows .nba-player-teamline img{margin-right:4px}
#clRows .nba-matchup{--logo-size:22px}
#clRows .player-cell>div{min-width:0;overflow-wrap:break-word}
#clRows .player-cell>.avatar{flex-shrink:0}
@media(max-width:760px){#clRows .player-cell{width:clamp(112px,33vw,144px);gap:6px}#clRows .nba-player-teamline{--logo-size:16px}#clRows .nba-matchup{--logo-size:18px}}

@media(max-width:760px){
  #clRows .nba-prob-ring{font-family:system-ui,sans-serif;font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:1;-webkit-text-size-adjust:100%;text-size-adjust:100%;width:6.25em;height:6.25em;min-width:6.25em}
  #clRows .nba-prob-ring>span{white-space:nowrap}
  #clRows .cl-sort{white-space:nowrap}
}

#clRows .cl-face{padding:0;border:0;background:#192651;color:inherit;border-radius:50%;display:inline-grid;place-items:center;width:44px;height:44px;flex:0 0 44px;cursor:pointer;font:inherit;text-decoration:none}
#clRows .cl-face:focus-visible{outline:2px solid #c8a8ff;outline-offset:2px}
#clRows .cl-face .avatar{width:100%;height:100%;box-sizing:border-box}
#clRows .nba-player-teamline{display:flex;align-items:center;gap:4px}
#clRows .nba-player-teamline img{margin:0}
#clRows .nba-matchup{justify-content:center;gap:5px}
@media(max-width:760px){#clRows .player-cell{width:clamp(135px,36vw,166px);max-width:166px}#clRows .cl-face{width:36px;height:36px;flex-basis:36px}}

#ceilingSwitch .cl-new{display:inline-block;vertical-align:middle;margin-inline-start:.25em;padding:.22em .52em;border-radius:999px;background:#b6f4d4;color:#113524;font-size:.625rem;font-weight:850;letter-spacing:.045em;line-height:1.1;text-transform:uppercase}

#clRows .cl-progress{display:block;margin:.4rem auto .2rem;width:4.4rem;max-width:100%;height:.4rem;accent-color:#58dba4}
#clRows .cl-progress-label{display:block;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;color:#cbd5ec;font-size:.75rem}
