/* 30PICK'EM — Secondary Tools & Sheets v1 (stv1)
   One shared visual system for the secondary utility sheets opened from
   Menu / League Management / Commissioner Tools: Install App guide (+ QR),
   iPhone install-to-enable-alerts prompt, League Members, League Settings,
   Pick Completion, Money Pool Settings, App Usage, System Health, Weekly Card
   (draft / editor / auto-fill / review / publish / delete draft), Results
   (+ score entry) and the Create / Join / Leave / Delete / Remove flows.

   Presentation only. Every selector is scoped to .stv1 (the root each of
   those sheets renders) or to #modalSheet:has(.stv1) for the sheet chrome.
   Sheet geometry — the safe-area toolbar height/padding from
   safe-area-v1.css, the sheet's own padding and height — is never changed
   here; only colours, borders and glow of the chrome are restyled.
   Home, Picks, GOTW, Standings, Pool tab, Hub, Player Card, Profile,
   Admin/Menu v3, Logo shell, Loader, safe area and bottom nav are not matched
   by any selector in this file. */

#modalSheet .stv1{
  --stv1-cyan:#00d2ff;
  --stv1-cyan-lt:#5fe3ff;
  --stv1-cyan-2:#8fdcff;
  --stv1-gold:#ffd24a;
  --stv1-gold-lt:#ffe7a0;
  --stv1-red:#ff6b7d;
  --stv1-red-lt:#ffb3bd;
  --stv1-green:#3ee08f;
  --stv1-green-lt:#9ff5c6;
  --stv1-amber:#ffb547;
  --stv1-amber-lt:#ffd08a;
  --stv1-text:#f6f9ff;
  --stv1-muted:#b3c3da;
  --stv1-dim:#8397b4;
  --stv1-line:rgba(0,210,255,.32);
  --stv1-line-soft:rgba(92,170,230,.16);
  --stv1-card:linear-gradient(180deg,rgba(11,29,62,.94) 0%,rgba(6,17,38,.97) 100%);
  --stv1-tile:linear-gradient(180deg,rgba(13,42,98,.72) 0%,rgba(6,20,51,.86) 100%);
  --stv1-btn-gold:linear-gradient(180deg,#4a3509 0%,#231904 55%,#140e03 100%);
  --stv1-edge-gold:linear-gradient(90deg,#ffd24a 0%,#ffe9a3 50%,#ffb800 100%);
  --stv1-cond:'PC5 Barlow Condensed','Barlow Condensed','Oswald','Arial Narrow',sans-serif;
  --stv1-sans:'PC5 Inter',Inter,'Helvetica Neue',Arial,sans-serif;
  --stv1-mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  display:flex;flex-direction:column;gap:12px;min-width:0;
  padding:2px 0 6px;
  color:var(--stv1-text);font-family:var(--stv1-sans);
  -webkit-text-size-adjust:100%;
}
#modalSheet .stv1 *{box-sizing:border-box;min-width:0}
#modalSheet .stv1 :focus-visible{outline:2px solid var(--stv1-cyan-2);outline-offset:2px}
#modalSheet .stv1 p{margin:0}
#modalSheet .stv1Ico{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ============ Sheet chrome (colour only — geometry stays with safe-area-v1) ============ */
#modalSheet:has(.stv1){
  background:
    radial-gradient(120% 44% at 50% -6%,rgba(0,150,255,.18) 0%,rgba(0,150,255,0) 62%),
    linear-gradient(180deg,#071733 0%,#050e24 42%,#030a1a 100%)!important;
  border-color:rgba(0,210,255,.22)!important;
  color:#f6f9ff;
}
#modalSheet:has(.stv1) .sheetToolbar{
  background:linear-gradient(180deg,#071733 0%,rgba(7,23,51,.98) 76%,rgba(7,23,51,.86) 90%,rgba(7,23,51,0) 100%)!important;
}
#modalSheet:has(.stv1) .sheetToolbar .sheetTopAccent{
  background:linear-gradient(90deg,rgba(0,210,255,0),rgba(0,210,255,.9) 30%,rgba(255,210,74,.95) 70%,rgba(255,210,74,0))!important;
  box-shadow:0 0 14px rgba(0,190,255,.28)!important;
}
#modalSheet:has(.stv1) .sheetToolbar .sheetClose.branded{
  border:1.5px solid rgba(0,210,255,.62)!important;
  color:#5fe3ff!important;
  background:linear-gradient(180deg,#0e2352 0%,#050e24 100%)!important;
  box-shadow:0 0 12px rgba(0,170,255,.22),inset 0 1px 0 rgba(223,249,255,.12)!important;
}
#modalSheet:has(.stv1) .sheetToolbar .sheetClose.branded:active{background:linear-gradient(180deg,#123067 0%,#07163a 100%)!important}

/* ============ Header ============ */
#modalSheet .stv1Head{display:flex;align-items:flex-start;gap:11px}
#modalSheet .stv1HeadIco,#modalSheet .stv1HeroIco{
  flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  border:1px solid rgba(0,210,255,.5);background:rgba(4,22,48,.85);color:var(--stv1-cyan-lt);
  box-shadow:0 0 14px rgba(0,170,255,.16);
}
#modalSheet .stv1HeadIco .stv1Ico{width:21px;height:21px}
#modalSheet .stv1HeadText{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;min-width:0}
#modalSheet .stv1Kicker{
  font-family:var(--stv1-cond);font-weight:700;font-size:12.5px;line-height:1.15;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--stv1-gold);overflow-wrap:anywhere;
}
#modalSheet .stv1Kicker.red{color:#ff8b9a}
#modalSheet .stv1Title{
  margin:0;font-family:var(--stv1-cond);font-weight:700;font-size:28px;line-height:1.02;letter-spacing:.4px;text-transform:uppercase;
  color:var(--stv1-text);text-shadow:0 2px 12px rgba(0,0,0,.45);overflow-wrap:anywhere;
}
#modalSheet .stv1Sub{font-size:13px;line-height:1.42;font-weight:500;color:var(--stv1-muted);overflow-wrap:anywhere}
#modalSheet .stv1Sub b{color:var(--stv1-text)}
#modalSheet .stv1HeadAside{flex:0 0 auto;display:flex;align-items:center;padding-top:2px}
#modalSheet .stv1Fine{font-size:12px;line-height:1.4;color:var(--stv1-dim)}

