.espn-file-import{display:none!important}
.espn-import .espn-warning{display:none!important}
.espn-public-help{max-width:650px;padding:13px 15px;border:1px solid #e5e7eb;border-radius:10px;background:#f8f9fb;color:#424955;font-size:11px;line-height:1.65}
.espn-public-help p{margin:5px 0 8px;color:#68717e}
.espn-public-help a{color:#B80000;font-weight:700;text-decoration:none}
.espn-public-help a:hover{text-decoration:underline}
.espn-import-form{max-width:650px}
.espn-import-form>input{box-sizing:border-box}
.espn-import-form .espn-button{justify-self:stretch;width:100%;cursor:pointer}
.espn-import-form .espn-button:disabled{opacity:.6;cursor:wait}
.espn-matchups{display:grid;gap:2px}
.espn-card p{font-size:11px;color:#737b88}

/* Import prerequisites note beside the league URL form */
.espn-import-form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);align-items:end;gap:10px 18px;max-width:900px}
.espn-import-form>label,.espn-import-form>input,.espn-import-form>.espn-button{grid-column:1}
.espn-import-note{grid-column:2;grid-row:1 / span 3;align-self:stretch;padding:13px 15px;border:1px solid #f0d2ce;border-radius:10px;background:#fff8f7;color:#454b55;font-size:10px;line-height:1.6}
.espn-import-note>b{display:block;color:#B80000;font-size:11px;margin-bottom:5px}
.espn-import-note ul{margin:0;padding-left:16px}
.espn-import-note li{margin:4px 0}
.espn-import-note p{margin:8px 0;color:#6b7280}
.espn-import-note a{color:#B80000;font-weight:700;text-decoration:none}
.espn-import-note a:hover{text-decoration:underline}
@media(max-width:650px){.espn-import-form{grid-template-columns:1fr}.espn-import-form>label,.espn-import-form>input,.espn-import-form>.espn-button,.espn-import-note{grid-column:1;grid-row:auto}}

.espn-note-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.espn-note-heading>b{margin:0}
.espn-steps-toggle{flex:none;border:1px solid #e6b8b2;border-radius:7px;background:#fff;color:#B80000;padding:6px 9px;font:inherit;font-size:10px;font-weight:750;cursor:pointer}
.espn-steps-toggle:hover{background:#fff0ed}
.espn-import-steps{margin-top:11px;padding-top:10px;border-top:1px solid #f0d2ce}
.espn-import-steps[hidden]{display:none}
.espn-import-steps>b{display:block;font-size:10px;color:#303741;margin-bottom:5px}
.espn-import-steps ol{margin:0;padding-left:18px}
.espn-import-steps li{margin:5px 0}
.espn-import-steps p{margin:8px 0 0;color:#6b7280}


/* Larger primary submit button inside the ESPN league connection form */
.espn-import-form>.espn-button{
  min-height:62px!important;
  padding:17px 24px!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.2!important;
  border-radius:11px!important;
  box-shadow:0 7px 18px #E1060040!important;
}
.espn-import-form>.espn-button:hover{
  filter:brightness(1.08);
  box-shadow:0 10px 24px #E1060055!important;
}
@media(max-width:650px){
  .espn-import-form>.espn-button{min-height:58px!important;font-size:16px!important}
}


/* Persistent connected-league dashboard */
.league-dashboard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.league-dashboard-head h2{font:600 21px 'Space Grotesk',sans-serif;margin:7px 0 5px;color:var(--text)}
.league-dashboard-head p,.league-dashboard-foot{color:var(--muted);font-size:11px;line-height:1.5;margin:0}
.league-connected-pill{white-space:nowrap;border:1px solid #285846;background:#102d27;color:#83e6b7;padding:8px 11px;border-radius:20px;font-size:10px;font-weight:700}
.league-dashboard-select{display:flex;align-items:center;gap:12px;margin-top:16px}
.league-dashboard-select label,.league-dashboard-metrics small{font-size:9px;letter-spacing:1px;color:var(--muted);font-weight:700}
.league-dashboard-select select{min-width:220px;max-width:100%;background:#0b1725;border:1px solid var(--line);color:var(--text);padding:9px 11px;border-radius:8px}
.league-dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.league-dashboard-metrics>div{background:#0b1927;border:1px solid var(--line);border-radius:10px;padding:12px}
.league-dashboard-metrics small{display:block}
.league-dashboard-metrics strong{display:block;font:600 21px 'Space Grotesk',sans-serif;margin:7px 0 3px;color:var(--text)}
.league-dashboard-metrics span{display:block;font-size:10px;color:var(--muted);line-height:1.4}
.league-dashboard-foot{margin-top:12px}
.nav button[hidden]{display:none!important}
@media(max-width:650px){.league-dashboard-head{flex-direction:column}.league-dashboard-select{align-items:flex-start;flex-direction:column;gap:7px}.league-dashboard-select select{width:100%}.league-dashboard-metrics{grid-template-columns:1fr}.league-dashboard-metrics>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px}.league-dashboard-metrics strong{grid-column:2;grid-row:1/3}.league-dashboard-metrics span{grid-column:1}}

/* Modern connected-league dashboard */
.league-dashboard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.league-dashboard-head h2{font:600 21px 'Space Grotesk',sans-serif;margin:7px 0 5px;color:var(--text)}
.league-dashboard-head p,.league-dashboard-foot{color:var(--muted);font-size:11px;line-height:1.5;margin:0}
.league-connected-pill{white-space:nowrap;border:1px solid #285846;background:#102d27;color:#83e6b7;padding:8px 11px;border-radius:20px;font-size:10px;font-weight:700}
.league-dashboard-select{display:flex;align-items:center;gap:12px;margin-top:16px}
.league-dashboard-select label,.league-dashboard-metrics small{font-size:9px;letter-spacing:1px;color:var(--muted);font-weight:700}
.league-dashboard-select select{min-width:220px;max-width:100%;background:#0b1725;border:1px solid var(--line);color:var(--text);padding:10px 13px;border-radius:10px;outline:none}
.league-dashboard-select select:focus{border-color:var(--green);box-shadow:0 0 0 3px #73e0b022}
.league-dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.league-dashboard-metrics>div{background:linear-gradient(145deg,#12263a,#0b1927);border:1px solid var(--line);border-radius:12px;padding:13px;min-width:0;transition:transform .2s,border-color .2s}
.league-dashboard-metrics>div:hover{transform:translateY(-2px);border-color:#42647a}
.league-dashboard-metrics small{display:block}
.league-dashboard-metrics strong{display:block;font:600 21px 'Space Grotesk',sans-serif;margin:7px 0 3px;color:var(--text);overflow-wrap:anywhere}
.league-dashboard-metrics span{display:block;font-size:10px;color:var(--muted);line-height:1.4}
.league-dashboard-breakdown{margin-top:13px;padding:13px 15px;background:#0b1927;border:1px solid var(--line);border-radius:12px}
.league-breakdown-title{font-size:9px;letter-spacing:1px;font-weight:700;color:var(--muted);margin-bottom:9px}
.league-breakdown-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.league-breakdown-grid>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
.league-breakdown-grid b{color:var(--text);white-space:nowrap}
.league-dashboard-foot{margin-top:12px}
@media(max-width:650px){.league-dashboard-head{flex-direction:column}.league-dashboard-select{align-items:flex-start;flex-direction:column;gap:7px}.league-dashboard-select select{width:100%}.league-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.league-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
