:root{
  --bg: #0A0E14;
  --panel: #141922;
  --panel-raised: #1B222D;
  --line: #262E3B;
  --accent: #37E17E;
  --accent-dim: #1C6B45;
  --accent-soft: rgba(55,225,126,0.12);
  --chalk: #F3F5F8;
  --chalk-dim: #8891A1;
  --gold: #FFB74D;
  --danger: #FF5C5C;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  font-size: 16px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bg);
  color: var(--chalk);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  padding-bottom: 70px;
}

.hidden{ display:none !important; }
a{ color: var(--accent); }

/* ---------- Header (v44.15: shared Play Your Teams hero) ---------- */
.hero-head{
  position: relative; text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 38%, rgba(55,225,126,0.33), transparent 70%),
    linear-gradient(180deg, #1E7A47 0%, #10492B 38%, #07201A 72%, var(--bg) 100%);
  padding: calc(18px + env(safe-area-inset-top)) 64px 16px;
}
.hero-corner{ position: absolute; top: calc(14px + env(safe-area-inset-top)); display:flex; align-items:center; gap: 8px; }
.hero-left{ left: calc(14px + env(safe-area-inset-left)); }
.hero-right{ right: calc(14px + env(safe-area-inset-right)); }
.icon-btn{
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display:flex; align-items:center; justify-content:center;
  background: rgba(10,14,20,0.45); border: 1px solid rgba(255,255,255,0.14);
  color: var(--chalk); text-decoration: none;
}
.icon-btn:hover{ border-color: var(--accent); }
.icon-btn svg{ width: 18px; height: 18px; }
.brand-mark{ display:inline-block; text-decoration:none; }
.brand-logo{
  width: 196px; height: auto; display:block; margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}
.hero-sub{
  margin-top: 8px; display:flex; align-items:center; justify-content:center;
  flex-wrap: wrap; gap: 6px 10px; min-height: 0;
}
.brand-league{
  font-weight: 700; font-size: 0.82rem; color: rgba(243,245,248,0.85);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand-league:empty{ display: none; }
.week-picker{
  display:inline-flex; align-items:center; gap: 4px;
  background: rgba(10,14,20,0.5); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill); padding: 3px 6px 3px 12px;
}
.week-label{ font-size: 0.74rem; font-weight: 700; color: rgba(243,245,248,0.8); }
.week-select{
  appearance: none; -webkit-appearance: none; background: transparent; border: none;
  color: var(--chalk); font: 800 0.82rem 'Inter', sans-serif; padding: 3px 18px 3px 2px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--chalk) 50%), linear-gradient(135deg, var(--chalk) 50%, transparent 50%);
  background-position: right 7px center, right 3px center; background-size: 4px 4px; background-repeat: no-repeat;
}
.week-select option{ background: var(--panel); color: var(--chalk); }
@media (min-width: 900px){
  .brand-logo{ width: 240px; }
}