/* ============ Hero / summary (stadium atmosphere) ============ */
#modalSheet .stv1Hero,
#modalSheet .stv1Summary{
  position:relative;overflow:hidden;border-radius:16px;padding:14px;
  border:1px solid rgba(0,210,255,.4);
  background:var(--stv1-card);
  box-shadow:0 0 18px rgba(0,110,255,.16),inset 0 1px 0 rgba(223,249,255,.12);
}
#modalSheet .stv1Hero.stadium,
#modalSheet .stv1Summary.stadium{
  background:
    linear-gradient(180deg,rgba(6,18,42,.62) 0%,rgba(5,14,34,.9) 58%,rgba(4,11,28,.97) 100%),
    url("assets/premium/home-stadium-plate.svg") center 18%/cover no-repeat,
    #061433;
}
#modalSheet .stv1Hero{display:flex;align-items:center;gap:13px}
#modalSheet .stv1Hero .stv1Title{font-size:25px}
#modalSheet .stv1Summary{display:flex;flex-direction:column;gap:11px}
#modalSheet .stv1Summary.ok{border-color:rgba(62,224,143,.5);box-shadow:0 0 18px rgba(62,224,143,.12),inset 0 1px 0 rgba(223,249,255,.1)}
#modalSheet .stv1Summary.warn{border-color:rgba(255,181,71,.55);box-shadow:0 0 18px rgba(255,160,40,.12),inset 0 1px 0 rgba(223,249,255,.1)}
#modalSheet .stv1SummaryTop{display:flex;align-items:center;justify-content:space-between;gap:12px}
#modalSheet .stv1SummaryIco{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1.5px solid currentColor;color:var(--stv1-cyan-lt);background:rgba(3,12,28,.6)}
#modalSheet .stv1Summary.ok .stv1SummaryIco{color:var(--stv1-green)}
#modalSheet .stv1Summary.warn .stv1SummaryIco{color:var(--stv1-amber)}
#modalSheet .stv1SummaryIco .stv1Ico{width:22px;height:22px;stroke-width:2.4}
#modalSheet .stv1Big{flex:1 1 auto;display:flex;align-items:baseline;gap:10px;min-width:0}
#modalSheet .stv1Big b{font-family:var(--stv1-cond);font-weight:700;font-size:40px;line-height:.95;color:var(--stv1-gold);text-shadow:0 0 18px rgba(255,210,74,.25)}
#modalSheet .stv1Big b i,#modalSheet .stv1SummarySide b i,#modalSheet .stv1Stat b i,#modalSheet .stv1Count b i{font-style:normal;font-size:.62em;color:var(--stv1-dim)}
#modalSheet .stv1Summary.ok .stv1Big b{color:var(--stv1-green-lt);text-shadow:0 0 18px rgba(62,224,143,.22)}
#modalSheet .stv1Summary.warn .stv1Big b{color:var(--stv1-amber-lt);text-shadow:none}
#modalSheet .stv1Big span{font-size:13px;line-height:1.3;font-weight:600;color:var(--stv1-muted)}
#modalSheet .stv1SummaryTop .stv1Big:only-child,#modalSheet .stv1SummaryIco+.stv1Big{flex-direction:column;gap:4px;align-items:flex-start}
#modalSheet .stv1SummaryIco+.stv1Big b{font-size:26px}
#modalSheet .stv1SummarySide{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
#modalSheet .stv1SummarySide b{font-family:var(--stv1-cond);font-weight:700;font-size:26px;line-height:1;color:var(--stv1-text)}
#modalSheet .stv1SummarySide span{font-size:11px;letter-spacing:.9px;text-transform:uppercase;font-weight:700;color:var(--stv1-dim)}
#modalSheet .stv1Private{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--stv1-cyan-2)}
#modalSheet .stv1Private .stv1Ico{width:15px;height:15px}

/* ============ Cards / sections ============ */
#modalSheet .stv1Card{
  position:relative;border-radius:14px;padding:12px;
  border:1px solid var(--stv1-line);background:var(--stv1-card);
  box-shadow:0 0 14px rgba(0,110,255,.12),inset 0 1px 0 rgba(223,249,255,.09);
  display:flex;flex-direction:column;gap:8px;
}
#modalSheet .stv1Card.list{padding:10px 12px 2px;gap:0}
#modalSheet .stv1Card.danger{border-color:rgba(255,107,125,.5);background:linear-gradient(180deg,rgba(58,15,24,.5),rgba(24,6,10,.7));box-shadow:0 0 14px rgba(255,80,100,.1)}
#modalSheet .stv1CardHead{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 6px;
  font-family:var(--stv1-cond);font-weight:700;font-size:13.5px;letter-spacing:1.3px;text-transform:uppercase;color:var(--stv1-cyan-lt);
}
#modalSheet .stv1Card.list>.stv1CardHead{border-bottom:1px solid var(--stv1-line-soft);padding-bottom:8px}
#modalSheet .stv1CardHead>span{display:inline-flex;align-items:center;gap:7px}
#modalSheet .stv1CardHead .stv1Ico{width:16px;height:16px}
#modalSheet .stv1CardHead em{font-style:normal;min-width:26px;padding:3px 8px;border-radius:999px;text-align:center;font-size:12.5px;letter-spacing:.4px;color:var(--stv1-cyan-lt);background:rgba(0,210,255,.1);border:1px solid rgba(0,210,255,.4)}
#modalSheet .stv1CardHead.ok{color:var(--stv1-green-lt)}
#modalSheet .stv1CardHead.ok em{color:var(--stv1-green-lt);background:rgba(10,48,30,.6);border-color:rgba(62,224,143,.45)}
#modalSheet .stv1CardHead.warn{color:var(--stv1-amber-lt)}
#modalSheet .stv1CardHead.warn em{color:var(--stv1-amber-lt);background:rgba(48,32,6,.6);border-color:rgba(255,181,71,.45)}
#modalSheet .stv1CardHead.red{color:#ff8b9a}

