@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-var.woff?v=8') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --teal: #1E4B57;
  --teal-deep: #143640;
  --green: #12B886;
  --green-deep: #0C8F68;
  --red: #E03131;
  --yellow: #F5C518;
  --bg: #F3F6F5;
  --card: #FFFFFF;
  --ink: #15262B;
  --muted: #5F7378;
  --line: #DCE5E3;
  --soft: #EAF1EF;
  --shadow: 0 1px 2px rgba(20, 54, 64, .06), 0 8px 24px rgba(20, 54, 64, .08);
  --on-strong: #FFFFFF;
  --on-strong-dim: rgba(255,255,255,.75);
  --on-green: #FFFFFF;
  --mark-filter: none;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #7FC4D2;
    --teal-deep: #0E2328;
    --green: #2BD09E;
    --green-deep: #1FAE83;
    --bg: #0C1719;
    --card: #132225;
    --ink: #E8F1EF;
    --muted: #94AAAE;
    --line: #24393D;
    --soft: #1A2D31;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --on-strong: #0C1719;
    --on-strong-dim: rgba(0,0,0,.6);
    --on-green: #062019;
    --mark-filter: brightness(0) invert(.85) sepia(.3) hue-rotate(140deg);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --teal: #7FC4D2;
    --teal-deep: #0E2328;
    --green: #2BD09E;
    --green-deep: #1FAE83;
    --bg: #0C1719;
    --card: #132225;
    --ink: #E8F1EF;
    --muted: #94AAAE;
    --line: #24393D;
    --soft: #1A2D31;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --on-strong: #0C1719;
    --on-strong-dim: rgba(0,0,0,.6);
    --on-green: #062019;
    --mark-filter: brightness(0) invert(.85) sepia(.3) hue-rotate(140deg);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
a { color: var(--green-deep); }
h2 { font-size: 1.55rem; line-height: 1.15; margin: .1rem 0 .9rem; letter-spacing: -.01em; color: var(--teal); }
h3 { margin: 0; font-size: 1.15rem; }
h4 { margin: 0 0 .4rem; color: var(--teal); }

/* header */
/* pinned header: full-width bar that stays at the top while scrolling */
.top-wrap {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .2s, border-color .2s;
  border-bottom: 1px solid transparent;
}
.top-wrap.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 14px rgba(20, 54, 64, .06); }
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 560px; width: 100%; margin: 0 auto; padding: 10px 16px 8px;
}
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.brand img { height: 42px; width: auto; filter: var(--mark-filter); }
.brand-name { display: block; font-weight: 800; font-size: 1.35rem; color: var(--teal); letter-spacing: -.01em; line-height: 1.05; }
.brand-tag { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-weight: 700; color: var(--teal); cursor: pointer; box-shadow: var(--shadow);
}

main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 16px 24px; }
.loading { text-align: center; color: var(--muted); padding: 3rem 0; }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 18px; border-top: 5px solid var(--green);
}
.eyebrow {
  display: inline-block; margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep); background: color-mix(in srgb, var(--green) 14%, transparent); padding: 3px 10px; border-radius: 999px;
}
.hint { color: var(--muted); font-size: .9rem; margin: .3rem 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.error { color: var(--red); font-weight: 600; margin: .4rem 0; }

/* setup */
.field { display: block; margin: 0 0 14px; }
.label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--soft); padding: 5px; border-radius: 14px; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg-btn { border: 0; background: transparent; padding: 10px 8px; border-radius: 10px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg-btn.on { background: var(--teal); color: var(--on-strong); box-shadow: 0 2px 6px rgba(20,54,64,.25); }
.seg-btn.num { font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .names { grid-template-columns: 1fr; } }
.text {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
  font-size: 1.05rem; outline: none; transition: border-color .15s;
}
.text:focus { border-color: var(--green); }
.season-range { display: flex; align-items: center; gap: 8px; }
.season-range select { flex: 1; padding: 11px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); }
.season-range span { color: var(--muted); }

