[hidden] { display: none !important; }
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --font-display: 'Cabinet Grotesk', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);

  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #15161a;
  --muted: #6c707a;
  --line: #d9dbe0;
  --line-strong: #878a94;
  --key: #e3e5ea;
  --key-ink: #15161a;
  --brand: #2b3590;
  --brand-ink: #ffffff;

  --t-common: #8e959e;
  --t-uncommon: #2f9a5c;
  --t-rare: #2a77d6;
  --t-epic: #8549d8;
  --t-legendary: #e0a100;
  --t-miss: #5d6169;
  --good: #2f9a5c;
  --bad: #d4483b;
  --shadow: 0 18px 50px -12px rgb(20 22 40 / .28);
}
[data-theme="dark"] {
  --bg: #121214;
  --surface: #1c1c20;
  --ink: #f1f1f3;
  --muted: #9a9ca5;
  --line: #34353b;
  --line-strong: #5d5f68;
  --key: #46474e;
  --key-ink: #f1f1f3;
  --brand: #6f7cf0;
  --brand-ink: #0e0f1d;
  --t-miss: #3f4148;
  --shadow: 0 18px 50px -12px rgb(0 0 0 / .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.5;
  min-height: 100dvh; display: flex; flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-inner { max-width: 560px; margin: 0 auto; padding: 8px 12px; display: grid; grid-template-columns: 1fr minmax(0, 178px) 1fr; gap: 8px; align-items: center; }
.top-right { display: flex; justify-content: flex-end; gap: 2px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); transition: background .15s; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.brand { margin: 0; display: block; width: min(178px, 100%); min-width: 0; justify-self: center; line-height: 1; }
.brand-logo { display: block; width: 100%; height: auto; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
.site-footer { flex: none; }
.footer-brand { width: 118px; margin: 8px auto 12px; }
.footer-brand:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 4px; }

/* Layout */
.game { width: min(520px, 100% - 24px); margin: 0 auto; flex: 1; display: flex; flex-direction: column; padding-top: 14px; }
.mode-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.modes { display: inline-flex; background: var(--key); border-radius: 999px; padding: 3px; }
.mode { padding: 6px 18px; border-radius: 999px; font-weight: 700; font-size: var(--text-sm); color: var(--muted); transition: background .2s, color .2s; }
.mode.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.meta { margin: 0; font-size: var(--text-xs); color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* Daily word tiles */
.word-zone { text-align: center; margin: 22px 0 14px; }
.word-tiles { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 56px)); justify-content: center; gap: 6px; container-type: inline-size; }
.wtile {
  aspect-ratio: 1; min-width: 0; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); border-radius: 8px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: min(2rem, calc(100cqi / var(--n, 5) * .5)); box-shadow: inset 0 -4px 0 rgb(0 0 0 / .18);
  animation: drop .5s var(--ease) both;
}
@keyframes drop { from { transform: translateY(-14px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.gloss { margin: 12px 0 0; color: var(--muted); font-size: var(--text-sm); }
.pos { font-weight: 700; color: var(--ink); font-style: italic; margin-right: 6px; }

/* Score line */
.panel { display: flex; flex-direction: column; }
.scoreline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 10px; }
.score-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.score-val { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.score-val small { color: var(--muted); font-size: .7em; margin-left: 2px; }
.score-val b.bump { display: inline-block; animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); color: var(--t-legendary); } }
.link-btn { color: var(--brand); font-weight: 700; font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 3px; }

/* Free-length word entry */
.rows { display: grid; gap: 10px; }
.guess-card { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12); }
.guess-word { min-width: 0; }
.guess-word > small { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.guess-word > b { display: block; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(1.1rem, 4.8vw, 1.65rem); line-height: 1.2; }
.guess-card .badge { flex: 0 0 72px; color: inherit; padding: 8px; background: rgb(0 0 0 / .12); }
.guess-card.awaiting-reveal { opacity: 0; transform: translateY(8px); }
.guess-card.score-reveal { animation: score-reveal .45s var(--ease) both; }
@keyframes score-reveal { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.word-entry { margin-top: 14px; }
.word-entry > label { display: block; font-size: var(--text-xs); font-weight: 700; color: var(--brand); margin: 0 0 8px 2px; }
.entry-control { display: flex; align-items: center; gap: 8px; padding: 7px; border: 2px solid var(--line-strong); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.entry-control:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.entry-control input { flex: 1; width: 0; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 8px; font-size: 1rem; font-weight: 500; color: var(--ink); }
.entry-control input::placeholder { color: var(--muted); font-weight: 400; }
.entry-control input:focus-visible { outline: none; }
.guess-submit { flex-shrink: 0; min-height: 44px; padding: 10px 14px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .85rem; }
.guess-submit:disabled { opacity: .5; cursor: wait; }
.entry-control.shake { animation: shake .45s; }
@keyframes shake { 15%, 55% { transform: translateX(-6px); } 35%, 75% { transform: translateX(6px); } }

.t-common { background: var(--t-common) !important; color: #fff; }
.t-uncommon { background: var(--t-uncommon) !important; color: #fff; }
.t-rare { background: var(--t-rare) !important; color: #fff; }
.t-epic { background: var(--t-epic) !important; color: #fff; }
.t-legendary { background: var(--t-legendary) !important; color: #1b1400 !important; }
.t-miss { background: var(--t-miss) !important; color: #fff; }

.badge {
  justify-self: stretch; min-width: 0; overflow: hidden; text-align: center; padding: 4px 6px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 800; line-height: 1.1; opacity: 0; transform: scale(.6);
}
.badge b { display: block; font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.badge small { display: block; font-size: 0.62rem; letter-spacing: .03em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.badge.show { opacity: 1; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.badge.empty { opacity: 1; transform: none; color: var(--line-strong); }
.hard-hint { text-align: center; color: var(--muted); font-size: var(--text-sm); margin: 14px 0 0; min-height: 1.5em; }

/* Keyboard */
.keyboard { width: min(520px, 100% - 12px); margin: 12px auto 8px; display: grid; gap: 7px; user-select: none; }
.kb-row { display: flex; gap: 5px; justify-content: center; }
.kb-row { min-width: 0; }
.keyboard .key { min-width: 0; padding-left: 0; padding-right: 0; }
.friends-entry { text-align: center; margin: 12px auto; }
.key {
  flex: 1 1 0; max-width: 44px; height: 54px; border-radius: 6px; background: var(--key); color: var(--key-ink);
  font-weight: 700; font-size: 1rem; text-transform: uppercase; display: grid; place-items: center; transition: background .1s, transform .05s;
}
.key:active { transform: scale(.94); }
.key.wide { max-width: 68px; flex: 1.5 1 0; font-size: .75rem; letter-spacing: .04em; }
.key.enter { background: var(--brand); color: var(--brand-ink); }
.kb-spacer { flex: .5 1 0; max-width: 22px; }

/* Easy */
.round-dots { display: flex; gap: 6px; align-items: center; }
.rdot { width: 26px; height: 8px; border-radius: 4px; background: var(--line); transition: background .3s; }
.rdot.current { background: var(--line-strong); }
.rdot.right { background: var(--good); }
.rdot.wrong { background: var(--bad); }
.easy-q { text-align: center; font-weight: 700; margin: 6px 0 12px; font-size: var(--text-base); }
.options { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 12px;
  background: var(--surface); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-lg); text-transform: uppercase; letter-spacing: .05em; text-align: left;
  transition: border-color .15s, transform .1s, background .25s; animation: drop .4s var(--ease) both;
}
.opt:hover:not(:disabled) { border-color: var(--line-strong); transform: translateY(-1px); }
.opt:disabled { cursor: default; }
.opt .opt-tag { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .04em; font-weight: 700; text-transform: none; }
.opt.right { background: var(--good); border-color: var(--good); color: #fff; }
.opt.wrong { background: var(--bad); border-color: var(--bad); color: #fff; animation: shake .45s; }
.opt.dim { opacity: .45; }
.easy-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; min-height: 44px; }
.easy-foot .btn { white-space: nowrap; flex: none; }
.easy-note { margin: 0; font-size: var(--text-sm); color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: var(--text-sm); transition: filter .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--line-strong); }
.btn.wide { width: 100%; margin-top: 10px; }

/* Toasts */
.toast-wrap { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 50; display: grid; gap: 6px; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: var(--text-sm); animation: drop .25s var(--ease); text-align: center; }

/* Modals */
.modal { border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); width: min(440px, 100% - 24px); max-height: calc(100dvh - 32px); padding: 26px 24px 22px; box-shadow: var(--shadow); }
.wide-modal { width: min(500px, 100% - 24px); }
.modal::backdrop { background: rgb(10 10 20 / .5); backdrop-filter: blur(2px); }
.modal[open] { animation: rise .3s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); margin: 0 0 6px; letter-spacing: .01em; }
.modal h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 8px; }
.modal p { margin: 0 0 8px; }
.close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; font-size: 26px; line-height: 1; color: var(--muted); border-radius: 8px; }
.close:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.kicker { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 0 0 4px; }
.tier-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: var(--text-sm); }
.tier-legend div { display: flex; align-items: center; gap: 8px; }
.tier-legend b { font-weight: 700; }
.mini-tile { width: 26px; height: 26px; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .85rem; flex: none; }
.field { width: 100%; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font-size: var(--text-base); margin-top: 6px; }
.field:focus { border-color: var(--brand); outline: none; }
.field-err { color: var(--bad); font-size: var(--text-sm); min-height: 1.4em; margin: 6px 0 0 !important; }

.big-score { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 2rem + 6vw, 4.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.big-score small { font-size: .38em; color: var(--muted); margin-left: 4px; }
.res-sub { color: var(--muted); font-size: var(--text-sm); }
.res-tries { display: grid; gap: 6px; margin: 14px 0; }
.res-try { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-size: var(--text-sm); }
.res-try .mini-tile { color: #fff; }
.res-try b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: var(--text-base); }
.res-try .pts { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.res-try.miss b { text-decoration: line-through; color: var(--muted); }
.res-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#result-share-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
#result-share-options .btn { padding: 10px 6px; font-size: .85rem; min-width: 0; }
#native-share-btn { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; font-size: var(--text-xs); font-weight: 700; color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.chip span { opacity: .85; font-variant-numeric: tabular-nums; }
.chip.mine { box-shadow: 0 0 0 2px var(--ink); }
.tiny { font-size: var(--text-xs); color: var(--muted); margin-top: 10px !important; }
.next { margin: 18px 0 0 !important; text-align: center; font-size: var(--text-sm); color: var(--muted); }
.next b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Leaderboard */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--key); border-radius: 12px; padding: 3px; margin: 12px 0; }
.seg-btn { padding: 8px 4px; border-radius: 9px; font-weight: 700; font-size: var(--text-sm); color: var(--muted); }
.seg-btn.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.lock-banner { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--t-legendary) 18%, transparent); font-size: var(--text-sm); font-weight: 600; margin-bottom: 10px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: 46vh; overflow-y: auto; }
.brow { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--bg); font-size: var(--text-sm); }
.brow.me { box-shadow: inset 0 0 0 2px var(--brand); }
.brow.sep { margin-top: 6px; }
.rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--key); }
.rank.r1 { background: #e0a100; color: #1b1400; }
.rank.r2 { background: #a9b0b9; color: #15161a; }
.rank.r3 { background: #c07a43; color: #fff; }
.bname { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bword { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; color: #fff; font-size: .8rem; }
.bword.masked { background: var(--key); color: var(--muted); letter-spacing: .2em; }
.bpts { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; }
.empty-board { text-align: center; color: var(--muted); padding: 24px 8px; font-size: var(--text-sm); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin: 14px 0 6px; }
.stat-grid b { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.stat-grid small { font-size: var(--text-xs); color: var(--muted); }

/* Tester bar */
.dev { width: min(520px, 100% - 24px); margin: 0 auto 14px; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: var(--text-xs); color: var(--muted); }
.dev select { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; font-size: var(--text-xs); }

/* Celebration */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.spark { position: absolute; width: 9px; height: 14px; border-radius: 2px; top: 30%; left: 50%; animation: burst 1.2s cubic-bezier(.15,.8,.3,1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

@media (max-width: 480px) {
  .top-inner { grid-template-columns: 40px minmax(0, 1fr) auto; }
}
@media (max-width: 400px) {
  .icon-btn { width: 36px; height: 36px; }
  .key { height: 50px; font-size: .9rem; }
  .badge small { font-size: .56rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* Optional player settings share the existing game palette. */
#preferences-form label, .group-label { display: block; font-weight: 700; margin: 14px 0 6px; }
#preferences-form select, #board-scope { width: 100%; color: inherit; background: var(--bg); }
#preferences-form input { width: 100%; box-sizing: border-box; }
.achievements { margin: 12px 0; }
.achievement { padding: 10px 12px; border: 1px solid currentColor; border-radius: 10px; font-size: .85rem; margin: 8px 0; }
.kb-row.accents { flex-wrap: wrap; }
.kb-row.accents .key { min-width: 26px; max-width: 42px; height: 36px; }


.league-list { display: grid; gap: 10px; margin: 16px 0; }
.league-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--bg); }
.league-card h3 { margin: 0 0 4px; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.league-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.league-form { margin: 18px 0; }
.league-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.league-form-row { display: flex; gap: 8px; align-items: center; }
.league-form-row input { flex: 1; min-width: 0; width: 100%; }
.league-form-row .btn { flex-shrink: 0; }
.league-roster { padding: 0; list-style: none; }
.league-roster li { display: flex; justify-content: space-between; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding: 8px 0; }
#league-detail { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 16px; }
#league-detail h3 { margin-top: 0; }
.share-fallback { resize: vertical; color: var(--ink); font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.res-actions a { text-decoration: none; color: inherit; }
.res-actions a[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.res-actions .link-btn { min-height: 44px; padding: 8px; }
.invite-share-actions { margin: 16px 0 12px; }
.invite-skip { display: block; margin: 12px auto 0; min-height: 44px; }
#invite-name-field { margin-top: 18px; }
#invite-name-field label { font-weight: 700; font-size: var(--text-sm); }
#invite-name-help { margin-top: 8px; }
#dlg-invite h2, #dlg-share-invite h2 { padding-right: 20px; overflow-wrap: anywhere; }
#share-status { margin: 10px 0 4px; }
#board-league { width: 100%; margin: 8px 0 12px; background: var(--bg); }
#board-league-label { display: block; margin-top: 12px; font-size: var(--text-xs); }


.source-credit { margin: 0 auto 14px; text-align: center; font-size: .75rem; color: var(--muted); }
.source-credit a { color: inherit; text-underline-offset: 3px; }


.gap-link { display:block; margin:6px 0 0; padding:2px 0; color:inherit; font-size:.75rem; text-decoration:underline; text-underline-offset:3px; }
.gap-actions { display:grid; gap:8px; margin:10px 0; }
#gap-form label { display:block; font-size:.85rem; font-weight:700; margin:12px 0 6px; }
#gap-reason { width:100%; resize:vertical; background:var(--bg); color:var(--ink); }
#gap-status { margin:10px 0; }

/* A little ink, a little gold. The words still do the work. */
.game-motto { color: var(--muted); text-align: center; font-size: var(--text-sm); margin: 0 0 18px; }
.daily-verdict { font-family: var(--font-display); color: var(--brand); margin: 6px 0 20px; font-size: var(--text-lg); }
.best-find { border-left: 3px solid #c18a16; padding: 2px 0 2px 14px; margin: 16px 0; }
.best-find .kicker { margin: 0 0 6px; }
.best-find .res-sub { margin: 0; color: var(--ink); }
.share-card { display: block; width: 100%; height: auto; max-width: 340px; border-radius: 16px; margin: 22px auto 8px; }
.return-line { font-weight: 700; margin: 22px 0 4px; font-size: var(--text-sm); }

.settings-options { display: grid; gap: 12px; margin-top: 20px; }
.board-leagues { margin: 0 0 14px; }

.board-comparison { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.mode-order-note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: var(--text-sm); color: var(--muted); }


