/* Desktop finish, 1.3.9. Scoped overrides for the normal Wellbeing league. */
#tlt-wellbeing-league .wb139-draft-stats-toggle,
#tlt-wellbeing-league .wb139-player-meta{display:none}
.wb139-standings-grid{display:grid;gap:0}
@media(min-width:1024px){
 /* The whole league has two 16-team columns. Narrower scopes grow naturally. */
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings-grid.is-league{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-table-wrap{overflow:visible;min-width:0}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-standings{min-width:0;width:100%;table-layout:auto;border-collapse:collapse}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings th{height:28px;padding:3px 6px;font-size:9px;white-space:nowrap}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings td{height:28px;padding:2px 6px;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings td:first-child{width:22px;color:#8499ac}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings :is(th,td):nth-child(n+3){text-align:right}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings button{min-height:24px!important;padding:0!important;font-size:inherit;gap:5px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-team-identity{gap:7px;min-width:0}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-franchise-mark{width:22px;height:22px;min-width:22px;flex:0 0 22px;border-radius:5px;font-size:8px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-franchise-mark>span{font-size:8px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .wb131-team-label{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;line-height:13px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .wb131-team-label>span{font-size:11px;font-weight:550}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .wb131-team-label>small{font-size:8px;line-height:10px;margin:0;color:#8c9eaf}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings .lui-you{font-size:7px;padding:1px 3px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-conference td{height:32px;font-size:12px;padding:3px 12px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-conference .lui-franchise-mark{width:26px;height:26px;flex-basis:26px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-conference .wb131-team-label>span{font-size:13px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-conference .wb131-team-label>small{font-size:10px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division td{height:76px;font-size:16px;padding:10px 16px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division .lui-franchise-mark{width:42px;height:42px;flex-basis:42px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division .lui-franchise-mark>span{font-size:12px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division .wb131-team-label{display:grid;gap:4px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division .wb131-team-label>span{font-size:17px;line-height:20px}
 #tlt-wellbeing-league #tlt-wb-market .wb139-standings.is-division .wb131-team-label>small{font-size:11px}
 /* Matchups: positional emblems on the outer edge of each player's name. */
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair>.wb130-player-row{grid-template-columns:28px minmax(0,1fr) max-content 46px;column-gap:7px}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-position{display:flex!important;grid-column:1;grid-row:1/3;justify-content:center;align-items:center}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-position>.lui-player-mark{display:block!important;width:26px;height:38px;min-width:0;padding:0;border:0;border-radius:3px;background:none;box-shadow:none}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-position>.lui-player-mark img{display:block!important;width:100%;height:100%;max-height:none;object-fit:contain}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-position>.lui-player-mark>span{display:none}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-player-row.is-right{grid-template-columns:46px max-content minmax(0,1fr) 28px}
 #tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .is-right .wb130-position{grid-column:4}
 /* Reallocate the lower draft space: narrow queue, broad player list, complete roster. */
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-panes{grid-template-columns:minmax(170px,.68fr) minmax(465px,1.9fr) minmax(275px,1.1fr);gap:10px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane .mxvfd-window{min-height:0;max-height:none;overflow:visible}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane .mxvfd-panel-head{min-height:32px;padding:5px 8px;position:static;gap:5px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane :is(h2,h3){font-size:12px;margin:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane .mxvfd-collapsible{padding:5px;max-height:none;overflow:visible}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane .mxvfd-search-row{margin:0 0 4px;gap:4px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-draft-pane :is(.mxvfd-search-row,.mxvfd-sort-row) :is(button,input,select){min-height:26px;height:26px;padding:3px 6px;font-size:10px;border-radius:4px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-player-options{margin:0 0 4px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb-player-options>summary{min-height:24px;padding:4px 7px;font-size:10px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-position-art{display:flex;flex-wrap:wrap;overflow:visible;gap:4px;margin:0 0 5px;padding:0;width:100%}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-position-art button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;flex:1 1 49px;min-width:49px;max-width:none;height:38px;min-height:38px;padding:2px 4px;border-radius:5px;overflow:hidden}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-position-art button img{display:block;width:21px;height:32px;max-width:21px;min-width:21px;object-fit:contain;margin:0;border-radius:2px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-filter-copy{position:static;display:block;min-width:0;max-width:none;text-align:left;overflow:visible}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-filter-copy strong{font:600 8px/1.1 system-ui;white-space:normal;overflow-wrap:anywhere}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-filter-copy small{display:none}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-position-button[hidden]{display:none!important}
 /* Twenty closed player rows occupy 480px. Expanded Stats use their natural height. */
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd [data-role=pool-list].mxvfd-list{display:block;height:480px;max-height:480px;padding:0!important;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool]{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 5px;min-height:24px;padding:0 3px!important;box-sizing:border-box}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb123-player-head{grid-template-columns:23px minmax(0,1fr) 42px!important;gap:4px;min-width:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .mxvfd-pos{width:23px;height:18px;padding:0;min-height:0;font-size:8px;border-radius:3px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .mxvfd-copy{display:flex!important;gap:5px;align-items:baseline;min-width:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb123-player-name{font:550 11px/22px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .mxvfd-meta{display:none}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb139-player-meta{display:inline;font:400 8px/1 system-ui;white-space:nowrap;color:#92a9ba;flex-shrink:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] :is(button,.wb126-profile){min-width:0!important;min-height:22px!important;height:22px!important;padding:1px 4px!important;font:500 9px/18px system-ui!important;border-radius:3px!important;letter-spacing:0!important;margin:0!important;box-sizing:border-box;white-space:nowrap}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .mxvfd-card-actions{grid-column:2!important;grid-row:1;gap:3px!important;margin:0!important;width:auto!important;flex-wrap:nowrap!important}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb139-draft-stats-toggle{display:inline-flex}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb126-draft-stats{grid-column:1/-1;grid-row:2;margin:0;padding:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb126-draft-stats:not(:has(details[open])){display:none}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb126-draft-stats>.wb126-details>summary{display:none}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-player-card[data-context=pool] .wb126-detail-body{padding:10px}
 /* One line per roster slot, including all eight bench slots and move controls. */
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-roster-list{display:grid;gap:1px;max-height:none!important;overflow:visible;padding:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot{grid-template-columns:20px minmax(0,1fr);min-height:28px;gap:3px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-art{width:20px;height:27px;padding:0;border:0;border-radius:2px;background:transparent}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-art img{width:18px;height:26px;max-height:26px;object-fit:contain;border-radius:2px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-bench-chair{font-size:12px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-drop{display:grid;grid-template-columns:29px minmax(0,1fr);align-items:center;gap:3px;padding:0 3px;min-height:28px;border-radius:3px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-label{font:500 8px/10px system-ui;letter-spacing:0;margin:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-asset{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;padding:0;border:0;border-radius:0;background:none;min-height:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-copy{display:block;min-width:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-copy>strong{display:block;font:550 11px/26px system-ui;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-state{display:none}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-actions{gap:1px;margin:0;flex-wrap:nowrap}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-actions :is(button,.mxvfd-drag-handle){display:inline-grid;place-items:center;min-width:18px;width:18px;min-height:24px;height:24px;padding:0;font:500 10px/1 system-ui;border-radius:3px;box-sizing:border-box}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-drop>.mxvfd-meta{font:400 9px/1.3 system-ui}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-add-players{padding:8px;min-height:42px;gap:6px;font-size:12px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-add-players small{font-size:9px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .wb123-queue-empty{min-height:110px;padding:12px 6px}
 /* Soft position fills preserve ownership bars, selected/focus outlines and zoom. */
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=QB]{--wb139-fill:#32202d}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=RB]{--wb139-fill:#20312b}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=WR]{--wb139-fill:#203041}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=TE]{--wb139-fill:#352e20}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=K]{--wb139-fill:#2c263b}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled[data-pos=DST]{--wb139-fill:#2a3035}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled{background:var(--wb139-fill,#182632)!important;border-radius:4px}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-filled .mxvfd-pick-asset em{color:#dbe2e8;font-weight:550}
 #tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-pick.is-selected{outline:2px solid #bdeade;outline-offset:-2px}
}

@media(min-width:1024px){
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-slot-axis>.lui-player-mark{display:none!important}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-identity{grid-column:2;grid-row:1}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-game{grid-column:2;grid-row:2}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-player-actions{grid-column:3;grid-row:1/3;margin:0;justify-content:flex-end}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .wb130-projection{grid-column:4;grid-row:1/3}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .is-right .wb130-identity{grid-column:3}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .is-right .wb130-game{grid-column:3;justify-content:flex-end}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .is-right .wb130-player-actions{grid-column:2;justify-content:flex-start}
#tlt-wellbeing-league #tlt-wb-market .wb130-slot-pair .is-right .wb130-projection{grid-column:1}
}

@media(min-width:1024px){
#tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-bench-chair{min-height:0;height:auto;line-height:1}
#tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-state:not(.locked){display:block;font:500 8px/10px system-ui;padding:0;border:0;background:none;border-radius:0}
#tlt-wellbeing-league #tlt-wellbeing-matrix-vfd .mxvfd-slot-copy:has(.mxvfd-slot-state:not(.locked))>strong{line-height:16px}
}