/* ============ Rows ============ */
#modalSheet .stv1Row{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--stv1-line-soft)}
#modalSheet .stv1Card>.stv1Row:last-child,#modalSheet .stv1Card>.stv1Slot:last-child{border-bottom:0}
#modalSheet .stv1RowIco{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(0,210,255,.4);background:rgba(4,22,48,.85);color:var(--stv1-cyan-lt)}
#modalSheet .stv1RowMain{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
#modalSheet .stv1RowMain>b{display:flex;align-items:center;gap:7px;font-family:var(--stv1-cond);font-weight:700;font-size:18px;line-height:1.12;letter-spacing:.2px;color:var(--stv1-text)}
#modalSheet .stv1RowMain>small{font-size:12.5px;line-height:1.35;color:var(--stv1-muted);overflow-wrap:anywhere}
#modalSheet .stv1RowMain>small.stv1Detail{font-size:11.5px;color:var(--stv1-dim)}
#modalSheet .stv1Name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#modalSheet .stv1RowAside{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
#modalSheet .stv1Avatar{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;padding:2px;background:linear-gradient(180deg,rgba(0,210,255,.75),rgba(0,120,220,.35));box-shadow:0 0 10px rgba(0,170,255,.18)}
#modalSheet .stv1Member.comm .stv1Avatar{background:var(--stv1-edge-gold);box-shadow:0 0 10px rgba(255,210,74,.22)}
#modalSheet .stv1Avatar .playerAvatar{
  width:36px!important;height:36px!important;min-width:0!important;margin:0!important;border-radius:50%!important;
  display:grid!important;place-items:center;overflow:hidden;
  background:#061433!important;border:0!important;box-shadow:none!important;
  font-family:var(--stv1-cond);font-weight:700;font-size:15px!important;color:var(--stv1-cyan-lt)!important;
}
#modalSheet .stv1Avatar .playerAvatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#modalSheet .stv1Member.comm .stv1Avatar .playerAvatar{color:var(--stv1-gold)!important}

/* Code chip / domain */
#modalSheet .stv1CodeChip{
  flex:0 0 auto;padding:7px 11px;border-radius:10px;border:1px dashed rgba(255,210,74,.6);background:rgba(34,24,4,.55);
  font-family:var(--stv1-mono);font-weight:700;font-size:15px;letter-spacing:1.6px;color:var(--stv1-gold-lt);
}
#modalSheet .stv1Domain{
  display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border-radius:12px;
  border:1px solid rgba(0,210,255,.3);background:rgba(3,12,28,.6);color:var(--stv1-cyan-2);
}
#modalSheet .stv1Domain b{font-family:var(--stv1-mono);font-size:14px;letter-spacing:.3px;color:var(--stv1-text);overflow-wrap:anywhere;text-align:center}
#modalSheet .stv1Domain .stv1Ico{width:15px;height:15px;color:var(--stv1-green)}

/* ============ Stat tiles ============ */
#modalSheet .stv1Stats{display:grid;gap:8px}
#modalSheet .stv1Stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}
#modalSheet .stv1Stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}
#modalSheet .stv1Stat{
  display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:11px;
  border:1px solid rgba(0,210,255,.24);background:var(--stv1-tile);
}
#modalSheet .stv1Stats.flat .stv1Stat{background:rgba(3,12,28,.62)}
#modalSheet .stv1Stat>span{font-size:10.5px;line-height:1.2;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--stv1-dim)}
#modalSheet .stv1Stat>b{font-family:var(--stv1-cond);font-weight:700;font-size:26px;line-height:1;color:var(--stv1-text)}
#modalSheet .stv1Stat>small{font-size:11px;color:var(--stv1-dim)}
#modalSheet .stv1Stat.gold{border-color:rgba(255,210,74,.45)}
#modalSheet .stv1Stat.gold>b{color:var(--stv1-gold)}
#modalSheet .stv1Stat.ok>b{color:var(--stv1-green-lt)}
#modalSheet .stv1Stat.cyan>b{color:var(--stv1-cyan-lt)}
#modalSheet .stv1Stat.live>b{color:#ff9aa7}
#modalSheet .stv1Stat.muted>b{color:#c9d5e6}

/* ============ Badges / pills ============ */
#modalSheet .stv1Badge{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;
  min-height:24px;padding:3px 9px;border-radius:999px;white-space:nowrap;
  font-family:var(--stv1-cond);font-weight:700;font-size:12.5px;line-height:1;letter-spacing:.7px;text-transform:uppercase;
  color:var(--stv1-cyan-lt);background:rgba(0,210,255,.1);border:1px solid rgba(0,210,255,.45);
}
#modalSheet .stv1RowMain>b .stv1Badge{min-height:19px;padding:2px 6px;font-size:10.5px}
#modalSheet .stv1Badge.cyan{color:#062033;background:var(--stv1-cyan-lt);border-color:transparent}
#modalSheet .stv1Badge.gold{color:var(--stv1-gold);background:rgba(34,24,4,.85);border-color:rgba(255,210,74,.7);box-shadow:0 0 8px rgba(255,210,74,.14)}
#modalSheet .stv1Badge.ok{color:var(--stv1-green-lt);background:rgba(10,48,30,.72);border-color:rgba(62,224,143,.55)}
#modalSheet .stv1Badge.warn{color:var(--stv1-amber-lt);background:rgba(48,32,6,.72);border-color:rgba(255,181,71,.55)}
#modalSheet .stv1Badge.red{color:var(--stv1-red-lt);background:rgba(48,8,16,.72);border-color:rgba(255,107,125,.55)}
#modalSheet .stv1Badge.live{color:#fff;background:linear-gradient(180deg,#d8283f,#a3142a);border-color:rgba(255,140,155,.7);box-shadow:0 0 10px rgba(255,60,90,.3)}
#modalSheet .stv1Badge.muted{color:#c9d5e6;background:rgba(20,34,58,.7);border-color:rgba(143,170,210,.3)}
#modalSheet .stv1Badge.count{min-width:34px;font-size:15px;color:var(--stv1-cyan-lt)}

