:root {
  --bg: #f3f5f2;
  --bg-2: #e8ece6;
  --card: #ffffff;
  --card-2: #f7f9f6;
  --line: #dde3da;
  --text: #14201a;
  --muted: #5d6b62;
  --accent: #0f7a4a;
  --accent-2: #13a063;
  --accent-soft: #dff3e8;
  --accent-text: #ffffff;
  --warn: #c2410c;
  --warn-soft: #fdebdc;
  --bad: #b91c1c;
  --bad-soft: #fde2e2;
  --good: #15803d;
  --good-soft: #dcf5e3;
  --gold: #b7791f;
  --head-1: #0d1b2a;
  --head-2: #12324a;
  --shadow: 0 1px 2px rgba(16, 32, 24, .06), 0 4px 16px rgba(16, 32, 24, .05);
  --qb: #e4506f; --rb: #10a37f; --wr: #2f80ed; --te: #e08a1e; --k: #8b5cf6; --def: #64748b;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1520; --bg-2: #0f1d2b; --card: #122232; --card-2: #16293b; --line: #213649;
    --text: #e7eef3; --muted: #8fa3b3; --accent: #22c07a; --accent-2: #2ed98b; --accent-soft: #123a2b; --accent-text: #06140d;
    --warn: #fb923c; --warn-soft: #3b2413; --bad: #f87171; --bad-soft: #3a1717; --good: #4ade80; --good-soft: #13331f; --gold: #f6c453;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1520; --bg-2: #0f1d2b; --card: #122232; --card-2: #16293b; --line: #213649;
  --text: #e7eef3; --muted: #8fa3b3; --accent: #22c07a; --accent-2: #2ed98b; --accent-soft: #123a2b; --accent-text: #06140d;
  --warn: #fb923c; --warn-soft: #3b2413; --bad: #f87171; --bad-soft: #3a1717; --good: #4ade80; --good-soft: #13331f; --gold: #f6c453;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text); font: 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 1.5rem; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; }
h3 { font-size: .95rem; }
h3.sub { margin: 16px 0 8px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: .5em 0; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.ok-text { color: var(--good); }
.warn-text { color: var(--warn); }
.error-text { color: var(--bad); }
.grow { flex: 1; }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- Shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 8px) 16px 8px; color: #fff;
  background: linear-gradient(120deg, var(--head-1), var(--head-2));
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 900;
  background: linear-gradient(135deg, #22c07a, #0f7a4a); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.brand-name { font-size: 1.15rem; }
.brand.big .brand-mark { width: 48px; height: 48px; font-size: 1.5rem; border-radius: 14px; }
.brand.big .brand-name { font-size: 1.8rem; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.week-pick { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.week-pick select {
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px; padding: 5px 8px; font: inherit; font-weight: 700;
}
.week-pick option { color: #000; }
.me .av { width: 32px; height: 32px; border: 2px solid rgba(255, 255, 255, .5); }

main#view { padding: 16px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; }
.page { display: flex; flex-direction: column; gap: 14px; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sidenav { display: none; }
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex;
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav .nav-item { flex: 1; }
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--nav-h);
  color: var(--muted); font-size: .68rem; font-weight: 600; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-item:hover { text-decoration: none; color: var(--text); }
.nav-item.active { color: var(--accent); }
.sheet { position: fixed; inset: 0; z-index: 25; background: rgba(0, 0, 0, .35); display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-card {
  width: 100%; background: var(--card); border-radius: 18px 18px 0 0; padding: 8px 8px calc(var(--nav-h) + 8px + env(safe-area-inset-bottom));
}
.sheet-item { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 16px; font-size: .95rem; min-height: 52px; color: var(--text); }

@media (min-width: 900px) {
  .bottomnav, .sheet { display: none !important; }
  .sidenav {
    display: flex; flex-direction: column; gap: 2px; position: fixed; top: 64px; left: 0; bottom: 0; width: 210px;
    padding: 16px 10px; border-right: 1px solid var(--line); background: var(--card);
  }
  .sidenav .nav-item { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; font-size: .9rem; color: var(--text); }
  .sidenav .nav-item:hover { background: var(--bg-2); }
  .sidenav .nav-item.active { background: var(--accent-soft); color: var(--accent); }
  .nav-sep { height: 1px; background: var(--line); margin: 10px 6px; }
  main#view { margin-left: 210px; padding: 24px 28px 48px; max-width: none; }
  .page { max-width: 1120px; margin: 0 auto; }
}

/* ---------- Cards & Layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.card.ok-card { background: var(--good-soft); border-color: transparent; }
.card.error { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grid-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.two-col { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hero h1 { font-size: 1.6rem; }
.stats-row { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--text);
  display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow);
}
.stat:hover { text-decoration: none; border-color: var(--accent); }
.stat span { font-size: .75rem; color: var(--muted); }
.stat b { font-size: 1.5rem; }
.stat small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.stat-warn { border-color: var(--warn); }
.stat-warn b { color: var(--warn); }
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr 1fr; } .stats-row .stat:last-child { grid-column: span 2; } }
.info-row { display: flex; gap: 24px; flex-wrap: wrap; }
.info-row > div { display: flex; flex-direction: column; gap: 2px; }
.info-row b { font-size: 1.05rem; display: flex; gap: 4px; flex-wrap: wrap; }

/* ---------- League card ---------- */
.league-card { display: flex; flex-direction: column; gap: 12px; }
.league-card.has-issues { border-left: 4px solid var(--warn); }
.lc-head { display: flex; align-items: center; gap: 10px; }
.lc-title { flex: 1; min-width: 0; }
.lc-title h3 { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-rank { text-align: right; display: flex; flex-direction: column; }
.lc-rank b { font-size: 1.3rem; }
.lc-rank span { font-size: .78rem; color: var(--muted); }
.lc-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.tag { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.tag-plain { background: transparent; border: 1px solid var(--line); font-weight: 600; }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-hot { background: var(--bad-soft); color: var(--bad); }
.tag-good { background: var(--good-soft); color: var(--good); }

.vs { display: flex; align-items: center; gap: 8px; }
.vs-team { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.vs-team span { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-team b { font-size: 1.25rem; margin-left: auto; }
.vs-team.right { justify-content: flex-end; }
.vs-team.right b { margin-left: 0; margin-right: auto; }
.vs-sep { color: var(--muted); font-size: .75rem; }
.mu-line { display: flex; justify-content: space-between; font-size: .9rem; }
.prob-bar { height: 8px; border-radius: 99px; background: var(--bad-soft); overflow: hidden; }
.prob-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; }
.prob-lbl { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.issues { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
.issues li { padding: 6px 10px; border-radius: 8px; background: var(--bg-2); }
.issues li.lvl-3 { background: var(--bad-soft); color: var(--bad); }
.issues li.lvl-2 { background: var(--warn-soft); color: var(--warn); }

/* ---------- Avatare ---------- */
.av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-2); }
.av.lg { width: 52px; height: 52px; }
.av-empty { display: inline-block; }
.team-cell { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons & Formulare ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); font: 600 .9rem var(--font); cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 7px 12px; font-size: .82rem; }
.btn.xs { padding: 4px 8px; font-size: .74rem; border-radius: 7px; }
input, select {
  font: inherit; color: var(--text); background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
input.sm { padding: 6px 10px; font-size: .85rem; }
label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; color: var(--muted); font-weight: 600; }
label input, label select { color: var(--text); font-weight: 400; font-size: .95rem; }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-weight: 500; cursor: pointer; }
label.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.picker { flex-direction: row; align-items: center; gap: 8px; }
.picker select { max-width: 70vw; font-weight: 600; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline input { flex: 1; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.form-grid .span2 { grid-column: span 2; }
@media (max-width: 560px) { .form-grid .span2 { grid-column: 1 / -1; } }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 5px 10px; border-radius: 8px; font: 600 .8rem var(--font); color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Spieler ---------- */
.pos {
  display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 5px; border-radius: 6px;
  font-size: .66rem; font-weight: 800; color: #fff; letter-spacing: .02em; flex: none;
}
.pos-QB { background: var(--qb); } .pos-RB { background: var(--rb); } .pos-WR { background: var(--wr); }
.pos-TE { background: var(--te); } .pos-K { background: var(--k); } .pos-DEF { background: var(--def); }
.pos.slot { background: var(--bg-2); color: var(--muted); }
.inj { display: inline-grid; place-items: center; padding: 0 5px; height: 18px; border-radius: 5px; font-size: .64rem; font-weight: 800; flex: none; }
.inj-q { background: var(--warn-soft); color: var(--warn); }
.inj-d { background: var(--warn); color: #fff; }
.inj-o { background: var(--bad); color: #fff; }
.mu { font-size: .66rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; }
.mu.big { font-size: .85rem; padding: 4px 10px; border-radius: 8px; }
.mu-great { background: var(--good); color: #fff; } .mu-good { background: var(--good-soft); color: var(--good); }
.mu-mid { background: var(--bg-2); color: var(--muted); } .mu-meh { background: var(--warn-soft); color: var(--warn); }
.mu-bad { background: var(--bad-soft); color: var(--bad); } .mu-na { color: var(--muted); }
.pl { min-width: 0; }
.pl-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pl-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pl-sub { font-size: .76rem; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; align-items: center; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.plist li:last-child { border-bottom: 0; }
.plist.compact li { padding: 6px 0; }
.plist li.dim { opacity: .5; }

/* ---------- Tabellen ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th[data-sort] { cursor: pointer; user-select: none; }
.tbl th[data-dir="desc"]::after { content: " ▼"; } .tbl th[data-dir="asc"]::after { content: " ▲"; }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.mine td { background: var(--accent-soft); }
.tbl tr.changed td { background: var(--good-soft); }
.tbl tr.gone { opacity: .4; }
.tbl.compact td, .tbl.compact th { padding: 6px 8px; }
.tbl .was { font-size: .74rem; color: var(--muted); text-decoration: line-through; margin-top: 2px; }
.tbl.lineup td:first-child { width: 48px; }
.tbl.lineup td:nth-child(3) { width: 150px; }
.tier-sep td { background: var(--bg-2); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 8px; }
.proj { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; min-width: 120px; }
.proj b { font-size: 1rem; }
.proj-fc { grid-column: 1 / -1; font-size: .7rem; color: var(--muted); }
.range { position: relative; height: 6px; border-radius: 99px; background: var(--bg-2); }
.range-band { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 99px; }
.range-dot { position: absolute; top: -2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); border: 2px solid var(--card); }
.score { display: inline-block; width: 44px; height: 6px; border-radius: 99px; background: var(--bg-2); vertical-align: middle; margin-right: 6px; overflow: hidden; }
.score span { display: block; height: 100%; background: var(--accent); }
.heat td:not(:first-child) { text-align: center; font-weight: 700; width: 56px; }
.hm-1 { background: color-mix(in srgb, var(--good) 45%, transparent); }
.hm-2 { background: color-mix(in srgb, var(--good) 22%, transparent); }
.hm-3 { background: var(--bg-2); }
.hm-4 { background: color-mix(in srgb, var(--bad) 20%, transparent); }
.hm-5 { background: color-mix(in srgb, var(--bad) 40%, transparent); }
@media (max-width: 700px) {
  .hide-sm { display: none; }
  .proj { min-width: 92px; }
  .tbl.lineup td:nth-child(3) { width: 100px; }
  .tbl td { padding: 7px 5px; }
  .pl-name { max-width: 150px; }
}

/* ---------- Start/Sit ---------- */
.gain { color: var(--good); font-size: 1.2rem; }
.swaps { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.swaps li { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); }
.swap-in, .swap-out { display: flex; align-items: center; gap: 8px; }
.swap-in { color: var(--good); } .swap-out { color: var(--bad); }
.swap-in .pl, .swap-out .pl { flex: 1; color: var(--text); }
details.opp { margin-top: 12px; }
details.opp summary { cursor: pointer; font-size: .85rem; color: var(--accent); font-weight: 600; }
.compare-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.cmp-out { margin-top: 12px; }
.cmp-verdict { margin-bottom: 8px; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cmp-col { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--card-2); }
.cmp-col.win { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.cmp-name { display: flex; gap: 6px; align-items: center; font-weight: 700; flex-wrap: wrap; }
.cmp-big { font-size: 1.8rem; font-weight: 800; margin: 6px 0; }
.cmp-col dl { display: grid; grid-template-columns: auto auto; gap: 4px 10px; margin: 0; font-size: .8rem; }
.cmp-col dt { color: var(--muted); } .cmp-col dd { margin: 0; text-align: right; }

/* ---------- Draft ---------- */
.draft-layout { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .draft-layout { grid-template-columns: 1fr 300px; } .myteam { position: sticky; top: 80px; align-self: start; } }
.draft-tbl tr.mine td { background: var(--accent-soft); }
.actions { white-space: nowrap; text-align: right; }
.actions .btn + .btn { margin-left: 4px; }
.grade { display: inline-grid; place-items: center; width: 32px; height: 24px; border-radius: 7px; font-weight: 800; font-size: .8rem; }
.g-Ap { background: var(--good); color: #fff; } .g-A { background: color-mix(in srgb, var(--good) 70%, transparent); color: #fff; }
.g-Bp { background: var(--good-soft); color: var(--good); } .g-B { background: var(--accent-soft); color: var(--accent); }
.g-Cp { background: var(--warn-soft); color: var(--warn); } .g-C { background: var(--bg-2); color: var(--muted); }
.g-D, .g-– { background: var(--bg-2); color: var(--muted); }
.total { margin-top: 8px; text-align: right; }

/* ---------- Trade ---------- */
.trade-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
@media (max-width: 640px) { .trade-cols { grid-template-columns: 1fr; } }
.pick-list { max-height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.pick-item { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; cursor: pointer; }
.pick-item:last-child { border-bottom: 0; }
.pick-item.on { background: var(--accent-soft); }
.pick-item input { accent-color: var(--accent); }
.picks-row { margin-top: 12px; }
.trade-summary { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.trade-summary > div { display: flex; flex-direction: column; }
.trade-summary b { font-size: 1.4rem; }
.trade-summary .right { text-align: right; }
.trade-diff { font-size: 1.4rem; font-weight: 800; text-align: center; }
.ideas { list-style: none; margin: 0; padding: 0; }
.ideas li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ideas li:last-child { border-bottom: 0; }
.ideas .btn { margin-left: 8px; }

/* ---------- Verletzungen ---------- */
.inj-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inj-list > li { padding: 12px; border-radius: 12px; background: var(--card-2); border-left: 4px solid var(--line); }
.inj-list > li.sev-1 { border-left-color: var(--warn-soft); }
.inj-list > li.sev-2 { border-left-color: var(--warn); }
.inj-list > li.sev-3, .inj-list > li.sev-4 { border-left-color: var(--bad); }
.inj-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inj-leagues { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
.inj-leagues li { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.steps { padding-left: 20px; }
.steps li { margin: 4px 0; }

/* ---------- Diverses ---------- */
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; color: var(--muted); padding: 24px; }
.src-note { text-align: center; }
.src-list { padding-left: 18px; }
.boot { padding: 40px 16px; max-width: 600px; margin: 0 auto; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: .88rem; opacity: 0; transition: .25s; z-index: 50; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--good); color: #fff; }
.toast.err { background: var(--bad); color: #fff; }
.link { font-size: .85rem; font-weight: 600; }

.onboard { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 20% -10%, #1b4d3a, transparent), linear-gradient(160deg, var(--head-1), var(--head-2)); }
.onboard-card { width: 100%; max-width: 420px; background: var(--card); border-radius: 20px; padding: 28px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 14px; }
.onboard-card .brand { color: var(--text); }
.onboard-card .lead { color: var(--muted); }
.onboard-card form { display: flex; flex-direction: column; gap: 12px; }

@media print {
  .topbar, .sidenav, .bottomnav, .no-print, .src-note { display: none !important; }
  main#view { margin: 0; padding: 0; }
  body { background: #fff; color: #000; font-size: 11px; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .tbl td, .tbl th { padding: 3px 5px; }
  .hide-sm { display: table-cell !important; }
  .tbl tr.gone { display: none; }
}