.btn { border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 700; cursor: pointer; transition: transform .08s, background .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--green); color: var(--on-green); }
.btn.primary:hover:not(:disabled) { background: var(--green-deep); }
.btn.big { width: 100%; padding: 15px; font-size: 1.1rem; margin-top: 6px; }
.btn.ghost { background: var(--soft); color: var(--teal); }
.btn.danger { background: var(--red); color: #fff; }
.btn.link { background: none; color: var(--muted); width: 100%; margin-top: 6px; font-weight: 600; }

/* scoreboard */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.board.solo { grid-template-columns: 1fr; }
.pl {
  background: var(--teal-deep); color: #fff; border-radius: 16px; padding: 12px 14px; text-align: center;
  opacity: .62; transition: opacity .2s, transform .2s; position: relative; overflow: hidden;
}
.pl.active { opacity: 1; box-shadow: 0 0 0 3px var(--green), var(--shadow); }
.pl-name { font-weight: 600; font-size: .95rem; display: flex; justify-content: center; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legs { background: var(--green); color: #062019; border-radius: 6px; font-size: .75rem; font-weight: 800; padding: 0 6px; }
.pl-score { font-size: 3rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pl-sub { font-size: .75rem; opacity: .7; }
.pulse { animation: pulse .6s ease; }
@keyframes pulse { 0% { transform: scale(1); color: #fff; } 35% { transform: scale(1.14); color: var(--yellow); } 100% { transform: scale(1); color: #fff; } }

/* match */
.match { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; text-align: center; background: var(--soft); margin-bottom: 14px; }
.match-meta { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 8px 0 4px; }
.team { font-weight: 800; font-size: 1.15rem; color: var(--teal); line-height: 1.15; }
.teams .team:first-child { text-align: right; }
.teams .team:last-child { text-align: left; }
.vs { font-weight: 700; color: var(--muted); font-size: .9rem; }
.match-date { font-size: .88rem; color: var(--muted); }

/* handover */
.handover { text-align: center; }
.handover .match { margin-top: 12px; }
.prev { background: var(--soft); border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; }

/* play */
.turn-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.darts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.dart { border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 6px; text-align: center; min-height: 58px; display: flex; flex-direction: column; justify-content: center; }
.dart.next { border-color: var(--green); border-style: solid; }
.dart.hit { background: color-mix(in srgb, var(--green) 16%, transparent); border: 1.5px solid var(--green); }
.dart.miss { background: color-mix(in srgb, var(--red) 9%, transparent); border: 1.5px solid color-mix(in srgb, var(--red) 40%, transparent); }
.dart-n { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dart-v { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dart.hit .dart-v { color: var(--green-deep); }
.dart.miss .dart-v { color: var(--red); }
.result { border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; font-weight: 600; }
.result.ok { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green-deep); }
.result.bad { background: color-mix(in srgb, var(--red) 9%, transparent); color: var(--red); }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
@media (max-width: 420px) { .chips { grid-template-columns: repeat(3, 1fr); } }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 4px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 1px; transition: border-color .12s, background .12s;
}
.chip-i { font-size: 1.15rem; }
.chip-l { font-size: .78rem; font-weight: 700; }
.chip-p { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.chip.on { border-color: var(--teal); background: var(--teal); color: var(--on-strong); }
.chip.on .chip-p { color: var(--on-strong-dim); }
.answer { margin-bottom: 4px; }
.scoreline { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 4px; }
.scoreline label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); text-align: center; }
.scoreline input { width: 100%; text-align: center; font-size: 1.6rem; font-weight: 800; padding: 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); }
.scoreline input:focus { outline: none; border-color: var(--green); }
.dash { font-size: 1.6rem; font-weight: 800; color: var(--muted); padding-bottom: 8px; }
.play-foot { display: flex; gap: 8px; margin-top: 14px; }
.play-foot .btn { flex: 1; font-size: .9rem; }

/* modal */
#modal[hidden] { display: none; }
.overlay { position: fixed; inset: 0; background: rgba(8, 22, 26, .55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; animation: fade .15s; }
@media (min-width: 600px) { .overlay { align-items: center; } }
.sheet {
  background: var(--card); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); animation: up .2s ease;
}
@media (min-width: 600px) { .sheet { border-radius: 22px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: .5; } }
.row { display: flex; gap: 10px; margin-top: 12px; }
.row .btn { flex: 1; padding: 14px; }
.big-score { font-size: 3.4rem; font-weight: 800; color: var(--green-deep); margin: 0; font-variant-numeric: tabular-nums; }
.legs-line { font-size: 1.05rem; }
.rules { padding-left: 1.2rem; margin: 0 0 10px; }
.rules li { margin-bottom: .6rem; }
.tiers { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .95rem; }
.tiers td { padding: 5px 2px; border-bottom: 1px solid var(--line); }
.tiers td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal); }
.key-score { text-align: center; font-size: 1.15rem; font-weight: 700; }
.key-score b { font-size: 1.5rem; margin: 0 .3rem; color: var(--teal); }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
@media (max-width: 480px) { .key-grid { grid-template-columns: 1fr; } }
.key-col { background: var(--soft); border-radius: 12px; padding: 12px; font-size: .9rem; }
.key-col p { margin: 0 0 .45rem; }
.key-col .k { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 10px 16px 22px; }
.foot p { margin: .2rem 0; }

.clubs { display: grid; gap: 8px; }
.clubs select { width: 100%; padding: 11px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.top-actions { display: flex; gap: 8px; }
.icon-btn { font-size: 1.05rem; line-height: 1; }
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: .5rem !important; }
.social { gap: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--teal); font-weight: 600; text-decoration: none; }
.social a svg { width: 19px; height: 19px; }
.social a:hover { border-color: var(--teal); }
.share-site-row { display: flex; justify-content: center; margin-bottom: .6rem !important; }
.share-site { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #12B886; color: #fff; font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; box-shadow: var(--shadow); }
.share-site svg { width: 18px; height: 18px; }
.share-site:hover { filter: brightness(1.05); }


/* game picker */
.hub h2 { margin-bottom: .8rem; }
.games { display: grid; gap: 12px; }
.game-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer;
  box-shadow: var(--shadow); transition: border-color .15s, transform .1s;
}
.game-card:hover { border-color: var(--green); }
.game-card:active { transform: scale(.99); }
.game-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; background: var(--soft); }
.game-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.game-title { font-weight: 800; font-size: 1.15rem; color: var(--teal); }
.game-blurb { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.game-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.game-tags span { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); background: color-mix(in srgb, var(--green) 13%, transparent); padding: 2px 8px; border-radius: 999px; }
.game-go { font-size: 1.8rem; color: var(--muted); font-weight: 300; }
.back { background: none; border: 0; color: var(--muted); font-weight: 600; padding: 0 0 8px; cursor: pointer; }
.gamebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.gamebar .back { padding: 6px 0; font-size: .9rem; }
.gamebar .back:hover { color: var(--teal); }
.gamebar-t { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reroll-row { display: flex; justify-content: flex-end; margin: -4px 0 10px; }
.reroll { background: none; border: 1px solid var(--line, color-mix(in srgb, var(--muted) 35%, transparent)); color: var(--muted); font: inherit; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.reroll:hover { color: var(--teal); border-color: var(--teal); }
.setup-blurb { margin: -.4rem 0 1rem; }
.seg.count { grid-template-columns: repeat(4, 1fr); }
.seg.count.c3 { grid-template-columns: repeat(3, 1fr); }
.seg.count.c2 { grid-template-columns: repeat(2, 1fr); }
.names.n1 { grid-template-columns: 1fr; }

/* scoreboard extras */
.board.many .pl-score { font-size: 2.3rem; }
.pl.is-out { opacity: .35; }
.pl-lives { font-size: 1.6rem; line-height: 1.6; letter-spacing: 2px; }
.heart.lost { opacity: .5; }
.out-tag { font-weight: 800; letter-spacing: .1em; font-size: 1.3rem; color: var(--red); }
.pl-target { font-size: 1.15rem; font-weight: 800; margin: 6px 0 4px; }
.track { display: flex; justify-content: center; gap: 5px; margin-bottom: 4px; }
.track span { width: 16px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.track span.done { background: var(--green); }
.track span.now { background: var(--yellow); }
.chips.single { grid-template-columns: 1fr; }
.chips.single .chip { flex-direction: row; justify-content: center; gap: 10px; padding: 12px; }
.chips.single .chip-l { font-size: 1rem; }
.result .extra { display: block; font-weight: 500; margin-top: 2px; }
.victims { display: grid; gap: 10px; margin-top: 6px; }
.victim { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.victim:hover { border-color: var(--red); }
.big-hearts { font-size: 2.2rem; margin: 0; }

/* how it works panel */
.how { background: var(--soft); border-radius: 14px; padding: 12px 14px 8px; margin: 0 0 16px; }
.how-head { display: flex; justify-content: space-between; align-items: center; }
.how-head .label { margin: 0; }
.how-hide { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .8rem; cursor: pointer; padding: 4px 0 4px 8px; }
.how-list { margin: 8px 0 4px; padding-left: 1.1rem; font-size: .93rem; }
.how-list li { margin-bottom: .45rem; }
.how-list .tiers { font-size: .9rem; }
.show-rules { margin: -6px 0 10px; text-align: left; padding-left: 0; width: auto; color: var(--green-deep); }

/* leagues & history */
.league-card .game-icon { background: color-mix(in srgb, var(--yellow) 22%, var(--soft)); }
.leagues h3.sec { margin: 22px 0 8px; font-size: 1rem; color: var(--teal); }
.league-list, .results { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.league-row { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); cursor: pointer; }
.league-row:hover { border-color: var(--green); }
.lr-name { font-weight: 800; color: var(--teal); font-size: 1.05rem; }
.lr-meta { grid-row: 2; font-size: .85rem; color: var(--muted); }
.league-row .game-go { grid-row: 1 / span 2; grid-column: 2; }
.new-league { display: grid; gap: 8px; margin: 6px 0 4px; }
.new-league .row { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 4px 0 12px; }
.ltable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.ltable th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 1.5px solid var(--line); text-align: center; }
.ltable td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.ltable .l { text-align: left; }
.ltable tbody tr:first-child td { background: color-mix(in srgb, var(--green) 9%, transparent); }
.form { white-space: nowrap; }
.f { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-size: .65rem; font-weight: 800; margin-right: 2px; color: #fff; background: var(--muted); }
.f.W { background: var(--green-deep); }
.f.L { background: color-mix(in srgb, var(--red) 75%, var(--muted)); }
.res { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.res-icon { font-size: 1.2rem; }
.res-body { display: flex; flex-direction: column; min-width: 0; }
.res-who { font-size: .95rem; overflow-wrap: anywhere; }
.res-meta { font-size: .78rem; color: var(--muted); }
.res-win { font-size: .8rem; font-weight: 700; color: var(--green-deep); white-space: nowrap; }
.h2h-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.h2h-pick select { width: 100%; padding: 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); min-width: 0; }
.h2h-pick span { color: var(--muted); font-weight: 700; }
.h2h-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; margin: 12px 0 4px; padding: 14px 8px; border-radius: 14px; background: var(--teal-deep); color: #fff; }
.h2h-n { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.h2h-l { display: block; font-size: .85rem; opacity: .85; margin-top: 4px; overflow-wrap: anywhere; }
.h2h-mid { font-size: .75rem; opacity: .7; padding: 0 6px; }
.league-tools { margin-top: 18px; }
.row.wrap { flex-wrap: wrap; }
.row.wrap .btn { flex: 1 1 auto; }
.danger-text { color: var(--red) !important; }
.btn.link.inline { display: inline; width: auto; padding: 0; margin: 0; color: var(--green-deep); text-decoration: underline; }
.hint.small { font-size: .8rem; margin-top: 16px; }
/* footer legal */
.linkish { background: none; border: 0; padding: 0; color: var(--green-deep); text-decoration: underline; cursor: pointer; font-size: inherit; }
.disclaimer { opacity: .8; font-size: .75rem; }
.legal h3 { font-size: 1rem; margin: 16px 0 4px; color: var(--teal); }
.legal p { margin: 0 0 8px; }
#league { width: 100%; padding: 11px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); }

/* Sent Off */
.fouls { display: flex; justify-content: center; gap: 4px; margin: 8px 0 6px; }
.foul { width: 22px; height: 26px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: rgba(255,255,255,.9); }
.foul.yc:not(.on), .foul.rc:not(.on) { opacity: .35; }
.foul.on { background: rgba(224,49,49,.35); border-color: rgba(255,255,255,.5); }
.foul.yc.on { background: var(--yellow); border-color: var(--yellow); }
.foul.rc.on { background: var(--red); border-color: var(--red); }
.board.many .foul { width: 17px; height: 21px; font-size: .62rem; }
.so-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 0 0 14px; padding: 14px 10px; border-radius: 16px; background: var(--teal-deep); color: #fff; text-align: center; }
.so-board.solved { box-shadow: 0 0 0 3px var(--green); }
.so-team { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.so-name { font-size: .78rem; font-weight: 700; opacity: .8; overflow-wrap: anywhere; }
.so-digit { font-size: 3.2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.so-range { font-size: .8rem; font-weight: 700; color: var(--yellow); min-height: 1.1em; }
.so-dash { font-size: 2.2rem; font-weight: 800; opacity: .6; }
.so-guesses { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.so-guesses li { padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: .92rem; }
.so-guesses li.ok { background: color-mix(in srgb, var(--green) 16%, transparent); }
.so-guesses li span { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- Daily Match banner ---------- */
.daily { display: flex; align-items: center; gap: 8px; width: 100%;
  background: linear-gradient(120deg, #143640, #1E4B57); color: #fff; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 11px 14px; margin: 0 0 2px; box-shadow: var(--shadow); }
.daily-i { font-size: 1.35rem; }
.daily-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.daily-t { font-weight: 800; font-size: .98rem; }
.daily-s { font-size: .8rem; opacity: .82; line-height: 1.3; overflow-wrap: anywhere; }
.daily-streak { font-size: .78rem; font-weight: 700; margin-left: 4px; }
.daily-go { font-size: .8rem; font-weight: 800; background: #12B886; color: #fff; padding: 6px 12px; border-radius: 999px; }
.daily.done .daily-go { background: rgba(255,255,255,.16); }
.daily-emoji { text-align: center; font-size: 1.35rem; letter-spacing: 4px; margin: 0 0 4px; }
.big-score.center { text-align: center; margin-bottom: 4px; }

/* six slim dart slots for the Daily Match */
.darts.six { grid-template-columns: repeat(6, 1fr); gap: 6px; }
.darts.six .dart { min-height: 48px; padding: 6px 2px; }
.darts.six .dart-v { font-size: .85rem; }

/* ---------- Easy mode ---------- */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font: inherit; color: inherit; text-align: left;
  background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 2px 0 14px; cursor: pointer; }
.toggle-row .hint { display: block; font-size: .8rem; margin: 1px 0 0; }
.switch { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .2s; }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(16px); }
.chip.none { opacity: .38; cursor: not-allowed; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 8px; cursor: pointer; line-height: 1.2; }
.choice:hover { border-color: var(--teal); }
.choice:active { transform: scale(.98); }

/* ---------- share ---------- */
.share-btn { color: var(--green-deep); }
.row.slim { margin-top: 2px; gap: 0; }
.row.slim .btn { padding: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); transition: opacity .4s; }
.toast.out { opacity: 0; }

/* ---------- add to home screen ---------- */
.install { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 10px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 600; }
.install img { border-radius: 7px; flex: none; }
.install span { flex: 1; line-height: 1.25; }
.install-add { font: inherit; font-weight: 800; background: var(--green); color: var(--on-green); border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.install-x { font: inherit; background: none; border: 0; color: var(--muted); padding: 6px 8px; cursor: pointer; }
.steps { padding-left: 1.2rem; line-height: 1.6; }

/* ---------- wide screens (laptop, PC, iPad landscape). Phones never see this. ---------- */
.match-side { display: none; }
@media (min-width: 900px) {
  .top { max-width: 1120px; padding-left: 32px; padding-right: 32px; }
  main { max-width: 1120px; padding-left: 32px; padding-right: 32px; }

  /* hub: games side by side */
  .games { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .game-card { align-items: flex-start; }
  .game-go { display: none; }

  /* game screens: scores and match on the left, darts on the right */
  .stage { display: grid; grid-template-columns: minmax(300px, 360px) 1fr; column-gap: 28px; align-items: start; }
  .stage > .gamebar { grid-column: 1 / -1; }
  .stage-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
  .stage-side .board { grid-template-columns: 1fr; margin: 0; }
  .stage-side .board.many { grid-template-columns: 1fr 1fr; }
  .match-side { display: block; margin: 0; background: var(--card); box-shadow: var(--shadow); padding: 18px 16px; }
  .match-side .teams { font-size: 1.15rem; }
  .stage > section .match:not(.match-side) { display: none; }
  .stage > section { margin-top: 0; }
  .choices { grid-template-columns: repeat(4, 1fr); }

  /* setup: how it works on the left, the options on the right */
  .setup-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
  .setup-side { position: sticky; top: 88px; }
  .setup-side .setup-blurb { margin-top: 0; }
}
@media (min-width: 900px) {
  .setup-main { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
  .setup-main > * { grid-column: 1 / -1; }
  .setup-main > .f-half { grid-column: auto; }
  .setup-main .season-range select { min-width: 0; }
}

.daily-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.daily-invite { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.daily-invite:hover { background: rgba(255,255,255,.2); }
.gamebar .invite { display: inline-flex; align-items: center; gap: 6px; color: var(--green-deep); font-weight: 700; }

.daily-blurb { display: none; }
@media (min-width: 900px) {
  /* the Daily Match becomes the first tile in the games grid */
  .games .daily { position: relative; align-items: stretch; margin: 0; padding: 18px; border-radius: var(--radius); }
  .games .daily-main { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; align-content: start; }
  .games .daily-i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255,255,255,.1); }
  .games .daily-t { font-size: 1.15rem; padding-right: 40px; }
  .games .daily-s { white-space: normal; font-size: .82rem; margin-top: 2px; }
  .games .daily-blurb { display: block; font-size: .9rem; line-height: 1.35; opacity: .85; margin-top: 6px; }
  .games .daily-go { grid-column: 2; justify-self: start; margin-top: 10px; padding: 7px 18px; }
  .games .daily-invite { position: absolute; top: 16px; right: 16px; }
}

/* share buttons on laptops / PCs */
.share-opts { display: flex; gap: 8px; justify-content: center; margin: 10px 0 2px; animation: fade .15s; }
.so-btn { font: inherit; font-weight: 800; font-size: .9rem; text-decoration: none; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; color: #fff; }
.so-btn.wa { background: #1FA855; }
.so-btn.x { background: #111; }
:root[data-theme="dark"] .so-btn.x { background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.so-btn.copy { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.games > .share-opts, .stage > .share-opts { grid-column: 1 / -1; justify-content: flex-start; margin: -4px 0 4px; }
.row.three-up .btn { padding: 14px 6px; }
.row.three-up .btn.primary { flex: 1.2; }
.btn.story-btn { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #8a3ab9); color: #fff; border: 0; }
.btn.story-btn:hover { filter: brightness(1.05); }

/* back links: same size as before, just easier to spot */
.back { color: var(--green-deep); font-weight: 700; }
.back:hover { color: var(--teal); }
.gamebar .back:hover { color: var(--teal); }

/* pop-ups stay above the phone keyboard */
.overlay { top: var(--vvt, 0); bottom: auto; height: var(--vvh, 100%); }
.sheet { max-height: calc(var(--vvh, 100vh) * .92); }

/* Teams mode */
.teams-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
@media (max-width: 380px) { .teams-setup { grid-template-columns: 1fr; } }
.team-block { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: var(--soft); }
.team-block .field { margin-bottom: 8px; }
.members { display: grid; gap: 6px; }
.text.small { padding: 9px 12px; font-size: .92rem; }
.team-turn { margin: -4px 0 10px; color: var(--muted); font-size: .95rem; }
.team-of { font-size: .78rem; font-weight: 700; color: var(--green-deep); background: color-mix(in srgb, var(--green) 13%, transparent); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }
.member-row { display: flex; gap: 6px; align-items: center; }
.member-row .text { flex: 1; min-width: 0; }
.member-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; font-size: .8rem; }
.add-member { margin-top: 8px; background: none; border: 1.5px dashed var(--line); color: var(--green-deep); font: inherit; font-weight: 700; font-size: .9rem; border-radius: 10px; padding: 8px; width: 100%; cursor: pointer; }
.add-member:hover { border-color: var(--green); }

/* Round the Grounds route */
.route { display: flex; align-items: center; justify-content: space-between; gap: 2px; margin: 4px 0 6px; }
.route .stop { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; min-width: 0; }
.route .si { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: var(--soft); border: 1.5px solid var(--line); opacity: .55; }
.route .sl { font-size: .62rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.route .stop.done .si { background: var(--green); border-color: var(--green); color: #fff; opacity: 1; font-weight: 900; }
.route .stop.now .si { background: var(--card); border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); opacity: 1; }
.route .stop.now .sl { color: var(--teal); }
.route .arrow { color: var(--muted); opacity: .5; font-size: .9rem; margin-top: -16px; }
.route-hint { margin: 0 0 10px; font-size: .8rem; text-align: center; }

/* daily reminder */
.seg.remind { grid-template-columns: repeat(5, 1fr); }
.seg.remind .seg-btn { padding-left: 2px; padding-right: 2px; font-size: .9rem; }
.remind-btns { display: grid; gap: 8px; margin: 6px 0 4px; }
.remind-btns a.btn { display: block; text-align: center; text-decoration: none; padding: 14px; }
.remind-link, .daily-nudge { color: var(--green-deep); }

/* never let a long line in a game tile widen the page (it shifted the whole screen on phones) */
.games > * { min-width: 0; }
.remind-btns a.remind-other { padding: 6px; font-size: .88rem; color: var(--muted); text-decoration: underline; }
@media (min-width: 900px) {
  .games .daily { padding: 16px 18px; }
  .games .daily-blurb { margin-top: 4px; }
  .games .daily-go { margin-top: 8px; padding: 6px 16px; }
}

/* achievements */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.ach { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); opacity: .55; min-width: 0; }
.ach.got { opacity: 1; background: var(--card); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.ach-i { font-size: 1.4rem; line-height: 1.2; }
.ach-n { font-size: .78rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
.ach-d { font-size: .68rem; color: var(--muted); line-height: 1.2; }
.ach-toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 12px;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--green); border-radius: 16px; padding: 10px 18px 10px 12px; box-shadow: var(--shadow); animation: achIn .35s cubic-bezier(.2,.8,.2,1); transition: opacity .4s, transform .4s; }
.ach-toast .ach-i { font-size: 1.8rem; }
.ach-toast small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.ach-toast b { font-size: 1rem; }
.ach-toast.out { opacity: 0; transform: translate(-50%, -12px); }
@keyframes achIn { from { opacity: 0; transform: translate(-50%, -16px) scale(.96); } to { opacity: 1; transform: translateX(-50%); } }

/* play your club */
.club-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 14px; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  background: var(--card); border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; font-size: .92rem; }
.club-line .club-go { flex: none; font-weight: 800; color: var(--green-deep); font-size: .85rem; }
.club-line.on { border: 0; position: relative; background: var(--card); box-shadow: inset 0 0 0 2px var(--c1, var(--teal)), inset 0 0 0 4px var(--c2, var(--line)), var(--shadow); padding-left: 16px; }
.club-line.on::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 14px 0 0 14px; background: linear-gradient(var(--c1) 50%, var(--c2) 50%); }
.club-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 52vh; overflow-y: auto; margin: 10px 0 6px; padding: 2px; }
.club-opt { display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .86rem; text-align: left; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 10px; cursor: pointer; line-height: 1.15; min-width: 0; }
.club-opt .club-sw { flex: none; width: 14px; height: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.club-opt.on { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(90deg, var(--c1, var(--teal)) 50%, var(--c2, var(--teal)) 50%) border-box; }
@media (min-width: 900px) { .club-list { grid-template-columns: 1fr 1fr 1fr; } }

/* tutorials */
.how-actions { display: inline-flex; align-items: center; gap: 12px; }
.how-watch { background: none; border: 0; font: inherit; font-weight: 800; font-size: .82rem; color: var(--green-deep); cursor: pointer; padding: 0; }
.watch-link { color: var(--green-deep); }
.tut-video { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 3 / 4; margin: 4px auto 14px; border-radius: 18px; background: #0e252c; }

/* club colours on the match card */
.match.club-theme { border: 2px solid transparent; background: linear-gradient(var(--soft), var(--soft)) padding-box, linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%) border-box; }

/* preferred club box picks up the club's colours */
.clubs.club-theme select { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%) border-box; }
@media (min-width: 900px) { .match-side.club-theme { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%) border-box; } }

/* club colours: light / dark theme pairs */
[style*="--l1"] { --c1: var(--l1); --c2: var(--l2); }
:root[data-theme="dark"] [style*="--l1"] { --c1: var(--d1); --c2: var(--d2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [style*="--l1"] { --c1: var(--d1); --c2: var(--d2); } }
/* club box: no extra green ring when clicked — a soft glow in the club colour instead */
.clubs.club-theme select:focus, .clubs.club-theme select:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 18%, transparent); }
/* native dropdown lists follow the theme (keyboard users on laptop still get them) */
select option { background: var(--card); color: var(--ink); }
/* challenge a mate */
.vs-game { margin: -2px 0 4px; color: var(--muted); }
.vs-name { display: block; margin: 10px 0 2px; text-align: left; }
.vs-name .text { width: 100%; }
.vs-result { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 10px; margin: 12px 0 4px; padding: 10px 14px; border-radius: 14px; background: var(--soft); border: 1.5px solid var(--line); font-size: .95rem; }
.vs-result span:first-child { text-align: right; }
.vs-result span:nth-child(3) { text-align: left; }
.vs-result b { font-size: 1.25rem; margin-left: 4px; }
.vs-result .vs-v { color: var(--muted); font-weight: 800; font-size: .8rem; text-transform: uppercase; }
.vs-result small { grid-column: 1 / -1; text-align: center; font-weight: 800; font-size: .9rem; color: var(--ink); }
.vs-result.won { border-color: var(--green); }
.vs-result.won small { color: var(--green-deep, var(--green)); }
/* only two categories on offer (Killer, before you're armed): two roomy buttons that fill the row */
.chips.two { grid-template-columns: 1fr 1fr; gap: 10px; }
.chips.two .chip { padding: 16px 10px 14px; gap: 4px; border-radius: 16px; }
.chips.two .chip-i { font-size: 1.7rem; }
.chips.two .chip-l { font-size: 1.05rem; }
.chips.two .chip-p { font-size: .8rem; color: var(--green-deep); font-weight: 700; }
.chips.two .chip.on .chip-p { color: var(--on-strong-dim); }

.wipe-list { text-align: left; margin: .4rem 0 .6rem; padding-left: 1.2rem; line-height: 1.7; }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: .6rem; }

.reroll-row { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.prev-key { margin-right: auto; background: none; border: 0; padding: 6px 2px; color: var(--teal); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.prev-key:hover { text-decoration: underline; }
.got { color: #12a37a; font-weight: 800; }

/* 180 rule */
.dart.next.gold { border: 2px solid #F5C518 !important; box-shadow: 0 0 0 4px rgba(245,197,24,.22); background: rgba(245,197,24,.1) !important; }
.dart.next.gold .dart-n { color: #a87f00; font-weight: 800; }
.chip.gold { border-color: #F5C518 !important; background: rgba(245,197,24,.08); }
.chip.gold .chip-p { color: #a87f00; font-weight: 800; }
.on180 { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(135deg,#F5C518,#ffdf5e); color: #2a2100; box-shadow: 0 6px 18px rgba(245,197,24,.3); animation: pop180 .35s ease-out; }
.on180 .o-i { font-size: 1.4rem; }
.on180 b { font-size: 1.15rem; display: block; }
.on180 small { display: block; font-weight: 600; opacity: .8; font-size: .85rem; }
@keyframes pop180 { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
[data-theme="dark"] .dart.next.gold .dart-n, [data-theme="dark"] .chip.gold .chip-p { color: #F5C518; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dart.next.gold .dart-n, :root:not([data-theme="light"]) .chip.gold .chip-p { color: #F5C518; } }
.celeb180 { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: rgba(10,30,36,.96); opacity: 0; transition: opacity .25s; pointer-events: none; padding: 20px; }
.celeb180.in { opacity: 1; } .celeb180.out { opacity: 0; transition: opacity .45s; }
.celeb180 .c-n { font-size: clamp(110px, 32vw, 180px); font-weight: 900; letter-spacing: -.04em; line-height: .9; background: linear-gradient(180deg,#ffe680,#F5C518 60%,#d49b00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(245,197,24,.45)); transform: scale(.6); transition: transform .45s cubic-bezier(.2,1.6,.4,1); }
.celeb180.in .c-n { transform: scale(1); }
.celeb180 .c-t { font-size: 1.6rem; font-weight: 800; margin-top: 10px; text-transform: uppercase; }
.celeb180 .c-d { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.celeb180 .c-d span { background: rgba(245,197,24,.18); border: 1.5px solid #F5C518; border-radius: 12px; padding: 6px 12px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .celeb180 .c-n { transition: none; transform: none; } .on180 { animation: none; } }
/* Hard mode timer */
.dart-timer { position: relative; height: 22px; margin: -2px 0 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dart-timer .dt-bar { position: absolute; inset: 0 auto 0 0; width: 100%; background: #2BD09E; border-radius: 999px; transition: width .2s linear, background .3s; }
.dart-timer.low .dt-bar { background: #e5484d; }
.dart-timer .dt-n { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: .8rem; font-weight: 800; color: inherit; }
.dart-timer.low .dt-n { color: #e5484d; }

/* Daily leaderboard card */
.daily-board { margin: 12px 0 4px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.daily-board .b-head { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.daily-board .b-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.daily-board .b-row:first-of-type { border-top: 0; }
.daily-board .b-row b small { font-weight: 600; opacity: .7; }
.daily-board .b-cc { justify-content: space-around; font-weight: 700; }

.diff-hint { margin-top: 6px !important; }

/* First-game tip (The Classic) */
.coach { position: relative; margin: 0 0 12px; padding: 11px 36px 11px 14px; border-radius: 14px; background: rgba(43,208,158,.12); border: 1px solid rgba(43,208,158,.45); font-size: .92rem; line-height: 1.4; }
.coach > span { display: block; margin-top: 4px; opacity: .85; font-size: .86rem; }
.coach-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .6; cursor: pointer; font-size: .9rem; }
.coach-x:hover { opacity: 1; }
.chip { position: relative; }
.chip-tag { position: absolute; top: -9px; right: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.15); font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #2BD09E; color: #06251c; padding: 2px 6px; border-radius: 999px; }

.seg-btn { position: relative; }
.seg-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #2BD09E; color: #06251c; padding: 2px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }

/* Pundit's clue */
.clue-btn { display: block; margin: 8px 0 2px auto; background: none; border: 0; padding: 4px 2px; color: var(--teal); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.clue-btn span { font-weight: 500; opacity: .7; font-size: .8rem; }
.clue { margin: 0 0 10px; padding: 10px 13px; border-radius: 12px; background: rgba(245,197,24,.14); border: 1px solid rgba(245,197,24,.5); font-size: .92rem; line-height: 1.4; animation: pop180 .3s ease-out; }

/* First-visit welcome card */
.welcome { position: relative; margin: 0 0 18px; padding: 18px 44px 16px 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(43,208,158,.16), rgba(43,208,158,.05)); border: 1px solid rgba(43,208,158,.45); animation: pop180 .35s ease-out; }
.welcome h3 { margin: 0 0 6px; font-size: 1.2rem; }
.welcome p { margin: 0; line-height: 1.45; }
.welcome ul { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; }
.welcome li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.welcome li span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
.welcome .welcome-small { font-size: .85rem; opacity: .75; }
.welcome-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .6; font-size: 1rem; cursor: pointer; }
.welcome-x:hover { opacity: 1; background: rgba(0,0,0,.06); }

/* Quick game + Daily extras + Past Dailies */
.quick { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1.5px dashed rgba(43,208,158,.6); background: rgba(43,208,158,.08); color: inherit; font: inherit; cursor: pointer; }
.quick:hover { background: rgba(43,208,158,.14); }
.quick-i { font-size: 1.5rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #2BD09E; }
.quick-b { flex: 1; } .quick-b b { display: block; font-size: 1.05rem; } .quick-b small { opacity: .75; }
.daily-extra { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: -4px 4px 4px; font-size: .85rem; min-height: 22px; }
.daily-top { opacity: .85; }
.past-link { background: none; border: 0; padding: 4px 2px; color: var(--teal); font: inherit; font-weight: 700; cursor: pointer; }
.past-list { display: grid; gap: 8px; margin: 12px 0; max-height: 50vh; overflow: auto; }
.past-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: inherit; font: inherit; cursor: pointer; text-align: left; }
.past-row small { display: block; opacity: .7; font-size: .8rem; }
.past-score { font-weight: 800; color: var(--teal); }

.daily-links { display: flex; gap: 12px; }
.quick-link { display: none; }
@media (min-width: 900px) {
  .games .quick { display: none; }
  .quick-link { display: inline; }
  .daily-cell { display: flex; flex-direction: column; gap: 8px; }
  .daily-cell .daily { flex: 1; }
  .daily-cell .daily-extra { margin: 0 4px; }
}
@media (min-width: 900px) {
  .daily-cell .daily-extra { flex-wrap: wrap; row-gap: 2px; font-size: .82rem; }
  .daily-cell .daily-extra > span:first-child:empty { display: none; }
  .daily-cell .daily-top { white-space: nowrap; }
  .daily-cell .daily-links { white-space: nowrap; margin-left: auto; }
}

.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hub-head h2 { margin-right: auto; }
.quick-pill { flex: none; border: 1.5px solid rgba(43,208,158,.6); background: rgba(43,208,158,.1); color: inherit; font: inherit; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.quick-pill:hover { background: rgba(43,208,158,.2); }


/* follow-us row on end screens, welcome and achievements */
.follow-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px auto 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.follow-row span { margin-right: 2px; }
.follow-row a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--teal); text-decoration: none; }
.follow-row a svg { width: 16px; height: 16px; }
.follow-row a:hover { border-color: var(--teal); }
.welcome .follow-row { justify-content: flex-start; margin-top: 10px; }

/* Spin the Board card on the hub */
a.game-card { text-decoration: none; color: inherit; }
.new-tag { display: inline-block; vertical-align: middle; margin-left: 6px; background: #F5C518; color: #2a2100; font-size: .62rem; font-weight: 900; letter-spacing: .1em; padding: 3px 7px; border-radius: 20px; }

/* Settings → Game order */
.order-list { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 6px; }
.order-list li { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 12px; padding: 6px 6px 6px 12px; }
.ord-n { width: 18px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.ord-i { font-size: 1.15rem; }
.ord-t { flex: 1; font-weight: 700; color: var(--ink); }
.ord-b { width: 38px; height: 34px; border: 1px solid var(--line); background: var(--card); color: var(--teal); border-radius: 10px; font-size: .8rem; cursor: pointer; }
.ord-b:disabled { opacity: .3; cursor: default; }
.ord-b:not(:disabled):active { transform: scale(.94); }

/* achievements button in the header, next to Settings */
.top-actions { display: flex; gap: 8px; align-items: center; }
.ach-btn { position: relative; display: grid; place-items: center; padding: 0; }
.ach-btn svg { width: 22px; height: 22px; }
.ach-eye { fill: var(--green); }
.ach-btn.some { border: 1.5px solid var(--green); }
.ach-btn.gold { background: var(--yellow); border: 1.5px solid #C9A10F; color: #15262B; }
.ach-btn.gold .ach-eye, .ach-logo.gold .ach-eye { fill: currentColor; }
.ach-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ach-head h2 { margin: 0; }
.ach-head .hint { margin: 0; }
.ach-logo { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--teal); display: grid; place-items: center; }
.ach-logo svg { width: 28px; height: 28px; }
.ach-logo.gold { background: var(--yellow); color: #15262B; }
.ach-bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-bottom: 12px; }
.ach-bar span { display: block; height: 100%; background: var(--green); border-radius: 4px; }
/* keep the tagline on one line now the header has three buttons */
.brand-tag { white-space: nowrap; }
@media (max-width: 430px) { .top-actions { gap: 6px; } .brand-tag { letter-spacing: .1em; font-size: .64rem; } .brand-name { font-size: 1.25rem; } }
@media (max-width: 370px) { .top-actions .icon-btn { width: 36px; height: 36px; } .brand img { height: 36px; } .brand { gap: 7px; } }

/* ---------- online leagues ---------- */
.lg-points { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 10px; }
.lg-points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.lg-points li > span:first-child { font-size: 1.2rem; line-height: 1.2; }
.me-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 4px; }
.small-btn { padding: 7px 14px; font-size: .9rem; }
.nick-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; font-weight: 800; background: var(--soft); color: var(--teal); border: 1.5px solid var(--line); max-width: 100%; overflow-wrap: anywhere; }
.nick-chip.clubbed { background: var(--rb); color: var(--rf); border-color: var(--rb); box-shadow: inset 6px 0 0 var(--rs); padding-left: 16px; }
.nick-chip small { font-weight: 600; opacity: .85; }
.lg-form { margin-top: 18px; }
.lg-inline { display: flex; gap: 8px; }
.lg-inline .text { flex: 1; min-width: 0; }
.lg-inline .btn { flex: none; }
.code-in { text-transform: uppercase; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.code-in::placeholder { letter-spacing: .04em; }
.lg-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--soft); border-radius: 14px; padding: 10px 12px; margin: 4px 0 14px; }
.lg-code b { letter-spacing: .06em; color: var(--teal); }
.lg-tabs { margin-bottom: 10px; }
.lg-range { display: flex; gap: 6px; margin: 4px 0 8px; }
.pill-btn { border: 1.5px solid var(--line); background: none; color: var(--muted); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.pill-btn.on { border-color: var(--teal); color: var(--teal); background: var(--soft); }
.lg-table td small { font-weight: 600; opacity: .8; }
.lg-table tbody tr.me td { font-weight: 700; }
.ltable tbody tr.club-row td { background: var(--rb); color: var(--rf); border-bottom: 2px solid var(--card); }
.ltable tbody tr.club-row td:first-child { box-shadow: inset 6px 0 0 var(--rs); border-radius: 10px 0 0 10px; padding-left: 12px; }
.ltable tbody tr.club-row td:last-child { border-radius: 0 10px 10px 0; }
.lg-members { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lg-members li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lg-owner { color: var(--muted); font-size: .8rem; }
.lg-members .linkish { margin-left: auto; font-size: .85rem; color: var(--muted); }
.nick-colour-label { margin-top: 14px; }
.nick-clubs { max-height: 34vh; }
.rec-code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; text-align: center; color: var(--teal); background: var(--soft); border: 2px dashed var(--line); border-radius: 14px; padding: 14px 8px; margin: 8px 0 10px; user-select: all; }
.lg-me-tools { margin-top: 14px; }
.vs-saved { text-align: center; margin-top: 8px; }
.vs-saved .nick-chip { font-size: .85rem; padding-top: 2px; padding-bottom: 2px; }
.lg-nudge { color: var(--green-deep); }

/* home: Daily Match and Leagues side by side, games below */
.hub-pair { display: grid; gap: 12px; min-width: 0; }
.hub-pair > * { min-width: 0; }
.hub-pair .daily { margin: 0; }
.lg-go { display: none; }
@media (max-width: 899px) {
  .hub-pair { gap: 8px; }
  .league-tile { padding: 10px 14px; gap: 12px; }
  .league-tile .game-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 1.25rem; }
  .league-tile .game-title { font-size: 1rem; }
  .league-tile .game-blurb { font-size: .82rem; line-height: 1.3; }
}
@media (min-width: 900px) {
  .games > .hub-pair { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hub-pair .league-tile { height: 100%; padding: 16px 18px; }
  .league-tile .game-icon { width: 52px; height: 52px; font-size: 1.7rem; }
  .league-tile .game-title { font-size: 1.15rem; }
  .lg-go { display: inline-block; align-self: flex-start; margin-top: 8px; padding: 6px 16px; border-radius: 999px; background: var(--teal); color: var(--on-strong); font-weight: 800; font-size: .8rem; }
}

.lg-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.lg-cta .btn { padding: 12px 22px; }
.lg-cta .linkish { color: var(--muted); font-weight: 600; font-size: .92rem; }

.lg-how { margin: 12px 0 14px; }
.lg-how-links { justify-content: flex-start; gap: 16px; }
.lg-how-links .btn { width: auto; flex: none; padding-left: 0; padding-right: 0; }
.nowrap { white-space: nowrap; }

/* ---------- seasons, fixtures, supporters ---------- */
.lg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.lg-actions .btn { flex: 1 1 160px; }
.sup-card { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 16px 0 6px; cursor: pointer; }
.sup-card:hover { border-color: var(--green); }
.sup-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sup-card b { color: var(--teal); }
.sup-card small { color: var(--muted); font-size: .85rem; }
.sup-i { font-size: 1.5rem; }
.fmt-list { display: grid; gap: 8px; margin: 12px 0 6px; }
.fmt { display: flex; gap: 12px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: 14px; padding: 11px 12px; cursor: pointer; }
.fmt.on { border-color: var(--green); background: color-mix(in srgb, var(--green) 9%, var(--card)); }
.fmt-i { font-size: 1.3rem; line-height: 1.2; }
.fmt-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fmt-b b { color: var(--teal); }
.fmt-b small { color: var(--muted); font-size: .84rem; line-height: 1.3; }
.fmt-weeks { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fmt-weeks .pill-btn { padding: 4px 11px; font-size: .8rem; }
.nl-more { margin: 4px 0 10px; }
.nl-more summary { cursor: pointer; color: var(--green-deep); font-weight: 700; font-size: .92rem; padding: 6px 0; }
.nl-more select { width: 100%; margin-top: 4px; }
.lg-sub { color: var(--muted); font-size: .9rem; margin: -2px 0 10px; }
.lg-status { background: var(--soft); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
.lg-status.done { background: color-mix(in srgb, var(--yellow) 18%, var(--soft)); }
.lg-status-t { margin: 0 0 4px; font-weight: 800; color: var(--teal); }
.lg-status-t small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.lg-status .btn { margin-top: 6px; }
.lg-status .linkish { font-size: .88rem; }
.lg-fixture { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 8px 0 2px; }
.lg-fixture > span:last-child { justify-self: end; }
.lg-fixture b { font-size: 1.5rem; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg-fixture .nick-chip, .fx .nick-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.lg-tabs.three { grid-template-columns: repeat(3, 1fr); }
.lg-tabs.three .seg-btn { padding-left: 4px; padding-right: 4px; font-size: .88rem; }
.gw-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; }
.gw-nav > span { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gw-nav small { color: var(--muted); font-size: .8rem; }
.gw-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--teal); font-size: 1.3rem; font-weight: 800; cursor: pointer; }
.gw-btn:disabled { opacity: .35; cursor: default; }
.fx-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.fx { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--soft); }
.fx.mine { box-shadow: inset 0 0 0 2px var(--green); }
.fx-p.r { justify-self: end; }
.fx-s { text-align: center; font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; }
.fx-s.live { color: var(--green-deep); }
.fx-bye { margin: 2px 0; }
.lg-champs { margin-top: 14px; }
.club-dailies { display: grid; gap: 8px; }
.games > .club-dailies { grid-column: 1 / -1; }
@media (min-width: 900px) { .club-dailies { grid-template-columns: 1fr 1fr; } }
.club-daily { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; font: inherit; border: 0; border-radius: 14px; padding: 11px 14px; cursor: pointer; background: var(--rb, var(--teal)); color: var(--rf, #fff); box-shadow: inset 6px 0 0 var(--rs, transparent), var(--shadow); }
.club-daily > span:first-child { display: flex; flex-direction: column; }
.club-daily small { opacity: .85; font-size: .8rem; }
.club-daily-go { font-size: .8rem; font-weight: 800; background: rgba(0,0,0,.18); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.fmt:not(.on) .fmt-weeks { display: none; }
.lg-fixture > span, .fx-p { min-width: 0; overflow: hidden; }
.lg-fixture > span { display: flex; }
.lg-fixture > span:last-child { justify-content: flex-end; }
.fx-p { display: flex; }
.fx-p.r, .lg-fixture > span:last-child { justify-self: stretch; justify-content: flex-end; }
.fx .nick-chip small, .lg-fixture .nick-chip small { display: none; }

/* fixtures: a two-line scoreboard, so full nicknames fit */
.fx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.lg-status .fx { background: var(--card); margin: 8px 0 4px; }
.fx-list li.mine .fx { box-shadow: inset 0 0 0 2px var(--green); }
.fx-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fx-who { min-width: 0; display: flex; }
.fx-who .nick-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.fx-who .nick-chip small { display: inline; }
.fx-pts { font-size: 1.15rem; color: var(--teal); font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; opacity: .75; }
.fx-line.won .fx-pts { opacity: 1; }
.fx-line.won .fx-pts::after { content: ' ✓'; color: var(--green-deep); font-size: .85rem; }
.fx-pts { white-space: nowrap; }

/* nicknames, style C: neutral tags and rows with a small club-colour badge */
.nick-chip, .nick-chip.clubbed { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 9px; border-radius: 999px; font-weight: 800; background: var(--soft); color: var(--ink); border: 0; box-shadow: none; max-width: 100%; }
.nick-chip .nc-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nick-chip small { color: var(--muted); font-weight: 600; opacity: 1; }
.club-dot { flex: none; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%);
  box-shadow: 0 0 0 1.5px var(--c1b, var(--c1)), 0 0 0 3px var(--card), 0 0 0 4px var(--line); }
:root[data-theme="dark"] .club-dot { --c1b: color-mix(in srgb, var(--c1) 65%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .club-dot { --c1b: color-mix(in srgb, var(--c1) 65%, white); } }
.ln-nm { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.ln-nm b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-table tbody tr td { background: none; color: inherit; }
.lg-table tbody tr.me td { background: color-mix(in srgb, var(--green) 9%, transparent); }
.lg-table tbody tr.me td:first-child { border-radius: 10px 0 0 10px; }
.lg-table tbody tr.me td:last-child { border-radius: 0 10px 10px 0; }
.ltable.lg-table tbody tr:first-child td { background: none; }
.ltable.lg-table tbody tr.me:first-child td { background: color-mix(in srgb, var(--green) 9%, transparent); }
.fx .nick-chip, .lg-status .fx .nick-chip, .fx-who .nick-chip { display: inline-flex; background: none; padding: 2px 0; }
.lg-members .nick-chip, .vs-saved .nick-chip, .me-row .nick-chip { background: var(--soft); }
