.lila-replacement{--lr-bg:#080f1e;--lr-panel:#0d172b;--lr-border:#243650;--lr-muted:#9bacc7;--lr-teal:#00c7b7;--lr-green:#00e676;color:#edf1fb;background:var(--lr-bg);font:16px/1.4 Arial,sans-serif;padding:16px;border-radius:12px;min-width:0}.lila-replacement *{box-sizing:border-box}.lila-replacement h2,.lila-replacement h3,.lila-replacement h4,.lila-replacement p{margin:0}.lila-replacement button{font:inherit;cursor:pointer;min-height:36px;border:1px solid var(--lr-border);border-radius:7px;background:#172740;color:#edf1fb;padding:6px 12px}.lila-replacement button:hover{filter:brightness(1.2)}.lila-replacement button:focus-visible{outline:3px solid #fff;outline-offset:2px}.lila-replacement button:disabled{cursor:default;opacity:.75}.lr-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.lr-top h2{font-size:28px;letter-spacing:.04em}.lr-top h2 small{display:inline;font-size:14px;color:var(--lr-muted);letter-spacing:0;font-weight:400}.lr-eyebrow{font-size:11px;color:var(--lr-muted);letter-spacing:.12em}.lr-controls{display:flex;align-items:end;gap:8px}.lr-controls label{font-size:12px;color:var(--lr-muted)}.lr-controls select,.lr-dialog input{display:block;background:#15213a;color:#fff;border:1px solid #385171;border-radius:6px;padding:8px;font:inherit;max-width:100%}.lr-status{padding:8px 10px;border-left:3px solid var(--lr-teal);color:var(--lr-muted);font-size:13px;margin-bottom:10px!important}.lr-status.lr-error{border-color:#ff3d5a;color:#ffbdc7}.lr-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--lr-muted);margin:10px 0}.lr-data-note{font-size:12px;color:var(--lr-muted);padding:8px;line-height:1.5}.lr-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lr-column{min-width:0}.lr-column>header{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid var(--lr-border);border-radius:8px;background:var(--lr-panel);padding:9px 12px;min-height:65px;margin-bottom:6px}.lr-column h3{font-size:17px}.lr-column header small{font-size:10px;color:var(--lr-muted)}.lr-column:first-child h3{color:#b785ff}.lr-column:nth-child(2) h3{color:var(--lr-teal)}.lila-replacement .lr-total{border:0;padding:0;color:var(--lr-teal);background:transparent;text-decoration:underline;font-size:20px;font-weight:700;white-space:nowrap}.lr-roster{border:1px solid var(--lr-border);background:var(--lr-panel);border-radius:8px;padding:0 5px;max-height:75vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#465f82 transparent}.lr-card{padding:12px 0 0;border-bottom:1px solid #24334b;min-width:0}.lr-player{display:flex;align-items:center;gap:8px;padding:0 7px;min-width:0}.lila-replacement .lr-slot{padding:0;border:0;background:none;flex-shrink:0;min-height:0}.lr-badge{display:inline-flex;justify-content:center;align-items:center;width:43px;height:33px;flex-shrink:0;border-radius:6px;font-weight:700;color:#081326;background:#8796ab}.lr-pos-pg{background:#ff3d5a}.lr-pos-sg{background:#ff8500}.lr-pos-sf{background:#8befcf}.lr-pos-pf{background:#50c7ed}.lr-pos-c{background:#c569ff}.lr-pos-ut{background:#9060ff}.lr-pos-g{background:linear-gradient(90deg,#ff3d5a 50%,#ff8500 50%)}.lr-pos-f{background:linear-gradient(90deg,#8befcf 50%,#50c7ed 50%)}.lr-pos-ir{background:#000;color:white}.lr-pos-bn{background:#64718b;color:white}.lr-badge-locked{background:#334577;color:#bdcaff}.lr-badge-locked.lr-pos-pg,.lr-text-pg{color:#ff3d5a}.lr-badge-locked.lr-pos-sg,.lr-text-sg{color:#ff8500}.lr-badge-locked.lr-pos-sf,.lr-text-sf{color:#8befcf}.lr-badge-locked.lr-pos-pf,.lr-text-pf{color:#50c7ed}.lr-badge-locked.lr-pos-c,.lr-text-c{color:#c569ff}.lr-name{flex:1;min-width:0;line-height:1.3}.lr-name strong{font-size:17px}.lr-name>span{font-size:14px;color:var(--lr-muted);font-weight:700}.lr-score{display:flex;flex-direction:column;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.lr-score>b{font-size:21px;line-height:1.1}.lr-score>small{color:#fff;font-size:13px}.lr-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin-top:5px;align-items:start}.lila-replacement .lr-day{background:#202642;border:1px solid #2b3353;border-radius:5px;min-width:0;width:100%;height:34px;min-height:0;padding:1px 3px;font-size:10px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:16px 12px;color:#a5b4ce;text-align:left;align-content:start;line-height:1.2}.lr-day b{text-align:right;color:#f1f5ff;font-size:11px;font-variant-numeric:tabular-nums}.lr-day small{grid-column:1/3;font-size:9px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lr-day em{display:none}.lila-replacement .lr-day.lr-off{height:21px;display:block;padding-top:3px;font-size:10px;color:#7187a6}.lr-day-stack{min-width:0;display:grid;gap:2px}.lila-replacement .lr-locked{background:#00FEF6;border-color:#00FEF6;color:#071521}.lr-locked b,.lr-locked small{color:#071521}.lila-replacement .lr-lockable{border-color:#00c7b7;color:#00c7b7}.lr-lockable b{color:#00c7b7}.lila-replacement .lr-unlockable{border-color:#566681;color:#a8b8d1}.lila-replacement .lr-partial{border-color:#ffdc20;color:#ffdc20}.lr-partial b{color:#ffdc20}.lila-replacement .lr-tier-green{border-color:#00e676}.lila-replacement .lr-tier-yellow{border-color:#ffdc20}.lila-replacement .lr-tier-orange{border-color:#ff9c25}.lila-replacement .lr-tier-red{border-color:#ff3d5a}.lr-empty{display:flex;align-items:center;gap:10px;min-height:97px;padding:12px 7px;color:#8092af}.lr-no-games{font-size:11px;color:#9bacc7;padding:4px}.lr-fa-group h4{font-size:13px;display:flex;align-items:center;gap:8px;padding:8px 4px;border-bottom:1px solid #24334b}.lr-fa-group h4 .lr-badge{width:32px;height:23px}.lr-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--lr-border);margin-top:10px;padding:10px;font-size:11px}.lr-key-locked,.lr-key-lockable{color:#00c7b7}.lr-key-green{color:#00e676}.lr-key-yellow{color:#ffdc20}.lr-key-orange{color:#ff9c25}.lr-key-red{color:#ff3d5a}.lr-tabs{display:none}.lr-dialog{--lr-border:#30415f;--lr-muted:#a1b1c9;background:#0d172b;color:#f0f4ff;border:1px solid #405475;border-radius:12px;max-width:680px;width:calc(100vw - 32px);max-height:90dvh;padding:0;font:16px/1.5 Arial,sans-serif}.lr-dialog::backdrop{background:#000b}.lr-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;background:#14213a;position:sticky;top:0;z-index:2}.lr-dialog h3{margin:0;font-size:19px}.lr-dialog header button{font-size:24px;background:transparent;border:0;color:#fff;cursor:pointer}.lr-dialog-body{padding:18px}.lr-dialog-body p{margin:10px 0}.lr-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #30415f}.lr-dialog footer button{background:#1772f4;border:1px solid #405475;color:white;border-radius:7px;font:700 14px Arial;padding:10px 16px;cursor:pointer}.lr-dialog footer .secondary{background:#22314b}.lr-dialog .lr-check{display:flex;align-items:start;gap:10px;margin:18px 0}.lr-dialog .lr-check input{margin-top:5px;accent-color:#00c7b7}.lr-dialog label{display:block}.lr-scorecard-total{color:#00c7b7;font-size:30px;font-weight:700}.lr-scorecard-row{border-bottom:1px solid #30415f}.lr-scorecard-row>button{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:8px;width:100%;background:transparent;color:white;border:0;padding:10px 0;cursor:pointer;font:inherit;text-align:left}.lr-scorecard-row>button>span:not(.lr-badge){font-size:11px;grid-column:2;grid-row:2;color:#a1b1c9}.lr-scorecard-row>button>b{grid-column:3;grid-row:1/3}.lr-dialog .lr-swap-target{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px;background:#17233e;border:1px solid #344667;color:white;margin-top:8px;cursor:pointer;border-radius:7px}.lr-swap-target small{color:#a1b1c9}.lr-changed{animation:lr-change 3s}@keyframes lr-change{0%,35%{background:#334577}100%{background:transparent}}.lr-timer:not(:empty){position:sticky;bottom:0;padding:12px;background:#17343c;border:1px solid #00c7b7;border-radius:8px;font-size:14px}.lr-timer button{margin-left:10px}
@media(min-width:1600px){.lr-name strong{font-size:21px}.lr-name>span{font-size:17px}.lr-badge{width:56px;height:40px}.lila-replacement .lr-day{height:39px;font-size:12px;grid-template-rows:18px 15px}.lr-day b{font-size:14px}.lr-day small{font-size:11px}.lila-replacement .lr-day.lr-off{height:24px}}
@media(max-width:1000px){.lr-name strong{font-size:15px}.lr-name>span{display:block;font-size:12px}.lr-player{gap:5px;padding:0 3px}.lr-badge{width:35px}.lr-score>b{font-size:18px}.lila-replacement .lr-day{padding:2px 1px}.lr-day b{font-size:10px}}
@media(max-width:760px){.lila-replacement{padding:10px 6px}.lr-top{align-items:start;flex-direction:column}.lr-top h2 small{display:block}.lr-controls{width:100%}.lr-controls label{flex:1;min-width:0}.lr-controls select{width:100%}.lr-columns{display:block}.lr-column{display:none}.lr-column.lr-active{display:block}.lr-roster{max-height:none;overflow:visible}.lr-tabs{position:sticky;top:0;z-index:5;display:flex;gap:4px;padding:6px 0;background:#080f1e}.lr-tabs button{flex:1}.lr-tabs button[aria-pressed=true]{border-color:#00c7b7;color:#00c7b7;background:#183345}.lr-name strong{font-size:19px}.lr-name>span{font-size:14px;display:inline}.lr-badge{width:43px;height:35px}.lr-card{padding-top:12px}.lr-player{gap:8px;padding:0 6px}.lr-score>b{font-size:22px}.lila-replacement .lr-day{height:34px;padding:1px 3px}.lr-day b{font-size:12px}.lr-legend{gap:10px}.lr-dialog[open]{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden}.lr-dialog header{padding-top:calc(14px + env(safe-area-inset-top))}.lr-dialog-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.lr-dialog footer{flex-shrink:0;position:sticky;bottom:0;background:#0d172b;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.lr-dialog .lr-name strong{font-size:17px}.lr-dialog .lr-name>span{font-size:12px}.lr-dialog-body{padding:12px}}
@media(prefers-reduced-motion:reduce){.lr-changed{animation:none;background:#334577}}
.lila-replacement .lr-csv-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.lila-replacement .lr-csv-tools[hidden]{display:none!important}
.lila-replacement .lr-controls .lr-csv-week,.lila-replacement .lr-controls .lr-csv-file{display:inline-flex;align-items:center;gap:4px}
.lila-replacement .lr-csv-file{min-height:36px;padding:6px 12px;border:1px solid var(--lr-border);border-radius:7px;cursor:pointer}
.lila-replacement .lr-csv-file input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lila-replacement .lr-csv-errors{color:#fecaca;padding-left:1.4rem}
@media(max-width:760px){.lila-replacement .lr-top{align-items:flex-start;flex-direction:column}.lila-replacement .lr-controls{flex-wrap:wrap}.lila-replacement .lr-csv-tools{flex-basis:100%}}

/* Keep LILA's visual hierarchy isolated from host-page button styles. */
 .lila-replacement .lr-day:not(.lr-locked){background:#202642!important;border:2px solid #2b3353!important;box-shadow:none!important;min-height:0!important}
.lila-replacement .lr-day.lr-tier-green{border-color:#00e676!important;box-shadow:inset 0 0 0 1px #00e676!important}
.lila-replacement .lr-day.lr-tier-yellow{border-color:#ffdc20!important;box-shadow:inset 0 0 0 1px #ffdc20!important}
.lila-replacement .lr-day.lr-tier-orange{border-color:#ff9c25!important;box-shadow:inset 0 0 0 1px #ff9c25!important}
.lila-replacement .lr-day.lr-tier-red{border-color:#ff3d5a!important;box-shadow:inset 0 0 0 1px #ff3d5a!important}
.lr-scorecard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;background:#13213a;border:1px solid #30415f;border-radius:8px}
.lr-scorecard-heading>span{font-size:12px;letter-spacing:.08em;color:#a1b1c9}
.lr-scorecard-heading>strong{font-size:26px;color:#00c7b7;font-variant-numeric:tabular-nums}
.lr-scorecard-heading>strong.lr-scorecard-approx{color:#00e676}
.lr-dialog-body .lr-scorecard-list{max-height:62dvh;overflow:auto;scrollbar-width:thin}
.lr-scorecard-row{border-bottom:1px solid #30415f}
.lr-scorecard-row>button.lr-scorecard-trigger{display:grid!important;grid-template-columns:38px minmax(0,1fr) 82px!important;grid-template-rows:auto!important;align-items:center!important;gap:0 8px!important;width:100%;height:auto!important;min-height:0!important;padding:4px 8px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:white!important;text-align:left!important;font:inherit!important}
.lr-scorecard-trigger>.lr-badge{width:34px;height:28px;font-size:14px}
.lr-scorecard-copy{grid-column:2;grid-row:1;display:flex;min-width:0;flex-direction:column;line-height:1.2}
.lr-scorecard-copy>strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lr-scorecard-copy>small{font-size:11px;color:#a1b1c9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lr-scorecard-metric{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;font-variant-numeric:tabular-nums}
.lr-scorecard-metric>b{font-size:16px}
.lr-scorecard-metric>small{font-size:10px;color:#fff}
.lr-scorecard-projected>b{color:#00e676}
.lr-scorecard-locked>b{color:#00c7b7}
.lr-scorecard-empty>b{color:#a1b1c9}
.lr-scorecard-row>button.lr-scorecard-trigger:hover{background:#14213a!important}
.lr-dialog-body:has(.lr-scorecard-list){padding:12px 16px}
.lr-dialog-body:has(.lr-scorecard-list)>.lr-data-note{padding:4px 2px;margin:4px 0}
.lr-dialog.lr-csv-screen{width:min(920px,calc(100vw - 32px));max-width:920px}
.lr-csv-import{margin-top:18px;padding:14px;border:1px solid #30415f;border-radius:8px;background:#101c32}
.lr-csv-import .lr-csv-file{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #405475;border-radius:7px;background:#172740;color:white;cursor:pointer}
.lr-csv-import .lr-csv-file input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lr-dialog-body select[data-csv-screen-week]{margin-top:5px;min-width:220px}
@media(max-width:760px){.lr-dialog-body .lr-scorecard-list{max-height:65dvh}.lr-scorecard-heading>strong{font-size:22px}.lr-scorecard-trigger>.lr-badge{width:32px;height:26px}.lr-scorecard-row>button.lr-scorecard-trigger{grid-template-columns:34px minmax(0,1fr) 72px!important;padding:3px 4px!important}.lr-scorecard-copy>strong{font-size:13px}.lr-scorecard-copy>small{font-size:10px}}

.lila-replacement .lr-day.lr-locked{background:#00FEF6!important;border-color:#00FEF6!important}
.lr-dialog.lr-csv-screen{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
.lr-csv-screen .lr-dialog-body{flex:1;overflow:auto}

/* LILA approved dashboard page header and sticky three-column portals */
#app-hero.lr-lila-hero{position:relative;padding-bottom:44px}
#app-hero.lr-lila-hero .lr-controls{position:absolute;right:0;bottom:0;z-index:20;display:flex;align-items:center;gap:8px}
#app-hero.lr-lila-hero .lr-controls label{display:flex;align-items:center;gap:7px;color:var(--lr-muted);font-size:13px}
#app-hero.lr-lila-hero .lr-controls select{min-width:190px}
#app-hero.lr-lila-hero .lr-csv-arrows{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-right:5px}
#global-breadcrumb.lr-lila-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:14px}
.lr-header-snapshot{text-align:right;margin-left:auto}
.lr-column-scroll{max-height:75vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#465f82 transparent}
.lr-column>header{position:static;top:auto;z-index:auto}
.lr-column-scroll>.lr-roster{max-height:none;overflow:visible}
.lr-fa-heading{display:flex;align-items:center;gap:8px;min-width:0}
.lr-factoid{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--lr-muted);border-radius:50%;font-size:13px;color:var(--lr-muted);cursor:help}
.lr-total[data-best="team"]{color:#b785ff!important}
.lr-total[data-best="opponent"]{color:var(--lr-teal)!important}
@media(max-width:760px){
  #app-hero.lr-lila-hero{padding-bottom:0}
  #app-hero.lr-lila-hero .lr-controls{position:static;width:100%;flex-wrap:wrap}
  #app-hero.lr-lila-hero .lr-controls label{flex:1;min-width:150px;flex-direction:column;align-items:stretch}
  #app-hero.lr-lila-hero .lr-controls select{width:100%;min-width:0}
  #global-breadcrumb.lr-lila-breadcrumb{align-items:flex-start;flex-direction:column}
  .lr-header-snapshot{text-align:left;margin-left:0}
  .lr-column-scroll{max-height:none;overflow:visible}
}

#app-hero.lr-lila-hero .lr-controls button{font:inherit;cursor:pointer;min-height:36px;border:1px solid #a84ff2;border-radius:7px;background:linear-gradient(110deg,#8225d8,#a94cf2);color:#fff;padding:7px 12px;white-space:nowrap}
#app-hero.lr-lila-hero .lr-controls button:hover{filter:brightness(1.12)}
#app-hero.lr-lila-hero .lr-controls button:focus-visible{outline:3px solid #fff;outline-offset:2px}
#app-hero.lr-lila-hero .lr-controls select{background:#15213a;color:#fff;border:1px solid #00ddeb;border-radius:6px;padding:8px;font:inherit;max-width:100%}
/* Match the approved mockup: keep the free-agent title neutral white. */
.lila-replacement .lr-column[data-panel="free"] h3{color:#fff!important}

/* Mobile lineup workspace: one page scroll, compact header, readable seven-day cards. */
.lr-refresh-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#app-hero .lr-controls [hidden]{display:none!important}
@media(max-width:760px){
 body.lila-page.signed-in-landing .shell{height:auto;min-height:100dvh;overflow:visible;display:flex;flex-direction:column;padding:10px;gap:8px}
 body.lila-page #app-hero.lr-lila-hero{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-areas:"brand account" "title title" "controls controls";gap:8px;margin:0;padding:0;width:100%;align-items:center}
 body.lila-page #app-hero .hero-left{display:contents}
 body.lila-page #fantasyhq-home{grid-area:brand;width:48px;height:48px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body.lila-page #fantasyhq-home img{display:block;width:48px!important;height:48px;max-height:none!important;object-fit:contain}
 body.lila-page #app-hero .hero-right:has(#header-account){grid-area:account;align-self:center;margin:0;width:auto;justify-self:end}
 body.lila-page #header-account{flex-wrap:nowrap;gap:6px;align-items:center}
 body.lila-page #header-username{font-size:15px}
 body.lila-page #header-account button{width:44px;min-width:44px;height:44px;padding:8px}
 body.lila-page #app-surface-title{grid-area:title;font-size:18px!important;line-height:1.25;margin:0 0 2px!important}
 body.lila-page #app-hero .lr-controls{grid-area:controls;position:static;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;width:100%}
 body.lila-page #app-hero .lr-controls label{display:block;flex:1;min-width:0;margin:0}
 body.lila-page #app-hero .lr-controls select{width:100%;height:44px;font-size:15px;padding:8px}
 body.lila-page #app-hero .lr-controls button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px}
 body.lila-page .lr-controls .lr-control-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 body.lila-page #app-hero .lr-csv-arrows{width:22px;height:22px;margin:0}
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb{position:static;transform:none;left:auto;width:100%;margin:0;padding:0 0 8px;background:transparent;display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:12px;line-height:1.4;border-bottom:1px solid #344152}
 body.lila-page .lr-header-snapshot{text-align:left;margin:0;font-size:11px;overflow-wrap:anywhere}
 body.lila-page.signed-in-landing #member-sessions{display:block;flex:none;height:auto;min-height:0;max-height:none;overflow:visible;padding:0;margin:0;border:0;border-radius:0;background:transparent}
 body.lila-page #member-session-list,body.lila-page .member-workspace-detail,body.lila-page #workspace-custom{height:auto;min-height:0;max-height:none;overflow:visible;scrollbar-gutter:auto;padding:0}
 body.lila-page .lila-replacement{padding:0;background:transparent;border-radius:0}
 body.lila-page .lr-status.lr-ready:not(.lr-error){display:none}
 body.lila-page .lr-tabs{display:flex;position:sticky;top:0;z-index:25;gap:0;padding:0;background:#080f1e;border-bottom:1px solid #344152}
 body.lila-page .lr-tabs button{flex:1;min-width:0;min-height:44px;padding:10px 4px;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;color:#9bacc7;font-size:14px;font-weight:600}
 body.lila-page .lr-tabs button[aria-pressed=true]{color:#b785ff;border-bottom-color:#b785ff!important}
 body.lila-page .lr-column-scroll{display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin}
 body.lila-page .lr-column>header{position:static;top:auto;z-index:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:8px 2px;background:#080f1e;margin:0}
 body.lila-page .lr-column>header small{display:none}
 body.lila-page .lr-column-scroll h3{font-size:18px;margin:0;line-height:1.2}
 body.lila-page .lila-replacement .lr-total{font-size:23px;min-height:44px;min-width:44px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0;text-decoration:underline;font-weight:700}
 body.lila-page .lr-roster{border:0;padding:0;background:transparent;border-radius:0;max-height:none;overflow:visible}
 body.lila-page .lr-card{border:1px solid #243650;border-radius:10px;padding:9px 6px 6px;margin:0 0 8px;background:#0d172b}
 body.lila-page .lr-player{padding:0 2px;gap:7px}
 body.lila-page .lr-badge{width:36px;height:32px;font-size:14px}
 body.lila-page .lr-name strong{display:block;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
 body.lila-page .lr-name>span{display:block;font-size:12px;line-height:1.3}
 body.lila-page .lr-score>b{font-size:22px}
 body.lila-page .lr-score>small{font-size:12px}
 body.lila-page .lr-strip{gap:3px;margin-top:7px}
 body.lila-page .lila-replacement .lr-day{height:42px!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:3px 0!important;font-size:10px;line-height:1.15;letter-spacing:-.25px;box-shadow:none!important}
 body.lila-page .lr-day>b{font-size:clamp(10px,3vw,12px);text-align:center;white-space:nowrap}
 body.lila-page .lr-day>small{font-size:9px;line-height:1.2}
 body.lila-page .lr-day>em{display:block;font-size:9px;font-style:normal;line-height:1}
 body.lila-page .lila-replacement .lr-day.lr-off{height:21px!important;display:block;text-align:center;padding-top:5px!important}
 body.lila-page .lr-empty{min-height:66px;display:flex;align-items:center;padding:8px}
 body.lila-page .lr-legend{padding:8px 0;font-size:11px;gap:8px}
 body.lila-page #global-footer{position:static;flex:none;margin-top:16px;padding:10px 0;font-size:12px}
}

/* Correct the mobile height and background after device review. */
@media(max-width:760px){
 body.lila-page{background:#162330!important}
 body.lila-page.signed-in-landing .shell{background:#162330!important;padding:8px 10px;gap:6px}
 body.lila-page #app-hero.lr-lila-hero{grid-template-columns:36px minmax(36px,1fr) auto;grid-template-areas:"brand title account" "controls controls controls";gap:6px 8px}
 body.lila-page #fantasyhq-home,body.lila-page #fantasyhq-home img{width:36px!important;height:36px!important}
 body.lila-page #fantasyhq-home{mix-blend-mode:screen}
 body.lila-page #app-surface-title{font-size:0!important;margin:0!important;line-height:1}
 body.lila-page #app-surface-title::after{content:"LILA";font-size:20px;line-height:1.2;font-weight:700;color:#20c9dc}
 body.lila-page #header-account{gap:2px}
 body.lila-page #header-username{font-size:13px}
 body.lila-page #header-account button{width:44px;min-width:44px;padding:10px}
 body.lila-page #app-hero .lr-controls{margin-top:2px}
 body.lila-page #app-hero .lr-controls select{font-size:14px}
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb{gap:1px;padding-bottom:5px;border-bottom:0}
 body.lila-page .lr-tabs,body.lila-page .lr-column>header{background:#162330!important}
 body.lila-page .lr-tabs button{padding:8px 4px}
 body.lila-page .lr-column>header{min-height:44px;padding:0 2px}
 body.lila-page .lr-column-scroll h3{font-size:17px}
 body.lila-page .lila-replacement .lr-total{font-size:22px}
 body.lila-page .lr-card{background:#182838;padding:8px 6px 5px;margin-bottom:6px}
 body.lila-page .lila-replacement .lr-day{height:40px!important}
 body.lila-page .lila-replacement .lr-day.lr-off{height:20px!important}
 body.lila-page #global-footer{background:#162330}
}

/* Fixed mobile shell: title/tabs/footer stay put; only the roster scrolls. */
#app-hero > [data-lila-header-toggle]{display:none;font:inherit;color:inherit;background:transparent!important;border:0!important;box-shadow:none!important;padding:0;text-align:left;min-height:0}
@media(max-width:760px){
 body.lila-page{height:100dvh;overflow:hidden}
 body.lila-page.signed-in-landing .shell{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column;gap:4px;padding:6px 10px 0;box-sizing:border-box}
 body.lila-page #app-hero.lr-lila-hero{flex:0 0 auto;grid-template-columns:36px minmax(0,1fr);grid-template-areas:"brand account" "title title" "controls controls";gap:3px 8px}
 body.lila-page #app-surface-title{font-size:17px!important;line-height:1.2;margin:0!important;width:100%;min-width:0}
 body.lila-page #app-hero #app-surface-title{display:none!important}
 body.lila-page #app-hero > [data-lila-header-toggle]{grid-area:title;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;gap:4px;font-size:16px!important;cursor:pointer}
 body.lila-page [data-lila-header-toggle]::after{content:"⌃";font-size:20px}
 body.lila-page.lila-header-collapsed [data-lila-header-toggle]::after{content:"⌄"}
 body.lila-page.lila-header-collapsed #app-hero.lr-lila-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"title";gap:0}
 body.lila-page.lila-header-collapsed #fantasyhq-home,
 body.lila-page.lila-header-collapsed #app-hero .hero-right,
 body.lila-page.lila-header-collapsed #app-hero .lr-controls,
 body.lila-page.lila-header-collapsed #global-breadcrumb{display:none!important}
 body.lila-page #global-breadcrumb{flex:0 0 auto;margin:0}
 body.lila-page.signed-in-landing #member-sessions{display:flex;flex-direction:column;flex:1 1 0;min-height:0;height:auto;max-height:none;overflow:hidden;padding:0;margin:0;gap:0}
 body.lila-page #member-sessions>.member-workspace-header{display:none}
 body.lila-page #member-workspace-detail,
 body.lila-page #workspace-custom,
 body.lila-page .lila-dashboard-root,
 body.lila-page .lila-replacement,
 body.lila-page .lila-replacement>[data-content]{display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;height:auto;overflow:hidden;padding:0;scrollbar-gutter:auto}
 body.lila-page .lr-tabs{position:static;flex:0 0 auto}
 body.lila-page .lr-columns{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
 body.lila-page .lr-column{display:none;min-height:0}
 body.lila-page .lr-column.lr-active{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
 body.lila-page .lr-column-scroll{display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin}
 body.lila-page .lr-column>header{position:static;top:auto;z-index:auto;flex:0 0 auto;min-height:44px}
 body.lila-page .lr-column-scroll>.lr-roster{flex:0 0 auto;min-height:0;max-height:none;overflow:visible;padding-bottom:8px}
 body.lila-page .lr-legend{display:none}
 body.lila-page .lr-timer:not(:empty){position:static;flex:0 0 auto;font-size:12px;padding:5px}
 body.lila-page #global-footer{position:static;flex:0 0 auto;margin:0;min-height:44px;padding:5px 0 calc(5px + env(safe-area-inset-bottom));gap:5px;font-size:11px}
 body.lila-page #footer-feedback,body.lila-page #footer-coming-soon{font-size:11px}
}


/* Approved LILA layout corrections: compact viewport, aligned two-line game cells. */
.lila-replacement{padding:0;border-radius:0}
.lr-status:empty{display:none}
.lr-roster{border:0;background:transparent;border-radius:0;padding:0 1px}
.lr-card{padding-top:7px}
.lr-score.lr-score-locked>b{color:#00c7b7}
.lr-day small{text-align:right;padding-right:2px}
.lr-legend{position:sticky;bottom:0;z-index:3;background:var(--lr-panel);border:1px solid var(--lr-border);border-radius:6px;box-shadow:0 -4px 10px #080f1e;padding:9px;margin-top:8px}
.lr-column:first-child .lr-total{color:#b785ff}
.lr-column:nth-child(2) .lr-total{color:#00c7b7}
.lr-column[data-panel="free"]>div>header>button[data-finalize]{align-self:flex-start;margin-left:auto}
@media(max-width:760px){body.lila-page .lr-legend{display:flex;position:static;flex:0 0 auto;justify-content:flex-start;gap:7px;padding:6px 0;margin:0;box-shadow:none;border:0;border-top:1px solid var(--lr-border);border-radius:0}}


/* Final mockup-aligned desktop header and weekly state colors. */
@media(min-width:1150px){
  #app-hero.lr-lila-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    grid-template-areas:"left controls right"!important;
    align-items:center!important;
    gap:14px!important;
    padding-bottom:0!important;
  }
  #app-hero.lr-lila-hero>.hero-left{
    grid-area:left!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
  }
  #app-hero.lr-lila-hero .hero-left #fantasyhq-home{
    flex:0 1 180px;
    width:180px;
    max-width:180px;
  }
  #app-hero.lr-lila-hero .hero-left #fantasyhq-home img{
    width:min(180px,100%);
  }
  #app-hero.lr-lila-hero #app-surface-title{
    flex:1 1 auto;
    min-width:0;
    margin:0!important;
    white-space:nowrap;
    font-size:clamp(20px,1.55vw,28px)!important;
  }
  #app-hero.lr-lila-hero>.lr-controls{
    grid-area:controls!important;
    position:static!important;
    align-self:center!important;
    margin:0!important;
    flex-wrap:nowrap;
  }
  #app-hero.lr-lila-hero .lr-controls select{min-width:155px}
  #app-hero.lr-lila-hero>.hero-right{
    grid-area:right!important;
    align-self:center!important;
  }
}
.lila-replacement{--lr-teal:#00c7b7!important;--lr-green:#00e676!important}
.lila-replacement .lr-day.lr-locked{
  background:#00FEF6!important;
  border-color:#00FEF6!important;
  color:#071521!important;
}
.lila-replacement .lr-day.lr-locked b,
.lila-replacement .lr-day.lr-locked small{
  color:#071521!important;
}
.lila-replacement .lr-day.lr-tier-green{border-color:#00e676!important;box-shadow:inset 0 0 0 1px #00e676!important}
.lila-replacement .lr-key-green,.lr-scorecard-projected>b{color:#00e676!important}


/* Team Best 9 links share the name row; free-agent action stays in its sticky header. */
.lila-replacement .lr-total{
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  text-decoration:underline!important;
  appearance:none;
  -webkit-appearance:none;
}
@media(min-width:761px){
  body.lila-page .lr-column>header.lr-team-column-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content;
    grid-template-rows:auto auto;
    align-items:baseline!important;
    justify-content:initial!important;
    gap:1px 12px!important;
    min-height:0;
    padding:4px 0 10px;
    margin:0;
    background:var(--lr-bg)!important;
    position:static;
    top:auto;
    z-index:auto;
  }
  body.lila-page .lr-team-column-header>small{
    grid-column:1;
    grid-row:1;
    display:block!important;
  }
  body.lila-page .lr-team-column-header>h3{
    grid-column:1;
    grid-row:2;
    align-self:baseline;
    min-width:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  body.lila-page .lila-replacement .lr-team-column-header>.lr-total{
    grid-column:2;
    grid-row:2;
    align-self:baseline;
    justify-self:end;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    color:inherit;
    text-decoration:underline!important;
    font-size:20px!important;
    line-height:1.2;
  }
  body.lila-page .lr-column>header.lr-free-column-header{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:8px;
    min-height:0;
    padding:4px 0 10px;
    margin:0;
    background:var(--lr-bg)!important;
    position:static;
    top:auto;
    z-index:auto;
  }
  body.lila-page .lr-free-header-actions>[data-finalize]{
    align-self:flex-start!important;
    margin-left:0!important;
  }
}


/* Desktop LILA workspace fills the page body between its dividers. */
@media(min-width:761px){
  body.lila-page.signed-in-landing .shell{
    width:calc(100% - 30px);
    max-width:none;
    padding-top:12px;
    padding-bottom:12px;
    gap:10px;
  }
  body.lila-page.signed-in-landing #member-sessions{
    flex:1 1 0;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    gap:0;
  }
  body.lila-page #member-workspace-detail,
  body.lila-page #workspace-custom,
  body.lila-page .lila-dashboard-root,
  body.lila-page .lila-replacement,
  body.lila-page .lila-replacement>[data-content]{
    display:flex;
    flex:1 1 0;
    flex-direction:column;
    min-height:0;
    max-height:none;
    height:auto;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    overflow:hidden;
  }
  body.lila-page .lr-columns{
    flex:1 1 0;
    min-height:0;
    align-items:stretch;
  }
  body.lila-page .lr-column{
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow:hidden;
  }
  body.lila-page .lr-column-scroll{
    display:flex;
    flex:1 1 0;
    flex-direction:column;
    min-height:0;
    max-height:none;
    overflow:auto;
  }
  body.lila-page .lr-column-scroll>.lr-roster{
    flex:0 0 auto;
    max-height:none;
    overflow:visible;
  }
  body.lila-page #global-footer{
    border-top:1px solid #344152;
    margin-top:0;
  }
}

/* Keep column headers full-height above the roster scroll area. */
@media(min-width:761px){
  body.lila-page .lr-column>header.lr-team-column-header,
  body.lila-page .lr-column>header.lr-free-column-header{
    box-sizing:border-box;
    flex:0 0 64px;
    height:64px;
    min-height:64px;
  }
}

/* Move the desktop key lower and remove the footer divider. */
@media(min-width:761px){
  body.lila-page .lr-legend{transform:translateY(16px)}
  body.lila-page #global-footer{border-top:0!important}
}

/* Keep the key inside the page body and reclaim space from the page footer. */
@media(min-width:761px){
  body.lila-page .lr-legend{transform:none!important}
  body.lila-page #global-footer{
    padding-top:4px!important;
    padding-bottom:4px!important;
  }
}


.lila-replacement .lr-day.lr-lockable-best{background:rgba(105,226,212,.34)!important;border-color:#57cfc2!important;color:#e5fffd!important;box-shadow:inset 0 0 0 1px #57cfc2!important}
.lila-replacement .lr-day.lr-lockable-best b,.lila-replacement .lr-day.lr-lockable-best small{color:#e5fffd!important}
.lr-key-suggested{display:inline-flex;align-items:center;gap:5px;color:#a8efe7}
.lr-key-suggested i{display:inline-block;width:17px;height:12px;border:1px solid #57cfc2;border-radius:3px;background:rgba(105,226,212,.34);box-shadow:inset 0 0 0 1px #57cfc2}

.lr-free-header-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:7px;margin-left:auto;min-width:0}
.lr-defer-toggle{display:inline-flex;align-items:center;gap:7px;color:#e1ebf8;font-size:12px;line-height:1.2;white-space:nowrap;cursor:pointer}
.lr-defer-toggle input{position:absolute;width:1px;height:1px;opacity:0}
.lr-toggle-track{display:inline-flex;align-items:center;width:38px;height:22px;padding:3px;border:1px solid #66809f;border-radius:99px;background:#263652;transition:background .15s,border-color .15s;flex-shrink:0}
.lr-toggle-track>span{width:14px;height:14px;border-radius:50%;background:#dbe5f4;transition:transform .15s}
.lr-defer-toggle input:checked+.lr-toggle-track{background:#155e5a;border-color:#4bcfc4}
.lr-defer-toggle input:checked+.lr-toggle-track>span{transform:translateX(15px);background:#dffffc}
.lr-defer-toggle input:focus-visible+.lr-toggle-track{outline:3px solid #fff;outline-offset:2px}
.lr-pending-label{color:#ffd166;font-size:10px;font-weight:700;white-space:nowrap}
.lr-key-pending{color:#ffd166}
.lila-replacement .lr-day.lr-pending-change{outline:2px dashed #ffd166!important;outline-offset:1px}

@media(max-width:760px){
  .lr-free-header-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}
  .lr-defer-toggle{font-size:12px}
  .lr-pending-label{flex-basis:100%;text-align:right}
}


/* Stack dialog actions on narrow screens so every choice stays visible and tappable. */
@media(max-width:760px){
  .lila-replacement .lr-dialog footer{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:100%;
    max-height:50dvh;
    overflow-y:auto;
    overflow-x:hidden;
    gap:8px;
  }
  .lila-replacement .lr-dialog footer button{
    display:block;
    flex:0 0 auto;
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:48px;
  }
}


/* Give each sticky column heading a clear inset from its column edges. */
@media(min-width:761px){
  body.lila-page .lr-column>header.lr-team-column-header,
  body.lila-page .lr-column>header.lr-free-column-header{
    margin:0 8px 8px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
}
@media(max-width:760px){
  body.lila-page .lr-column>header.lr-team-column-header,
  body.lila-page .lr-column>header.lr-free-column-header{
    margin:0 8px 6px!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
}


/* Keep Confirm, position selector, and Cancel in one right-aligned footer on every screen. */
.lila-replacement .lr-dialog footer.lr-position-actions{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:10px;
}
.lila-replacement .lr-position-picker{display:flex;align-items:center;flex:0 0 auto;margin:0}
.lila-replacement .lr-position-picker select{
  min-width:140px;
  min-height:48px;
  padding:8px 30px 8px 12px;
  border:1px solid #00c7b7;
  border-radius:7px;
  background:#15213a;
  color:#fff;
  font:700 14px Arial,sans-serif;
}
.lila-replacement .lr-dialog footer.lr-position-actions button{
  flex:0 0 auto;
  min-width:96px;
  min-height:48px;
  white-space:nowrap;
}
@media(max-width:760px){
  .lila-replacement .lr-dialog footer.lr-position-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    width:100%;
    max-height:none;
    overflow:visible;
    gap:6px;
    padding:10px 8px calc(10px + env(safe-area-inset-bottom));
  }
  .lila-replacement .lr-dialog footer.lr-position-actions button{
    width:auto!important;
    min-width:72px;
    min-height:44px;
    padding:8px 9px;
    font-size:12px;
  }
  .lila-replacement .lr-position-picker{flex:0 1 auto;min-width:0}
  .lila-replacement .lr-position-picker select{
    width:clamp(72px,28vw,150px);
    min-width:0;
    min-height:44px;
    padding:7px 20px 7px 8px;
    font-size:14px;
  }
}


/* Compact LILA scoresheet: fixed columns keep all nine Best 9 rows easy to scan. */
.lila-replacement .lr-dialog:has(.lr-scorecard-list){
  display:flex;
  flex-direction:column;
  width:min(760px,calc(100vw - 32px));
  max-width:760px;
  max-height:min(760px,calc(100dvh - 32px));
  overflow:hidden;
}
.lila-replacement .lr-dialog:has(.lr-scorecard-list)>.lr-dialog-body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  overflow:auto;
  padding:12px 16px;
}
.lila-replacement .lr-scorecard-heading{flex:0 0 auto;padding:7px 10px}
.lila-replacement .lr-scorecard-heading>strong{font-size:24px}
.lila-replacement .lr-dialog-body:has(.lr-scorecard-list)>.lr-data-note{flex:0 0 auto;font-size:13px;line-height:1.35}
.lila-replacement .lr-scorecard-tablehead,
.lila-replacement .lr-scorecard-trigger{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 92px;
  align-items:center;
  column-gap:8px;
}
.lila-replacement .lr-scorecard-tablehead{
  flex:0 0 25px;
  padding:0 8px;
  color:#9bacc7;
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.lila-replacement .lr-scorecard-tablehead>span:last-child{text-align:right}
.lila-replacement .lr-dialog-body .lr-scorecard-list{
  flex:0 0 auto;
  max-height:none;
  overflow:visible;
}
.lila-replacement .lr-scorecard-row{min-height:50px}
.lila-replacement .lr-scorecard-row>button.lr-scorecard-trigger{
  grid-template-rows:auto!important;
  min-height:50px!important;
  margin:0!important;
  padding:4px 8px!important;
}
.lila-replacement .lr-scorecard-trigger>.lr-badge{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start;
  align-self:center;
  width:34px;
  height:28px;
}
.lila-replacement .lr-scorecard-copy{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center;
}
.lila-replacement .lr-scorecard-metric{
  grid-column:3!important;
  grid-row:1!important;
  align-self:center;
}
.lila-replacement .lr-scorecard-copy>strong{font-size:14px}
.lila-replacement .lr-scorecard-copy>small{font-size:11px}
.lila-replacement .lr-scorecard-metric>b{font-size:16px}
@media(max-width:760px){
  .lila-replacement .lr-dialog:has(.lr-scorecard-list)[open]{
    width:100vw;
    max-width:100vw;
    height:100dvh;
    max-height:100dvh;
    margin:0;
    border-radius:0;
  }
  .lila-replacement .lr-dialog:has(.lr-scorecard-list)>.lr-dialog-body{padding:10px 12px}
  .lila-replacement .lr-scorecard-tablehead,
  .lila-replacement .lr-scorecard-trigger{grid-template-columns:36px minmax(0,1fr) 76px}
  .lila-replacement .lr-scorecard-tablehead{column-gap:5px;padding:0 4px}
  .lila-replacement .lr-scorecard-row>button.lr-scorecard-trigger{column-gap:5px;padding:3px 4px!important}
  .lila-replacement .lr-scorecard-trigger>.lr-badge{width:32px;height:26px}
  .lila-replacement .lr-scorecard-copy>strong{font-size:13px}
  .lila-replacement .lr-scorecard-copy>small{font-size:10px}
  .lila-replacement .lr-scorecard-metric>b{font-size:15px}
}


/* Final scoresheet alignment: compact single-line slots and a shared right edge. */
.lila-replacement .lr-scorecard-tablehead{
  padding-right:10px;
}
.lila-replacement .lr-scorecard-row>button.lr-scorecard-trigger{
  height:50px!important;
  min-height:50px!important;
  padding-top:2px!important;
  padding-bottom:2px!important;
  padding-right:10px!important;
}
.lila-replacement .lr-scorecard-trigger>.lr-badge{
  align-self:center!important;
}
.lila-replacement .lr-scorecard-copy,
.lila-replacement .lr-scorecard-metric{
  align-self:center!important;
}
.lila-replacement .lr-scorecard-metric{
  align-items:flex-end!important;
  text-align:right;
}
@media(max-width:760px){
  .lila-replacement .lr-scorecard-tablehead{padding-right:10px}
  .lila-replacement .lr-scorecard-row>button.lr-scorecard-trigger{
    height:48px!important;
    min-height:48px!important;
    padding-top:2px!important;
    padding-bottom:2px!important;
    padding-right:10px!important;
  }
}

.lr-toggle-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;line-height:1.02;text-align:left;font-size:12px;font-weight:600}.lr-toggle-copy span{display:block}

/* Keep the queue control with the other page controls. */
body.lila-page #app-hero.lr-lila-hero .lr-controls .lr-defer-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 36px;
  flex-direction: row;
  align-items: center;
  color: #e1ebf8;
}
body.lila-page .lr-column>header.lr-team-column-header.lr-free-column-header {
  display:grid!important;
}
body.lila-page .lr-free-column-header .lr-fa-heading {
  grid-column:1;
  grid-row:2;
  align-self:baseline;
}
@media(max-width:760px) {
  body.lila-page #app-hero .lr-controls [data-finalize] {
    flex:0 0 auto;
    width:auto;
    max-width:80px;
    padding:4px 5px;
    white-space:normal;
    font-size:10px;
  }
}
@media (max-width:760px) {
  body.lila-page #app-hero.lr-lila-hero .lr-controls .lr-defer-toggle {
    min-height: 44px;
    gap: 4px;
  }
}


/* Move Player: pin the selected player and scroll only through eligible active swap slots. */
.lr-dialog:has(.lr-swap-candidates){
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.lr-dialog-body:has(.lr-swap-candidates){
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
  padding:12px 16px;
}
.lr-swap-player{flex:0 0 auto}
.lr-swap-player>.lr-card{padding-top:0}
.lr-swap-candidates{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
}
.lr-swap-prompt{
  flex:0 0 auto;
  margin:8px 0!important;
  font-size:18px;
  font-weight:700;
}
.lr-swap-list{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:0 4px 4px 0;
  scrollbar-width:thin;
}
.lr-swap-list>.lr-swap-target:first-child{margin-top:0}
.lr-swap-list>.lr-swap-target strong{flex:1}
@media(max-width:760px){
  .lr-dialog:has(.lr-swap-candidates)[open]{
    height:100dvh;
    max-height:100dvh;
  }
  .lr-dialog-body:has(.lr-swap-candidates){padding:10px 12px}
  .lr-swap-list{padding-right:0}
}


/* Make vacant active slots respond across the full row. */
.lila-replacement .lr-empty-fill{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:97px;
  padding:12px 7px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#8092af;
  text-align:left;
}
.lila-replacement .lr-empty-fill:hover{
  color:#edf1fb;
  background:rgba(255,255,255,.04)!important;
}
.lila-replacement .lr-empty-fill:focus-visible{
  outline:3px solid #fff;
  outline-offset:2px;
}

/* Sleeper reconciliation and header actions */
.lr-team-header-actions{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.lr-team-header-actions .lr-total{grid-column:auto;grid-row:auto}
.lr-sync-button{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid #00c8c2;background:transparent;color:#00e0d7;font-size:24px;line-height:1;cursor:pointer}
.lr-sync-button:hover{background:#12353b}
.lr-fa-heading{display:flex;align-items:center;gap:10px}

.lr-sync-toolbar{display:flex;align-items:flex-start;gap:14px;margin:0 0 12px}
.lr-sync-toolbar p{margin:0;flex:1;color:#dbe5f5}
.lr-sync-toolbar [data-sync-update]{background:#922be2;color:white;border:0;border-radius:9px;padding:10px 18px;font-weight:700;cursor:pointer}
.lr-sync-list{max-height:min(68vh,760px);overflow:auto}
.lr-sync-row{padding:9px 0;border-bottom:1px solid #293b56}
.lr-sync-player{display:flex;align-items:center;gap:10px;margin:0 0 6px;min-height:34px}
.lr-sync-player strong{font-size:16px}
.lr-sync-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.lr-sync-day{min-width:0;cursor:pointer}

/* Verified local tip-offs fit inside the shallow upcoming-game cells. */
.lila-replacement .lr-day.lr-timed,
body.lila-page .lila-replacement .lr-day.lr-timed{
  display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:13px 10px 10px;
  height:40px!important;padding:1px 2px!important;gap:0;align-content:start;align-items:center;
}
.lr-day.lr-timed>span{text-align:left;min-width:0}
.lr-day.lr-timed>b{text-align:right!important;font-size:11px!important;line-height:1}
.lr-day.lr-timed>small{grid-column:1/3;text-align:center!important;font-size:9px!important;line-height:1}
.lr-day.lr-timed>.lr-tipoff{grid-column:1/3;display:block!important;font-size:9px!important;font-style:normal;line-height:1;white-space:nowrap;text-align:center!important;color:inherit;letter-spacing:-.2px}
.lr-tipoff sup{font-size:7px;margin-left:1px}
.lr-game-time-detail span{color:#a5b4ce;font-size:.85em}
@media(max-width:720px){.lr-sync-list{max-height:58vh}.lr-sync-player strong{font-size:14px}.lr-sync-toolbar{align-items:center}}

.lr-sync-verify{border:1px solid #293b56;border-radius:8px;overflow:hidden}
.lr-sync-verify-head,.lr-sync-verify-row{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(118px,auto);gap:10px;align-items:center}
.lr-sync-verify-head{position:sticky;top:0;background:#15233a;color:#9eafc7;font-size:11px;font-weight:700;letter-spacing:.06em;padding:9px 10px;z-index:1}
.lr-sync-verify-list{max-height:min(46vh,480px);overflow:auto}
.lr-sync-verify-row{padding:8px 10px;border-top:1px solid #293b56;font-size:14px}
.lr-sync-verify-row strong{min-width:0}
.lr-sync-verify-row small{display:block;color:#9eafc7;font-size:11px;font-weight:400}
.lr-sync-verify-status{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lr-sync-verify-locked{color:#00d7c6}
.lr-sync-verify-lockable{color:#58ddc7}
.lr-sync-verify-unlockable{color:#d5ddeb}\n.lr-sync-verify-multiple{color:#d5ddeb;font-size:10px}
.lr-sync-verify-empty{grid-column:2/4;color:#9eafc7;font-size:12px}
@media(max-width:720px){.lr-sync-verify-head,.lr-sync-verify-row{grid-template-columns:38px minmax(0,1fr) minmax(94px,auto);gap:7px;padding-left:8px;padding-right:8px}.lr-sync-verify-row{font-size:12px}.lr-sync-verify-status{font-size:10px}.lr-sync-verify-list{max-height:42vh}}

/* Keep the Free Agents title and FINALIZE control on one row on mobile. */
@media(max-width:760px){
  body.lila-page .lr-column>header.lr-team-column-header.lr-free-column-header{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
  }
  body.lila-page .lr-free-column-header>small{
    display:none!important;
  }
  body.lila-page .lr-free-column-header .lr-fa-heading{
    flex:1 1 auto;
    min-width:0;
    grid-column:auto;
    grid-row:auto;
    align-self:center;
    margin:0;
  }
  body.lila-page .lr-free-column-header .lr-fa-heading h3{
    white-space:nowrap;
  }
  body.lila-page .lr-free-column-header .lr-free-header-actions{
    flex:0 0 auto;
    margin-left:auto;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-end;
  }
  body.lila-page .lr-free-header-actions>[data-finalize]{
    align-self:center!important;
    flex:0 0 auto;
    width:auto!important;
    max-width:none!important;
    margin-left:0!important;
    white-space:nowrap!important;
  }
}


<<<<<<< src/client/lilaDashboard.css
/* Step 8: compact approved four-column coaching worksheet. */
.lr-dialog .lr-coaching-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.lr-dialog .lr-coaching-table th{font-size:10px;text-align:left;color:#a8b7d0;padding:6px 3px;overflow-wrap:anywhere}
.lr-dialog .lr-coaching-table td{padding:9px 3px;border-top:1px solid #30415d;vertical-align:middle;overflow-wrap:anywhere}
.lr-dialog .lr-coaching-table th:nth-child(1),.lr-dialog .lr-coaching-table th:nth-child(4){width:16%}
.lr-dialog .lr-coaching-table th:nth-child(3){width:24%}
.lr-dialog .lr-coaching-table input{width:100%;min-width:0;box-sizing:border-box}
.lr-dialog .lr-coaching-table small{display:block;color:#a8b7d0}
.lr-dialog textarea{width:100%;min-height:72px;box-sizing:border-box;background:#17243c;color:#eef3fc;border:1px solid #48cbd4;border-radius:6px;font:inherit;padding:8px}
/* Decision-window availability is a compact list, not a coaching action menu. */
.lr-availability-window{padding:0.75rem 0;border-bottom:1px solid var(--border,#33465f)}
.lr-availability-choice{display:flex!important;align-items:center;justify-content:flex-start!important;gap:0.65rem!important;margin:0.75rem 0}
.lr-availability-choice input[type=checkbox]{width:1.15rem!important;min-width:1.15rem;height:1.15rem;margin:0}

.lr-decision-alert{position:fixed;z-index:1100;right:1.2rem;bottom:2rem;width:min(29rem,calc(100vw - 2.4rem));padding:1.2rem;background:#0c172b;border:3px solid #ff4966;border-radius:1rem;box-shadow:0 0 24px #ff496644;color:#f4f7ff}
.lr-decision-alert strong{display:block;font-size:1.3rem;font-weight:900;line-height:1.25}
.lr-decision-alert p{margin:.6rem 0}
.lr-decision-alert button{width:100%;padding:.8rem;font-weight:800;background:#00d7d4;color:#061725;border:0;border-radius:.6rem}
.lr-decision-urgent{border-width:4px;box-shadow:0 0 32px #ff496677}
.lr-urgent-text{padding:.8rem;border:2px solid #ff4966;border-radius:.6rem;color:#ffbac5;font-size:1.1rem}

.lr-alert-in-dialog{position:relative;right:auto;bottom:auto;width:auto;margin:.8rem;flex-shrink:0}
.lr-urgent-text{position:sticky;top:0;z-index:5;background:#0c172b}

.lr-dialog .lr-projection-input-label{display:block;margin:16px 0 6px;color:#edf1fb;font-weight:700}.lr-dialog .lr-projection-input-label input{display:block;width:100%;min-height:44px;margin-top:6px;border-color:#48cbd4;font-variant-numeric:tabular-nums}.lr-dialog .lr-projection-source{padding:10px 0;border-top:1px solid #30415f;color:#a1b1c9}.lr-dialog .lr-projection-source strong{color:#00c7b7;font-variant-numeric:tabular-nums}
.lr-header-snapshot{color:#00c7b7!important}.lr-lockable small{color:#00c7b7}.lr-projection-sleeper{color:#00c7b7!important}.lr-projection-overridden{color:#bf77ff!important}
.lr-actual-overridden{color:#c58cff!important}

/* Legend badges mirror the calendar pill surface and status colors. */
.lr-legend .lr-key-badge{display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:5px;min-height:27px;padding:4px 8px;border:1px solid #2b3353;border-radius:5px;background:#202642;color:#a5b4ce;font-weight:700;line-height:1;white-space:nowrap;box-sizing:border-box}
.lr-legend .lr-key-badge svg{width:12px;height:14px;flex:none}
.lr-legend .lr-key-locked{background:#00FEF6;border-color:#00FEF6;color:#071521}
.lr-legend .lr-key-lockable{border-color:#00c7b7;color:#00c7b7}
.lr-legend .lr-key-suggested{background:rgba(105,226,212,.34);border-color:#57cfc2;color:#e5fffd}
.lr-legend .lr-key-unlockable{border-color:#566681;color:#a8b8d1}
.lr-legend .lr-key-poor{border-color:#ff3d5a;color:#ff3d5a}
.lr-legend .lr-key-good{border-color:#ff9c25;color:#ff9c25}
.lr-legend .lr-key-better{border-color:#ffdc20;color:#ffdc20}
.lr-legend .lr-key-best{border-color:#00e676;color:#00e676}


/* Align free-agent title and action with the team-name and Sync rows. */
@media(min-width:761px){
  body.lila-page .lr-column>header.lr-free-column-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content;
    grid-template-rows:auto auto;
    align-items:baseline!important;
    justify-content:initial!important;
    gap:1px 12px!important;
    min-height:0;
    padding:4px 0 10px;
    margin:0;
    background:var(--lr-bg)!important;
    position:static;
    top:auto;
    z-index:auto;
  }
  body.lila-page .lr-free-column-header>small{
    display:block!important;
    grid-column:1;
    grid-row:1;
    visibility:hidden!important;
  }
  body.lila-page .lr-free-column-header>.lr-fa-heading{
    grid-column:1;
    grid-row:2;
    align-self:baseline!important;
    flex:0 1 auto;
    min-width:0;
    margin:0;
  }
  body.lila-page .lr-free-column-header .lr-fa-heading h3{
    white-space:nowrap;
  }
  body.lila-page .lr-free-column-header>.lr-free-header-actions{
    grid-column:2;
    grid-row:2;
    align-self:center!important;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:0 0 auto;
    flex-wrap:nowrap;
    margin:0;
  }
  body.lila-page .lr-free-header-actions>[data-finalize]{
    align-self:center!important;
    flex:0 0 auto;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    white-space:nowrap!important;
  }
}

/* Color tier-pill weekday, opponent, and tip-off text in the Team and Free Agent columns only, keeping status icons and scores unchanged. */
.lila-replacement .lr-day[data-side="team"].lr-tier-red>.lr-weekday,.lila-replacement .lr-day[data-side="team"].lr-tier-red>small,.lila-replacement .lr-day[data-side="team"].lr-tier-red>.lr-tipoff{color:#ff3d5a!important}
.lila-replacement .lr-day[data-side="free"].lr-tier-red>.lr-weekday,.lila-replacement .lr-day[data-side="free"].lr-tier-red>small,.lila-replacement .lr-day[data-side="free"].lr-tier-red>.lr-tipoff{color:#ff3d5a!important}
.lila-replacement .lr-day[data-side="team"].lr-tier-orange>.lr-weekday,.lila-replacement .lr-day[data-side="team"].lr-tier-orange>small,.lila-replacement .lr-day[data-side="team"].lr-tier-orange>.lr-tipoff{color:#ff9c25!important}
.lila-replacement .lr-day[data-side="free"].lr-tier-orange>.lr-weekday,.lila-replacement .lr-day[data-side="free"].lr-tier-orange>small,.lila-replacement .lr-day[data-side="free"].lr-tier-orange>.lr-tipoff{color:#ff9c25!important}
.lila-replacement .lr-day[data-side="team"].lr-tier-yellow>.lr-weekday,.lila-replacement .lr-day[data-side="team"].lr-tier-yellow>small,.lila-replacement .lr-day[data-side="team"].lr-tier-yellow>.lr-tipoff{color:#ffdc20!important}
.lila-replacement .lr-day[data-side="free"].lr-tier-yellow>.lr-weekday,.lila-replacement .lr-day[data-side="free"].lr-tier-yellow>small,.lila-replacement .lr-day[data-side="free"].lr-tier-yellow>.lr-tipoff{color:#ffdc20!important}
.lila-replacement .lr-day[data-side="team"].lr-tier-green>.lr-weekday,.lila-replacement .lr-day[data-side="team"].lr-tier-green>small,.lila-replacement .lr-day[data-side="team"].lr-tier-green>.lr-tipoff{color:#00e676!important}
.lila-replacement .lr-day[data-side="free"].lr-tier-green>.lr-weekday,.lila-replacement .lr-day[data-side="free"].lr-tier-green>small,.lila-replacement .lr-day[data-side="free"].lr-tier-green>.lr-tipoff{color:#00e676!important}

.lr-refresh-step{display:grid;grid-template-columns:18px minmax(220px,1fr) auto;align-items:center;gap:8px;min-height:20px;font-size:13px}
.lr-refresh-step>span:first-child{font-weight:700;text-align:center;color:#7187a6}
.lr-refresh-step.lr-refresh-done>span:first-child{color:#00e676}
.lr-refresh-step.lr-refresh-active>span:first-child{color:#bf77ff}
.lr-refresh-step.lr-refresh-error>span:first-child{color:#ff3d5a}
.lr-refresh-step>span:last-child{color:#a1b1c9;font-size:12px}
.lr-override-review{width:min(1260px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:92dvh}
.lr-override-review .lr-dialog-body{padding:12px 16px;max-height:calc(92dvh - 126px);overflow:auto}
.lr-review-note{border:1px solid #405475;border-left:3px solid #bf77ff;background:#141f37;border-radius:7px;padding:9px 12px;color:#dbe4f6;font-size:13px}
.lr-review-scroll{margin-top:10px}
.lr-review-day{border:1px solid #30415f;border-radius:7px;margin:5px 0;background:#0a1426}
.lr-review-day>summary{cursor:pointer;padding:8px 10px;font-weight:700;color:#f1f5ff}
.lr-review-day>summary span{font-weight:400;color:#a1b1c9}
.lr-review-group{margin:0 6px 8px;border-left:3px solid #00c7b7;padding-left:8px}
.lr-review-group h4{font-size:12px;color:#00e5d4;padding:5px 2px}
.lr-review-table-wrap{overflow-x:auto}
.lr-review-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;min-width:760px}
.lr-review-table-wrap th,.lr-review-table-wrap td{padding:3px 5px;border-bottom:1px solid #263550;text-align:left;white-space:nowrap}
.lr-review-table-wrap th{color:#a1b1c9;font-size:10px;text-transform:uppercase;position:sticky;top:0;background:#111d32}
.lr-review-table-wrap td:first-child{min-width:185px;font-weight:600}
.lr-review-pos{display:inline-flex;justify-content:center;min-width:29px;border-radius:4px;background:#384c73;color:#e2eaff;padding:1px 3px;font-size:10px}
.lila-replacement button.lr-review-edit{width:66px;min-height:25px;height:25px;padding:1px 4px;text-align:right;font-size:12px;font-variant-numeric:tabular-nums;border:1px solid #536885;background:#101a2d}
.lr-review-state{display:inline-flex;justify-content:center;align-items:center;width:31px;min-height:25px!important;height:25px;padding:2px!important;margin-right:2px;border-color:#52617a!important;background:#111b2e!important;color:#61718b!important;opacity:.46}
.lr-review-state svg{width:11px;height:13px}
.lila-replacement button.lr-review-state.is-active.lr-review-locked{background:#00f5ed!important;color:#071521!important;border-color:#00f5ed!important;box-shadow:0 0 9px #00f5edb0;opacity:1}
.lila-replacement button.lr-review-state.is-active.lr-review-lockable{color:#00d7c6!important;border-color:#00d7c6!important;box-shadow:0 0 6px #00d7c65c;opacity:1}
.lila-replacement button.lr-review-state.is-active.lr-review-unlockable{color:#bf77ff!important;border-color:#bf77ff!important;opacity:1}
.lr-review-projection{font-size:10px;color:#8092ad;text-transform:uppercase}
.lr-dialog .lr-projection-input-label textarea{display:block;width:100%;min-height:68px;margin-top:6px;background:#15213a;color:#fff;border:1px solid #385171;border-radius:6px;padding:8px;font:inherit;resize:vertical}
.lr-review-edit:empty:after{content:"";}
@media(max-width:760px){.lr-override-review{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:94dvh}.lr-override-review .lr-dialog-body{padding:8px;max-height:calc(94dvh - 120px)}.lr-refresh-step{grid-template-columns:18px 1fr auto;font-size:12px}.lr-refresh-step>span:last-child{font-size:10px}}


/* The projection editor keeps its primary actions beside the input on mobile. */
.lr-projection-mobile-actions,.lr-projection-mobile-clear{display:none}
.lr-projection-override .lr-projection-sleeper-default{color:#a1b1c9}
@media(max-width:760px){
  .lr-projection-override .lr-projection-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
  .lr-projection-override .lr-projection-mobile-actions button{min-height:44px}
  .lr-projection-override .lr-projection-mobile-actions button:last-child{background:#1772f4;color:#fff;border-color:#405475;font-weight:700}
  .lr-projection-override .lr-projection-mobile-clear{display:block;margin-top:8px;text-align:right}
  .lr-projection-override .lr-projection-mobile-clear button{min-height:40px}
  .lr-projection-override>footer{display:none}
}

/* Compact three-view refresh override review */
.lr-override-review{width:min(840px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:94dvh}
.lr-override-review .lr-dialog-body{padding:8px 12px;max-height:calc(94dvh - 132px);overflow:auto}
.lr-review-note{font-size:12px;line-height:1.35;color:#d8e2f4;margin:0 0 7px!important}
.lr-review-content{width:100%;overflow-x:auto}
.lr-review-table-wrap{width:max-content;min-width:100%}
.lr-review-table-wrap{width:100%;min-width:0;max-width:100%;overflow:auto}
.lr-review-grid-table{width:100%!important;min-width:0;max-width:100%;border-collapse:separate;border-spacing:2px;table-layout:fixed;font-size:12px}
.lr-review-grid-table th,.lr-review-grid-table td{padding:0;border:0;text-align:center;vertical-align:top}
.lr-review-grid-table thead th{height:34px;color:#a1b1c9;font-size:10px;text-transform:uppercase;position:sticky;top:0;background:#111d32;z-index:1}
.lr-review-grid-table thead th:first-child,.lr-review-grid-table tbody th{width:180px;min-width:180px;max-width:180px}
.lr-review-grid-table thead th:first-child{text-align:left;padding-left:5px;font-size:12px;letter-spacing:.02em}
.lr-review-grid-table thead th:not(:first-child),.lr-review-grid-table tbody td{width:auto;min-width:0;max-width:none}
.lr-review-grid-table thead th span{display:block;font-weight:400;font-size:9px;color:#8092ad}
.lr-review-grid-table tbody th{height:23px;line-height:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:4px}
.lr-review-heading-team{color:#b785ff!important}
.lr-review-heading-opponent{color:#00e5d4!important}
.lr-review-heading-free{color:#fff!important}
.lr-review-pos{display:inline-flex;align-items:center;justify-content:center;width:31px;height:22px;margin-right:4px;border-radius:5px;background:#334577;color:#e6edff;font-size:10px;font-weight:700;vertical-align:middle}
.lr-review-pos.lr-pos-pg{color:#ff3d5a}.lr-review-pos.lr-pos-sg{color:#ff8500}.lr-review-pos.lr-pos-sf{color:#8befcf}.lr-review-pos.lr-pos-pf{color:#50c7ed}.lr-review-pos.lr-pos-c{color:#c569ff}.lr-review-pos.lr-pos-ut{color:#b785ff}.lr-review-pos.lr-pos-f{color:#8befcf}.lr-review-pos.lr-pos-ir{background:#000;color:#fff}.lr-review-pos.lr-pos-bn{background:#64718b;color:#fff}
.lr-review-player-name{font-size:12px;font-weight:700;color:#edf1fb;vertical-align:middle}
.lr-review-grid-table td{height:23px}
.lr-review-no-game{padding-top:0!important;text-align:left!important}
.lr-review-offday{display:block;width:100%;height:12px;background:#202642;border:1px solid #2b3353;border-radius:5px}
.lila-replacement button.lr-review-edit{display:block;width:100%;min-width:0;min-height:23px;height:23px;margin:0;padding:0 3px;text-align:center;font-size:12px;line-height:1;font-variant-numeric:tabular-nums;border-radius:5px;background:#202642!important}
.lila-replacement button.lr-review-edit.is-actual,.lila-replacement button.lr-review-edit.is-projection{border:1px solid #00c7b7!important;color:#00e5d4!important;background:#202642!important;background-image:none!important}
.lila-replacement button.lr-review-edit.is-overridden{border:1px solid #c77dff!important;color:#dda2ff!important;background:#202642!important;background-image:none!important}
.lr-override-review>footer{display:flex;justify-content:stretch;gap:6px;padding:9px 10px}
.lila-replacement .lr-review-nav{flex:1;min-width:0;min-height:40px;padding:6px 5px;border:1px solid transparent;font-size:12px;font-weight:700;white-space:nowrap}
.lila-replacement .lr-review-nav[aria-pressed=true]{outline:2px solid #edf1fb;outline-offset:1px}
.lr-override-review .lr-review-nav-team{background:#8e2de2!important;background-image:none!important;color:#fff!important;border-color:#b56cff!important}
.lr-override-review .lr-review-nav-opponent{background:#00c7b7!important;background-image:none!important;color:#061b20!important;border-color:#00e5d4!important}
.lr-override-review .lr-review-nav-free{background:#fff!important;background-image:none!important;color:#17213a!important;border-color:#fff!important}
.lr-override-review .lr-review-nav-submit{background:#00e676!important;background-image:none!important;color:#062217!important;border-color:#00e676!important}
.lr-refresh-submit-confirm{max-width:540px}
.lr-refresh-submit-confirm .lr-review-nav-submit{background:#00e676!important;background-image:none!important;color:#062217!important;border-color:#00e676!important}
@media(max-width:760px){
 .lr-override-review{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:94dvh}
 .lr-override-review .lr-dialog-body{padding:8px;max-height:calc(94dvh - 128px)}
 .lr-review-content{overflow-x:auto}
 .lr-review-grid-table{width:100%!important;min-width:0;max-width:100%}
 .lr-override-review>footer{gap:4px;padding:8px 6px}
 .lila-replacement .lr-review-nav{font-size:10px;padding:5px 2px}
 .lr-review-grid-table tbody th{width:180px;min-width:180px;max-width:180px}
}

/* Compact refresh progress shares the week/snapshot header row. */

body.lila-page #global-breadcrumb.lr-lila-breadcrumb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0 10px;}
#global-breadcrumb.lr-lila-breadcrumb>.lr-header-week{grid-column:1;justify-self:start;min-width:0;}
body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-status{grid-column:2;justify-self:stretch;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#e5e7eb;font-size:12px;line-height:1.2;white-space:nowrap;}
body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-status.lr-error{color:#e5e7eb;}
body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-status.lr-ready:not(.lr-error){display:flex;}
body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-header-snapshot{grid-column:3;justify-self:end;margin:0;text-align:right;white-space:nowrap;}
body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-status#global-breadcrumb .lr-status:empty{display:none!important;}
@media(max-width:760px){
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:2px;font-size:10px;}
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-header-week{white-space:nowrap;font-size:10px;}
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-status{gap:4px;white-space:normal;}
 body.lila-page #global-breadcrumb.lr-lila-breadcrumb>.lr-header-snapshot{white-space:normal;overflow-wrap:anywhere;font-size:9px;}
}

/* Compact projection override dialog with an inline, non-saving reset control. */
.lr-projection-override{width:min(315px,calc(100vw - 28px));max-width:calc(100vw - 28px)}
.lr-projection-override .lr-projection-input-label{font-size:14px}
.lr-projection-override .lr-projection-control{display:flex;align-items:stretch;gap:7px;margin-top:6px}
.lr-projection-override .lr-projection-control button{flex:0 0 42px;min-height:46px;background:#22314b;border:1px solid #48cbd4;border-radius:7px;color:#f0f4ff;font-size:24px;cursor:pointer}
.lr-projection-override .lr-projection-control input{flex:1;min-width:0;min-height:46px;margin:0;text-align:right;font-variant-numeric:tabular-nums}
.lr-projection-override .lr-projection-out{display:flex;align-items:flex-start;gap:8px;margin:12px 0;color:#00d6ef;font-size:13px;line-height:1.35}
.lr-projection-override .lr-projection-out input{flex:none;margin-top:2px;accent-color:#ff6a4a}
.lr-coaching-choices{padding-left:24px}
.lr-coaching-choices li{margin:8px 0}
.lr-coaching-choices label{display:flex;align-items:flex-start;gap:8px}
.lr-coaching-choices input{flex:none;margin-top:4px;accent-color:#a33af0}


/* Mobile calendar map: position-only rows and half-width weekday controls. */
.lr-review-mobile-heading{display:none}
.lila-replacement button.lr-review-player-tile{display:none}
@media(max-width:760px){
 .lr-override-review .lr-review-note{display:none}
 .lr-review-mobile-heading{display:block;font-size:12px;font-weight:700;padding:2px 4px 8px}
 .lr-override-review .lr-review-player-name,.lr-override-review .lr-review-desktop-pos{display:none}
 .lr-override-review .lr-review-grid-table{width:100%!important;min-width:0;max-width:100%}
 .lr-override-review .lr-review-grid-table thead th:first-child,.lr-override-review .lr-review-grid-table tbody th{width:36px;min-width:36px;max-width:36px;padding-left:0}
 .lr-override-review .lr-review-grid-table thead th:first-child{font-size:0;letter-spacing:0}
 .lr-override-review .lr-review-grid-table thead th:not(:first-child),.lr-override-review .lr-review-grid-table tbody td{width:auto;min-width:0;max-width:none}
 .lila-replacement .lr-override-review button.lr-review-edit{width:100%;min-width:0;padding:0 1px;font-size:11px}
 .lr-override-review .lr-review-offday{width:100%}
 .lila-replacement button.lr-review-player-tile{display:inline-flex;pointer-events:auto;vertical-align:top;width:100%;min-height:23px;height:23px;padding:1px 3px;margin:0;border:0;font-size:10px;background:#334577}
 .lila-replacement button.lr-review-player-tile.lr-pos-bn{background:#64718b}
 .lila-replacement button.lr-review-player-tile.lr-pos-ir{background:#000}
 .lila-replacement .lr-dialog.lr-override-review>footer{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));flex-direction:initial!important;align-items:stretch!important;gap:8px;padding:10px}
 .lila-replacement .lr-override-review .lr-review-nav{min-height:44px;font-size:12px}
 .lr-dialog.lr-review-player-dialog[open]{inset:0;width:calc(100vw - 20px);max-width:600px;height:auto;max-height:85dvh;margin:auto;border-radius:12px}
 .lr-review-player-dialog header{padding:6px 10px;background:transparent}
 .lr-review-player-dialog h3{font-size:12px;color:#9bacc7}
 .lr-review-player-dialog header button{min-height:28px;padding:0 4px;font-size:24px}
 .lr-review-player-dialog .lr-dialog-body{padding:4px 8px 12px;flex:initial}
 .lr-review-player-dialog .lr-card{margin:0;padding-top:0}
 .lr-review-player-dialog .lr-name strong{font-size:16px}
 .lr-review-player-dialog .lr-name>span{font-size:12px}
}

/* The landing-page button theme must not recolor the mobile position badges. */
@media(max-width:760px){
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile{background:#334577!important;background-image:none!important;color:#e6edff!important;box-shadow:none!important;border:0!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-pg{color:#ff3d5a!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-sg{color:#ff8500!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-sf,
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-f{color:#8befcf!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-pf{color:#50c7ed!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-c{color:#c569ff!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-ut{color:#b785ff!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-bn{background:#64718b!important;color:#fff!important}
 body.lila-page .lila-replacement .lr-override-review button.lr-review-player-tile.lr-pos-ir{background:#000!important;color:#fff!important}
 body.lila-page .lila-replacement .lr-review-player-dialog>header>[data-close]{background:transparent!important;background-image:none!important;color:#fff!important;box-shadow:none!important;border:0!important}
}

/* Mobile calendar map: distribute spare height between the header and roster rows. */
@media(max-width:760px){
 .lila-replacement .lr-override-review>.lr-dialog-body{display:flex;flex-direction:column;max-height:none}
 .lr-override-review .lr-review-content{display:flex;flex-direction:column;flex:1 0 auto;overflow:visible}
 .lr-override-review .lr-review-mobile-heading{flex:none}
 .lr-override-review .lr-review-table-wrap{display:flex;flex-direction:column;flex:1 0 auto;overflow:visible}
 .lr-override-review .lr-review-grid-table{display:flex;flex-direction:column;flex:1 0 auto;justify-content:space-between;gap:2px;border-collapse:separate;border-spacing:0;margin:0}
 .lr-override-review .lr-review-grid-table thead,.lr-override-review .lr-review-grid-table tbody{display:contents}
 .lr-override-review .lr-review-grid-table tr{display:grid;grid-template-columns:36px repeat(7,minmax(0,1fr));column-gap:2px;flex:none;min-width:0}
 .lr-override-review .lr-review-grid-table tbody th{position:static}
 .lr-override-review .lr-review-grid-table th,.lr-override-review .lr-review-grid-table td{min-width:0}
}

/* Two-team Refresh SYNC uses the approved compact calendar map. */
.lr-sync-review .lr-sync-instruction{font-size:12px;line-height:1.35;margin:0 0 8px;color:#dbe4f6}
.lr-sync-review .lr-dialog-body{display:flex;flex-direction:column;min-height:0}
.lr-sync-review .lr-review-content{min-height:0}
.lr-sync-review .lr-review-pos{flex:none}
.lr-sync-review>footer{justify-content:flex-end!important}.lr-sync-review .lr-review-nav-submit{flex:0 0 calc((100% - 18px)/4)!important}
@media(max-width:760px){.lila-replacement .lr-dialog.lr-sync-review>footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lila-replacement .lr-dialog.lr-sync-review .lr-review-nav-submit{grid-column:2}}
.lila-replacement .lr-sync-review button.lr-sync-pill{--sync-source:#00fef6;border:1px solid #2b3353!important;color:var(--sync-source)!important;background:#202642!important;background-image:none!important;box-shadow:none!important}
.lila-replacement .lr-sync-review button.lr-sync-pill.is-overridden{--sync-source:#c77dff}
.lila-replacement .lr-sync-review button.lr-sync-pill.sync-lockable{border-color:var(--sync-source)!important;box-shadow:0 0 3px var(--sync-source)!important}
.lila-replacement .lr-sync-review button.lr-sync-pill.sync-locked{background:var(--sync-source)!important;border-color:var(--sync-source)!important;color:#061b20!important;box-shadow:0 0 4px var(--sync-source)!important}
.lila-replacement .lr-sync-review button.lr-sync-pill[aria-disabled=true]{cursor:default}
.lila-replacement .lr-sync-review button.lr-sync-pill:focus-visible{outline:2px solid #fff;outline-offset:1px}
@media(max-width:760px){
 .lr-sync-review .lr-sync-instruction{font-size:11px;flex:none}
 .lr-sync-review .lr-review-grid-table tbody th{display:flex;align-items:flex-start;padding:0}
 .lr-sync-review .lr-review-pos{width:100%;height:23px;margin:0}
}

/* Approved projection editor: reset, right-aligned spinner, then Out?/Cancel/Save. */
.lila-replacement .lr-dialog.lr-projection-override[open]{inset:0;width:calc(100vw - 20px);max-width:500px;height:auto;max-height:90dvh;margin:auto;border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
.lila-replacement .lr-projection-override>.lr-dialog-body{flex:0 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:16px}
.lila-replacement .lr-projection-override .lr-data-note{padding:0}
.lila-replacement .lr-projection-override .lr-projection-control{display:flex;align-items:stretch;gap:8px;margin-top:6px}
.lila-replacement .lr-projection-override .lr-projection-control>[data-projection-reset]{flex:0 0 48px;min-height:56px;padding:4px;border:1px solid #b785ff;background:linear-gradient(135deg,#8118cf,#a94df2);font-size:26px;color:#fff}
.lila-replacement .lr-projection-override .lr-projection-spinner{display:flex;flex:1;min-width:0;border:1px solid #48cbd4;border-radius:7px;background:#15213a;overflow:hidden}
.lila-replacement .lr-projection-override .lr-projection-spinner:focus-within{outline:2px solid #b785ff;outline-offset:2px}
.lila-replacement .lr-projection-override .lr-projection-spinner input{flex:1;width:0;min-width:0;min-height:56px;margin:0;padding:8px;text-align:right;font-size:20px;border:0;border-radius:0;outline:none;appearance:textfield;-moz-appearance:textfield;font-variant-numeric:tabular-nums}
.lr-projection-spinner input::-webkit-inner-spin-button,.lr-projection-spinner input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.lila-replacement .lr-projection-override .lr-projection-arrows{display:grid;grid-template-rows:1fr 1fr;flex:0 0 44px}
.lila-replacement .lr-projection-override .lr-projection-arrows button{display:block;width:44px;min-width:0;min-height:28px;padding:0;border:0;border-radius:0;background:#15213a!important;background-image:none!important;color:#fff!important;box-shadow:none!important;font-size:16px;line-height:1}
.lila-replacement .lr-dialog.lr-projection-override>footer{display:grid!important;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);flex-direction:initial!important;align-items:center!important;gap:10px;padding:0 16px 16px;border:0;position:static}
.lila-replacement .lr-dialog.lr-projection-override>footer>button{width:100%;min-width:0;min-height:48px;margin:0;padding:8px;font-size:16px}
.lila-replacement .lr-projection-override>footer>button.secondary{border:1px solid #48cbd4!important;background:#14212d!important;background-image:none!important}
.lila-replacement .lr-projection-override .lr-projection-out{display:flex!important;align-items:center;gap:7px;margin:0;color:#f0f4ff;font-size:16px;line-height:1.3;white-space:nowrap;cursor:pointer}
.lila-replacement .lr-projection-override .lr-projection-out input{display:inline-block;appearance:auto;width:20px;height:20px;min-height:0;flex:0 0 20px;margin:0;padding:0;accent-color:#ff6a4a}

.lila-replacement .lr-projection-override>footer>button:not(.secondary){border:1px solid #c084fc;background:linear-gradient(135deg,#7e22ce,#a855f7);color:#fff}


/* Both calendar review screens: 5px padding around every pill. */
.lr-override-review .lr-review-grid-table td{padding:5px!important}

/* SYNC and override views share the same framed calendar and footer geometry. */
.lr-sync-review .lr-review-note{display:block!important;font-size:13px;line-height:1.35;margin:0 0 7px!important}
.lr-sync-review .lr-review-note>div+div{margin-top:2px}
.lr-sync-review>footer{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;justify-content:initial!important}
.lr-sync-review .lr-review-nav{flex:none!important}
.lr-sync-footer-spacer{display:block;min-width:0}
@media(max-width:760px){
 .lr-sync-review>footer{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 .lr-sync-footer-spacer{display:none}
 .lr-sync-review .lr-review-nav-submit{grid-column:2}
}

/* Keep every Next Steps action inside the dialog, including diagnostics. */
.lila-replacement .lr-dialog.lr-next-steps>footer>button{
 width:100%;min-width:0;max-width:100%;min-height:48px;margin:0;
 white-space:normal;overflow-wrap:anywhere;line-height:1.3;
}
@media(min-width:761px){
 .lila-replacement .lr-dialog.lr-next-steps>footer{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
  justify-content:stretch;align-items:stretch;gap:10px;
  max-height:45dvh;overflow-y:auto;
 }
}




/* Permanent LILA status bar and compact vacancies. */
body.lila-page .lr-statusbar{display:flex;align-items:center;flex:1 1 auto;min-width:0;min-height:60px;padding:10px 12px;border:1px solid #00c7b7;border-radius:8px;background:#17343c;color:#fff;box-sizing:border-box}
body.lila-page .lr-status-message{flex:1;min-width:0;font-size:15px;line-height:1.4}
body.lila-page .lr-statusbar .lr-status{display:block!important;margin:0;padding:0;background:transparent;border:0}
body.lila-page .lr-statusbar .lr-status:empty{display:none!important}
body.lila-page .lr-statusbar .lr-timer{position:static;padding:0;border:0;background:transparent;font-size:15px}
body.lila-page .lr-status-actions{display:flex;align-items:center;align-self:flex-end;justify-content:flex-end;margin-left:auto;flex:0 0 auto}
body.lila-page .lr-status-actions>button{min-height:44px;padding:9px 14px;border:1px solid #a84ff2;border-radius:7px;background:linear-gradient(110deg,#8225d8,#a94cf2);color:#fff;cursor:pointer;font:inherit;white-space:nowrap}
body.lila-page .lila-replacement .lr-empty{min-height:48px!important;height:auto!important;padding:5px 7px!important;box-sizing:border-box}
body.lila-page .lr-empty .lr-empty-fill{min-height:38px;padding:0}
.lr-injury{position:relative;display:inline-block!important;margin-left:6px;padding:1px 5px;border:1px solid #ffb24c;border-radius:4px;color:#ffca79!important;font-size:11px!important;cursor:help;vertical-align:middle}
.lr-injury-detail{display:none;position:absolute;left:0;top:100%;z-index:40;min-width:160px;max-width:260px;padding:8px;background:#102239;border:1px solid #ffb24c;border-radius:5px;color:#fff;white-space:normal}
.lr-injury:hover .lr-injury-detail,.lr-injury:focus .lr-injury-detail{display:block}
.lila-replacement .lr-protect-player{display:inline-block;min-height:28px;padding:1px 5px;margin-left:4px;border:1px solid #637591;border-radius:4px;background:transparent;color:#cbb1ff;font-size:11px;cursor:pointer;vertical-align:middle}
.lr-advice-row{padding:14px 0;border-bottom:1px solid #405475}.lr-advice-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.lr-dialog-body .lr-advice-row button,.lr-dialog-body [data-unprotect],.lr-dialog-body [data-restore-player]{padding:8px 12px;min-height:40px;border:1px solid #687b99;border-radius:5px;background:#203a51;color:white;cursor:pointer}
.lr-injury-warning{color:#ffca79}.lr-advice-row summary{cursor:pointer;color:#a5e8f1;padding:7px 0}
@media(max-width:760px){
  body.lila-page .lr-statusbar{padding:7px;min-height:0}
  body.lila-page .lr-status-message,body.lila-page .lr-statusbar .lr-timer{font-size:13px}
  body.lila-page .lr-status-actions>button{min-height:40px;padding:6px 12px}
}

/* Player-wide projection editor and injury designations. */
.lila-replacement .lr-injury.lr-injury-out{color:#ff3d5a!important;border-color:#ff3d5a}
.lila-replacement .lr-injury.lr-injury-other{color:#ffdc20!important;border-color:#ffdc20}
.lila-replacement .lr-injury.lr-injury-out .lr-injury-detail{border-color:#ff3d5a}
.lila-replacement .lr-injury.lr-injury-other .lr-injury-detail{border-color:#ffdc20}
/* Compact shared seven-day player editor. Only mobile may scroll horizontally. */
.lila-replacement .lr-dialog.lr-player-projections[open]{width:min(900px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;height:fit-content!important;min-height:0;max-height:92dvh;display:flex;flex-direction:column;overflow:hidden}
.lila-replacement .lr-player-projections>header{padding:12px 16px}
.lila-replacement .lr-player-projections>header h3{margin:0;font-size:20px}
.lila-replacement .lr-player-projections>header [data-close]{width:34px;min-height:34px;padding:0;font-size:24px}
.lila-replacement .lr-player-projections>.lr-dialog-body{display:flex;flex-direction:column;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 16px}
.lr-player-projection-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.lr-player-editor-scroll{flex:none;min-width:0;overflow:hidden;padding:3px}
.lr-player-week{width:100%;min-width:0}
.lr-player-sleeper{border:0;padding:0;margin:0}
.lr-player-sleeper h4{margin:0 0 8px;color:#00c7b7;font-size:14px}
.lr-player-source-strip,.lr-player-opponent-strip,.lr-player-edit-strip{display:grid;grid-template-columns:var(--lr-player-columns);gap:3px;align-items:start}
.lr-player-source-day,.lr-player-edit-day,.lr-player-opponent-day{min-width:0;text-align:center}
.lr-player-source-game{display:flex;justify-content:center;align-items:center;width:100%;max-width:94px;min-height:36px;margin:0 auto 3px;padding:3px;border:1px solid #00c7b7;border-radius:5px;background:#142235}
.lr-player-source-game strong{color:#00c7b7!important;font-size:16px;font-variant-numeric:tabular-nums}
.lr-player-opponent-strip{margin:7px 0 10px}
.lr-player-opponent-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:20px;font-size:14px;font-weight:600}
.lr-player-offday{display:block;background:none;border:0;padding:0;margin:0;color:#a1b1c9;font-size:8px;line-height:20px}
.lr-player-override-title{border-top:1px solid #30415f;margin:0 0 8px;padding-top:10px;color:#c084fc;font-size:14px}
.lr-player-game-editor,.lr-player-completed{width:100%;max-width:94px;margin:0 auto 6px;padding:0;border:0;background:none}
.lila-replacement .lr-player-projections .lr-projection-control{display:flex;margin:0;gap:0}
.lila-replacement .lr-player-projections .lr-projection-spinner{width:100%;min-width:0;flex:1;border:1px solid #c084fc;border-radius:5px;background:#15213a}
.lila-replacement .lr-player-projections .lr-projection-spinner input{min-height:36px;min-width:0;width:0;flex:1;padding:3px 2px;text-align:center;font-size:16px;color:#c084fc!important;background:#15213a!important;font-variant-numeric:tabular-nums}
.lila-replacement .lr-player-projections .lr-projection-arrows{flex:0 0 18px}
.lila-replacement .lr-player-projections .lr-projection-arrows button{width:18px;min-height:18px;font-size:9px;color:#c084fc!important}
.lr-player-game-actions{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:6px}
.lila-replacement .lr-player-projections [data-projection-reset]{width:28px;min-width:28px;min-height:28px;padding:0;border:1px solid #c084fc;border-radius:5px;background:linear-gradient(135deg,#8118cf,#a94df2)!important;color:#fff!important;font-size:22px;line-height:1}
.lila-replacement .lr-player-projections .lr-projection-out{display:flex!important;align-items:center;justify-content:center;gap:4px;margin:0;color:#ff3d5a!important;font-size:13px;white-space:nowrap}
.lila-replacement .lr-player-projections .lr-projection-out input{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:0;padding:0}
.lr-player-completed{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;color:#a1b1c9}
.lr-player-completed strong{display:flex;align-items:center;justify-content:center;min-height:38px;font-size:16px;color:#dbe7f9;font-variant-numeric:tabular-nums}
.lila-replacement .lr-dialog.lr-player-projections>footer{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;flex:none;gap:10px;padding:4px 16px 14px}
.lila-replacement .lr-dialog.lr-player-projections>footer>button{width:auto;min-width:100px;min-height:40px;margin:0;padding:6px 18px;font-size:16px}
.lr-player-projections [data-player-projection-error]:empty{display:none}
.lr-player-projections [data-player-projection-error]{flex:none;margin:8px 0 0;font-size:14px}
@media(max-width:760px){
 .lila-replacement .lr-dialog.lr-player-projections[open]{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:94dvh}
 .lila-replacement .lr-player-projections>header{padding:10px}
 .lila-replacement .lr-player-projections>header h3{font-size:18px}
 .lila-replacement .lr-player-projections>.lr-dialog-body{padding:10px}
 .lr-player-projection-heading{font-size:14px;margin-bottom:12px}
 .lr-player-editor-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:3px 0 6px}
 .lr-player-week{min-width:var(--lr-player-week-min)}
 .lr-player-source-game strong,.lila-replacement .lr-player-projections .lr-projection-spinner input{font-size:14px}
 .lila-replacement .lr-player-projections .lr-projection-arrows{flex-basis:16px}
 .lila-replacement .lr-player-projections .lr-projection-arrows button{width:16px}
 .lr-player-opponent-day{font-size:12px}
 .lila-replacement .lr-dialog.lr-player-projections>footer{padding:4px 10px 12px}
}


/* Keep choice controls beside their labels under the global full-width input theme. */
.lila-replacement .lr-dialog .lr-availability-choice{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;cursor:pointer;min-height:44px;white-space:normal}
.lila-replacement .lr-dialog .lr-availability-choice input:is([type=radio],[type=checkbox]){flex:0 0 1.15rem!important;width:1.15rem!important;min-width:1.15rem!important;max-width:1.15rem!important;height:1.15rem!important;min-height:1.15rem!important;margin:0!important;padding:0!important}
.lila-replacement .lr-dialog .lr-availability-choice span{flex:1;min-width:0;text-align:left}

/* Persistent refresh, guided state confirmation, and keyboard-aware mobile dialogs. */
body.lila-page #app-hero>[data-lila-refresh],.lr-controls>[data-lila-refresh]{display:block!important;min-width:42px;min-height:42px;padding:4px!important;font-size:28px!important;line-height:1;background:#202642!important;color:#00fef6!important;border:1px solid #00c7b7!important;border-radius:7px;cursor:pointer}
body.lila-page #app-hero>[data-lila-refresh]{grid-area:refresh;justify-self:end}
@media(min-width:761px){
 body.lila-page #app-hero.lr-lila-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto 44px auto!important;grid-template-areas:"left controls refresh right"!important;gap:10px!important;align-items:center!important;padding-bottom:0!important}
 body.lila-page #app-hero.lr-lila-hero>.hero-left{grid-area:left!important;min-width:0}
 body.lila-page #app-hero.lr-lila-hero>.hero-right{grid-area:right!important}
 body.lila-page #app-hero.lr-lila-hero>.lr-controls{grid-area:controls!important;position:static!important;margin:0!important}
}
.lr-state-list{display:grid;gap:8px}
.lila-replacement .lr-dialog .lr-state-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 18px;gap:8px;align-items:center;text-align:left;min-height:64px;padding:8px!important;background:#202642!important;color:#eef3fc!important;border:1px solid #536580!important;border-radius:8px}
.lr-state-row>span:nth-child(2){display:grid;gap:3px;min-width:0}.lr-state-row strong{overflow-wrap:anywhere}.lr-state-row small{font-size:12px}.lr-state-row>small{grid-column:2 / -1}
.lila-replacement .lr-dialog .lr-state-row.sync-unknown{border:2px solid #ffd05a!important}.lr-state-icon{font-size:21px;font-weight:800;color:#ffd05a}
.lila-replacement .lr-dialog .lr-state-row.sync-locked{background:#00fef6!important;color:#101b29!important}.lr-state-row.sync-lockable{border-color:#00fef6!important}.lr-state-row:disabled{opacity:1}
.lr-unknown{border-color:#ffd05a}.lr-unknown .lr-status-icon{color:#ffd05a;font-weight:800}
.lr-conditional-note{font-size:12px;line-height:1.3;color:#ffd05a;margin:6px 0}
.lr-load-dialog{max-width:320px;text-align:center}.lr-load-dialog p{font-size:20px}
.lr-card-triplet{display:flex;flex-direction:column;gap:10px}.lr-card-triplet>.lr-card{flex:none}
.lr-state-mode{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;margin:4px 0 8px;font-size:12px;font-weight:700}.lr-state-mode>input{appearance:auto!important;width:20px!important;height:20px!important;min-height:20px!important;margin:0!important}.lr-key-unknown{color:#ffd05a}
.lr-state-mode>input[role=switch]{appearance:none!important;width:46px!important;height:26px!important;min-height:26px!important;border:1px solid #00c7b7;border-radius:20px;background:#202642;position:relative;cursor:pointer}.lr-state-mode>input[role=switch]::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#00fef6;transition:transform .15s}.lr-state-mode>input[role=switch]:checked::after{transform:translateX(20px)}.lr-state-mode[data-mode=lock]>span:first-child,.lr-state-mode[data-mode=points]>span:last-child{color:#00fef6}
.lr-reserve-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:0;overscroll-behavior-x:contain}.lr-reserve-carousel>.lr-card{flex:0 0 100%;min-width:0;box-sizing:border-box;scroll-snap-align:start}
.lr-carousel-controls{display:flex;justify-content:space-between;gap:16px;padding-top:8px}.lr-carousel-controls>button{min-width:64px;min-height:44px;font-size:24px}
.lila-replacement .lr-guided-sync>footer{flex:none;position:static}.lr-guided-sync>.lr-dialog-body{overflow:auto;min-height:0}
@media(max-width:760px){
 body.lila-page #app-hero.lr-lila-hero,body.lila-page.lila-header-collapsed #app-hero.lr-lila-hero{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"title refresh";gap:4px}
 body.lila-page:not(.lila-header-collapsed) #app-hero.lr-lila-hero{grid-template-columns:36px minmax(0,1fr) 44px;grid-template-areas:"brand account account" "title title refresh" "controls controls controls"}
 body.lila-page #app-hero>[data-lila-refresh]{grid-area:refresh;display:block!important}
 .lila-replacement .lr-dialog.lr-input-dialog[open]{inset:var(--lr-visible-top,0px) 0 auto!important;top:calc(var(--lr-visible-top,0px) + 8px)!important;margin:0 auto!important;height:auto!important;min-height:0!important;max-height:min(48dvh,calc(var(--lr-visible-height,100dvh) - 16px))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:10px}
 .lila-replacement .lr-dialog.lr-input-dialog>header{flex:none;padding:6px 10px}
 .lila-replacement .lr-dialog.lr-input-dialog>.lr-dialog-body{flex:0 1 auto!important;min-height:0;max-height:none!important;padding:8px 10px!important;overflow:auto!important}
 .lila-replacement .lr-dialog.lr-input-dialog>footer{flex:none!important;position:static!important;gap:6px!important;padding:6px 10px!important;margin:0!important}
 .lila-replacement .lr-dialog.lr-input-dialog>footer>button{min-height:40px!important;margin:0!important;padding:6px 10px!important}
 .lila-replacement .lr-input-dialog p,.lila-replacement .lr-input-dialog label{margin-top:6px;margin-bottom:6px}
 .lila-replacement .lr-input-dialog textarea{min-height:48px}
 .lila-replacement .lr-dialog.lr-review-player-dialog[open]{max-height:92dvh}
 .lr-review-player-dialog>.lr-dialog-body{overflow-y:auto!important;min-height:0}
}


/* Shared compact review calendars: only the name yields space to injury status. */
@media(min-width:761px){
 .lila-replacement .lr-dialog.lr-override-review{width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
 .lr-review-grid-table thead th:first-child,.lr-review-grid-table tbody th{width:260px;min-width:260px;max-width:260px}
}
.lr-review-grid-table tbody th{overflow:visible;white-space:normal}
.lr-review-player-label{display:flex;align-items:center;gap:4px;min-width:0;min-height:23px}
.lr-review-player-label>.lr-review-pos{flex:0 0 31px;margin:0}
.lr-review-player-label>.lr-review-player-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lr-review-player-label>.lr-injury{flex:0 0 auto;margin:0;white-space:nowrap;line-height:1.2}
.lr-review-player-name:focus{outline:1px solid #00c7b7}
.lr-review-player-label .lr-injury-detail{left:auto;right:0}
.lila-replacement .lr-sync-review button.lr-sync-pill{display:flex;align-items:center;justify-content:space-between;gap:2px}
.lr-sync-cell-icon{display:inline-flex;flex:none;width:12px;align-items:center;justify-content:center;font-size:12px}
.lr-sync-cell-icon svg{width:11px;height:11px}
.lila-replacement .lr-guided-sync .lr-review-grid-table td:has(> .sync-unknown),
.lila-replacement .lr-guided-sync .lr-sync-stacked-game:has(> .sync-unknown){background-color:#68562b}
.lila-replacement .lr-sync-review button.lr-sync-pill.sync-unknown{border-color:#71829c!important;color:#e7effd!important}
.lr-sync-pill.sync-unknown .lr-sync-cell-icon{color:#ffe18b}
.lila-replacement .lr-sync-review button.lr-sync-pill:disabled{opacity:1;cursor:default}
.lila-replacement .lr-guided-sync>footer{display:flex!important;justify-content:flex-end!important}

@media(max-width:760px){
 .lr-override-review .lr-review-grid-table thead th:first-child,.lr-override-review .lr-review-grid-table tbody th{width:40px;min-width:40px;max-width:40px}
 .lr-override-review .lr-review-grid-table tr{grid-template-columns:40px repeat(7,minmax(0,1fr))}
 .lr-override-review .lr-review-grid-table tbody th{height:auto}
 .lr-override-review .lr-review-player-label{flex-direction:column;align-items:flex-start;gap:2px;width:100%}
 .lr-override-review .lr-review-player-label>.lr-review-player-name{display:none}
 .lr-override-review .lr-review-player-label>.lr-review-pos{width:31px;height:23px;flex:0 0 31px}
 .lr-override-review .lr-review-player-label>.lr-review-desktop-pos{display:none}
 .lr-override-review .lr-review-player-label>.lr-injury{font-size:10px!important;padding:1px 3px}
 .lr-override-review .lr-review-grid-table td{padding:5px 1px!important}
 .lila-replacement .lr-sync-review button.lr-sync-pill{font-size:10px;padding:0 1px}
 .lr-sync-cell-icon{width:9px;font-size:10px}
 .lr-sync-cell-icon svg{width:9px;height:9px}
}

/* Immediate, accessible acknowledgement for user-triggered network requests. */
.lr-request-spinner{display:inline-block;flex:none;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:middle;animation:lr-request-spin .8s linear infinite}
@keyframes lr-request-spin{to{transform:rotate(360deg)}}
body.lila-page button.lr-request-pending{cursor:progress!important;opacity:.85!important;box-shadow:inset 0 0 0 2px #00fef6!important}
body.lila-page button.lr-request-pending>.lr-request-spinner{margin-right:7px}
body.lila-page [data-lila-refresh].lr-request-pending>.lr-request-spinner{margin:0;width:24px;height:24px;border-width:3px}
body.lila-page button.lr-button-acknowledged{outline:2px solid #00fef6!important;outline-offset:1px;filter:brightness(1.15)}
.lr-request-feedback{display:flex;align-items:center;gap:8px;flex:none;padding:9px 12px;margin:0 0 8px;border:1px solid #00c7b7;border-radius:7px;background:#142d3d;color:#e7ffff;font-size:14px;line-height:1.35}
.lr-status-message>.lr-request-feedback{margin:0}
[data-load-progress]::before{content:"";display:inline-block;width:18px;height:18px;margin-right:10px;vertical-align:middle;border:2px solid #00fef6;border-right-color:transparent;border-radius:50%;animation:lr-request-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.lr-request-spinner,[data-load-progress]::before{animation:none;border-right-color:currentColor}}

/* LOCKED pills match the approved neon-teal key, including review dialogs. */
.lila-replacement .lr-day.lr-locked,.lila-replacement .lr-sync-review button.lr-sync-pill.sync-locked,.lila-replacement button.lr-review-state.is-active.lr-review-locked{background:#00FEF6!important;border-color:#00FEF6!important;color:#071521!important;opacity:1;filter:none!important}
.lila-replacement .lr-day.lr-locked b,.lila-replacement .lr-day.lr-locked small,.lila-replacement .lr-day.lr-locked .lr-status-icon{color:#071521!important}

/* Drop willingness first, followed by every eligible pairing in the five-by-five shortlist. */
.lila-replacement .lr-drop-choice{padding:10px 8px;border:1px solid #385171;border-radius:7px;margin:8px 0}
.lr-drop-choice>span{min-width:0;overflow-wrap:anywhere}.lr-drop-choice small{display:block;color:#b7c7df;margin-top:4px;line-height:1.4}
.lr-roster-review .lr-advice-row{border-top:1px solid #385171;margin-top:14px;padding-top:12px}
.lr-roster-review h4{color:#00fef6;margin:8px 0}
.lr-roster-review .lr-advice-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:760px){.lr-roster-review .lr-advice-actions{display:grid;grid-template-columns:minmax(0,1fr)}.lr-roster-review .lr-advice-actions button{width:100%;white-space:normal;overflow-wrap:anywhere}}

/* Mobile review injury shorthand; full designation stays accessible. */
@media(max-width:760px){
 .lila-replacement .lr-override-review .lr-review-player-label>.lr-injury{font-size:0!important}
 .lr-override-review .lr-review-player-label>.lr-injury .lr-injury-detail{font-size:11px}
 .lr-override-review .lr-review-player-label>.lr-injury::before{content:attr(data-mobile-injury);font-size:11px}
 .lr-override-review .lr-review-player-label>.lr-injury[data-injury-status="DOUBTFUL"]{color:#ff8500!important;border-color:#ff8500}
 .lr-override-review .lr-review-player-label>.lr-injury[data-injury-status="QUESTIONABLE"]{color:#ffb24c!important;border-color:#ffb24c}
}
.lila-replacement .lr-sync-player-details .lr-sync-player-name{font-size:20px;color:#edf1fb}
body.lila-page .lila-replacement .lr-sync-player-details [data-player-details-close]{background:transparent!important;background-image:none!important;color:#fff!important;box-shadow:none!important;border:0!important;min-height:40px;min-width:40px}

/* The 40px mobile position column cannot fit a badge plus an injury letter. */
@media(max-width:760px){
 .lr-override-review .lr-review-player-label{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:0}
 .lila-replacement .lr-override-review .lr-review-player-label>.lr-injury{display:none!important}
}
/* Player information uses only its content height, including on mobile. */
.lila-replacement .lr-dialog.lr-sync-player-details[open]{inset:0!important;margin:auto!important;width:fit-content!important;min-width:min(280px,calc(100vw - 24px));max-width:min(420px,calc(100vw - 24px))!important;height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;border-radius:12px!important;display:flex!important;flex-direction:column;overflow:hidden}
.lila-replacement .lr-sync-player-details>header{flex:none;padding:6px 12px!important;gap:12px}
.lila-replacement .lr-sync-player-details>.lr-dialog-body{flex:0 1 auto!important;max-height:none!important;min-height:0;padding:8px 14px 14px!important;overflow:auto!important;overflow-wrap:anywhere}
.lila-replacement .lr-sync-player-details .lr-injury{margin-left:0}
.lila-replacement .lr-sync-player-details .lr-injury-detail{display:none}


/* Dashboard footer stays below the roster scroller. */
.lr-dashboard-footer{flex:none;min-width:0;container-type:inline-size}
.lr-dashboard-footer .lr-legend[hidden]{display:none}
.lr-key-row{display:contents}
.lr-status-navigation{display:flex;align-items:stretch;gap:8px}
body.lila-page .lr-status-message{max-block-size:2lh;overflow-y:auto;overscroll-behavior-y:contain;overflow-wrap:anywhere}
body.lila-page .lr-status-message > *{line-height:inherit}
body.lila-page .lr-status-message > .lr-status{margin:0!important;font-size:inherit}
.lr-status-message .lr-progress-list{list-style:disc outside;margin:0;padding:0 0 0 1.2em}
.lr-status-message .lr-progress-step{margin:0;padding:0}
.lr-progress-list ::marker{color:#e5e7eb}
.lr-progress-mark{color:#00e676;font-weight:800}
.lr-progress-error{color:#ffbdc7}
body.lila-page .lr-status-message > :is(.lr-status:not(.lr-status-steps),.lr-timer,[data-sync-summary],.lr-sync-status-guidance,.lr-request-feedback):not(:empty){
  position:relative;padding-inline-start:1.2em;
}
body.lila-page .lr-status-message > :is(.lr-status:not(.lr-status-steps),.lr-timer,[data-sync-summary],.lr-sync-status-guidance,.lr-request-feedback):not(:empty)::before{
  content:"•";position:absolute;inset-inline-start:.35em;color:#e5e7eb;
}
.lr-status-message > .lr-timer:empty,.lr-status-steps:has(.lr-progress-active) + .lr-timer{display:none}
body.lila-page .lr-status-message:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(min-width:761px){
  .lr-legend .lr-key-suggested{order:1}
  .lr-legend .lr-key-unlockable{order:2}
  .lr-legend .lr-key-unknown{order:3}
  .lr-legend .lr-key-poor{order:4}
  .lr-legend .lr-key-good{order:5}
  .lr-legend .lr-key-better{order:6}
  .lr-legend .lr-key-best{order:7}
}
@media(max-width:760px){
  body.lila-page .lr-dashboard-footer .lr-legend{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  body.lila-page .lr-dashboard-footer .lr-legend[hidden]{display:none}
  .lr-key-row{display:flex;align-items:center;gap:clamp(2px,calc(6cqw - 17px),7px)}
  .lr-key-row .lr-key-badge{padding-inline:clamp(2px,calc(8cqw - 25px),8px);gap:3px;font-size:clamp(8px,2.8cqw,11px)}
  .lr-key-row .lr-key-badge svg{width:clamp(9px,3cqw,12px)}
  .lr-key-row .lr-key-better,.lr-key-row .lr-key-poor{margin-inline-start:auto}
}

.lila-replacement .lr-guided-sync .lr-statusbar{min-height:0;align-self:stretch}
.lila-replacement .lr-guided-sync .lr-status-message>.lr-request-feedback{padding:0 0 0 1.2em;margin:0;border:0;background:transparent;font:inherit}

body.lila-page .lr-guided-sync .lr-status-actions>button{min-inline-size:4.2em}
body.lila-page .lr-guided-sync .lr-status-actions>button.lr-request-pending>.lr-request-spinner{margin:0}

.lila-replacement .lr-guided-sync > footer.lr-status-navigation {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px;
}
.lila-replacement .lr-guided-sync > footer .lr-statusbar {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
.lila-replacement .lr-guided-sync > footer .lr-status-actions > button {
  inline-size: 5em;
}
.lr-guided-sync .lr-sync-team-name{
  min-width:0;
  margin-inline-start:auto;
  margin-inline-end:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#d0a1ff;
  font-weight:700;
}
.lr-guided-sync .lr-sync-heading{margin:0 0 4px;font-size:clamp(16px,2.4vw,25px)}
.lr-guided-sync .lr-review-note{padding:0;border:0;background:transparent}
body.lila-page .lr-guided-sync .lr-statusbar{border:0;background:transparent}
.lr-guided-sync [data-sync-summary]{display:block;font-weight:700}
.lr-sync-status-guidance{display:block;color:#b3c2d9}
.lr-sync-next-unavailable{position:relative;display:inline-flex}
.lila-replacement .lr-guided-sync .lr-sync-next-unavailable > button:disabled{
  inline-size:5em;
  min-height:44px;
  padding-inline:8px;
  background:#292440!important;
  background-image:none!important;
  border-color:#4a405e!important;
  box-shadow:none!important;
  color:#a69bb9!important;
  cursor:default;
  pointer-events:none;
}
.lr-sync-next-unavailable:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:7px}
.lr-sync-next-hint{
  position:absolute;
  z-index:4;
  inset-inline-end:calc(100% + 12px);
  inset-block-start:50%;
  transform:translateY(-50%);
  width:clamp(200px,40vw,360px);
  box-sizing:border-box;
  padding:8px 12px;
  border:1px solid #657696;
  border-radius:7px;
  background:#202d45;
  color:#edf1fa;
  font-size:13px;
  line-height:1.35;
  white-space:normal;
}
.lr-sync-next-hint[hidden]{display:none}
.lr-sync-next-hint::after{
  content:"";
  position:absolute;
  inset-inline-end:-5px;
  inset-block-start:calc(50% - 4px);
  width:8px;
  height:8px;
  transform:rotate(45deg);
  border:solid #657696;
  border-width:1px 1px 0 0;
  background:#202d45;
}
@media(max-width:760px){
  .lr-guided-sync .lr-sync-team-name{display:none}
  .lila-replacement .lr-guided-sync .lr-sync-next-unavailable > button:disabled{min-height:40px}
  .lr-sync-next-hint{
    inset-inline-end:0;
    inset-block-start:auto;
    inset-block-end:calc(100% + 10px);
    width:min(280px,calc(100vw - 56px));
    transform:none;
  }
  .lr-sync-next-hint::after{
    inset-inline-end:27px;
    inset-block-start:auto;
    inset-block-end:-5px;
    border-width:0 1px 1px 0;
  }
}
.lila-replacement .lr-guided-sync .lr-review-grid-table tbody tr > * {
  border-block-end: 1px solid #2b3952;
}
.lila-replacement .lr-guided-sync .lr-review-grid-table tr.lr-review-divider > * {
  border-block-start: 2px solid #8da5c5;
}
.lila-replacement .lr-guided-sync .lr-review-grid-table .lr-review-today {
  background-color: #172c48;
}
.lila-replacement .lr-sync-review button.lr-sync-pill.is-projection {
  --sync-source: #75a9ab;
  background: #162b36 !important;
}
.lila-replacement .lr-sync-review button.lr-sync-pill.is-projection.is-overridden {
  --sync-source: #ad90ca;
  background: #282239 !important;
}
.lila-replacement .lr-sync-review button.lr-sync-pill.sync-unlockable:not(.is-projection){
  color:#96a7bd!important;
}
.lr-sync-pill.sync-unlockable.is-projection .lr-sync-cell-icon{color:#96a7bd}
.lila-replacement .lr-guided-sync .lr-review-readonly > * > * {
  opacity: .7;
}

/* Fine-Tune Projections calendar, key, and save feedback. */
.lr-fine-tune-map {
  --lr-review-source: #00fef6;
  --lr-review-override: #dda2ff;
  --lr-review-background: #202642;
  --lr-review-neutral: #566681;
}
.lr-fine-tune-map .lr-review-grid-table .lr-review-today {
  background-color: #192a44;
  box-shadow: 0 2px #192a44;
}
.lr-fine-tune-map .lr-review-grid-table tr.lr-review-divider > * {
  border-block-start: 1px solid #617693;
  padding-block-start: 3px;
}
.lr-fine-tune-map .lr-review-player-label > .lr-review-player-name {
  flex: 0 1 auto;
}
.lr-fine-tune-map .is-overridden {
  --lr-review-pill-text: var(--lr-review-override);
}
.lr-fine-tune-map .review-locked {
  --lr-review-pill-background: var(--lr-review-source);
  --lr-review-pill-border: var(--lr-review-source);
  --lr-review-pill-text: #071521;
}
.lr-fine-tune-map .review-locked.is-overridden .lr-fine-tune-score {
  color: #55218a;
}
.lr-fine-tune-map .review-lockable {
  --lr-review-pill-border: var(--lr-review-source);
}
.lr-fine-tune-map .review-unknown .lr-fine-tune-icon {
  color: #ffd05a;
}
.lr-fine-tune-map .review-unlockable .lr-fine-tune-icon {
  color: #a8b8d1;
}
.lr-fine-tune-map .lr-tier-yellow { --lr-review-pill-border: #ffdc20; }
.lr-fine-tune-map .lr-tier-orange { --lr-review-pill-border: #ff9c25; }
.lr-fine-tune-map .lr-tier-red { --lr-review-pill-border: #ff3d5a; }
.lr-fine-tune-map .lr-tier-green { --lr-review-pill-border: #00e676; }
.lila-replacement .lr-fine-tune-map button.lr-review-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  border: 1px solid var(--lr-review-pill-border, var(--lr-review-neutral)) !important;
  background: var(--lr-review-pill-background, var(--lr-review-background)) !important;
  color: var(--lr-review-pill-text, var(--lr-review-source)) !important;
  box-shadow: none !important;
}
.lr-fine-tune-map .lr-fine-tune-score {
  margin-inline-start: auto;
  white-space: nowrap;
}
.lr-fine-tune-map .lr-fine-tune-score:only-child {
  margin-inline: auto;
}
.lr-fine-tune-map .lr-fine-tune-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
}
.lr-fine-tune-map .lr-fine-tune-out-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #ff5269;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}
.lila-replacement .lr-dialog.lr-fine-tune-map > footer {
  display: block !important;
}
.lr-fine-tune-map .lr-fine-tune-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.lila-replacement .lr-fine-tune-map footer .lr-fine-tune-tabs > button {
  white-space: normal;
  overflow-wrap: anywhere;
}
.lr-fine-tune-map > footer .lr-legend {
  position: static;
  margin: 0;
  box-shadow: none;
  font-size: 11px;
}
body.lila-page .lr-fine-tune-map .lr-status-actions > button {
  min-inline-size: 4.2em;
}
body.lila-page .lr-fine-tune-map .lr-status-actions .lr-request-spinner {
  margin: 0;
}
@media(max-width:760px) {
  body.lila-page .lr-fine-tune-map > footer .lr-legend {
    transform: none;
  }
  .lila-replacement .lr-fine-tune-map button.lr-review-edit {
    min-height: 23px;
    padding-inline: 1px;
    gap: 1px;
  }
  .lr-fine-tune-map .lr-fine-tune-icon svg,
  .lr-fine-tune-map .lr-fine-tune-out-icon { width: 9px; height: 10px; }
  .lr-fine-tune-map .lr-fine-tune-out-icon { height: 9px; font-size: 6px; }
  .lila-replacement .lr-fine-tune-map button.lr-review-edit.review-wide-score { font-size: 9px; }
}
@media(max-width:390px) {
  .lila-replacement .lr-fine-tune-map button.lr-review-edit:has(.lr-fine-tune-icon) {
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  .lr-fine-tune-map button.lr-review-edit:has(.lr-fine-tune-icon) .lr-fine-tune-score { margin: 0; }
}

.lr-protection-review .lr-protection-mode {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: .5em;
}
.lr-protection-table-wrap { overflow-x: auto; }
.lr-protection-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: clamp(11px, 3.4vw, 15px);
}
.lr-protection-table th,
.lr-protection-table td {
  padding: .5em .25em;
  border-bottom: 1px solid var(--lr-border);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.lr-protection-table tr > :first-child { text-align: left; }
.lr-protection-table thead th { color: #a5c4df; }
.lr-protection-table thead th:nth-child(2) { width: 5.7em; }
.lr-protection-table thead th:nth-child(3) { width: 10em; }
.lr-protection-table thead th:last-child { width: 3.4em; }
.lr-protection-table td { font-variant-numeric: tabular-nums; }
.lr-protection-table td > input { vertical-align: middle; }
.lr-recommend-protection {
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--lr-border);
  border-radius: 7px;
}
.lr-recommend-protection > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lr-recommend-protection h4 { color: #24d2e7; }
.lr-recommend-protection p:last-child { margin-bottom: 0; }
.lr-protection-review input[role="switch"] {
  appearance: none;
  display: inline-block;
  flex: none;
  inline-size: 2.45em;
  block-size: 1.35em;
  padding: 0;
  margin: 0;
  border: 1px solid #8799b7;
  border-radius: 1em;
  background: #25354d;
  cursor: pointer;
}
.lr-protection-review input[role="switch"]::before {
  content: "";
  display: block;
  inline-size: .86em;
  block-size: .86em;
  margin: .17em;
  border-radius: 50%;
  background: #fff;
}
.lr-protection-review input[role="switch"]:checked { background: #008678; }
.lr-protection-review input[role="switch"]:checked::before { transform: translateX(1.07em); }
.lr-protection-review input[role="switch"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Completed-game scoring and Sleeper stat corrections. */
.lr-game-breakdown .lr-breakdown-player {
  font-size: 1.15em;
}
.lr-game-breakdown .lr-breakdown-player + .lr-data-note {
  margin: 0 0 12px;
  padding: 0;
}
.lr-breakdown-table-wrap {
  border: 1px solid #334765;
  border-radius: 7px;
  overflow: hidden;
}
.lr-breakdown-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.lr-breakdown-table col:first-child { width: 40%; }
.lr-breakdown-table .lr-breakdown-count { width: 14%; }
.lr-breakdown-table :is(th,td) {
  padding: .42em .52em;
  border-right: 1px solid #0b1423;
  text-align: right;
}
.lr-breakdown-table tr > :first-child { text-align: left; }
.lr-breakdown-table tr > :last-child { border-right: 0; }
.lr-breakdown-table thead,
.lr-breakdown-table tfoot { background: #1c2b44; }
.lr-breakdown-table thead { font-size: .85em; }
.lr-breakdown-table tbody tr:nth-child(even) { background: #162239; }
.lr-breakdown-table tbody th { font-weight: 400; }
.lr-breakdown-table thead th:nth-child(2),
.lr-breakdown-table thead th:nth-child(3) { text-align: center; }
.lr-breakdown-icon {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.lr-breakdown-icon > span { visibility: hidden; }
.lr-breakdown-icon img {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}
.lr-breakdown-table abbr { text-decoration: none; }
.lr-breakdown-table td:nth-child(4) { color: #bdcfea; }
.lr-breakdown-table td:last-child { font-weight: 700; }
.lr-game-breakdown .lr-breakdown-table input {
  width: 100%;
  min-width: 0;
  padding: .32em .36em;
  border: 1px solid #c78cfa;
  text-align: right;
  appearance: textfield;
}
.lr-breakdown-table input::-webkit-inner-spin-button { appearance: none; }
.lr-game-breakdown [data-breakdown-error]:empty { display: none; }
@media (max-width: 480px) {
  .lr-breakdown-table { font-size: clamp(11px, 3.5vw, 15px); }
  .lr-breakdown-table :is(th,td) { padding-inline: .28em; }
  .lr-game-breakdown .lr-breakdown-table input { min-height: 32px; }
}

@media (max-width: 760px) {
  .lila-replacement .lr-dialog.lr-input-dialog.lr-game-breakdown[open] {
    max-height: calc(var(--lr-visible-height, 100dvh) - 16px) !important;
  }
  .lila-replacement .lr-dialog.lr-input-dialog.lr-game-breakdown > footer {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lila-replacement .lr-dialog.lr-input-dialog.lr-game-breakdown > footer > button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