/* ---------- Bottom menu bar (league pages) ---------- */
body.has-bottom-nav{ padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.bottom-nav{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display:flex; justify-content: space-around; align-items: stretch;
  background: #0F131A; border-top: 1px solid var(--line);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
}
.bn{
  position: relative; flex: 1 1 0; min-width: 0; max-width: 92px;
  display:flex; flex-direction: column; align-items:center; justify-content:center; gap: 3px;
  background: none; border: none; cursor: pointer; padding: 4px 2px;
  color: var(--chalk-dim); text-decoration: none;
  font: 700 0.62rem 'Inter', sans-serif; letter-spacing: 0.01em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; border-radius: 12px;
}
.bn svg{ width: 22px; height: 22px; }
.bn span{ overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bn.active{ color: var(--accent); }
.bn:not(.active):hover{ color: var(--chalk); }
.bn.open, .bn.open:hover{ color: var(--accent); }
.bottom-nav.sheet-open .bn.active{ color: var(--chalk-dim); }
.bn-badge{
  position: absolute; top: 0; left: 50%; margin-left: 6px;
  background: var(--accent); color: #06150D; font-size: 0.55rem; font-weight: 900;
  border-radius: var(--radius-pill); padding: 1px 5px; line-height: 1.3;
}
@media (min-width: 700px){
  body.has-bottom-nav{ padding-bottom: 110px; }
  .bottom-nav{
    left: 50%; right: auto; transform: translateX(-50%); bottom: 14px;
    width: min(600px, calc(100% - 32px));
    border: 1px solid var(--line); border-radius: 22px; padding: 7px 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
}

/* ---------- v44.16: app shell for league pages ----------
   iOS 26 has a WebKit bug where position:fixed elements drift up and down
   while the page scrolls (the visible area and the page layout get out of
   step). On league pages the document itself no longer scrolls: the page
   scrolls inside #pageScroll and the bottom bar sits at the bottom of a
   body that never moves, so there's nothing for iOS to get out of step. */
html.app-shell, html.app-shell body{ height: 100%; overflow: hidden; overscroll-behavior: none; }
html.app-shell body{ position: relative; min-height: 0; padding-bottom: 0; }
html.app-shell #pageScroll{
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
}
/* room under the last content for the bar (a spacer, since some browsers
   ignore a scroll container's own bottom padding) */
html.app-shell #pageScroll::after{ content: ""; display: block; height: calc(80px + env(safe-area-inset-bottom)); }
html.app-shell .bottom-nav{ position: absolute; }
@media (min-width: 700px){
  html.app-shell #pageScroll::after{ height: 100px; }
}

/* ---------- Your Teams panel ---------- */
.sheet-shade{ position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 38; }
.sheet{
  position: fixed; left: 0; right: 0; z-index: 39;
  bottom: calc(62px + env(safe-area-inset-bottom));
  max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0; padding: 10px 14px 14px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  animation: sheet-up 0.18s ease-out;
}
@keyframes sheet-up{ from{ transform: translateY(24px); opacity: 0; } to{ transform: none; opacity: 1; } }
@media (min-width: 700px){
  .sheet{
    left: 50%; right: auto; transform: translateX(-50%); width: min(600px, calc(100% - 32px));
    bottom: 92px; border: 1px solid var(--line); border-radius: 22px;
    animation: none;
  }
}
.sheet-handle{ width: 40px; height: 5px; border-radius: 3px; background: #3a4454; margin: 0 auto 8px; }
.sheet-head{ display:flex; align-items:center; justify-content: space-between; }
.sheet-head h3{ margin: 0 2px; font-size: 1rem; font-weight: 900; }
.sheet-close{
  background: var(--panel-raised); border: 1px solid var(--line); color: var(--chalk-dim);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 0.8rem;
}
.sheet-sub{ color: var(--chalk-dim); font-size: 0.74rem; margin: 2px 2px 10px; line-height: 1.4; }
.yt-team{ background: var(--panel-raised); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 7px; overflow: hidden; }
.yt-row{
  display:grid; grid-template-columns: 38px minmax(0,1fr) auto 14px; gap: 10px; align-items:center;
  width: 100%; padding: 9px 10px; background: none; border: none; color: inherit; text-align: left; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.yt-row .yt-shield{ width: 36px; height: 40px; display:block; }
.yt-name, .yt-status{ display:block; }
.yt-name{ font-weight: 800; font-size: 0.9rem; }
.yt-name i{ font-style: normal; color: var(--chalk-dim); font-weight: 600; margin-left: 4px; font-size: 0.8rem; }
.yt-status{ font-size: 0.7rem; color: var(--chalk-dim); margin-top: 2px; line-height: 1.35; }
.yt-status .game-line{ margin: 0; }
.yt-pts{ text-align: right; font-weight: 900; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.yt-pts span{ display:block; font-size: 0.62rem; color: var(--chalk-dim); font-weight: 600; }
.yt-caret{ color: var(--chalk-dim); font-size: 0.7rem; transition: transform 0.15s ease; }
.yt-team.open .yt-caret{ transform: rotate(90deg); }
.yt-players{ border-top: 1px solid var(--line); padding: 4px 10px 8px; }
.yt-player{
  display:grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 8px; align-items:center;
  padding: 6px 0; font-size: 0.8rem; border-bottom: 1px dashed var(--line);
}
.yt-player:last-child{ border-bottom: none; }
.yt-player .slot{ font-size: 0.62rem; font-weight: 800; color: var(--chalk-dim); background: var(--panel); border-radius: 6px; text-align:center; padding: 3px 0; }
.yt-player.starter .slot{ color: var(--accent); background: var(--accent-soft); }
.yt-player .nm{ font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-player .nm small{ color: var(--chalk-dim); font-weight: 600; margin-left: 4px; }
.yt-player .pt{ font-weight: 800; font-variant-numeric: tabular-nums; }
.yt-player.bench .pt{ color: var(--chalk-dim); font-weight: 600; }
.yt-empty{ color: var(--chalk-dim); font-size: 0.82rem; padding: 8px 2px; }

.version-tag{
  font-weight: 400; font-size: 0.72rem; color: var(--chalk-dim);
}
.app-footer{
  text-align: center; padding: 18px 0 28px; margin-top: 10px;
}

.week-picker, .identity-block{ display:flex; align-items:center; }

/* ---------- Layout shells ---------- */
main{ max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }

.panel{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  max-width: 440px;
  margin: 20px auto;
}
.panel-title{
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.panel-sub{ color: var(--chalk-dim); margin: 0 0 22px; line-height:1.5; font-size:0.94rem; }

.section-block{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 16px;
}

.field-label{
  display:block; font-size:0.78rem; font-weight: 600;
  color: var(--chalk-dim); margin: 16px 0 7px;
}
.field-hint{
  font-size: 0.8rem; color: var(--chalk-dim); margin: 4px 0 0; line-height:1.4;
}
.col-title{ font-weight:700; font-size:1.05rem; margin: 4px 0 12px; letter-spacing: -0.01em; }

.text-input{
  width: 100%;
  background: #0D1219;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  color: var(--chalk);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.text-input:focus{ outline: 2px solid var(--accent); outline-offset: 1px; }
.text-input.small{ padding: 7px 11px; font-size: 0.85rem; }

.manager-row{ display:flex; align-items:center; gap:8px; flex-wrap: wrap; }
.row-actions{ display:flex; gap:10px; margin-top:10px; }

.btn{
  font-family:'Inter', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.06s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:active{ transform: scale(0.97); }
.btn.primary{ background: var(--accent); color: #06150D; }
.btn.primary:hover{ background: #4FEB92; }
.btn.ghost{ background: var(--panel-raised); border: 1px solid var(--line); color: var(--chalk); }
.btn.ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn.ghost.small{ padding: 6px 14px; font-size: 0.8rem; }
.btn.danger{ background: var(--danger); color: #2b0808; }
.btn.danger:hover{ background: #ff7d7d; }
.btn:disabled{ opacity: 0.4; cursor: not-allowed; }

.avatar-btn{
  width: 36px; height: 36px; border-radius: 50%; flex: none; cursor: pointer;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 0.9rem; overflow: hidden; padding: 0;
}
.avatar-btn img{ width: 100%; height: 100%; object-fit: cover; }

.confirm-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100;
  display:flex; align-items:center; justify-content:center; padding: 16px;
}
.confirm-box{
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; max-width: 420px; width: 100%; max-height: 85vh; overflow-y: auto;
}
/* v44.40: ad slots on the League tab, the champion screens and Your leagues */
#leagueShop .shop-banner, #leagueShop .shop-card{ margin: 0 0 16px; }
.my-leagues-shop .shop-banner{ margin-top: 16px; }
#playoffFinal .po-shop .shop-banner, #playoffFinal .po-shop .shop-card{ margin: 4px 0 0; }
/* v44.39: game-day MVP window over My Team */
.mvp-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100;
  display:flex; align-items:center; justify-content:center; padding: 16px;
  animation: mvp-in 0.2s ease-out;
}
@keyframes mvp-in{ from{ opacity: 0; } }
.mvp-box{
  position: relative; width: 100%; max-width: 372px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,183,77,0.18), rgba(255,183,77,0) 45%), var(--panel); border: 1px solid rgba(255,183,77,0.6);
  border-radius: var(--radius); padding: 22px 18px 18px; text-align: center;
  display:flex; flex-direction:column; align-items:center;
}
.mvp-x{ position: absolute; top: 12px; right: 12px; }
.mvp-k{ font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.mvp-box .player-avatar2{ width: 64px; height: 64px; }
.mvp-box .player-avatar2 .pa-init{ font-size: 1.5rem; }
.mvp-box .player-avatar2 .pa-pos{ font-size: 0.66rem; padding: 3px 5px; }
.mvp-n{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; margin: 12px 0 4px; }
.mvp-s{ color: var(--chalk-dim); font-size: 0.86rem; margin: 0 0 2px; }
.mvp-s b{ color: var(--accent); }
.mvp-box .shop-banner, .mvp-box .shop-card{ width: 100%; text-align: left; }
.mvp-ok{ margin-top: 16px; width: 100%; }
.account-settings-box{ text-align: left; }
.account-settings-header{ display:flex; justify-content:space-between; align-items:center; }
.confirm-actions{ display:flex; justify-content:flex-end; gap: 10px; margin-top: 22px; }

.avatar-emoji-grid{
  display:grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 4px;
}
.avatar-emoji-option{
  aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-raised);
  font-size: 1.3rem; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.avatar-emoji-option:hover{ border-color: var(--accent); }
.avatar-emoji-option.selected{ border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Auth screens ---------- */
.auth-panel{ max-width: 400px; margin: 40px auto; }
.auth-panel .text-input{ width: 100%; margin-bottom: 4px; }
.auth-switch{ margin-top: 16px; font-size: 0.85rem; color: var(--chalk-dim); }
.auth-switch a{ color: var(--accent); text-decoration: underline; cursor: pointer; }

/* ---------- My Leagues landing list ---------- */
.league-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 18px; background: var(--panel-raised); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px; text-decoration:none; color: inherit;
  transition: border-color 0.15s ease;
}
.league-row:hover{ border-color: var(--accent); }
.league-row-name{ font-weight: 700; }
.league-row-role{
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--radius-pill);
}

.tab-panel.hidden{ display:none; }

/* ---------- Player avatars ---------- */
.player-avatar{
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--panel-raised); border: 1px solid var(--line);
  object-fit: cover; object-position: top center;
}
/* v44.9: initials disc + position badge (replaces the jersey-number disc) */
.player-avatar2{
  position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none;
  display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}
.player-avatar2 .pa-init{
  font-weight: 900; font-style: italic; font-size: 0.95rem; letter-spacing: -0.03em;
  line-height: 1; transform: translateX(-1px);
}
.player-avatar2 .pa-pos{
  position: absolute; right: -6px; bottom: -3px;
  background: #000; color: #fff; border-radius: 5px;
  font-size: 0.5rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 2px 3px; line-height: 1; border: 1px solid rgba(255,255,255,0.12);
}
.player-avatar2.is-def{ background: none; box-shadow: none; border-radius: 0; }
.player-avatar2.is-def svg{ width: 32px; height: 36px; }
/* v44.8: jersey-number disc + team shield (replace headshots/logos) */
.player-jersey{
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display:flex; align-items:center; justify-content:center;
  border: 2px solid; font-weight: 900; font-size: 0.86rem; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.player-jersey.long, .player-jersey.initials{ font-size: 0.66rem; }
.player-avatar-shield{ width: 30px; height: 34px; flex: none; display:flex; }
.player-avatar-shield svg{ width: 100%; height: 100%; }
.chip-shield{ width: 18px; height: 20px; flex: none; }
.chip-abbr{ color: var(--chalk-dim); font-weight: 600; }
.legal-note{
  max-width: 640px; margin: 0 auto 8px; padding: 0 20px;
  font-size: 0.68rem; line-height: 1.45; color: var(--chalk-dim); opacity: 0.8;
}
.player-avatar-fallback{
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 0.68rem;
}

/* ---------- My Team: roster rows ---------- */
.roster-row{
  display:flex; align-items:center; gap: 8px; padding: 6px 9px;
  background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 5px;
}
.roster-row .slot-tag{
  width: 30px; flex: none; text-align:center; font-size: 0.62rem; font-weight: 700;
  color: var(--chalk-dim); background: var(--panel); border-radius: 6px; padding: 3px 0;
}
.slot-tag-btn{
  border: 1px solid var(--accent); cursor: pointer; font-family: inherit; color: var(--accent);
}
.slot-tag-btn:hover{ background: var(--accent-soft); }
.swap-panel{
  margin: -3px 0 5px 52px; padding: 6px 8px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 0.76rem;
}
.swap-candidate-row{
  display:flex; align-items:center; justify-content:space-between; gap: 8px; padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.swap-candidate-row:last-child{ border-bottom: none; }
.swap-candidate-name{ flex: 1; min-width: 0; }
.swap-candidate-proj{ color: var(--chalk-dim); font-size: 0.7rem; flex: none; }
.roster-row-player{ flex: 1; min-width: 0; }
.roster-row-name{ font-weight: 700; font-size: 0.84rem; line-height: 1.25; }
.roster-row-meta{ font-size: 0.68rem; color: var(--chalk-dim); margin-top: 0; line-height: 1.3; }
.roster-row-substats{ display:flex; gap: 8px; margin-top: 1px; }
.rost-stat{ font-size: 0.64rem; color: var(--chalk-dim); }
.add-drop-stat{ font-size: 0.64rem; color: var(--chalk-dim); font-variant-numeric: tabular-nums; }
.add-drop-stat.green{ color: #37E17E; }
.add-drop-stat.red{ color: #FF5C5C; }
.roster-row-pts{ text-align:right; font-size: 0.78rem; width: 72px; flex: none; font-variant-numeric: tabular-nums; }
.roster-row-pts .actual{ font-weight:800; color: var(--chalk); }
.roster-row-pts .proj{ color: var(--chalk-dim); font-size: 0.66rem; }
.proj-bye{ font-weight: 800; letter-spacing: 0.04em; color: var(--chalk-dim); } /* v44.43 */
.roster-row-actions{ flex: none; display:flex; gap: 6px; align-items: center; }
.roster-row-actions .start-select{ width: 82px; padding: 6px 4px; font-size: 0.72rem; }
.roster-row-actions .btn.small{ padding: 6px 8px; font-size: 0.72rem; white-space: nowrap; }

.slot-group-label{
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
  scroll-margin-top: 70px; /* so a jump-nav click doesn't tuck the label under the fixed topbar */
}
.slot-picker-row{ display:flex; align-items:center; gap: 8px; margin-bottom: 6px; }
.slot-picker-row select{ flex: 1; }

.owned-teams-bar{ margin-bottom: 14px; }
.owned-teams-bar.small{ margin-bottom: 8px; }
.owned-teams-label{ font-size: 0.72rem; color: var(--chalk-dim); margin-bottom: 6px; font-weight:600; }
.owned-teams-chips{ display:flex; flex-wrap:wrap; gap: 6px; }
.owned-team-chip{
  display:inline-flex; align-items:center; gap: 6px; padding: 3px 10px 3px 5px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  font-size: 0.75rem; font-weight:700; background: var(--panel-raised);
}
.bench-jump-nav{ font-size: 0.78rem; margin-bottom: 10px; }
.bench-jump-link{ color: var(--accent); text-decoration:none; margin: 0 2px; }
.bench-jump-link:hover{ text-decoration:underline; }

.standings-list{ display:flex; flex-direction:column; gap: 6px; }
.standings-row{
  display:flex; align-items:center; gap: 12px; padding: 10px 14px;
  background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.standings-row-me{ border-color: var(--accent); }
.standings-rank{ font-weight: 800; color: var(--chalk-dim); width: 28px; }
.standings-name{ flex: 1; font-weight: 700; }
.standings-points{ font-weight: 800; font-size: 1.05rem; }

.injury-badge{
  display:inline-block; font-size: 0.62rem; font-weight:800; padding: 2px 7px; border-radius: var(--radius-pill);
  margin-left: 6px; letter-spacing: 0.02em;
}
.injury-badge.Q{ background:rgba(255,183,77,0.15); color:var(--gold); }
.injury-badge.D{ background:rgba(255,140,66,0.15); color:#ff9d4d; }
.injury-badge.O, .injury-badge.IR{ background:rgba(255,92,92,0.15); color:var(--danger); }

.opp-rank{ font-size: 0.7rem; font-weight: 600; padding: 0 4px; border-radius: 3px; }
.opp-rank.easy{ color: var(--accent); }
.opp-rank.hard{ color: var(--danger); }

/* ---------- Scoreboard (weekly matchup cards) ---------- */
.scoreboard-list{ display:flex; flex-direction:column; gap: 10px; }
.matchup-card{
  background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.matchup-card.bye{ opacity: 0.7; font-size: 0.88rem; color: var(--chalk-dim); }
.matchup-sides{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.matchup-side{ flex: 1; display:flex; flex-direction:column; gap: 2px; }
.matchup-side.away{ text-align: right; }
.matchup-name{ font-weight: 700; font-size: 0.95rem; }
.matchup-score{ font-size: 1.7rem; font-weight:800; color: var(--chalk); font-variant-numeric: tabular-nums; }
.matchup-side.winner .matchup-score{ color: var(--accent); }
.matchup-side.winner .matchup-name{ color: var(--accent); }
.matchup-vs{ color: var(--chalk-dim); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; background: var(--panel); border-radius: var(--radius-pill); }

.matchup-proj-row{ display:flex; justify-content:space-between; margin-top: 4px; }
.winprob-bar.small{ height: 5px; margin: 8px 0 4px; }
.winprob-label.small{ font-size: 0.68rem; margin-bottom: 0; }

.matchup-detail{ margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; display:none; }
.matchup-card.expanded .matchup-detail{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.player-line{ display:flex; justify-content:space-between; font-size:0.82rem; padding: 3px 0; color: var(--chalk-dim); }
.player-line .pts{ color: var(--chalk); font-variant-numeric: tabular-nums; }
.expand-toggle{
  background:none; border:none; color: var(--chalk-dim); font-size: 0.75rem; font-weight: 600;
  cursor:pointer; padding: 10px 0 0; width: 100%; text-align:center;
}
.expand-toggle:hover{ color: var(--accent); }

/* ---------- Standings ---------- */
.standings-table{ width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.standings-table th{
  text-align:left; color: var(--chalk-dim); font-weight:700; font-size: 0.7rem;
  padding: 8px; border-bottom: 1px solid var(--line);
}
.standings-table th:not(:first-child), .standings-table td:not(:first-child){ text-align:center; }
.standings-table td{ padding: 10px 8px; border-bottom: 1px solid var(--line); }
.standings-table td:first-child{ font-weight:700; }
.standings-table .pf{ font-variant-numeric: tabular-nums; color: var(--chalk-dim); }

/* ---------- Matchup tab ---------- */
.matchup-total-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 14px; }
.matchup-total-side{ text-align:center; flex: 1; }
.matchup-total-name{ font-weight:700; margin-bottom: 4px; }
.matchup-total-score{ font-size: 2.2rem; font-weight:800; font-variant-numeric: tabular-nums; }
.matchup-total-proj{ font-size: 0.75rem; color: var(--chalk-dim); }
.winprob-bar{
  height: 8px; border-radius: var(--radius-pill); background: var(--danger); overflow:hidden; margin: 14px 0 6px;
}
.winprob-fill{ height:100%; background: var(--accent); }
.winprob-label{ font-size: 0.75rem; color: var(--chalk-dim); text-align:center; margin-bottom: 18px; }

.pos-compare-row{
  display:grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); align-items:start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem;
}
.pos-compare-side{ display:flex; flex-direction:column; gap: 2px; min-width: 0; }
.pos-compare-top{ display:flex; justify-content:space-between; gap: 8px; align-items:center; }
.pos-compare-actual{ font-weight:800; color: var(--chalk); font-size: 1.05em; }
.pos-compare-namewrap{ display:flex; align-items:center; gap: 6px; min-width: 0; }
.pos-compare-namewrap > span:not(.player-avatar2){ min-width: 0; overflow-wrap: anywhere; }
/* v44.16 phones: name on its own line, points under it; the opponent's
   side lines up on the right edge */
@media (max-width: 640px){
  .pos-compare-row{ grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); gap: 6px; }
  .pos-compare-top{ flex-direction: column; align-items: flex-start; gap: 3px; }
  .pos-compare-top > .pos-compare-namewrap{ order: -1; }
  .pos-compare-side:last-child{ align-items: flex-end; text-align: right; }
  .pos-compare-side:last-child .pos-compare-top{ align-items: flex-end; }
}
.pos-compare-slot{ text-align:center; color: var(--chalk-dim); font-size: 0.68rem; font-weight: 700; padding-top: 4px; }

.game-status{ font-size: 0.72rem; color: var(--chalk-dim); }
.game-status.live{ color: var(--accent); font-weight:700; }
.game-status.final{ color: var(--chalk-dim); }

.scoring-log{ margin-top: 2px; }
.scoring-log-toggle{
  background:none; border:none; color: var(--chalk-dim); font-size: 0.7rem; cursor:pointer;
  padding:0; text-align:left; font-family:inherit; text-decoration:underline dotted;
}
.scoring-log-toggle:hover{ color: var(--chalk); }
.scoring-log-detail{
  margin-top: 4px; padding: 6px 8px; background: var(--panel-raised); border-radius: 6px;
  font-size: 0.72rem; color: var(--chalk-dim);
}
.scoring-log-row{ padding: 2px 0; }

/* ---------- Transaction log ---------- */
.transaction-row{
  padding: 10px; border-bottom: 1px solid var(--line); font-size: 0.82rem;
  display:flex; justify-content:space-between; gap: 10px;
}
.transaction-row-time{ color: var(--chalk-dim); font-size: 0.72rem; white-space:nowrap; }

/* ---------- Commissioner ---------- */
.team-switcher{
  display:flex; align-items:center; gap: 10px; padding: 12px 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-dim); border-radius: var(--radius);
}
.slot-editor{ display:flex; flex-direction:column; gap: 8px; margin-top: 6px; }
.slot-editor-row{ display:flex; align-items:center; gap: 8px; }
.slot-editor-row input.slot-name{ width: 90px; }
.slot-editor-row input.slot-count{ width: 60px; }
.scoring-editor{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px; margin-top: 6px;
}
.scoring-editor-row{ display:flex; align-items:center; gap: 8px; font-size: 0.82rem; }
.scoring-editor-row label{ flex:1; color: var(--chalk-dim); }
.scoring-editor-row input{ width: 70px; }

/* ---------- Phone header ---------- */
@media (max-width: 640px){
  .brand-logo{ width: 176px; }
}

/* ---------- v44.16: phones — more width for My Team and Matchup ---------- */
@media (max-width: 640px){
  html.app-shell main{ padding: 16px 10px 24px; }
  #tab-myteam > .section-block,
  #tab-matchup > .section-block{
    background: none; border: none; border-radius: 0; padding: 0;
  }
  /* v44.19: the League tab too — no outer boxes (the matchup cards were a
     box inside a box); a thin line separates its sections instead. */
  #tab-league > .section-block{
    background: none; border: none; border-radius: 0; padding: 0; margin: 0 0 20px;
  }
  #tab-league > .section-block:not(.hidden) ~ .section-block:not(.hidden){
    border-top: 1px solid var(--line); padding-top: 18px;
  }
  #tab-league .standings-table tr:last-child td{ border-bottom: none; }
}

/* Read-only account email on the reset form */
#resetEmail[readonly]{ opacity: 0.7; cursor: default; }

/* v44.12: live game detail on My Team rows */
.game-line{ font-size: 0.7rem; margin-top: 2px; line-height: 1.35; color: var(--chalk-dim); font-variant-numeric: tabular-nums; }
.game-line.live{ color: var(--chalk); }
.live-clock{
  display:inline-block; font-weight: 800; color: #06150D; background: var(--accent);
  border-radius: 4px; padding: 0 5px; margin-right: 3px; font-size: 0.66rem; letter-spacing: 0.02em;
}
.game-score{ font-weight: 700; }
.game-score.lead{ color: var(--accent); }
.game-score.trail{ color: #ff8a8a; }
.game-line.final .game-score{ color: var(--chalk-dim); }
.res{ font-weight: 800; }
.res-W{ color: var(--accent); } .res-L{ color: #ff8a8a; } .res-T{ color: var(--gold); }
.ball{ font-size: 0.72rem; }
.opp-ball{ color: var(--chalk-dim); }
.down-dist{ font-weight: 600; white-space: nowrap; }
.down-dist.red-zone{ color: var(--danger); }
.game-stats{
  font-size: 0.68rem; margin-top: 1px; color: var(--chalk); font-weight: 600;
  letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.game-stats .sep{ color: var(--line); margin: 0 6px; font-weight: 400; }
.roster-row .scoring-log{ margin-top: 3px; }
.scoring-log-row{ display:block; }
.pl-pts{ display:inline-block; min-width: 34px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.pl-pts.neg{ color: #ff8a8a; }
.pl-when{ color: var(--chalk-dim); font-variant-numeric: tabular-nums; margin-right: 2px; }
.roster-row .scoring-log-detail{ background: var(--panel); border: 1px solid var(--line); }

/* v44.12: player rows as a grid so the live game line / stats / plays can
   sit under the player (full width on phones) instead of squeezing the
   name column. */
.roster-row.pr{
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "slot av player pts act"
    ".    .  extra  extra extra";
  column-gap: 8px; row-gap: 0; align-items: center;
}
.roster-row.pr > .slot-tag{ grid-area: slot; }
.roster-row.pr > .player-avatar2{ grid-area: av; }
.roster-row.pr > .roster-row-player{ grid-area: player; }
.roster-row.pr > .roster-row-pts{ grid-area: pts; }
.roster-row.pr > .roster-row-actions{ grid-area: act; }
.roster-row.pr > .roster-row-extra{ grid-area: extra; min-width: 0; }
.roster-row-extra:empty{ display: none; }
.lock-label{ white-space: nowrap; }
.injury-badge.PUP{ background:rgba(255,92,92,0.15); color:var(--danger); }
@media (max-width: 640px){
  .roster-row.pr{
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "slot  av    player pts   act"
      "extra extra extra  extra extra";
    column-gap: 7px; padding: 7px 8px;
  }
  .roster-row.pr > .roster-row-extra{ margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--line); }
  .roster-row.pr > .roster-row-extra:not(:has(.game-line, .game-stats, .scoring-log)){ border-top: none; margin-top: 2px; padding-top: 0; }
  .roster-row.pr .roster-row-pts{ width: auto; min-width: 44px; }
  .lock-text{ display: none; }
  .roster-row.pr .slot-tag{ min-width: 0; padding-left: 4px; padding-right: 4px; }
}

/* PWA login code */
.mfa-code-input{ font-size: 1.3rem; letter-spacing: 0.35em; font-variant-numeric: tabular-nums; text-align: center; max-width: 220px; }

/* ---------- v44.17: My Team totals bar (stays at the top while scrolling) ---------- */
.lineup-totals{
  position: sticky; top: 0; z-index: 5;
  display:flex; align-items:center; gap: 16px;
  margin: -6px -12px 14px; padding: 9px 12px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.lt-week{
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--chalk-dim); background: var(--panel-raised); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 3px 9px; white-space: nowrap;
}
.lt-item{ display:flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.lt-item:last-child{ margin-left: auto; }
.lt-label{ font-size: 0.72rem; color: var(--chalk-dim); font-weight: 600; }
.lt-val{ font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.lt-item:last-child .lt-val{ color: var(--accent); }
.lt-delta{
  font-size: 0.72rem; font-weight: 800; font-variant-numeric: tabular-nums;
  border-radius: var(--radius-pill); padding: 1px 6px; opacity: 0; transition: opacity 0.2s ease;
}
.lt-delta.show{ opacity: 1; }
.lt-delta.up{ color: #06150D; background: var(--accent); }
.lt-delta.down{ color: #fff; background: var(--danger); }
@media (max-width: 640px){
  .lineup-totals{ margin: 0 -10px 12px; padding: 8px 10px; gap: 12px; background: var(--bg); }
  .lt-val{ font-size: 1.05rem; }
}

/* ---------- v44.17: commissioner editing someone else's lineup ---------- */
.commish-editing{
  display:flex; align-items:center; justify-content: space-between; gap: 10px;
  background: rgba(255,183,77,0.13); border: 1px solid rgba(255,183,77,0.55);
  color: var(--chalk); border-radius: 12px; padding: 9px 10px 9px 12px;
  margin-bottom: 12px; font-size: 0.84rem; line-height: 1.35;
}
.commish-editing b{ color: var(--gold); }
.commish-editing .btn{ background: var(--gold); color: #1d1300; flex: none; white-space: nowrap; }

/* v44.18: weekly standings — actual + projected per team */
.wk-legend{ display:flex; gap: 14px; justify-content: flex-end; font-size: 0.7rem; color: var(--chalk-dim); margin: 0 4px 8px; }
.wk-legend b{ color: var(--chalk); font-weight: 800; }
.wk-legend b.proj{ color: var(--chalk-dim); }
.standings-row.wk-row{ align-items: center; }
.wk-main{ flex: 1; min-width: 0; display:flex; flex-direction: column; gap: 6px; }
.wk-main .standings-name{ flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-bar{ display:block; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 260px; }
.wk-bar i{ display:block; height: 100%; background: var(--accent); border-radius: 3px; }
.wk-pts{ display:flex; flex-direction: column; align-items: flex-end; flex: none; margin-left: 10px; line-height: 1.15; }
.wk-proj{ font-size: 0.72rem; color: var(--chalk-dim); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- v44.20: League Median + standings by win percentage ---------- */
.median-name{ color: var(--gold); }
.matchup-side.winner .matchup-name.median-name{ color: var(--accent); }
.median-note{ font-size: 0.74rem; color: var(--chalk-dim); margin: 8px 0 0; }
.matchup-card.expanded .matchup-detail.one{ grid-template-columns: 1fr; }
.pos-compare-row.median-row{ grid-template-columns: minmax(0,1fr) 44px; }
@media (max-width: 640px){ .pos-compare-row.median-row{ grid-template-columns: minmax(0,1fr) 34px; } }
.standings-seed{ display:inline-block; min-width: 1.4em; color: var(--chalk-dim); font-weight: 600; font-variant-numeric: tabular-nums; }
.standings-table tr.cut td{ border-bottom: 2px solid var(--gold); }
#standingsNote{ margin-top: 8px; }
@media (max-width: 640px){
  .pos-compare-row.median-row .pos-compare-top{ flex-direction: row; align-items: center; justify-content: space-between; }
  .pos-compare-row.median-row .pos-compare-top > .pos-compare-namewrap{ order: 0; }
}

/* ---------- v44.21: playoffs ---------- */
.po-bracket{ display:grid; gap: 14px; }
.po-roundblock{ display:grid; gap: 8px; }
.po-roundblock:not(.current){ opacity: 0.92; }
.po-label{ display:flex; justify-content:space-between; align-items:baseline; gap: 8px; margin: 2px 0 0; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--chalk-dim); }
.po-label b{ color: var(--chalk); letter-spacing: 0.05em; }
.po-live{ color: var(--danger); }
.po-live::before{ content: "● "; }
.po-game{ background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; display:grid; gap: 4px; }
.po-game.final{ border-color: var(--gold); }
.po-game.later{ opacity: 0.6; }
.po-tag{ display:flex; justify-content:space-between; gap: 10px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--chalk-dim); }
.po-row{ display:grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 8px; align-items: baseline; }
.po-seed{ color: var(--chalk-dim); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.po-name{ font-weight: 700; overflow-wrap: anywhere; }
.po-name.tbd{ color: var(--chalk-dim); font-weight: 500; }
.po-score{ font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.po-row.w .po-name, .po-row.w .po-score{ color: var(--accent); }
.po-row.l .po-name, .po-row.l .po-score{ color: var(--chalk-dim); }
.po-byes{ font-size: 0.82rem; color: var(--chalk-dim); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; }
.po-round{ display:grid; gap: 2px; text-align:center; margin-bottom: 12px; }
.po-round b{ font-size: 1rem; }
.po-round span{ color: var(--chalk-dim); font-size: 0.8rem; }
.po-msg{ background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display:grid; gap: 8px; text-align:center; }
.po-msg p{ margin: 0; color: var(--chalk-dim); font-size: 0.88rem; }
.po-msg-big{ font-size: 1.2rem; font-weight: 800; }
.po-msg-k{ font-family: "Anton", "Inter", sans-serif; font-size: 2.6rem; line-height: 1; color: var(--gold); }
#playoffFinal{ display:grid; gap: 10px; margin-bottom: 18px; }
.po-champ{ border-radius: var(--radius); padding: 14px; text-align:center; display:grid; gap: 2px;
  background: linear-gradient(180deg, rgba(255,183,77,0.28), rgba(255,183,77,0.08)); border: 1px solid rgba(255,183,77,0.6); }
.po-champ small{ font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; color: var(--gold); }
.po-champ b{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; text-transform: uppercase; }
.po-champ span{ color: var(--chalk-dim); font-size: 0.82rem; }
.po-podium{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.po-podium div{ background: var(--panel-raised); border-radius: 10px; padding: 8px; text-align:center; display:grid; gap: 2px; min-width: 0; }
.po-podium small{ font-size: 0.66rem; font-weight: 800; }
.po-podium small.p1{ color: var(--gold); } .po-podium small.p2{ color: #C9D1DB; } .po-podium small.p3{ color: #D08A5A; }
.po-podium b{ overflow-wrap: anywhere; }
.po-podium span{ font-size: 0.7rem; color: var(--chalk-dim); }
.standings-table.po-final td.po-how{ text-align: right; color: var(--chalk-dim); font-weight: 400; }
.tag{ display:inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.tag.bye{ background: rgba(255,183,77,0.2); color: var(--gold); }
.tag.in{ background: var(--accent-soft); color: var(--accent); }
.tag.out{ background: var(--panel-raised); color: var(--chalk-dim); }

/* ---------- v44.22: weekly-league leaderboard ---------- */
.lb-head{ display:flex; justify-content:space-between; align-items:center; gap: 10px; }
.lb-head .col-title{ margin: 4px 0 4px; font-size: 1.2rem; }
.lb-pill{ flex: none; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; color: var(--chalk-dim); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px 9px; white-space: nowrap; }
.lb-pill.live{ color: var(--danger); border-color: rgba(255,92,92,0.6); }
.lb-pill.done{ color: var(--accent); border-color: rgba(55,225,126,0.5); }
.lb-sub{ color: var(--chalk-dim); font-size: 0.8rem; margin: 0 0 12px; }
.lb-spot{ display:grid; grid-template-columns: 58px minmax(0,1fr); gap: 10px; align-items:center; background: var(--panel-raised); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 14px; }
.lb-spot-pos{ text-align:center; display:grid; }
.lb-spot-pos b{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 2.1rem; line-height: 1; }
.lb-spot-pos small{ font-size: 0.72rem; }
.lb-spot-lab{ font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); }
.lb-spot-t{ font-size: 0.84rem; color: var(--chalk-dim); }
.lb-spot-t b{ color: var(--chalk); }
.lb-chance{ font-size: 0.78rem; color: var(--chalk-dim); margin-top: 2px; }
.lb-chance b{ color: var(--gold); }
.lb-up{ color: var(--accent); font-weight: 800; }
.lb-dn{ color: var(--danger); font-weight: 800; }
.lb-eq{ color: var(--chalk-dim); }
.lb-av{ display:inline-flex; align-items:center; justify-content:center; width: 1.5em; height: 1.5em; flex: none; font-size: 1rem; line-height: 1; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.lb-av.lb-av-init{ width: 1.5rem; height: 1.5rem; background: var(--line); color: var(--chalk); font-size: 0.72rem; font-weight: 800; }
.lb-podium{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items:end; gap: 8px; margin: 4px 0 0; }
.lb-pod-c{ text-align:center; display:grid; justify-items:center; gap: 2px; min-width: 0; }
.lb-pod-c .lb-av{ font-size: 1.5rem; }
.lb-pod-n{ font-weight: 800; font-size: 0.86rem; max-width: 100%; overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pod-p{ color: var(--chalk-dim); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.lb-pod-bar{ width: 100%; border-radius: 8px 8px 0 0; font-family: "Anton", "Inter", sans-serif; font-size: 1.5rem; color: #fff; padding-top: 4px; margin-top: 4px; }
.lb-pod-bar.g{ background: #F2B01E; height: 74px; } .lb-pod-bar.s{ background: #A9B4C0; height: 58px; } .lb-pod-bar.b{ background: #C47B45; height: 46px; }
.lb-pod-base{ height: 3px; background: var(--chalk); opacity: 0.55; margin-bottom: 14px; }
.lb-awards{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.lb-awards > div{ background: #05080C; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 11px; display:grid; gap: 2px; min-width: 0; }
.lb-awards.odd > div:last-child{ grid-column: 1 / -1; }
.lb-awards small{ font-size: 0.6rem; font-weight: 800; letter-spacing: 0.09em; color: var(--accent); text-transform: uppercase; }
.lb-awards b{ font-size: 0.95rem; overflow-wrap: anywhere; }
.lb-awards span{ font-size: 0.74rem; color: var(--chalk-dim); }
.lb-seg{ display:flex; gap: 6px; margin: 0 0 8px; }
.lb-seg button{ flex: 1; font: inherit; font-size: 0.82rem; font-weight: 700; background: none; color: var(--chalk-dim); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 0; cursor: pointer; }
.lb-seg button.on{ border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.lb-table{ width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.lb-table th{ font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--chalk-dim); text-align: right; padding: 6px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lb-table th.l{ text-align: left; }
.lb-table td{ padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; white-space: nowrap; }
.lb-table tr:last-child td{ border-bottom: none; }
.lb-table tr.me td{ background: var(--accent-soft); }
.lb-pos{ text-align: left !important; font-weight: 800; width: 1%; }
.lb-pos small{ display:block; font-size: 0.66rem; line-height: 1.1; }
.lb-table tr.p1 .lb-pos{ color: #F2B01E; } .lb-table tr.p2 .lb-pos{ color: #C9D1DB; } .lb-table tr.p3 .lb-pos{ color: #D08A5A; }
.lb-nm{ text-align: left !important; width: 99%; white-space: normal !important; }
.lb-nm > .lb-av{ margin-right: 6px; }
.lb-nm > span:not(.lb-av){ display: inline-block; vertical-align: middle; max-width: calc(100% - 2.2em); }
.lb-nm b{ overflow-wrap: anywhere; }
.lb-you{ font-style: normal; font-size: 0.6rem; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; }
.lb-ch{ display:block; font-size: 0.7rem; color: var(--chalk-dim); font-weight: 500; }
.lb-left i{ font-style: normal; display:inline-block; min-width: 1.6em; border-radius: 6px; background: #222A36; text-align:center; font-size: 0.78rem; padding: 1px 4px; }
.lb-left i.z{ background: transparent; color: var(--chalk-dim); }
.lb-tot{ font-weight: 800; }
.lb-tot small{ display:block; font-size: 0.68rem; font-weight: 500; color: var(--chalk-dim); }
.lb-scroll{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lb-byweek td.lb-nm{ position: sticky; left: 0; background: var(--bg); white-space: nowrap !important; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.lb-byweek tr.me td.lb-nm{ background: #0E2A1C; }
.lb-table tr td.lb-crown{ background: rgba(242,176,30,0.22); color: #F2B01E; font-weight: 800; }
.lb-dim{ color: var(--chalk-dim); }
.lb-note{ color: var(--chalk-dim); font-size: 0.74rem; margin: 8px 0 0; }
.lb-label{ font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--chalk-dim); margin: 16px 0 8px; }
.lb-winner{ border-radius: var(--radius); padding: 16px 12px; text-align:center; display:grid; gap: 4px; background: linear-gradient(180deg, rgba(242,176,30,0.34), rgba(242,176,30,0.07)); border: 1px solid rgba(242,176,30,0.7); }
.lb-winner small{ font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; color: #F2B01E; }
.lb-winner-n{ display:grid; justify-items:center; gap: 2px; }
.lb-winner-n .lb-av{ font-size: 2.2rem; }
.lb-winner-n b{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 2.2rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.lb-winner > span{ color: var(--chalk-dim); font-size: 0.86rem; }
.lb-places{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.lb-places > div{ background: var(--panel-raised); border-radius: var(--radius-sm); padding: 10px; text-align:center; display:grid; gap: 2px; border-top: 3px solid; min-width: 0; }
.lb-places .p2{ border-top-color: #A9B4C0; } .lb-places .p3{ border-top-color: #C47B45; }
.lb-places small{ font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; }
.lb-places .p2 small{ color: #C9D1DB; } .lb-places .p3 small{ color: #D08A5A; }
.lb-places b{ font-size: 1rem; overflow-wrap: anywhere; }
.lb-places span{ font-size: 0.78rem; color: var(--chalk-dim); }
.lb-chips{ display:grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.lb-chips > div{ border: 1px solid var(--line); border-radius: var(--radius-sm); text-align:center; padding: 6px 4px; font-size: 0.72rem; color: var(--chalk-dim); display:grid; min-width: 0; }
.lb-chips b{ color: var(--chalk); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- v44.23 / v44.25: weekly leagues — League tab team list and team view,
   drawn as My Team's roster rows ---------- */
a.roster-row.lg-team{ color: inherit; text-decoration: none; cursor: pointer; }
a.roster-row.lg-team:hover{ border-color: var(--accent-dim); }
.roster-row.lg-team.me{ border-color: var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--panel-raised); }
.roster-row .slot-tag.lg-p1{ color: #F2B01E; } .roster-row .slot-tag.lg-p2{ color: #C9D1DB; } .roster-row .slot-tag.lg-p3{ color: #D08A5A; }
.lg-av{ background: var(--panel); overflow: hidden; }
.lg-av img{ width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lg-av-emoji{ font-size: 1.3rem; line-height: 1; }
.lg-av .pa-init{ font-style: normal; color: var(--chalk); }
.lg-go{ font-size: 0.72rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.lt-back{ font: inherit; font-size: 0.82rem; font-weight: 700; background: none; border: none; color: var(--accent); padding: 0; margin: 0 0 10px; cursor: pointer; }
.lg-head{ display:flex; align-items:center; gap: 10px; margin-bottom: 12px; }
.lg-head > div:last-child{ flex: 1; min-width: 0; }
.lg-head .col-title{ margin: 0 0 2px; font-size: 1.2rem; overflow-wrap: anywhere; }
.lg-weeks{ display:grid; gap: 2px; }
.lg-wk{ display:grid; grid-template-columns: 3.4em 4em minmax(0, 1fr); align-items: baseline; column-gap: 6px; font-size: 0.68rem; }
.lg-wk-n, .lg-wk-p{ white-space: nowrap; }
.lg-wk-n{ font-weight: 800; color: var(--chalk-dim); letter-spacing: 0.04em; }
.lg-wk-p{ font-weight: 800; font-variant-numeric: tabular-nums; }
.lg-wk-s.game-stats{ margin: 0; overflow-wrap: anywhere; }
.lg-wk.dim .lg-wk-p, .lg-wk.dim .lg-wk-s{ color: var(--chalk-dim); font-weight: 600; }
.lg-wk.ref .lg-wk-n{ color: var(--accent); }
.lg-live{ color: var(--danger); font-weight: 800; }
.lt-bench summary{ list-style: none; display:flex; align-items: baseline; gap: 8px; cursor: pointer; margin: 18px 0 8px; }
.lt-bench summary::-webkit-details-marker{ display: none; }
.lt-bench summary::before{ content: "▸"; color: var(--chalk-dim); }
.lt-bench[open] summary::before{ content: "▾"; }
.lt-bench summary .col-title{ margin: 0; }

/* v44.27 (from draft V34.21): "Account not created" after declining the Terms of Use */
.terms-declined-note{ display:flex; gap:12px; align-items:flex-start; background: rgba(255,183,77,0.1); border: 1px solid rgba(255,183,77,0.35); border-radius: 12px; padding: 14px; margin: 4px 0 10px; }
.terms-declined-note span{ color: var(--gold); font-weight: 900; font-size: 1.2rem; line-height: 1; }
.terms-declined-note p{ margin: 0; font-size: 0.92rem; line-height: 1.5; }
.terms-declined-actions{ display:flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.terms-declined-actions .btn{ width: 100%; padding: 13px; font-size: 1rem; }

/* ---------- v44.33: season League page — standings as a leaderboard ---------- */
.ss-table tr[data-mgr]{ cursor: pointer; }
.ss-table tr.ss-cut td{ border-bottom: 2px solid #F2B01E; }
.ss-table tr.ss-bye td{ border-bottom: 1px dashed #A9B4C0; }
.ss-sub{ display:block; font-size: 0.68rem; color: var(--chalk-dim); font-weight: 500; }
.ss-rec{ font-weight: 800; }
.ss-go{ color: var(--accent); font-weight: 800; width: 1%; padding-left: 2px !important; }
.ss-table th.ss-c, .ss-table td.ss-c{ text-align: center; }
.ss-wl{ display:inline-grid; place-items:center; width: 1.9em; height: 1.9em; border-radius: 6px; font-size: 0.7rem; font-weight: 800; }
.ss-wl.W{ background: rgba(55,225,126,0.18); color: var(--accent); }
.ss-wl.L{ background: rgba(255,92,92,0.16); color: var(--danger); }
.ss-wl.T{ background: #222A36; color: var(--chalk); }
.ss-hero .player-avatar2{ width: 56px; height: 56px; }
.ss-hero .lg-av-emoji{ font-size: 1.9rem; }
.ss-hero .col-title{ font-size: 1.3rem; }
.ss-tiles{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-bottom: 4px; }
.ss-tiles > div{ background: #05080C; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 6px; text-align:center; display:grid; min-width: 0; }
.ss-tiles small{ font-size: 0.58rem; font-weight: 800; letter-spacing: 0.09em; color: var(--accent); text-transform: uppercase; }
.ss-tiles b{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.ss-tiles b.ss-acc{ color: var(--accent); }
.ss-tiles span{ font-size: 0.66rem; color: var(--chalk-dim); overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-chips{ display:flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ss-chips::-webkit-scrollbar{ display: none; }
.ss-chip{ flex: none; width: 84px; border-radius: var(--radius-sm); border: 1px solid var(--line); border-top: 3px solid var(--line); padding: 6px 7px; display:grid; gap: 1px; background: var(--panel-raised); }
.ss-chip.ref{ outline: 1px solid var(--chalk-dim); }
.ss-chip small{ font-size: 0.58rem; font-weight: 800; letter-spacing: 0.07em; color: var(--chalk-dim); }
.ss-chip b{ font-size: 0.95rem; }
.ss-chip em{ font-style: normal; font-weight: 700; font-size: 0.66rem; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em; }
.ss-chip span{ font-size: 0.62rem; color: var(--chalk-dim); overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-chip.W{ border-top-color: var(--accent); } .ss-chip.W b{ color: var(--accent); }
.ss-chip.L{ border-top-color: var(--danger); } .ss-chip.L b{ color: var(--danger); }
.ss-chip.live{ border-top-color: #F2B01E; } .ss-chip.live b{ color: #F2B01E; }
/* matchup cards: team pictures, and your game outlined */
.matchup-card.me{ border-color: var(--accent); }
.matchup-side:has(> .mu-txt){ flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
.matchup-side.away:has(> .mu-txt){ flex-direction: row-reverse; }
.matchup-side > .lb-av{ font-size: 1.45rem; }
.matchup-side > .lb-av.lb-av-init{ width: 2.2rem; height: 2.2rem; font-size: 0.95rem; }
.mu-txt{ display:flex; flex-direction: column; gap: 2px; min-width: 0; }
.mu-txt .matchup-name{ font-size: 0.86rem; line-height: 1.2; overflow-wrap: anywhere; }
.mu-txt .matchup-score{ font-size: 1.45rem; line-height: 1.1; }
.ss-nw{ white-space: nowrap; }
#leagueScoreboardSection .lb-head .col-title{ margin-bottom: 12px; }

/* ---------- v44.41: Points Left on the Field ---------- */
.plof-flag{ width: 1.5rem; height: 1.5rem; flex: none; }
.plof-card{ border: 1px solid rgba(255,210,63,0.45); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 14px;
#plofMyTeam .plof-card{ margin: 22px 0 0; } /* v44.42: at the bottom of My Team */
  background: linear-gradient(160deg, rgba(255,210,63,0.13), rgba(255,210,63,0.03) 60%), var(--panel); }
.plof-top{ display:flex; align-items:center; gap: 10px; }
.plof-title{ font-weight: 800; font-size: 1rem; }
.plof-title small{ display:block; font-weight: 500; font-size: 0.74rem; color: var(--chalk-dim); margin-top: 1px; }
.plof-nums{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin: 10px 0 4px; }
.plof-nums > div{ background: rgba(10,14,20,0.5); border-radius: var(--radius-sm); padding: 7px 4px; text-align:center; display:grid; }
.plof-nums b{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 1.35rem; line-height: 1.15; color: #FFD23F; }
.plof-nums small{ font-size: 0.6rem; font-weight: 800; letter-spacing: 0.07em; color: var(--chalk-dim); text-transform: uppercase; }
.plof-list{ margin-top: 4px; }
.plof-play{ display:flex; align-items:center; gap: 9px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.plof-play:first-child{ border-top: 0; }
.plof-play.cur{ background: rgba(255,210,63,0.07); margin: 0 -14px; padding: 9px 14px; }
.plof-wk{ font-size: 0.6rem; font-weight: 800; color: var(--chalk-dim); width: 1.6rem; text-align:center; line-height: 1.15; flex: none; }
.plof-team{ width: 1.9rem; height: 1.9rem; flex: none; }
.plof-pd{ flex: 1; min-width: 0; }
.plof-pd b{ display:block; font-size: 0.84rem; line-height: 1.25; }
.plof-pd span{ font-size: 0.72rem; color: var(--chalk-dim); }
.plof-pd em{ font-style: normal; color: #FFD23F; }
.plof-pts{ font-weight: 800; font-size: 0.95rem; color: #FFD23F; text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.plof-pts.zero{ color: var(--chalk-dim); }
.plof-pts small{ display:block; font-size: 0.6rem; font-weight: 600; color: var(--chalk-dim); white-space: nowrap; }
.plof-none{ font-size: 0.8rem; color: var(--chalk-dim); margin: 8px 0 2px; }
.plof-more{ background: none; border: 0; color: #FFD23F; font: inherit; font-weight: 700; font-size: 0.82rem; padding: 8px 0 2px; cursor: pointer; }
.plof-note{ font-size: 0.72rem; color: var(--chalk-dim); margin: 8px 0 0; }
.plof-h{ display:flex; align-items:center; gap: 8px; }
.plof-big{ display:flex; align-items:center; gap: 12px; }
.plof-big .plof-bignum{ font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 1.9rem; color: #FFD23F; flex: none; }
.plof-big span{ display:block; font-size: 0.76rem; color: var(--chalk-dim); margin-top: 2px; }
.plof-seg button.on{ border-color: #FFD23F; color: #FFD23F; background: rgba(255,210,63,0.08); }
.plof-rank{ background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plof-row{ display:flex; align-items:center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.plof-row:first-child{ border-top: 0; }
.plof-row[role=button]{ cursor: pointer; }
.plof-row.me{ background: var(--accent-soft); }
.plof-rk{ width: 1.1rem; font-weight: 800; color: var(--chalk-dim); flex: none; }
.plof-mg{ flex: 1; min-width: 0; }
.plof-mg b{ font-size: 0.92rem; }
.plof-mg .you{ font-style: normal; color: var(--accent); font-size: 0.66rem; font-weight: 800; margin-left: 4px; }
.plof-mg span{ display:block; font-size: 0.72rem; color: var(--chalk-dim); overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
.plof-bar{ display:block; height: 4px; border-radius: 2px; background: #FFD23F; opacity: 0.8; margin-top: 5px; }
.plof-sub{ padding: 0 12px 4px; border-top: 1px dashed var(--line); background: rgba(255,210,63,0.04); }
.plof-mu{ display:flex; align-items:center; justify-content:center; gap: 6px; margin-top: 8px; font-size: 0.74rem; color: #FFD23F;
  background: rgba(255,210,63,0.07); border-radius: var(--radius-sm); padding: 5px 8px; }
.plof-mu .plof-flag{ width: 1rem; height: 1rem; }

/* ---------- v44.47: bigger swap button with switch arrows ---------- */
.roster-row .slot-tag.swap-btn,
.roster-row.pr .slot-tag.swap-btn{
  width: 44px; min-width: 44px; height: 52px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1.5px solid var(--accent); border-radius: 22px; background: transparent;
  color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em;
}
.slot-tag.swap-btn .swap-icon{ width: 18px; height: 18px; }
.slot-tag.swap-btn:hover, .slot-tag.swap-btn:active{ background: var(--accent-soft); }
.injury-pill{
  display: inline-block; font-size: 0.62rem; font-weight: 800; padding: 1px 6px; border-radius: 999px;
  vertical-align: 1px; white-space: nowrap;
  background: rgba(255,183,77,0.15); color: var(--gold);
}
.injury-pill.D{ background: rgba(255,140,66,0.15); color: #ff9d4d; }
.injury-pill.O, .injury-pill.IR, .injury-pill.PUP, .injury-pill.S, .injury-pill.N{ background: rgba(255,92,92,0.15); color: var(--danger); }

/* ---------- v44.47: player window (note icon on My Team) ---------- */
.note-btn{
  display:inline-flex; align-items:center; justify-content:center; vertical-align: -3px;
  width: 22px; height: 20px; margin-left: 6px; padding: 0; border-radius: 5px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--chalk-dim);
}
.note-btn:hover, .note-btn:focus-visible{ border-color: var(--accent); color: var(--accent); }
.note-btn svg{ width: 12px; height: 12px; }
.player-sheet{ z-index: 41; }
#playerSheetShade{ z-index: 40; }
.pd-top{ display:flex; gap: 10px; align-items:center; margin: 2px 0 10px; }
.pd-top .player-avatar2{ width: 46px; height: 46px; flex: none; }
.pd-who{ min-width: 0; }
.pd-name{ font-weight: 900; font-size: 1.05rem; }
.pd-meta{ color: var(--chalk-dim); font-size: 0.72rem; line-height: 1.4; }
.pd-tiles{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.pd-tile{ background: var(--panel-raised); border: 1px solid var(--line); border-radius: 10px; padding: 7px 4px; text-align:center; }
.pd-tile b{ display:block; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.pd-tile span{ font-size: 0.6rem; color: var(--chalk-dim); text-transform: uppercase; letter-spacing: .04em; }
.pd-tabs{ display:flex; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pd-tab{
  flex: 1; text-align:center; padding: 8px 0; font: inherit; font-weight: 800; font-size: 0.82rem;
  color: var(--chalk-dim); background: none; border: none; cursor: pointer;
}
.pd-tab.on{ color: var(--chalk); box-shadow: inset 0 -3px 0 var(--accent); }
.gl-wrap{ overflow-x: auto; }
table.gl{ border-collapse: collapse; width: 100%; font-size: 0.72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gl th{ color: var(--chalk-dim); font-weight: 700; font-size: 0.6rem; text-transform: uppercase; padding: 4px 5px; text-align: right; }
.gl th.grp{ text-align: center; border-bottom: 1px solid var(--line); }
.gl td{ padding: 7px 5px; border-top: 1px solid var(--line); text-align: right; }
.gl td:nth-child(-n+2), .gl th:nth-child(-n+2){ text-align: left; }
.gl td.gl-when{ text-align: left; }
.gl .pts{ font-weight: 800; color: var(--chalk); }
.gl .pts.hi{ color: var(--accent); }
.gl tr.dim td{ color: var(--chalk-dim); }
.gl tr.next td{ color: var(--chalk-dim); font-style: italic; }
.gl .gl-out{ color: var(--danger); font-style: normal; }
.gl .easy{ color: var(--accent); }
.gl .hard{ color: var(--danger); }
.gl-note{ color: var(--chalk-dim); font-size: 0.64rem; margin: 6px 2px 0; line-height: 1.4; }
.nw-card{ background: var(--panel-raised); border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; margin-bottom: 8px; }
.nw-h{ font-weight: 900; font-size: 0.84rem; margin-bottom: 4px; }
.nw-sub{ color: var(--chalk-dim); font-size: 0.64rem; margin-bottom: 6px; }
.nw-p{ font-size: 0.78rem; line-height: 1.45; color: #d9dde4; margin: 0 0 6px; }
.prac{ display:flex; gap: 6px; margin: 6px 0; }
.prac div{ flex: 1; min-width: 0; text-align:center; border-radius: 8px; padding: 5px 2px; font-size: 0.6rem; color: var(--chalk-dim); background: var(--panel); border: 1px solid var(--line); }
.prac b{ display:block; font-size: 0.76rem; color: var(--chalk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prac .dnp b{ color: var(--danger); }
.prac .lp b{ color: var(--gold); }
.prac .fp b{ color: var(--accent); }
.nw-hist{ font-size: 0.7rem; color: var(--chalk-dim); margin: 0 0 6px; }
.nw-hist div{ padding: 3px 0; border-top: 1px solid var(--line); }
.nw-hist span{ display:inline-block; width: 44px; font-weight: 700; color: var(--chalk); }
.nw-card .src{ font-size: 0.6rem; color: var(--chalk-dim); margin-top: 2px; }