/* ============ Buttons ============ */
#modalSheet .stv1Btn{
  -webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;cursor:pointer;
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;margin:0;
  min-height:46px;padding:0 14px;border-radius:11px;
  font-family:var(--stv1-cond);font-weight:700;font-size:17px;letter-spacing:.4px;line-height:1.05;text-align:center;
  border:1.5px solid rgba(0,210,255,.7);background:linear-gradient(180deg,#0e2352 0%,#050e24 100%);color:var(--stv1-cyan-lt);
  box-shadow:0 0 12px rgba(0,170,255,.14);
}
#modalSheet .stv1Btn>span{display:inline-flex;align-items:center;gap:7px;min-width:0}
#modalSheet .stv1Btn .stv1Ico{width:17px;height:17px}
#modalSheet .stv1Btn:active{transform:translateY(1px)}
#modalSheet .stv1Btn.wide{width:100%;flex:0 0 auto}
#modalSheet .stv1Btn.primary{border:0;background:var(--stv1-btn-gold);color:var(--stv1-gold);box-shadow:0 0 16px rgba(255,210,74,.2)}
#modalSheet .stv1Btn.primary:before{
  content:"";position:absolute;inset:0;border-radius:11px;padding:1.5px;pointer-events:none;background:var(--stv1-edge-gold);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
}
#modalSheet .stv1Btn.ghost{border-color:rgba(143,220,255,.26);background:rgba(4,14,30,.6);color:#d7e6f7;box-shadow:none}
#modalSheet .stv1Btn.danger{border-color:rgba(255,107,125,.85);background:linear-gradient(180deg,#43111c 0%,#1e070b 100%);color:#ffc2ca;box-shadow:0 0 12px rgba(255,80,100,.16)}
#modalSheet .stv1Btn.dangerOutline{border-color:rgba(255,107,125,.55);background:rgba(40,8,14,.45);color:var(--stv1-red-lt);box-shadow:none}
#modalSheet .stv1Btn.sm{flex:0 0 auto;min-height:34px;padding:0 11px;font-size:14.5px;border-radius:9px}
#modalSheet .stv1Btn.sm.primary:before{border-radius:9px}
#modalSheet .stv1Btn.sm .stv1Ico{width:14px;height:14px}
#modalSheet .stv1Btn:disabled,#modalSheet .stv1Btn[disabled]{opacity:.42;filter:saturate(.4);cursor:not-allowed;transform:none}
#modalSheet .stv1Pair{display:flex;gap:8px}
#modalSheet .stv1Pair .stv1Btn{font-size:15.5px;padding:0 10px}

#modalSheet .stv1Actions{display:flex;flex-direction:column;gap:8px;margin-top:2px}
#modalSheet .stv1Actions.row2{flex-direction:row}
#modalSheet .stv1Actions.sticky{position:static}
/* Mobile sheets pad their bottom by 22px + the home-indicator inset; the
   sticky bar cancels exactly that padding so it docks flush to the bottom. */
@media (max-width:899px){#modalSheet .stv1Actions.sticky{
  position:sticky;bottom:calc(-22px - env(safe-area-inset-bottom,0px));z-index:3;
  margin:4px -16px calc(-22px - env(safe-area-inset-bottom,0px));
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(4,12,30,.97) 0%,#030a1a 100%);
  border-top:1px solid rgba(0,210,255,.22);
  box-shadow:0 -10px 22px rgba(1,5,14,.7);
}}

/* ============ Notes / empty / progress ============ */
#modalSheet .stv1Note{
  display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:12px;
  font-size:12.8px;line-height:1.45;color:#d6e3f3;
  border:1px solid rgba(0,210,255,.3);background:rgba(0,60,110,.18);
}
#modalSheet .stv1Note>.stv1Ico{width:16px;height:16px;margin-top:1px;color:var(--stv1-cyan-lt)}
#modalSheet .stv1Note b{color:var(--stv1-text)}
#modalSheet .stv1Note.ok{border-color:rgba(62,224,143,.42);background:rgba(10,48,30,.35)}
#modalSheet .stv1Note.ok>.stv1Ico{color:var(--stv1-green)}
#modalSheet .stv1Note.warn{border-color:rgba(255,181,71,.45);background:rgba(58,38,6,.35)}
#modalSheet .stv1Note.warn>.stv1Ico{color:var(--stv1-amber)}
#modalSheet .stv1Note.gold{border-color:rgba(255,210,74,.42);background:linear-gradient(180deg,rgba(52,38,8,.5),rgba(26,19,4,.45))}
#modalSheet .stv1Note.gold>.stv1Ico{color:var(--stv1-gold)}
#modalSheet .stv1Note.danger{border-color:rgba(255,107,125,.55);background:rgba(58,12,22,.45)}
#modalSheet .stv1Note.danger>.stv1Ico{color:var(--stv1-red)}
#modalSheet .stv1Issues{margin:4px 0 0;padding-left:18px}
#modalSheet .stv1Issues li{margin:2px 0}
#modalSheet .stv1Empty{display:flex;align-items:center;justify-content:center;gap:9px;padding:18px 8px;font-size:13px;font-weight:600;color:var(--stv1-dim);text-align:center}
#modalSheet .stv1Empty .stv1Ico{width:20px;height:20px;color:var(--stv1-cyan-2);opacity:.8}
#modalSheet .stv1Progress{display:flex;align-items:center;gap:11px;padding:14px;border-radius:14px;border:1px solid var(--stv1-line);background:var(--stv1-card);font-size:13.5px;font-weight:600;color:var(--stv1-muted)}
#modalSheet .stv1Spinner{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(0,210,255,.2);border-top-color:var(--stv1-cyan-lt);animation:stv1Spin .8s linear infinite}
@keyframes stv1Spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){#modalSheet .stv1Spinner{animation-duration:2.4s}}

/* Progress bar */
#modalSheet .stv1Bar{position:relative;height:7px;border-radius:999px;background:rgba(143,190,240,.14);overflow:hidden}
#modalSheet .stv1Bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00a8ff,#5fe3ff);box-shadow:0 0 8px rgba(0,190,255,.35)}
#modalSheet .stv1Bar.gold>span{background:linear-gradient(90deg,#c98a00,#ffd24a 70%,#ffe9a3);box-shadow:0 0 8px rgba(255,200,60,.3)}
#modalSheet .stv1Bar.ok>span{background:linear-gradient(90deg,#16b86a,#3ee08f);box-shadow:0 0 8px rgba(62,224,143,.3)}

/* ============ Forms ============ */
#modalSheet .stv1Label{display:block;margin:4px 0 2px;font-family:var(--stv1-cond);font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase;color:var(--stv1-cyan-2)}
#modalSheet .stv1Label em{font-style:normal;font-family:var(--stv1-sans);font-weight:600;font-size:11.5px;letter-spacing:0;text-transform:none;color:var(--stv1-dim)}
#modalSheet .stv1 .stv1Input{
  display:block;width:100%;max-width:100%;min-height:46px;margin:0;padding:0 13px;border-radius:11px;
  border:1px solid rgba(0,210,255,.34)!important;background:rgba(2,10,24,.78)!important;color:var(--stv1-text)!important;
  font-size:16px;font-weight:600;box-shadow:inset 0 1px 0 rgba(0,0,0,.35);
}
/* .stv1 already sets box-sizing:border-box and min-width:0 on every node, but
   iOS WebKit still sizes a date/time input as a native widget from its
   formatted value ("Oct 7, 2026 at 7:41 PM") plus native padding, so the
   Kickoff field ignored width:100% and ran past its card on narrow phones.
   Dropping the native appearance makes it an ordinary box that obeys the
   shared width / max-width above; tapping still opens the iOS picker. */
#modalSheet .stv1 .stv1Input:is([type="datetime-local"],[type="date"],[type="time"]){-webkit-appearance:none;appearance:none;text-align:left}
#modalSheet .stv1 .stv1Input::-webkit-date-and-time-value{min-width:0;margin:0;text-align:inherit}
#modalSheet .stv1 .stv1Input:focus{border-color:var(--stv1-cyan-lt)!important;box-shadow:0 0 0 3px rgba(0,210,255,.18)}
#modalSheet .stv1 .stv1Code{font-family:var(--stv1-mono);letter-spacing:2px;font-size:18px}
#modalSheet .stv1Grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#modalSheet .stv1Score .stv1Label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modalSheet .stv1Score .stv1Input{font-family:var(--stv1-cond);font-size:26px;text-align:center}
#modalSheet .stv1Check{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;border:1px solid rgba(255,210,74,.45);background:linear-gradient(180deg,rgba(52,38,8,.45),rgba(26,19,4,.4));font-weight:700;color:var(--stv1-gold-lt);cursor:pointer}
#modalSheet .stv1Check input{width:20px;height:20px;accent-color:#ffd24a;flex:0 0 auto;margin:0}

/* ============ Steps / flow / chips (install guide, alerts) ============ */
#modalSheet .stv1Coin{flex:0 0 auto;width:56px;height:56px;filter:drop-shadow(0 0 12px rgba(0,170,255,.35))}
#modalSheet .stv1Coin.mini{width:32px;height:32px;filter:none}
#modalSheet .stv1CoinWrap{position:relative;flex:0 0 auto;display:block;width:56px;height:56px}
#modalSheet .stv1CoinWrap i{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--stv1-green);color:#032014;border:2px solid #061433}
#modalSheet .stv1CoinWrap i .stv1Ico{width:14px;height:14px;stroke-width:3}
#modalSheet .stv1Path{display:flex;flex-wrap:wrap;align-items:center;gap:6px 5px;padding:9px 10px;border-radius:12px;border:1px solid rgba(0,210,255,.26);background:rgba(3,12,28,.55)}
#modalSheet .stv1Path>span{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:8px;background:rgba(0,210,255,.08);border:1px solid rgba(0,210,255,.3);font-size:12px;font-weight:700;color:#dfeaf8;white-space:nowrap}
#modalSheet .stv1Path>i{font-style:normal;color:var(--stv1-gold);font-weight:800}
#modalSheet .stv1Path .safariShareIcon,#modalSheet .stv1Path .installPathShareIcon{display:inline-grid;place-items:center;width:15px;height:15px}
#modalSheet .stv1Path svg,#modalSheet .stv1Chip svg,#modalSheet .stv1Step p svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}
#modalSheet .stv1Path .viewMoreGlyph,#modalSheet .stv1Path .installPlus,#modalSheet .stv1Path .installCheck{font-size:12px;line-height:1;color:var(--stv1-cyan-lt)}
#modalSheet .stv1Steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
#modalSheet .stv1Step{display:flex;gap:11px;padding:12px;border-radius:13px;border:1px solid var(--stv1-line);background:var(--stv1-card)}
#modalSheet .stv1Step.focus{border-color:rgba(255,210,74,.6);box-shadow:0 0 16px rgba(255,200,60,.12)}
#modalSheet .stv1StepNum{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-family:var(--stv1-cond);font-weight:700;font-size:17px;color:#062033;background:var(--stv1-cyan-lt);box-shadow:0 0 10px rgba(0,210,255,.35)}
#modalSheet .stv1Step.focus .stv1StepNum{background:var(--stv1-gold);box-shadow:0 0 10px rgba(255,210,74,.35)}
#modalSheet .stv1StepBody{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;min-width:0}
#modalSheet .stv1StepBody>b{font-family:var(--stv1-cond);font-weight:700;font-size:18.5px;line-height:1.12;color:var(--stv1-text)}
#modalSheet .stv1StepBody>p{font-size:13px;line-height:1.45;color:var(--stv1-muted)}
#modalSheet .stv1StepBody>p b{color:var(--stv1-text)}
#modalSheet .stv1Step .safariShareIcon{display:inline-grid;place-items:center;width:22px;height:22px;margin:0 2px;border-radius:6px;background:rgba(0,210,255,.12);color:var(--stv1-cyan-lt);vertical-align:-6px}
#modalSheet .stv1Chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px}
#modalSheet .stv1Chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 10px;border-radius:9px;border:1px solid rgba(0,210,255,.4);background:rgba(4,22,48,.85);font-size:12.5px;font-weight:700;color:#e6f1ff}
#modalSheet .stv1Chip .safariShareIcon{display:inline-grid;place-items:center;width:16px;height:16px;margin:0;background:none;color:var(--stv1-cyan-lt)}
#modalSheet .stv1Chip .viewMoreGlyph,#modalSheet .stv1Chip .installPlus,#modalSheet .stv1Chip .installCheck,#modalSheet .stv1Chip .dotsGlyph{color:var(--stv1-cyan-lt);font-weight:800;line-height:1}
#modalSheet .stv1Chip .installToggleDot{position:relative;width:26px;height:15px;border-radius:999px;background:var(--stv1-green)}
#modalSheet .stv1Chip .installToggleDot:after{content:"";position:absolute;top:2px;right:2px;width:11px;height:11px;border-radius:50%;background:#fff}
#modalSheet .stv1ChipOr{font-size:11.5px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--stv1-dim)}
#modalSheet .stv1InstallDone{align-items:center}
#modalSheet .stv1Details{border-radius:13px;border:1px solid var(--stv1-line);background:rgba(3,12,28,.55);overflow:hidden}
#modalSheet .stv1Details>summary{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;list-style:none;font-family:var(--stv1-cond);font-weight:700;font-size:15.5px;letter-spacing:.4px;color:var(--stv1-cyan-lt)}
#modalSheet .stv1Details>summary::-webkit-details-marker{display:none}
#modalSheet .stv1Details>img{display:block;width:100%;height:auto;border-top:1px solid var(--stv1-line-soft)}
#modalSheet .stv1Qr{align-self:center;padding:12px;border-radius:16px;background:#fff;box-shadow:0 0 22px rgba(0,190,255,.25)}
#modalSheet .stv1Qr img{display:block;width:min(220px,58vw);height:auto;image-rendering:pixelated}
#modalSheet .stv1Flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#modalSheet .stv1Flow li{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border-radius:12px;border:1px solid rgba(0,210,255,.26);background:rgba(3,12,28,.55);text-align:center}
#modalSheet .stv1Flow li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-family:var(--stv1-cond);font-weight:700;font-size:15px;color:#062033;background:var(--stv1-cyan-lt)}
#modalSheet .stv1Flow li:last-child>span{background:var(--stv1-gold);color:#241900}
#modalSheet .stv1Flow li>span .stv1Ico{width:16px;height:16px;stroke-width:2.4}
#modalSheet .stv1Flow li>b{font-size:12px;line-height:1.25;font-weight:700;color:#dfeaf8}

/* ============ Confirmations ============ */
#modalSheet .stv1Confirm{padding-top:8px}
#modalSheet .stv1ConfirmIco{
  display:grid;place-items:center;width:58px;height:58px;border-radius:18px;margin-bottom:2px;
  border:1.5px solid rgba(255,107,125,.7);background:radial-gradient(circle at 40% 30%,rgba(255,107,125,.22),rgba(40,8,14,.9) 70%);color:#ff9aa7;
  box-shadow:0 0 18px rgba(255,80,100,.18);
}
#modalSheet .stv1ConfirmIco .stv1Ico{width:28px;height:28px}
#modalSheet .stv1Confirm .stv1Title{font-size:30px}
#modalSheet .stv1Confirm .stv1Sub{font-size:14px}

/* ============ Danger zone ============ */
#modalSheet .stv1Danger{gap:10px}
#modalSheet .stv1Danger .stv1CardHead{border-bottom:1px solid rgba(255,107,125,.22);padding-bottom:8px}
#modalSheet .stv1DangerBody{display:flex;flex-direction:column;gap:3px}
#modalSheet .stv1DangerBody b{font-family:var(--stv1-cond);font-weight:700;font-size:18px;color:#ffd9de}
#modalSheet .stv1DangerBody small{font-size:12.5px;line-height:1.4;color:#d6b7bd}
#modalSheet .stv1Danger .stv1Fine{color:#c79aa2}

/* ============ Pick Completion / Usage ============ */
#modalSheet .stv1Completion{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:11px;row-gap:8px}
#modalSheet .stv1Completion>.stv1Bar{grid-column:1 / -1;height:5px}
#modalSheet .stv1Status{display:inline-flex;align-items:center;gap:5px}
#modalSheet .stv1Completion.done .stv1Status{color:var(--stv1-green-lt)}
#modalSheet .stv1Status .stv1Ico{width:14px;height:14px;stroke-width:2.6}
#modalSheet .stv1LateJoin{display:flex;align-items:flex-start;gap:5px;margin-top:2px;font-size:11.5px;line-height:1.35;color:var(--stv1-amber-lt)}
#modalSheet .stv1LateJoin .stv1Ico{width:13px;height:13px;margin-top:1px}
#modalSheet .stv1Count{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
#modalSheet .stv1Count b{font-family:var(--stv1-cond);font-weight:700;font-size:22px;line-height:1;color:var(--stv1-text)}
#modalSheet .stv1Count span{font-size:10.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--stv1-dim);white-space:nowrap}
#modalSheet .stv1Count.sm b{font-size:19px}
#modalSheet .stv1Legend{display:flex;flex-direction:column;gap:7px;padding:11px 12px;border-radius:12px;border:1px solid var(--stv1-line-soft);background:rgba(3,12,28,.5)}
#modalSheet .stv1Legend>div{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.4;color:var(--stv1-muted)}
#modalSheet .stv1Legend .stv1Badge{min-width:112px}

/* ============ System Health ============ */
#modalSheet .stv1Health .stv1RowIco{color:var(--stv1-cyan-lt)}
#modalSheet .stv1HealthVal{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
#modalSheet .stv1HealthVal>b{font-family:var(--stv1-cond);font-weight:700;font-size:18px;line-height:1;color:var(--stv1-text);white-space:nowrap}
#modalSheet .stv1State{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:var(--stv1-cyan-2)}
#modalSheet .stv1State .stv1Ico{width:13px;height:13px;stroke-width:2.8}
#modalSheet .stv1State.ok{color:var(--stv1-green)}
#modalSheet .stv1State.warn{color:var(--stv1-amber)}
#modalSheet .stv1State.muted{color:var(--stv1-dim)}
#modalSheet .stv1Health.ok .stv1RowIco{border-color:rgba(62,224,143,.5);color:var(--stv1-green-lt)}
#modalSheet .stv1Health.warn .stv1RowIco{border-color:rgba(255,181,71,.6);color:var(--stv1-amber-lt)}

/* ============ Weekly Card / Results slots ============ */
#modalSheet .stv1Slot{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--stv1-line-soft)}
#modalSheet .stv1SlotNum{
  flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;
  font-family:var(--stv1-cond);font-weight:700;font-size:15.5px;color:var(--stv1-cyan-lt);
  border:1px solid rgba(0,210,255,.4);background:rgba(4,22,48,.85);
}
#modalSheet .stv1Slot.gotw .stv1SlotNum{color:var(--stv1-gold);border-color:rgba(255,210,74,.7);background:rgba(34,24,4,.85)}
#modalSheet .stv1Slot.empty{opacity:.9}
#modalSheet .stv1Slot.empty .stv1SlotNum{color:var(--stv1-dim);border-style:dashed;border-color:rgba(143,190,240,.35);background:transparent}
#modalSheet .stv1Slot.empty .stv1RowMain>b{font-family:var(--stv1-sans);font-size:13px;font-weight:600;color:var(--stv1-dim)}
#modalSheet .stv1Matchup{font-size:16.5px!important;line-height:1.15!important;display:block!important;overflow-wrap:anywhere}
#modalSheet .stv1SlotTags{display:flex;gap:6px;margin-top:3px}
#modalSheet .stv1SlotTags .stv1Badge{min-height:20px;padding:2px 7px;font-size:11px}
#modalSheet .stv1Reason{margin-top:3px;font-size:11.5px;line-height:1.35;color:var(--stv1-cyan-2)}
#modalSheet .stv1SlotActions{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:6px}
#modalSheet .stv1Slot>.stv1Badge{align-self:center}
#modalSheet .stv1Result .stv1SlotActions{align-items:flex-end}
#modalSheet .stv1Result .stv1SlotActions .stv1Btn{min-width:66px}
#modalSheet .stv1Result.final .stv1SlotNum{color:var(--stv1-green-lt);border-color:rgba(62,224,143,.45);background:rgba(10,48,30,.5)}
#modalSheet .stv1Result.live .stv1SlotNum{color:#ffb3bd;border-color:rgba(255,107,125,.6);background:rgba(48,8,16,.6)}
#modalSheet .stv1GotwLine{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,210,74,.5);background:linear-gradient(180deg,rgba(52,38,8,.55),rgba(26,19,4,.5))}
#modalSheet .stv1GotwLine>.stv1Ico{width:22px;height:22px;color:var(--stv1-gold)}
#modalSheet .stv1GotwLine>div{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
#modalSheet .stv1GotwLine span{font-size:10.5px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:#e9c264}
#modalSheet .stv1GotwLine b{font-family:var(--stv1-cond);font-weight:700;font-size:17px;line-height:1.15;color:var(--stv1-gold-lt);overflow-wrap:anywhere}
#modalSheet .stv1GotwLine.missing{border-style:dashed;border-color:rgba(255,181,71,.5);background:rgba(40,28,6,.3)}
#modalSheet .stv1GotwLine.missing b{color:var(--stv1-amber-lt)}
#modalSheet .stv1Tool{display:flex;flex-direction:column;gap:6px}
#modalSheet .stv1Recipe{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:5px;font-size:12.8px;line-height:1.4;color:var(--stv1-muted)}
#modalSheet .stv1Recipe li::marker{color:var(--stv1-gold)}

/* ============ Money Pool ============ */
#modalSheet .stv1Pool .stv1Switch{border-radius:13px;border:1px solid var(--stv1-line);background:var(--stv1-card);padding:13px 12px}
#modalSheet .stv1Pool .stv1Card .stv1Switch{background:rgba(3,12,28,.5);border-color:rgba(0,210,255,.22)}
#modalSheet .stv1Pool .stv1Switch b{font-family:var(--stv1-cond);font-weight:700;font-size:18px;letter-spacing:.2px;color:var(--stv1-text)}
#modalSheet .stv1Pool .stv1Switch small{color:var(--stv1-muted)}
#modalSheet .stv1Pool .stv1Fields{gap:12px}
#modalSheet .stv1Pool .sv3Field{gap:3px}
#modalSheet .stv1Pool .stv1Static{border-radius:11px;border:1px solid rgba(255,210,74,.45);background:rgba(34,24,4,.55);font-family:var(--stv1-cond);font-size:18px;letter-spacing:.3px;color:var(--stv1-gold)}
#modalSheet .stv1Pool .stv1Money{min-height:46px;border-radius:11px;border:1px solid rgba(0,210,255,.34);background:rgba(2,10,24,.78)}
#modalSheet .stv1Pool .stv1Money i{color:var(--stv1-gold);font-size:16px}
#modalSheet .stv1Pool .stv1Money .input{min-height:44px;font-size:16px!important;font-weight:600;color:var(--stv1-text)!important}
#modalSheet .stv1Pool .stv1PoolPreview{border-radius:13px;border:1px solid rgba(255,210,74,.5);border-style:solid;background:linear-gradient(180deg,rgba(52,38,8,.55),rgba(26,19,4,.5));padding:12px 13px;box-shadow:0 0 14px rgba(255,200,60,.1)}
#modalSheet .stv1Pool .stv1PoolPreview b{font-family:var(--stv1-cond);font-size:21px;font-weight:700;color:var(--stv1-gold-lt)}
#modalSheet .stv1Pool .modalFooterActions{position:static;margin:2px 0 0;padding:0;background:none;border:0;box-shadow:none}

/* ============ Narrow phones ============ */
@media (max-width:360px){
  #modalSheet .stv1{gap:10px}
  #modalSheet .stv1Title{font-size:25px}
  #modalSheet .stv1Hero .stv1Title{font-size:22px}
  #modalSheet .stv1Confirm .stv1Title{font-size:27px}
  #modalSheet .stv1Big b{font-size:34px}
  #modalSheet .stv1Stat{padding:8px}
  #modalSheet .stv1Stat>b{font-size:22px}
  #modalSheet .stv1Stat>span{font-size:9.5px;letter-spacing:.5px}
  #modalSheet .stv1RowMain>b{font-size:16.5px}
  #modalSheet .stv1Matchup{font-size:15.5px!important}
  #modalSheet .stv1Coin,#modalSheet .stv1CoinWrap{width:46px;height:46px}
  #modalSheet .stv1Row{gap:9px}
  #modalSheet .stv1Btn.sm{padding:0 9px;font-size:14px}
  #modalSheet .stv1Legend .stv1Badge{min-width:96px}
  #modalSheet .stv1Flow li>b{font-size:11px}
  #modalSheet .stv1Pair{flex-direction:column}
}


/* v0.9.29 — commissioner auto-fill polish. Functionality unchanged. */
#modalSheet .stv1AutoFill{gap:12px}
#modalSheet .stv1AutoFill .stv1Head{margin-bottom:0}
#modalSheet .stv1AutoFill .stv1HeadIco{color:var(--stv1-gold);border-color:rgba(255,210,74,.52);background:rgba(38,27,5,.52);box-shadow:0 0 14px rgba(255,190,35,.12)}
#modalSheet .stv1AutoFill .stv1HeadAside .stv1Badge{min-width:72px}
#modalSheet .stv1AutoDate{gap:10px;padding:12px 13px}
#modalSheet .stv1AutoDateHead{display:flex;align-items:center;gap:10px}
#modalSheet .stv1AutoDateIco{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid rgba(0,210,255,.34);background:rgba(3,18,40,.72);color:var(--stv1-cyan-lt)}
#modalSheet .stv1AutoDateIco .stv1Ico{width:17px;height:17px}
#modalSheet .stv1AutoDateHead>div{min-width:0}
#modalSheet .stv1AutoDate .stv1Label{margin:0}
#modalSheet .stv1AutoDateHead small{display:block;margin-top:2px;font-size:11.5px;line-height:1.3;color:var(--stv1-dim)}
#modalSheet .stv1AutoDate .stv1Input{min-height:48px;font-family:var(--stv1-cond);font-size:20px;font-weight:700;letter-spacing:.2px;text-align:center}
#modalSheet .stv1AutoStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#modalSheet .stv1AutoStats>div{min-width:0;padding:9px 7px;border:1px solid rgba(0,210,255,.25);border-radius:11px;background:rgba(3,12,28,.62);text-align:center}
#modalSheet .stv1AutoStats b{display:block;font-family:var(--stv1-cond);font-size:18px;line-height:1;color:var(--stv1-text)}
#modalSheet .stv1AutoStats span{display:block;margin-top:4px;font-size:10px;line-height:1.15;font-weight:800;letter-spacing:.55px;text-transform:uppercase;color:var(--stv1-cyan-2)}
#modalSheet .stv1AutoRules{gap:0;padding-bottom:10px}
#modalSheet .stv1AutoRules>.stv1CardHead{margin-bottom:1px}
#modalSheet .stv1AutoRule{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--stv1-line-soft)}
#modalSheet .stv1AutoRuleIco{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(0,210,255,.08);color:var(--stv1-cyan-lt)}
#modalSheet .stv1AutoRuleIco .stv1Ico{width:16px;height:16px}
#modalSheet .stv1AutoRule b{display:block;font-family:var(--stv1-cond);font-size:16px;line-height:1.1;color:var(--stv1-text)}
#modalSheet .stv1AutoRule small{display:block;margin-top:2px;font-size:11.5px;line-height:1.32;color:var(--stv1-muted)}
#modalSheet .stv1AutoSignals{display:flex;gap:9px;align-items:flex-start;padding-top:9px;color:var(--stv1-gold)}
#modalSheet .stv1AutoSignals>.stv1Ico{flex:0 0 auto;width:16px;height:16px;margin-top:2px}
#modalSheet .stv1AutoSignals p{margin:0;font-size:11.5px;line-height:1.38;color:var(--stv1-dim)}
#modalSheet .stv1AutoSignals b{color:var(--stv1-gold-lt)}
#modalSheet .stv1AutoFill .stv1Actions.sticky .stv1Btn.primary .stv1Ico{width:17px;height:17px}
@media(max-width:370px){
  #modalSheet .stv1AutoStats span{font-size:9px}
  #modalSheet .stv1AutoRule{grid-template-columns:30px minmax(0,1fr);gap:8px}
  #modalSheet .stv1AutoRuleIco{width:29px;height:29px}
}

/* 0.9.41 — League Photo sheet (commissioner only). */
#modalSheet .stv1LeaguePhoto .lp1Card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 14px 16px;text-align:center}
#modalSheet .lp1Preview{padding:4px;border-radius:50%;background:var(--stv1-edge-gold);box-shadow:0 0 26px rgba(255,200,60,.22),0 10px 24px rgba(0,0,0,.45)}
#modalSheet .lp1Crest{
  display:grid;place-items:center;width:132px;height:132px;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 50% 30%,#4a3509,#140e03);color:var(--stv1-gold-lt);
  font-family:var(--stv1-cond);font-weight:700;font-size:46px;letter-spacing:1px;
}
#modalSheet .lp1Crest.hasPhoto{background:#050f26}
#modalSheet .lp1Crest .leagueCrestImg{display:block;width:100%;height:100%;object-fit:cover}
#modalSheet .lp1Name{margin-top:8px;max-width:100%;font-size:17px;font-weight:800;color:var(--stv1-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modalSheet .lp1State{min-height:17px;font-size:12.5px;font-weight:600;color:var(--stv1-dim)}
#modalSheet .lp1State.ok{color:var(--stv1-green-lt)}
#modalSheet .lp1State.warn{color:var(--stv1-amber-lt)}
#modalSheet .stv1LeaguePhoto label.lp1Upload{cursor:pointer;color:var(--stv1-gold)!important}
#modalSheet .stv1LeaguePhoto .lp1Upload.lp1Busy{opacity:.42;filter:saturate(.4);pointer-events:none}
#modalSheet .stv1LeaguePhoto .lp1Fine{margin:10px 2px 0;text-align:center}

/* Weekly Card → Edit / Add Pick editor: one spacing rhythm for every label and
   field (label→field 6px, field→next label 14px), the Category / Sport pair kept
   as two columns, and a centred Game of the Week row. Layout only. */
#modalSheet .stv1Form>.stv1Card{gap:0;padding:14px}
#modalSheet .stv1Form .stv1Label{margin:14px 0 6px;line-height:1.15}
#modalSheet .stv1Form .stv1Input:is([type="datetime-local"],[type="date"],[type="time"]){height:46px;line-height:44px}
#modalSheet .stv1Form .stv1Input::-webkit-date-and-time-value{height:44px;min-height:44px;padding:0;line-height:44px}
#modalSheet .stv1Form .stv1Grid2{gap:10px}
#modalSheet .stv1Form .stv1Grid2>div{min-width:0}
#modalSheet .stv1Form .stv1Grid2 .stv1Label{margin-top:0}
#modalSheet .stv1Form .stv1Check{min-height:52px;padding:12px 14px;gap:12px;line-height:1.25}
#modalSheet .stv1Form .stv1Check>span{flex:1 1 auto;min-width:0}
#modalSheet .stv1Form .stv1Actions{gap:10px;margin-top:0}
