:root {
  --bg: #f3f4f1;
  --ink: #0a0a0a;
  --ink-2: #2b2b2b;
  --green: #06d47f;
  --yellow: #ffdf50;
  --muted: #6b7690;
  --faint: #9aa3b8;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --edge: rgba(255, 255, 255, 0.9);
  --line: rgba(14, 22, 48, 0.08);
  --line-2: rgba(14, 22, 48, 0.14);
  --accent: #0a0a0a;
  --accent-2: #2b2b2b;
  --p2: #04a867;
  --p3: #111111;
  --f5: #c99700;
  --sp: #2563eb;
  --pr: #e8830c;
  --good: #04a867;
  --bad: #e5484d;
  --warn: #e8960c;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px -12px rgba(30, 45, 90, 0.18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 8% -6%, rgba(255, 223, 80, 0.22), transparent 60%),
    radial-gradient(42vmax 42vmax at 105% 12%, rgba(6, 212, 127, 0.18), transparent 60%),
    radial-gradient(42vmax 42vmax at 50% 112%, rgba(6, 212, 127, 0.10), transparent 60%),
    linear-gradient(180deg, #f7f7f4, #eceee9);
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 800; }
h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; }
.bold { font-weight: 700; }
.right { text-align: right; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.tight { gap: 6px; }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* glass surfaces */
.card {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.card.flat { box-shadow: none; }
.card.pad-lg { padding: 20px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass-strong); font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn.primary { background: var(--ink); color: var(--green); font-weight: 800; border-color: var(--ink); box-shadow: 0 8px 20px -8px rgba(14, 22, 48, 0.55); }
.btn.accent { background: var(--green); color: #0a0a0a; border: 0; box-shadow: 0 10px 22px -10px rgba(6, 212, 127, 0.75); font-weight: 800; }
.btn.green { background: #1fae5b; color: #fff; border: 0; box-shadow: 0 10px 22px -10px rgba(31, 174, 91, 0.7); }
.btn.danger { color: var(--bad); border-color: rgba(229, 72, 77, 0.35); background: rgba(255, 255, 255, 0.8); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.block { width: 100%; }
.btn.lg { height: 54px; font-size: 16px; }
.icon-btn { width: 38px; height: 38px; padding: 0; border-radius: 50%; }

/* inputs */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.input, select.input, textarea.input {
  height: 46px; width: 100%; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); outline: none;
  transition: border 0.15s, box-shadow 0.15s;
}
textarea.input { height: auto; padding: 12px 14px; min-height: 70px; resize: vertical; }
.input:focus { border-color: #04a867; box-shadow: 0 0 0 4px rgba(6, 212, 127, 0.18); }
.input.big { height: 60px; font-size: 26px; font-weight: 800; text-align: center; letter-spacing: 0.12em; font-family: var(--mono); }
.input.sm { height: 36px; font-size: 13px; padding: 0 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* segmented + chips */
.seg { display: flex; background: rgba(14, 22, 48, 0.06); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 38px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; padding: 0 10px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14, 22, 48, 0.1); }
.seg.games button.on[data-g='P2'] { background: var(--p2); color: #fff; }
.seg.games button.on[data-g='P3'] { background: var(--p3); color: #fff; }
.seg.games button.on[data-g='F5'] { background: var(--f5); color: #fff; }
.seg.games button.on[data-g='SP'] { background: var(--sp); color: #fff; }
.seg.games { overflow-x: auto; scrollbar-width: none; }
.seg.games::-webkit-scrollbar { display: none; }
.seg.games button { flex: 1 0 auto; font-size: 14px; padding: 0 12px; }
.seg.games button.on[data-g='PR'] { background: var(--pr); color: #fff; }
.pill.PR { background: rgba(232, 131, 12, 0.14); color: #a85c00; }
.stepper { display: flex; align-items: stretch; gap: 6px; }
.stepper button { width: 52px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255,255,255,.85); font-size: 24px; font-weight: 800; cursor: pointer; }
.stepper input { flex: 1; min-width: 0; }
.pmode { padding: 14px; }
.pmode .odd.on { background: var(--pr); border-color: var(--pr); box-shadow: 0 8px 18px -8px var(--pr); }
.pill.SP { background: rgba(31, 111, 255, 0.12); color: #1f5ad6; }
/* sports board */
.ev { padding: 14px; }
.ev .evh { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ev .evt { font-weight: 800; font-size: 15.5px; margin: 3px 0 10px; letter-spacing: -0.01em; }
.mkt { display: grid; gap: 6px; margin-top: 6px; }
.mkt.c2 { grid-template-columns: 1fr 1fr; } .mkt.c3 { grid-template-columns: 1fr 1fr 1fr; }
.odd { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.8); cursor: pointer; text-align: left; min-width: 0; }
.odd span { font-size: 11.5px; color: var(--muted); font-weight: 600; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd b { font-family: var(--mono); font-size: 15px; }
.odd.on { background: var(--sp); border-color: var(--sp); color: #fff; box-shadow: 0 8px 18px -8px var(--sp); }
.odd.on span { color: rgba(255,255,255,.85); }
.mlabel { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.75); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.draw-chip { flex: none; text-align: left; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.75); cursor: pointer; min-width: 138px; }
.draw-chip .d1 { font-weight: 800; font-size: 14px; }
.draw-chip .d2 { font-size: 11.5px; color: var(--muted); }
.draw-chip.on { border-color: transparent; color: #fff; background: var(--gc, var(--ink)); box-shadow: 0 8px 18px -8px var(--gc, var(--ink)); }
.draw-chip.on .d2 { color: rgba(255, 255, 255, 0.85); }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(14, 22, 48, 0.07); color: var(--ink-2); white-space: nowrap; }
.pill.good { background: rgba(14, 170, 116, 0.13); color: #08855a; }
.pill.bad { background: rgba(229, 72, 77, 0.12); color: #b42318; }
.pill.warn { background: rgba(232, 150, 12, 0.14); color: #a86a00; }
.pill.info { background: rgba(10, 10, 10, 0.07); color: #2b2b2b; }
.pill.P2 { background: rgba(255, 91, 58, 0.13); color: #d63b1c; }
.pill.P3 { background: rgba(122, 92, 255, 0.13); color: #5a3ee0; }
.pill.F5 { background: rgba(14, 170, 116, 0.13); color: #08855a; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* lists */
.list { display: flex; flex-direction: column; }
.list .item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.list .item:last-child { border-bottom: 0; }
.list .item.tap { cursor: pointer; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; font-size: 14px; }

/* balls */
.ball { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; transform: skewX(-10deg); font-weight: 900; font-size: 14px; font-family: var(--font); background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.ball.fill { background: var(--green); border-color: var(--green); color: #0a0a0a; }
.ball.hit { background: var(--yellow); border-color: var(--yellow); color: #0a0a0a; }
.ltr { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; transform: skewX(-10deg); font-weight: 900; background: var(--ink); color: var(--yellow); }
.ltr.hit { background: var(--yellow); color: #0a0a0a; }
.balls { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }

/* number grid (Fantasy 5) */
.numgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.numgrid button { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.8); font-weight: 800; font-family: var(--mono); font-size: 13px; cursor: pointer; padding: 0; }
.numgrid button.on { background: var(--f5); color: #fff; border-color: var(--f5); box-shadow: 0 6px 14px -6px var(--f5); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { padding: 14px; }
.stat .k { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat .v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.stat .s { font-size: 12px; color: var(--muted); }
.pos { color: #08855a; }
.neg { color: #b42318; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr.tap { cursor: pointer; }
.tbl tr.tap:hover td { background: rgba(255, 255, 255, 0.6); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tfoot td { font-weight: 800; border-top: 1px solid var(--line-2); border-bottom: 0; }

/* sheets & toast */
.scrim { position: fixed; inset: 0; background: rgba(14, 22, 48, 0.32); z-index: 50; opacity: 0; transition: opacity 0.2s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.scrim.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 92vh; overflow-y: auto;
  background: rgba(247, 249, 253, 0.97); border-radius: 26px 26px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 -10px 40px rgba(14, 22, 48, 0.2);
}
.sheet.show { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(14, 22, 48, 0.15); margin: 0 auto 12px; }
@media (min-width: 720px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: min(560px, 94vw); border-radius: 24px; padding: 20px 22px; transform: translate(-50%, -46%) scale(0.98); opacity: 0; transition: all 0.2s; max-height: 88vh; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; }
  .sheet .grab { display: none; }
}
.toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -30px); opacity: 0; z-index: 90; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: all 0.25s; max-width: 92vw; text-align: center; box-shadow: 0 10px 30px rgba(14, 22, 48, 0.3); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.bad { background: var(--bad); }
.toast.good { background: var(--ink); color: var(--green); }

/* ---------- lottery ticket (screen) ---------- */
.tkt { --gc: var(--ink); position: relative; background: #fff; border-radius: 18px; overflow: hidden; padding-bottom: 8px; box-shadow: 0 18px 40px -18px rgba(14, 22, 48, 0.35), 0 0 0 1px rgba(14, 22, 48, 0.06); max-width: 380px; margin: 0 auto; }
.tkt::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; pointer-events: none; background: linear-gradient(90deg, var(--yellow) 0 50%, var(--green) 50% 100%); }
.tkt .head { position: relative; background: #0a0a0a; color: #fff; padding: 16px 18px 18px; overflow: hidden; border-bottom: 10px solid transparent; border-image: linear-gradient(90deg, var(--yellow) 0 50%, var(--green) 50% 100%) 1; }
.tkt .head .tlogo { position: absolute; right: 16px; top: 16px; height: 22px; width: auto; }
.tkt .head::before { content: none; }
.tkt .head > * { position: relative; }
.tkt .kick { font-size: 10.5px; letter-spacing: 0.24em; font-weight: 800; opacity: 0.85; }
.tkt .game { font-size: 32px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05; margin-top: 2px; }
.tkt .drawline { font-size: 12.5px; font-weight: 700; margin-top: 6px; opacity: 0.95; }
.tkt .jp { position: absolute; right: 16px; top: 46px; text-align: right; color: var(--yellow); }
.tkt .jp b { display: block; font-size: 18px; }
.tkt .jp span { font-size: 10px; letter-spacing: 0.14em; font-weight: 800; opacity: 0.85; }
.tkt .body { position: relative; z-index: 1; padding: 14px 18px 16px; }
.tkt .tno { font-family: var(--mono); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; word-break: break-all; }
.tkt .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 10px; font-size: 12.5px; }
.tkt .meta div span { display: block; font-size: 10px; letter-spacing: 0.12em; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.tkt .meta div b { font-weight: 700; }
.tkt .perf { position: relative; height: 22px; margin: 2px -18px; }
.tkt .perf::before { content: ''; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed rgba(14, 22, 48, 0.14); }
.tkt .perf::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0 50%, var(--hole, #eef1f8) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--hole, #eef1f8) 10px, transparent 11px); }
.tkt .tline { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.tkt .tline .ix { width: 20px; font-size: 11px; font-weight: 800; color: var(--faint); font-family: var(--mono); }
.tkt .tline .amt { margin-left: auto; text-align: right; font-weight: 800; font-size: 13.5px; }
.tkt .tline .amt small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
.tkt .tline .bet { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tkt .tline.won .amt { color: #0a0a0a; background: var(--yellow); border-radius: 8px; padding: 2px 6px; }
.tkt .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.tkt .total b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.tkt .foot { display: flex; gap: 14px; align-items: center; }
.tkt .qr { width: 96px; height: 96px; flex: none; }
.tkt .qr svg { width: 100%; height: 100%; display: block; }
.tkt .code { font-family: var(--mono); font-size: 20px; font-weight: 800; letter-spacing: 0.16em; }
.tkt .help { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.tkt .stamp { position: absolute; z-index: 3; right: 14px; top: 92px; transform: rotate(-12deg); border: 3px solid currentColor; border-radius: 10px; padding: 3px 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.8); }
.tkt .stamp.free { color: var(--f5); }
.tkt .stamp.void { color: var(--bad); }
.tkt .stamp.win { color: #0a0a0a; background: var(--yellow); border-color: #0a0a0a; }
.tkt .stamp.lost { color: var(--faint); }
.tkt .stamp.cashed { color: #04a867; }

/* app shell (seller) */
.app { max-width: 560px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom)); }
.topbar { display: flex; align-items: center; gap: 10px; padding: 6px 0 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 4px; padding: 6px; width: min(528px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.78); border: 1px solid var(--edge); border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(14, 22, 48, 0.3); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.tabbar button { flex: 1; border: 0; background: transparent; border-radius: 999px; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabbar button svg { width: 21px; height: 21px; }
.tabbar button.on { background: var(--ink); color: var(--green); }
.sellbar { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 30; margin-top: 14px; }
.sellbar .card { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(255, 255, 255, 0.85); }

/* login */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.login .card { width: min(400px, 100%); padding: 26px 22px; }
.brandmark { width: 52px; height: 52px; border-radius: 16px; background: url(/icon.svg) center / cover no-repeat; margin-bottom: 14px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.brandmark i { display: none; }
.wordmark { display: block; height: 30px; width: auto; }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pinpad button { height: 54px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); font-size: 20px; font-weight: 800; cursor: pointer; }
.pindots { display: flex; gap: 12px; justify-content: center; margin: 6px 0 4px; }
.pindots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); }
.pindots i.on { background: var(--ink); border-color: var(--ink); }

/* admin shell */
.admin { display: flex; min-height: 100vh; }
.side { width: 236px; flex: none; position: sticky; top: 0; height: 100vh; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255, 255, 255, 0.55); border-right: 1px solid var(--edge); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.side .nav { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 12px; border: 0; background: transparent; font-weight: 700; color: var(--ink-2); cursor: pointer; text-align: left; width: 100%; }
.side .nav svg { width: 19px; height: 19px; opacity: 0.8; }
.side .nav.on { background: var(--ink); color: #fff; }
.side .nav:not(.on):hover { background: rgba(14, 22, 48, 0.05); }
.main { flex: 1; min-width: 0; padding: 22px 26px 60px; }
.pagehead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.grid-2e { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chartbox { position: relative; height: 280px; }
.chartbox.sm { height: 230px; }
#map { height: calc(100vh - 170px); min-height: 380px; border-radius: var(--r-lg); overflow: hidden; }
.mtabs { display: none; }
@media (max-width: 900px) {
  .side { display: none; }
  .main { padding: calc(10px + env(safe-area-inset-top)) 14px 40px; }
  .mtabs { display: flex; position: sticky; top: 0; z-index: 30; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 14px; margin: 0 -14px 12px;
    background: rgba(238, 242, 249, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); }
  .mtabs::-webkit-scrollbar { display: none; }
  .grid-2, .grid-2e { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  #map { height: 62vh; }
}
@media (max-width: 380px) {
  .numgrid { grid-template-columns: repeat(7, 1fr); }
  .stat .v { font-size: 19px; }
}

.scan-video { width: 100%; border-radius: 18px; background: #000; aspect-ratio: 1; object-fit: cover; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.spinner.dark { border-color: rgba(14, 22, 48, 0.15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.leaflet-container { font-family: var(--font); }
.seller-pin { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.seller-pin.stale { background: #8a93a8; }

/* ---------- sports board v2 ---------- */
.spf { position: sticky; top: 0; z-index: 25; margin: 0 -16px; padding: 10px 16px 8px; display: flex; flex-direction: column; gap: 8px;
  background: rgba(237, 241, 248, 0.86); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--edge); }
.spf-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.spf-row::-webkit-scrollbar, .ltabs::-webkit-scrollbar { display: none; }
.sp-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 9px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.7); font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.sp-pill span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(14, 22, 48, 0.06); font-size: 13px; }
.sp-pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sp-pill.on span { background: rgba(255, 255, 255, 0.16); }
.spf-row2 { display: flex; gap: 8px; align-items: center; }
.seg.sm { flex: 1; padding: 3px; }
.seg.sm button { height: 30px; font-size: 12.5px; }
.ltabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 0 2px; }
.ltabs:empty { display: none; }
.ltabs button { flex: none; border: 0; background: none; padding: 4px 0 6px; font-weight: 700; font-size: 13px; color: var(--muted); border-bottom: 2.5px solid transparent; cursor: pointer; }
.ltabs button.on { color: var(--ink); border-bottom-color: var(--sp); }
.lhead { display: flex; align-items: center; gap: 7px; margin: 10px 4px 0; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.gm { background: var(--glass); border: 1px solid var(--edge); border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: box-shadow .2s; }
.gm.has { box-shadow: 0 0 0 2px rgba(31, 111, 255, 0.35), var(--shadow); }
.gmh { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.gmt { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 15px; }
.gmt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmw { text-align: right; flex: none; display: flex; flex-direction: column; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.gmw b { color: var(--ink); font-size: 13px; }
.gm .odd { padding: 7px 10px; border-radius: 11px; }
.gm .odd b { font-size: 15.5px; }
.gm .more { margin-top: 8px; width: 100%; border: 0; background: rgba(14, 22, 48, 0.04); border-radius: 10px; height: 30px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.slip { position: fixed; z-index: 35; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom)); width: min(528px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--edge); border-radius: 22px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 18px 40px -14px rgba(14, 22, 48, 0.35); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); max-height: 70vh; overflow-y: auto; }
.slip.empty { padding: 12px; background: rgba(255, 255, 255, 0.7); }
.slip-top { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 2px; cursor: pointer; width: 100%; min-width: 0; }
.slip-top b { font-size: 14px; }
.slip-top .grow { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.slip-count { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sp); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.slip-picks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0 8px; }
.amts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)) 132px; gap: 6px; align-items: stretch; }
.amts > button { min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); font-weight: 800; font-size: 14px; cursor: pointer; }
.amts > button.on { background: var(--sp); border-color: var(--sp); color: #fff; }
.amt-step { display: flex; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.amt-step button { width: 36px; flex: none; border: 0; background: rgba(14, 22, 48, 0.04); font-size: 18px; font-weight: 800; cursor: pointer; }
.amt-step input { flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font-family: var(--mono); font-weight: 800; font-size: 18px; outline: none; background: transparent; }
.amt-step input:focus { background: rgba(31, 111, 255, 0.06); }

.cnt { font-style: normal; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 3px; border-radius: 9px; background: rgba(14, 22, 48, 0.08); color: var(--muted); font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
.seg.sm button { padding: 0 6px; }

/* (i) bet explanations */
.ibtn { flex: none; width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, 0.85); color: var(--muted);
  font: italic 700 11px/1 Georgia, 'Times New Roman', serif; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; vertical-align: middle; text-transform: none; letter-spacing: 0; }
.ibtn:active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ibtn.big { width: 34px; height: 34px; font-size: 18px; border-color: rgba(31, 111, 255, 0.35); color: var(--sp); background: rgba(31, 111, 255, 0.07); cursor: default; }
.mlabel { display: flex; align-items: center; gap: 6px; }
.mlabel.first { margin-top: 0; margin-bottom: 6px; }
.irows { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; }
.irow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); transition: background 0.4s; }
.irow:last-child { border-bottom: 0; }
.irow b.mono { font-size: 16px; }
.irow.chg { background: rgba(232, 150, 12, 0.14); }
.irow.chg b.mono::after { content: ' ↻'; font-size: 11px; color: var(--warn); }

/* per-line amounts */
.mini-step { flex: none; display: flex; height: 38px; width: 112px; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: #fff; }
.mini-step button { width: 32px; flex: none; border: 0; background: rgba(14, 22, 48, 0.04); font-size: 17px; font-weight: 800; cursor: pointer; color: var(--ink); }
.mini-step button:active { background: rgba(14, 22, 48, 0.12); }
.mini-step input { flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font-family: var(--mono); font-weight: 800; font-size: 16px; outline: none; background: transparent; color: var(--ink); }
.mini-step input:focus { background: rgba(31, 111, 255, 0.06); }
.setall { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px; }
.setall > span { margin-right: 2px; }
.setall button { flex: 1; min-width: 0; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); font-weight: 800; font-size: 13px; cursor: pointer; color: var(--ink); }
.setall button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.slip .setall button.on { background: var(--sp); border-color: var(--sp); }
.seg.sm button { height: 32px; font-size: 12.5px; }

.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.rc-seg { flex: 1; max-width: 520px; min-width: 0; }
.rc-sel { width: auto; margin-left: auto; }
@media (max-width: 760px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-seg { max-width: none; flex-basis: 100%; overflow-x: auto; }
  .rc-seg button { padding: 0 8px; font-size: 13px; }
  .rc-sel { width: 100%; margin-left: 0; }
}

/* ---------- B1N0 brand: green = selected / play, yellow = wins, black = base ---------- */
.seg.games button.on[data-g] { background: var(--ink); color: var(--green); }
.odd.on, .pmode .odd.on, .amts > button.on, .slip .setall button.on, .setall button.on, .numgrid button.on {
  background: var(--green); border-color: var(--green); color: #0a0a0a; box-shadow: 0 8px 18px -8px rgba(6, 212, 127, 0.8);
}
.odd.on * { color: #0a0a0a !important; }
.slip-count { background: var(--ink); color: var(--green); }
.ltabs button.on { border-bottom-color: var(--green); }
.ibtn.big { border-color: var(--line-2); color: var(--ink); background: #fff; }
.gm.has { box-shadow: 0 0 0 2px rgba(6, 212, 127, 0.6), var(--shadow); }
.amt-step input:focus, .mini-step input:focus { background: rgba(6, 212, 127, 0.1); }
.pill.SP { background: rgba(37, 99, 235, 0.12); color: #1d4fd0; }
.pill.P3 { background: rgba(10, 10, 10, 0.08); color: #111; }
.pill.good { background: rgba(6, 212, 127, 0.16); color: #037a4b; }
h1, .game, .tkt .game { font-feature-settings: 'ss01' 0; }

/* ---- phone country picker (B1N0) ---- */
.loginlogo { height: 34px; width: auto; display: block; margin-bottom: 18px; }
.phonein { display: flex; gap: 8px; align-items: stretch; }
.phonein .input { flex: 1; min-width: 0; font-weight: 700; letter-spacing: 0.04em; font-size: 18px; }
.ccbtn { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; flex: none; }
.ccbtn:active { transform: scale(0.97); }
.ccbtn svg { opacity: 0.7; }
.cctile { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 4px; border-radius: 7px; background: var(--green); color: #0a0a0a; font: italic 900 12px 'Inter', sans-serif; letter-spacing: 0.02em; transform: skewX(-8deg); }
.ccsheet h2 { letter-spacing: -0.02em; }
.ccsheet .eyebrow { margin-top: 6px; }
.cclist { display: flex; flex-direction: column; gap: 6px; }
.ccrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 15px; cursor: pointer; }
.ccrow.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ccrow.sel::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.ccrow .ccdial { color: var(--muted); font-size: 13px; }
.ccrow.off { cursor: default; background: transparent; opacity: 0.55; }
.ccrow.off .cctile { background: #d9dcd5; color: #555; }
.ccsoon { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; background: var(--yellow); color: #0a0a0a; }
.ccsheet.big .ccrow { padding: 16px 16px; font-size: 19px; }
.ccsheet.big .cclist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ccsheet.big .cctile { min-width: 42px; height: 32px; font-size: 14px; }
.phonein.big { gap: 10px; }
.phonein.big .ccbtn { border-radius: 18px; padding: 0 16px 0 12px; font-size: 20px; gap: 10px; }
.phonein.big .cctile { min-width: 44px; height: 34px; font-size: 15px; }
.phonein.big .display { flex: 1; min-width: 0; font-size: 34px; }
.cctoggles { display: flex; flex-wrap: wrap; gap: 6px; }
.cctoggles label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; cursor: pointer; }
.cctoggles label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.cctoggles input { display: none; }
.ccsheet.big .cclist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ccsheet.big .ccrow { padding: 14px 12px; font-size: 17px; gap: 10px; min-width: 0; }
.ccsheet.big .ccrow b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccsheet.big .ccrow .grow { min-width: 0; }
.ccsheet.big .ccdial { white-space: nowrap; }
.ccrow .grow { display: flex; flex-direction: column; line-height: 1.2; }
.ccrow .ccdial { font-size: 12px; margin-top: 2px; }
.ccsheet.big .ccrow .ccdial { font-size: 14px; }
.cctoggles label:not(:has(input:checked)) .cctile { background: #d9dcd5; color: #555; }

/* ---- legal footer ---- */
.login { flex-direction: column; gap: 18px; }
.legal { max-width: 560px; margin: 28px auto 0; padding: 18px 4px 90px; border-top: 1px solid var(--line-2); font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.login .legal { padding-bottom: 10px; width: min(400px, 100%); }
.legal p { margin: 0 0 8px; }
.legal b { color: var(--ink); }
.legallogo { height: 18px; width: auto; display: block; margin-bottom: 10px; opacity: 0.9; }
.legalshort { margin-top: 14px; text-align: center; font-size: 11px; color: var(--muted); }
.attractlegal { margin-top: 14px; font-size: 12px; line-height: 1.5; opacity: 0.55; max-width: 640px; }
.ccflag { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; flex: none; display: block; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.12); background: #e5e7e2; }
.ccbtn .ccflag { width: 26px; height: 19.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.phonein.big .ccflag, .ccsheet.big .ccflag { width: 36px; height: 27px; border-radius: 5px; }
.cctoggles .ccflag { width: 22px; height: 16.5px; border-radius: 3px; }
.cctoggles label:not(:has(input:checked)) .ccflag { filter: grayscale(1); opacity: 0.55; }
.ccbtn { padding: 0 10px 0 12px; gap: 6px; }
.phonein.big .ccbtn { padding: 0 14px 0 16px; }

/* ---- phone field v2: one clean field, round flag inside ---- */
.phonein { display: flex; align-items: stretch; gap: 0; height: 52px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; transition: border 0.15s, box-shadow 0.15s; overflow: hidden; }
.phonein:focus-within { border-color: #04a867; box-shadow: 0 0 0 4px rgba(6, 212, 127, 0.18); }
.phonein .input { border: 0; background: transparent; height: 100%; box-shadow: none !important; padding-left: 12px; font-weight: 600; font-size: 17px; letter-spacing: 0.02em; }
.ccbtn { background: transparent; color: var(--ink); border: 0; border-right: 1px solid var(--line-2); border-radius: 0; padding: 0 10px 0 14px; gap: 6px; }
.ccbtn:hover { background: rgba(10, 10, 10, 0.03); }
.ccbtn svg { opacity: 0.45; }
.ccflag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.1); }
.ccbtn .ccflag { width: 24px; height: 24px; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.1); }
.cctoggles .ccflag { width: 18px; height: 18px; border-radius: 50%; }
.phonein.big { height: 76px; border-radius: 18px; border-width: 2px; }
.phonein.big .ccbtn { padding: 0 14px 0 20px; gap: 8px; }
.phonein.big .ccflag, .ccsheet.big .ccflag { width: 34px; height: 34px; border-radius: 50%; }
.phonein.big .display { border: 0; border-radius: 0; height: 100%; background: transparent; justify-content: flex-start; padding-left: 18px; font-size: 34px; }
.ccsheet .ccflag { width: 30px; height: 30px; border-radius: 50%; }
.phonein.big .ccbtn { border-radius: 0; background: transparent; color: var(--ink); }

/* ---- main categories → sub-categories ---- */
.catnav { display: flex; flex-direction: column; gap: 10px; }
.seg.cats { padding: 4px; }
.seg.cats button { flex: 1; height: 42px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.seg.cats button.on { background: var(--ink); color: var(--green); }
.subcats .sp-pill span { font-weight: 900; font-style: italic; font-size: 12px; }
.subcats .sp-pill.on span { background: var(--green); color: #0a0a0a; }
.subcats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible; }
.subcats .sp-pill { justify-content: center; padding: 0 8px 0 5px; gap: 5px; min-width: 0; white-space: nowrap; }
@media (max-width: 420px) { .subcats .sp-pill { font-size: 12.5px; gap: 4px; padding: 0 6px 0 4px; } .subcats .sp-pill span { width: 20px; height: 20px; } }
.subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.subcats { display: flex; grid-template-columns: none; }
.seg.subcats button { flex: 1; }
.odd.shut { opacity: 0.45; cursor: not-allowed; background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(10,10,10,0.04) 6px 12px); }

/* ---- admin › Predicts ---- */
.switch { position: relative; width: 42px; height: 24px; flex: none; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #d4d7d0; transition: background 0.15s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(18px); }
.ptypes { display: flex; flex-direction: column; }
.ptype { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-top: 1px solid var(--line); }
.ptype:first-child { border-top: 0; }
.ptype.off .grow { opacity: 0.45; }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbk { display: flex; align-items: center; gap: 4px; }
.pbk input { width: 74px; text-align: right; }
.pex { display: flex; flex-direction: column; }
.pexrow { display: grid; grid-template-columns: minmax(110px, 1.3fr) 64px 90px minmax(120px, 2fr) 76px; gap: 12px; align-items: center; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.pexrow:first-child { border-top: 0; }
.pexrow .pl { display: flex; flex-direction: column; min-width: 0; }
.pexrow .pn { text-align: right; font-variant-numeric: tabular-nums; }
.pexrow .pa { text-align: right; }
.pexrow.shut { background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(10, 10, 10, 0.035) 8px 16px); }
.pbar { position: relative; height: 26px; border-radius: 8px; background: rgba(10, 10, 10, 0.05); overflow: hidden; }
.pbar i { position: absolute; inset: 0 auto 0 0; background: rgba(6, 212, 127, 0.35); border-radius: 8px; }
.pbar i.warm { background: rgba(255, 223, 80, 0.7); }
.pbar i.full { background: rgba(214, 69, 69, 0.45); }
.pbar span { position: relative; display: block; line-height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pbar span.neg { color: #b42318; }
@media (max-width: 760px) {
  .pexrow { grid-template-columns: 1fr 80px 70px; }
  .pexrow .pn.tiny { display: none; }
  .pexrow .pbar { grid-column: 1 / 3; }
  .ptype { flex-wrap: wrap; }
}

/* ---- markets ticket (006) ---- */
.tkt.mk .head { background: radial-gradient(420px 180px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%), #12b8a6; }
.tkt.mk .head .game { font-size: 26px; }
.tkt.og .head { background: radial-gradient(420px 180px at 100% 0%, rgba(6, 212, 127, .32), transparent 60%), #0a0a0a; }
.tkt.og .head .game { font-size: 26px; }
.tkt.og .head .jp b { color: #06d47f; }
.mkq { font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; margin: 4px 0 10px; }
.mkpick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(18, 184, 166, 0.1); }
.mkpick .eyebrow { font-size: 10px; }
.mkpick b { font-size: 16px; color: #0b7a6f; flex: 1; min-width: 0; }
.mkpick .mono { font-weight: 800; color: #0b7a6f; }
.pill.MK { background: rgba(18, 184, 166, 0.12); color: #0b7a6f; }
.slip-head { padding: 2px 2px 6px; }
.mkcard { padding-bottom: 12px; }
.mkt-q { font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; margin: 8px 0 4px; }
.mkcard .odd span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pill.nodot { padding: 0 14px; }

/* ---- admin › Predicts › Markets ---- */
.dcard { margin-bottom: 12px; }
.dimg { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: #eee; }
.dmk { margin-top: 10px; display: flex; flex-direction: column; }
.dmrow { display: flex; align-items: center; gap: 10px; padding: 6px 2px; border-top: 1px solid var(--line); font-size: 13.5px; }
.dmrow .mono { font-size: 12.5px; }
.mkflag { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 223, 80, 0.35); font-size: 13px; font-weight: 600; }
.mkopts { margin-top: 10px; display: flex; flex-direction: column; }
.mkorow { display: grid; grid-template-columns: minmax(120px, 1.4fr) 54px 56px minmax(140px, 2fr) auto; gap: 10px; align-items: center; padding: 6px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.mkorow.off { opacity: 0.5; }
.mkorow.won { background: rgba(6, 212, 127, 0.1); }
.pbar.sm { height: 22px; }
.pbar.sm span { line-height: 22px; font-size: 12px; font-weight: 600; }
.btn.neg, .neg { color: #b42318; }
@media (max-width: 760px) { .mkorow { grid-template-columns: 1fr 50px 50px auto; } .mkorow .pbar { grid-column: 1 / -1; grid-row: 2; } }
.mkspark { margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(10, 10, 10, 0.03); }
.mkspark svg { width: 100%; height: 70px; display: block; }
.mkspark i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.dfilters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.dgroup { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dgroup .eyebrow { width: 112px; flex: none; }
.dgroup .chips { flex: 1; }
@media (max-width: 760px) { .dgroup .eyebrow { width: 100%; } }
.mkgrp { display: flex; flex-direction: column; margin-top: 6px; }
.mkgrow { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px; gap: 6px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); }
.mkgrow:first-child { border-top: 0; }
.mkgrow .grow { font-size: 14px; }
.odd.sm { min-height: 44px; padding: 5px 9px; }
.odd.sm span { font-size: 11px; }
.odd.sm b { font-size: 14px; }
.dfilters.card { padding: 14px; gap: 12px; }
.dtop { display: flex; gap: 8px; align-items: center; }
.dsearch { flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.dsearch svg { width: 16px; height: 16px; opacity: 0.45; flex: none; }
.dsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; }
.dsearch:focus-within { border-color: #04a867; box-shadow: 0 0 0 3px rgba(6, 212, 127, 0.16); }
.dtop select { height: 42px; }
.seg.cats.dgroups { max-width: 640px; }
.dsubs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.dsubs::-webkit-scrollbar { display: none; }
.dsubs button { flex: none; border: 0; background: none; padding: 6px 10px 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; cursor: pointer; }
.dsubs button.on { color: var(--ink); border-bottom-color: var(--green); }

/* ---- feed status line ---- */
.syncbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.syncitem { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; }
.syncitem i { width: 8px; height: 8px; border-radius: 50%; background: #04a867; box-shadow: 0 0 0 3px rgba(6, 212, 127, 0.18); flex: none; }
.syncitem.late i { background: #e0a800; box-shadow: 0 0 0 3px rgba(255, 223, 80, 0.35); }
.syncitem.old i { background: var(--bad); box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.18); }
.syncnote { font-size: 12px; color: var(--muted); }
.syncnote.pos { color: #07885a; font-weight: 700; } .syncnote.neg { color: var(--red, var(--bad)); font-weight: 700; }

/* ---- sports / markets filters: same card + segmented look as Lottery and Predicts ---- */
.spf { margin: 0; padding: 12px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); gap: 10px; top: 6px; }
.spf-row { background: rgba(14, 22, 48, 0.06); border-radius: 999px; padding: 4px; gap: 4px; }
.spf-row .sp-pill { height: 38px; border: 0; background: transparent; color: var(--ink-2); font-weight: 700; padding: 0 14px 0 8px; box-shadow: none; }
.spf-row .sp-pill.nodot { padding: 0 16px; }
.spf-row .sp-pill span { background: rgba(14, 22, 48, 0.07); }
.spf-row .sp-pill.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14, 22, 48, 0.1); }
.spf-row .sp-pill.on span { background: var(--green); color: #0a0a0a; }
.spf-row2 .seg { flex: 1; }
.spf-row2 .icon-btn { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.ltabs { border-top: 1px solid var(--line); padding-top: 8px; }
.pxq { margin-top: 10px; }
.pxq + .pxq { border-top: 1px solid var(--line); padding-top: 10px; }
.pxqt { font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.seg.ctry button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.seg.ctry .ccflag { width: 20px; height: 20px; border-radius: 50%; }
.flagpill span img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }
.flagpill span b { font-weight: 400; }
.flagpill span:has(img) { background: none !important; }
.draw-chip .d0 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.75; margin-bottom: 2px; }
.lhead .lflag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; display: block; }
.lotrates { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.lotrate { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); background: #fff; }
.lotrate:first-child { border-top: 0; }
.lotrate .ccflag { width: 20px; height: 20px; border-radius: 50%; }
.lotrate .pbk input { width: 72px; }
.phonein.slim .ccbtn { border-radius: 12px; padding: 0 10px 0 7px; gap: 6px; }
.phonein.slim .input { font-size: 16px; }

/* ---------- lively cards ---------- */
.gmt .tm { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 1px 0; }
.gmt .tm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm { position: relative; overflow: hidden; }
.gm::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lc, transparent); }
.lhead { color: var(--lc, var(--muted)); }
.cd { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.cd em { font-style: normal; font-variant-numeric: tabular-nums; }
.cd.soon { color: #d97706; }
.cd .dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.6); animation: livepulse 1.4s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 70% { box-shadow: 0 0 0 7px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.gmw { gap: 2px; align-items: flex-end; }
.gmw b { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pop { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); font-weight: 600; margin: -3px 0 8px; }
.pop b { color: var(--ink); }
.odd b { display: inline-flex; align-items: center; gap: 3px; }
.odd .mv { font-style: normal; font-size: 9px; }
.odd .mv.up { color: var(--good); } .odd .mv.dn { color: var(--bad); }
.odd.on .mv { color: inherit !important; }
.odd.flash-up { animation: flashup 1.6s ease-out; } .odd.flash-dn { animation: flashdn 1.6s ease-out; }
@keyframes flashup { 0%, 30% { background: rgba(22,163,74,.18); border-color: var(--good); } 100% {} }
@keyframes flashdn { 0%, 30% { background: rgba(220,38,38,.14); border-color: var(--bad); } 100% {} }
.tophead { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 4px -2px; }
.topstrip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.topstrip::-webkit-scrollbar { display: none; }
.topc { flex: 0 0 82%; max-width: 360px; scroll-snap-align: start; border-radius: 20px; padding: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--lc) 16%, #fff), #fff 60%); border: 1px solid color-mix(in srgb, var(--lc) 25%, transparent); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.topl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lc); }
.topt { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 6px; }
.topt > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.topt b { font-size: 14px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topt .vs { font-size: 11px; font-weight: 800; color: var(--muted); }
.topw { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mkcard { position: relative; overflow: hidden; }
.mkcard[style*="--lc"]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lc); }
.mkhead { display: flex; align-items: center; gap: 10px; margin: 8px 0 6px; }
.mkhead .mkt-q { margin: 0; flex: 1; min-width: 0; }
.mkimg { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; background: rgba(14,22,48,.05); }
.mkimg.ph { display: grid; place-items: center; font-size: 20px; }
.spark { display: inline-flex; flex-direction: column; align-items: flex-end; flex: none; gap: 1px; }
.spark b { font-size: 10.5px; font-family: var(--mono); }
.spark.up { color: var(--good); } .spark.dn { color: var(--bad); } .spark.flat { color: var(--muted); }
.chance { height: 8px; border-radius: 99px; background: rgba(220,38,38,.18); overflow: hidden; margin: 2px 0 4px; }
.chance i { display: block; height: 100%; background: linear-gradient(90deg, var(--good), #22c55e); border-radius: 99px; transition: width .6s ease; }
.chancel { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.chancel b { color: var(--ink); }
.minibar { display: block; height: 4px; border-radius: 99px; background: rgba(14,22,48,.08); overflow: hidden; margin: 4px 0 2px; max-width: 140px; }
.minibar i { display: block; height: 100%; background: #22c55e; }
.mkgrow .grow { display: flex; flex-direction: column; min-width: 0; }
.lastres { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 2px; }
.lballs { display: flex; gap: 5px; flex-wrap: wrap; }
.lball { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 12px; background: color-mix(in srgb, var(--gc) 12%, #fff); color: var(--gc); border: 1px solid color-mix(in srgb, var(--gc) 30%, transparent); }
.lball.new { background: var(--gc); color: #fff; }
.hotn { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #c2410c; background: #fff1e6; border-radius: 99px; padding: 3px 9px; }
.hotn i { font-style: normal; opacity: .7; }

/* one frame for every crest, league badge and fighter */
.crest { --tc: #d5d9e0; position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--tc), 0 1px 2px rgba(14,22,48,.06); overflow: hidden; }
.crest > i { font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: -0.02em; color: #3b4252; line-height: 1; }
.crest > i.ic { font-size: 12px; }
.crest.img { box-shadow: inset 0 0 0 1.5px #e6e8ec, 0 1px 2px rgba(14,22,48,.06); }
.crest.big.img { box-shadow: inset 0 0 0 2px #e6e8ec, 0 2px 6px rgba(14,22,48,.08); }
.crest.img > i { visibility: hidden; }
.crest img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; }
.crest.big { width: 48px; height: 48px; box-shadow: inset 0 0 0 2px var(--tc), 0 2px 6px rgba(14,22,48,.08); }
.crest.big > i { font-size: 15px; }
.crest.big img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
/* fights: red corner vs blue corner */
.crest.fighter > i { color: #fff; }
.crest.fighter.red { background: linear-gradient(145deg, var(--bad), #b91c1c); box-shadow: 0 1px 3px rgba(185,28,28,.35); }
.crest.fighter.blue { background: linear-gradient(145deg, #3b82f6, #1d4ed8); box-shadow: 0 1px 3px rgba(29,78,216,.35); }
.crest.fighter { overflow: visible; }
.crest .nflag { position: absolute; right: -4px; bottom: -3px; font-style: normal; font-size: 11px; line-height: 1; filter: drop-shadow(0 0 1px #fff); }
.crest.big .nflag { font-size: 18px; right: -6px; bottom: -4px; }
.gm.fight::before { background: linear-gradient(180deg, var(--bad) 0 50%, #2563eb 50% 100%); }
.gm.fight .mkt > .odd:first-child, .topc.fight .mkt > .odd:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.gm.fight .mkt > .odd:last-child, .topc.fight .mkt > .odd:last-child { box-shadow: inset -3px 0 0 #2563eb; }
.topc.fight { background: linear-gradient(110deg, rgba(220,38,38,.10), #fff 45%, #fff 55%, rgba(37,99,235,.10)); border-color: rgba(14,22,48,.08); }
.topc.fight .topl { color: #b91c1c; }
.topt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; min-height: 2.4em; text-align: center; }
.tlimg { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px #e6e8ec; overflow: hidden; }
.tlimg img { width: 30px; height: 30px; object-fit: contain; }
.tlimg i { font-style: normal; font-weight: 800; font-size: 12px; color: #3b4252; }
.tlrow { align-items: flex-start; }

/* league logo: the real logo, no frame, same box as the sport icon; faint outline so pale logos (UCL silver) still show */
.lgic { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.lgic > i { font-style: normal; font-size: 13px; line-height: 1; }
.lgic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 0.6px rgba(14,22,48,.55)); }
.lgic.img > i { visibility: hidden; }
.topl .lgic { width: 18px; height: 18px; }

/* silver / pale logos (UCL, Europa): solid dark shape in the league colour family */
.lgic.mono img { filter: brightness(0) opacity(.78); }

/* 3D brand icons */
.ic3d { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.sp-pill span { overflow: visible; }
.sp-pill span:has(.ic3d) { background: transparent; width: 24px; height: 24px; }
.sp-pill.on span:has(.ic3d) { background: transparent; }
.sp-pill .ic3d { filter: drop-shadow(0 1px 1.5px rgba(14,22,48,.18)); }
.seg.cats button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.seg.cats .ic3d.cat { width: 26px; height: 26px; margin-left: -4px; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.seg.cats button.on .ic3d.cat { transform: scale(1.12) rotate(-6deg); }
.lhead span:has(.ic3d), .lhead .lgic > i:has(.ic3d) { width: 20px; height: 20px; display: inline-block; }
.lgic > i .ic3d { width: 20px; height: 20px; }
.mkimg.ph { background: rgba(14,22,48,.04); padding: 6px; }
.ball3d { width: 30px; height: 30px; flex: none; display: inline-grid; place-items: center; background-size: contain; background-repeat: no-repeat; background-position: center; }
.ball3d b { font-family: var(--mono); font-weight: 800; font-size: 11px; line-height: 1; min-width: 17px; height: 17px; padding: 0 3px; display: grid; place-items: center; border-radius: 99px; background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.ball3d:not(.new) { opacity: .78; transform: scale(.9); }

/* walkthrough fixes */
.slip.empty { display: none; }
.sellbar.idle { position: static; }
.lfbox { gap: 0; padding: 6px; }
.lfbox.open { gap: 8px; padding: 10px 12px 8px; }
.lfmore { display: flex; flex-direction: column; gap: 8px; }
.lfmore[hidden] { display: none; }
.lfsum { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 4px 4px 4px 6px; cursor: pointer; text-align: left; font: inherit; color: var(--ink-2); min-width: 0; }
.lfs-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.lfs-ic img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.lfs-ic .ic3d { width: 26px; height: 26px; }
.lfs-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--muted); font-weight: 600; }
.lfs-t b { color: var(--ink); font-weight: 800; }
.lfs-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(14,22,48,.06); font-weight: 800; font-size: 13px; color: var(--ink); }
.lfbox.open .lfs-btn { background: var(--ink); color: var(--green); }
.lfs-btn svg { transition: transform .2s; }
.paysx { font-size: 12px; font-weight: 600; color: var(--muted); }
.paysx b { color: var(--ink); font-family: var(--mono); }
.dgts { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 5px; }
.dgt { height: 40px; min-width: 0; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: 800 16px var(--mono); color: var(--ink); cursor: pointer; transition: transform .12s, background .15s; }
.dgt:active { transform: scale(.94); }
.dgt.on { background: var(--ink); color: var(--green); border-color: var(--ink); }
.dgt.shut { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
@media (max-width: 360px) { .dgts { grid-template-columns: repeat(5, 1fr); } }
.tkic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; }
.tkic .ic3d { width: 34px; height: 34px; }
.ball3d.sm { width: 30px; height: 30px; opacity: 1 !important; transform: none !important; }
.tbl tr.grp td { background: rgba(14,22,48,.035); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 8px; padding-bottom: 8px; }
.tbl tr.grp.need td { background: #fff4e5; color: #b45309; }
.tbl tr.quiet td { opacity: .5; }
.tbl tr.quiet:hover td { opacity: 1; }
.rulesbtn { width: 18px; height: 18px; font-size: 11px; vertical-align: 2px; margin-left: 4px; }
.rules { max-height: 46vh; overflow: auto; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.rules p { margin: 0 0 10px; }
.rulesmeta { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.rulesmeta > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.rulesmeta span { color: var(--muted); flex: none; }
.rulesmeta b { text-align: right; font-weight: 700; }
.rulesmeta a { color: var(--ink); text-decoration: underline; }
/* Spanish rules: a line saying they are a translation, with the English original one tap away */
.rulestr { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: -4px; }
.rulestr button { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* avatars */
.avbtn { border: 0; padding: 0; cursor: pointer; overflow: hidden; position: relative; font-family: inherit; transition: transform .15s; }
.avbtn:active { transform: scale(.94); }
.avbtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avbtn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); pointer-events: none; }
.avgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 6px; }
.avgrid.m4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.avgrid.m4 .avopt span { width: 72px; height: 72px; }
.avgrid.m4 .avopt i { font-size: 12px; }
.avopt { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; min-width: 0; }
.avopt span { width: 58px; height: 58px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 0 0 2px transparent; transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .15s; }
.avopt span img { width: 100%; height: 100%; object-fit: cover; }
.avopt:hover span { transform: translateY(-2px) scale(1.04); }
.avopt.on span { box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 0 5px var(--green); }
.avopt i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.avopt.plain { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 4px 0; }
.avopt.plain span { width: 44px; height: 44px; }
.avopt .ini { background: var(--ink); color: var(--green); font-weight: 800; font-size: 13px; }
.avopt.plain i { font-size: 14px; color: var(--ink); }

/* bottom bar with 3D icons (light mode): quiet when idle, full colour and a soft mint pill when on */
.tabbar button .tic { width: 28px; height: 28px; display: grid; place-items: center; font-style: normal; transition: transform .25s cubic-bezier(.3,1.6,.5,1), filter .2s; filter: saturate(.25) opacity(.6); }
.tabbar button .tic .ic3d { width: 26px; height: 26px; }
.tabbar button.on { background: rgba(6, 212, 127, 0.14); color: var(--ink); }
.tabbar button.on .tic { filter: none; transform: translateY(-1px) scale(1.12); }
.tabbar button:hover .tic { filter: saturate(.7) opacity(.9); }
.tabbar button span { font-weight: 700; }

/* no emoji: round flags, small icons */
.flimg { width: 15px; height: 15px; border-radius: 50%; object-fit: cover; vertical-align: -2px; margin-right: 5px; box-shadow: 0 0 0 1px rgba(14,22,48,.08); display: inline-block; }
.draw-chip .d0 .flimg { width: 14px; height: 14px; }
.draw-chip.on .d0 .flimg { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.chip .flimg { width: 16px; height: 16px; }
.hot { display: inline-flex; align-items: center; gap: 3px; color: #ea580c; }
.hot svg { flex: none; }
.hotn svg { vertical-align: -2px; }
.potic { display: inline-flex; align-items: center; gap: 4px; }
.potic .ic3d { width: 18px; height: 18px; }
.minib { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; background-size: contain; background-repeat: no-repeat; }
.winic { width: 72px; height: 72px; margin: 0 auto; }
.winic.big { width: 96px; height: 96px; }
.winic .ic3d { width: 100%; height: 100%; animation: winpop .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes winpop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .winic .ic3d { animation: none; } }
.crest .nflag { font-size: 0; }
.crest .nflag img { position: static; inset: auto; width: 13px; height: 13px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fff; display: block; }
.crest.big .nflag img { width: 20px; height: 20px; box-shadow: 0 0 0 2px #fff; }

/* game title row in the sell card */
.gtitle { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.gtitle > b { font-size: 17px; letter-spacing: -.01em; }
.payx { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; background: rgba(6,212,127,.14); color: #037a4b; font-weight: 800; font-size: 12px; white-space: nowrap; }
.payx.soft { background: rgba(14,22,48,.06); color: var(--ink-2); }

/* empty states and loading placeholders */
.emp { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 16px; }
.emp-ic { width: 64px; height: 64px; margin-bottom: 6px; filter: drop-shadow(0 8px 10px rgba(6,90,52,.18)); }
.emp b { font-size: 15px; }
.emp span { font-size: 13px; color: var(--muted); max-width: 300px; }
.skel { display: flex; flex-direction: column; }
.sk-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.sk-row:last-child { border-bottom: 0; }
.sk-row > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.skel i { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(14,22,48,.06) 25%, rgba(14,22,48,.11) 50%, rgba(14,22,48,.06) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.sk-c { width: 34px; height: 34px; border-radius: 50% !important; flex: none; }
.sk-l { height: 12px; width: 60%; } .sk-s { height: 10px; width: 38%; } .sk-r { width: 54px; height: 14px; flex: none; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel i { animation: none; } }

/* login screens: soft Higgsfield ribbons behind, a crowd of avatars on top */
.login { background: url(/img/card/light.webp) center bottom / cover no-repeat fixed; }
.login .card { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 60px -30px rgba(6,90,52,.4); }
.lhero { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lcrowd { display: flex; }
.lcrowd img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 6px 14px -6px rgba(14,22,48,.4); animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
.lcrowd img:first-child { margin-left: 0; }
.lcrowd img:nth-child(4) { width: 62px; height: 62px; z-index: 2; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.lline { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lline img { width: 24px; height: 24px; }
.lline span { margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .lcrowd img { animation: none; } }
.tkt .head .tdeco { position: absolute; right: 14px; bottom: -8px; width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); pointer-events: none; }

/* admin: 3D sidebar icons, light active state, seller avatars */
.side .nav .nic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; font-style: normal; transition: transform .25s cubic-bezier(.3,1.6,.5,1), filter .2s; filter: saturate(.3) opacity(.7); }
.side .nav .nic img { width: 26px; height: 26px; object-fit: contain; }
.side .nav.on { background: rgba(6, 212, 127, 0.14); color: var(--ink); }
.side .nav.on .nic, .side .nav:hover .nic { filter: none; }
.side .nav.on .nic { transform: scale(1.1); }
.sav { width: 28px; height: 28px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: var(--green); font-size: 10px; font-weight: 800; }
.sav img { width: 100%; height: 100%; object-fit: cover; }

/* ---- one tag system: never tinted with game colours ---- */
.pill { height: 24px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0; background: #eef0ee; color: #3b4252; border: 0; }
.pill.good { background: #e3f8ee; color: #04754a; }
.pill.warn { background: #fff3dc; color: #9a5b00; }
.pill.bad { background: #fde8e8; color: #b42318; }
.pill.info { background: #eef0ee; color: #3b4252; }
.pill.P2, .pill.P3, .pill.F5, .pill.PR, .pill.SP, .pill.MK, .pill[class*=" L1"] { background: #eef0ee; color: #3b4252; }
.gtag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 4px; border-radius: 99px; background: #fff; border: 1px solid rgba(14,22,48,.08); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.gtag img { width: 20px; height: 20px; object-fit: contain; }
.gtag i { font-style: normal; font-weight: 600; color: var(--muted); }
/* predicts lottery card header: ball + name + time, no coloured stripe */
.pxhead { display: flex; align-items: center; gap: 10px; }
.pxhead .pxball { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 6px rgba(14,22,48,.18)); }
.pxhead b { display: block; font-size: 16px; letter-spacing: -.01em; }
.pxhead span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mkcard[style*="--lc"]::before { display: none; }
/* last results: neutral pills, newest dark */
.lball { background: #fff; color: var(--ink); border: 1px solid rgba(14,22,48,.1); }
.lball.new { background: var(--ink); color: #fff; border-color: var(--ink); }
.hotn { background: transparent; padding: 0; color: #c2410c; }
/* selected draw: black like every other selected thing */
.draw-chip.on { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(10,10,10,.6); }
.draw-chip.on .d0 { color: var(--green); opacity: 1; }
.payx { height: 24px; background: #e3f8ee; color: #04754a; }
.payx.soft { background: #eef0ee; color: #3b4252; }

/* lottery: same language as predicts (ball + name + time), no game-colour fills */
.draw-chip { min-width: 168px; padding: 10px 14px 10px 10px; }
.dch { display: flex; align-items: center; gap: 10px; }
.dball { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 3px 5px rgba(14,22,48,.2)); }
.draw-chip .d0 { text-transform: none; letter-spacing: 0; font-size: 13px; opacity: 1; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.draw-chip.on .d0 { color: #fff; }
.draw-chip .d0 .flimg.tail { margin: 0; width: 13px; height: 13px; }
.draw-chip .d1 { font-size: 13.5px; }
.pxhead.gt { flex: 1; min-width: 0; }
.pxhead.gt > span { display: block; min-width: 0; }
.pxhead.gt b { display: flex; align-items: center; gap: 6px; }
/* sports: no league-colour stripes or coloured league text */
.gm::before, .gm.fight::before { display: none; }
.lhead, .topc .topl, .topc.fight .topl { color: var(--muted); }
.topc { background: #fff; border-color: rgba(14,22,48,.07); }
.topc.fight { background: #fff; }
.pxhead.gt b { color: var(--ink); font-size: 18px; text-transform: none; letter-spacing: -.01em; }
.pxhead.gt > span > span { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap; }

/* numbers in the new style everywhere: 3D ball, number on a white disc */
.ball, .ball.fill { width: 34px; height: 34px; border: 0; border-radius: 50%; transform: none; padding: 0; color: #0a0a0a; font: 800 13px var(--mono, monospace); background: radial-gradient(circle at 50% 50%, #fff 0 10.5px, rgba(255,255,255,0) 11px), var(--bimg, url(/img/ic/ball-green.webp)) center / contain no-repeat; text-shadow: none; }
.ball.hit { background: radial-gradient(circle at 50% 50%, #fff 0 10.5px, rgba(255,255,255,0) 11px), url(/img/ic/ball-gold.webp) center / contain no-repeat; color: #0a0a0a; }
.ltr, .ltr.hit { width: 34px; height: 34px; border-radius: 50%; transform: none; font: 800 13px var(--mono, monospace); color: #ffdf50; background: radial-gradient(circle at 50% 50%, #0a0a0a 0 10.5px, rgba(10,10,10,0) 11px), url(/img/ic/ball-black.webp) center / contain no-repeat; }
.ltr.hit { color: #0a0a0a; background: radial-gradient(circle at 50% 50%, #ffdf50 0 10.5px, rgba(0,0,0,0) 11px), url(/img/ic/ball-gold.webp) center / contain no-repeat; }
.balls { gap: 3px; }
.balls.sm .ball, .balls.sm .ltr { width: 30px; height: 30px; font-size: 11.5px; }
.tkt .balls .ball, .tkt .balls .ltr { width: 40px; height: 40px; font-size: 15px; background-size: auto, contain; }
.tkt .balls .ball { background: radial-gradient(circle at 50% 50%, #fff 0 12.5px, rgba(255,255,255,0) 13px), var(--bimg, url(/img/ic/ball-green.webp)) center / contain no-repeat; }
/* tinted ticket logo */
.tkt .head .tlogo.tint { display: block; width: 52px; height: 22px; background: var(--lg); -webkit-mask: url(/brand/b1n0.svg) right center / contain no-repeat; mask: url(/brand/b1n0.svg) right center / contain no-repeat; }
.tkt .head .tdeco { display: none; }

/* ---- admin › Sports settings (OddsPapi leagues) ---- */
.lgic img[src*="flagcdn"] { inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; object-fit: cover; filter: none; box-shadow: 0 0 0 1px rgba(14,22,48,.12); }
.lgflag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(14,22,48,.12); display: inline-grid; place-items: center; font-size: 13px; background: #f1f2ee; }
.lgflag.none { box-shadow: none; background: none; object-fit: contain; }
.opgrp { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.opgrp:first-child { border-top: 0; margin-top: 0; }
.opgh { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.opgh .opm { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.opgh .opm input { width: 70px; text-align: right; }
.oplg { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.oplg + .oplg { border-top: 1px dashed var(--line); }
.oplg.off .grow, .oplg.off .lgflag { opacity: .45; }
.oplsearch { position: relative; }
.opres { border: 1px solid var(--line-2); border-radius: 12px; padding: 2px 10px; margin-top: 6px; background: #fff; max-height: 320px; overflow: auto; }
.bkfeed summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bkfeed summary::-webkit-details-marker { display: none; }
.bkfeed summary::before { content: '▸'; color: var(--muted); }
.bkfeed[open] summary::before { content: '▾'; }
.bkfeed[open] summary { margin-bottom: 10px; }

/* ---- admin › Sports: games grouped by league, Leagues tab ---- */
.spseg { max-width: 640px; }
.spfilt { padding: 10px 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
.spfilt .chips { flex-wrap: wrap; gap: 6px; }
.spfilt .chip img { width: 18px; height: 18px; object-fit: contain; margin: -2px 6px -2px -2px; vertical-align: middle; }
.spsum { font-size: 13px; color: var(--muted); margin: 2px 4px 10px; }
.spsum b { color: var(--ink); font-weight: 650; }
.sptbl tr.lghead td { background: #f6f7f3; cursor: pointer; padding: 9px 12px; border-top: 1px solid var(--line); }
.sptbl tbody:first-of-type tr.lghead td { border-top: 0; }
.sptbl tr.lghead:hover td { background: #eef0ea; }
.sptbl .chev { margin-left: auto; font-style: normal; color: var(--muted); transition: transform .15s; display: inline-block; }
.sptbl tr.lghead.open .chev { transform: rotate(90deg); }
.src { flex: none; display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .02em; background: #eef2fb; color: #3554a4; }
.src.man { background: #fbf1e3; color: #9a5b00; }
.src.bk { background: #f1f1f1; color: #666; }
.lgmark { position: relative; flex: none; width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(14,22,48,.08); }
.lgmark > img { width: 78%; height: 78%; object-fit: contain; }
.lgmark > img.flag { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lgmark:has(> img.flag) { border-radius: 50%; }
.lgmark > img.spi { width: 80%; height: 80%; }
.lgmark em { position: absolute; right: -4px; bottom: -4px; width: 13px; height: 13px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px #fff; }
.lgmark em img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lgmark.big { width: 46px; height: 46px; border-radius: 12px; }
.lgmark.big em { width: 18px; height: 18px; }
.lgsports button { display: inline-flex; align-items: center; gap: 6px; }
.lgsports img { width: 20px; height: 20px; object-fit: contain; }
.lgsports .muted { font-size: 12px; }
.lgreg { padding: 0; margin-bottom: 10px; overflow: hidden; }
.lgrh { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.lgrh:hover { background: #fafbf8; }
.lgrm { display: flex; width: 74px; flex: none; }
.lgrm .lgmark { margin-left: -8px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(14,22,48,.06); }
.lgrm .lgmark:first-child { margin-left: 0; }
.lgrm .lgmark em { display: none; }
.lgmg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lgmg input { width: 64px; text-align: right; }
.lgreg .chev { font-style: normal; color: var(--muted); font-size: 20px; transition: transform .15s; }
.lgreg.open .chev { transform: rotate(90deg); }
.lgtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 4px 16px 16px; }
.lgt { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 10px 12px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .12s, background .12s, opacity .12s; }
.lgt.on { border-color: var(--green); background: linear-gradient(180deg, #f2fbf5, #fff); }
.lgt.on::after { content: ''; position: absolute; top: 9px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lgt.off { opacity: .5; }
.lgt.off .lgmark { filter: grayscale(1); }
.lgt:hover { border-color: var(--ink); }
.lgtn { font-weight: 650; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.lgts { font-size: 11.5px; color: var(--muted); }
.lgt.on .lgts { color: #1d7a45; }
.lgx { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 2px 4px; }
.lgx:hover { color: var(--red, #b42318); }
.lgt.add { border-style: dashed; color: var(--muted); justify-content: center; font: inherit; font-size: 13px; min-height: 120px; }
.lgt.add span { font-size: 26px; line-height: 1; }
.lgwait { margin: 0 16px 14px; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.lgwait summary { cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.lgwait summary::-webkit-details-marker { display: none; }
.lgwait summary::before { content: '▸ '; color: var(--muted); }
.lgwait[open] summary::before { content: '▾ '; }
.lgwait .lgtiles { padding: 10px 0 0; }
.lgres { border: 1px solid var(--line-2); border-radius: 12px; padding: 2px 12px; max-height: 50vh; overflow: auto; }
.lgrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.lgrow + .lgrow { border-top: 1px dashed var(--line); }
@media (max-width: 700px) { .lgmg { display: none; } .lgreg.open .lgmg { display: inline-flex; } .lgrm { width: 56px; } }
.lgoff { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #f6f7f3; }
.btn.lg.block { height: auto; padding: 12px 16px; display: block; text-align: left; line-height: 1.35; }

/* ---- admin › Lotteries: templates ---- */
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tpls .tpl { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; }
.tpls .tpl b { font-size: 13.5px; }
.tpls .tpl span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.tpls .tpl.on { border-color: var(--ink); background: #f6f7f3; box-shadow: inset 0 0 0 1px var(--ink); }
.pzt { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; margin-top: 6px; }
.pzh, .pzr { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 10px; align-items: center; padding: 8px 12px; }
.pzh { background: #f6f7f3; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pzr + .pzr { border-top: 1px dashed var(--line); }
.pzr .muted { font-size: 12.5px; }
.pzr input { text-align: right; }
@media (max-width: 560px) { .tpls { grid-template-columns: 1fr; } }
.card.arch summary { cursor: pointer; list-style: none; }
.card.arch summary::-webkit-details-marker { display: none; }
.card.arch[open] summary { margin-bottom: 8px; }
.btn.neg { color: var(--red, #b42318); }

/* ---- credits (CR) + crypto ---- */
.bal-loc { font-size: 14px; font-weight: 600; opacity: .72; margin: -2px 0 6px; }
#hbl { margin-top: 1px; }
.crl { color: var(--muted); font-weight: 500; font-size: .86em; }
.paypick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; height: auto; padding: 14px 16px; }
.paypick span { font-size: 12px; font-weight: 500; color: var(--muted); }
.amtchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cxeq { font-size: 13px; color: var(--muted); background: #f6f7f3; border-radius: 10px; padding: 9px 12px; }
.netpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.netb { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; text-align: left; }
.netb span { font-size: 11.5px; color: var(--muted); }
.netb.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #f6f7f3; }
.cxpay { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: #f6f7f3; }
.cxqr { width: 132px; height: 132px; flex: none; background: #fff; border-radius: 12px; padding: 8px; }
.cxqr svg { width: 100%; height: 100%; display: block; }
.cxamt { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.cxamt small { font-size: 14px; font-weight: 700; color: var(--muted); }
.cxstat { display: flex; align-items: center; gap: 8px; }
.fxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.fxr { display: grid; grid-template-columns: 92px minmax(84px, 1fr) minmax(84px, 1fr) 30px; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; }
.fxr > span { flex-wrap: wrap; row-gap: 0; }
.fxr .fxm { font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); width: 100%; padding-left: 21px; }
.fxr.live input { background: rgba(6, 212, 127, .08); color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; }
.fxfix { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; }
.fxfix small { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.fxlive { padding: 12px 14px; border-radius: 14px; background: rgba(6, 212, 127, .06); box-shadow: inset 0 0 0 1px rgba(6, 212, 127, .25); }
.fxio { display: flex; align-items: center; gap: 4px; min-width: 0; }
.fxio small { font-size: 10px; color: var(--muted); font-weight: 600; }
.fxio input { min-width: 0; }
.fxr span { display: inline-flex; align-items: center; gap: 5px; }
.fxr .ccflag { width: 16px; height: 16px; }
.fxr em { font-style: normal; font-size: 10.5px; color: var(--muted); }

/* buyer: money in/out by method */
.fundrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.fundrow > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(14,22,48,.04); }
.fundrow b { font-size: 14px; }
.fundrow small { font-size: 11px; color: var(--muted); }

/* add / withdraw method picker */
.mpick { display: flex; flex-direction: column; gap: 10px; }
.mopt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 18px; border: 1.5px solid rgba(14,22,48,.08); background: var(--card, #fff); cursor: pointer; transition: transform .12s, border-color .12s, box-shadow .12s; font: inherit; color: inherit; }
.mopt:not(.off):hover { border-color: rgba(4,168,103,.45); box-shadow: 0 6px 18px rgba(14,22,48,.08); transform: translateY(-1px); }
.mopt:not(.off):active { transform: scale(.99); }
.mopt img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.mopt b { display: block; font-size: 15px; }
.mopt small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.mopt em { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(14,22,48,.06); color: var(--muted); white-space: nowrap; }
.mopt em.go { background: rgba(4,168,103,.12); color: #04a867; }
.mopt.off { opacity: .55; cursor: default; }

/* ---- admin: sidebar sections, badges, sub-tabs, needs-you, country filter ---- */
.side .navsec { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 4px; opacity: .8; }
.side .navsec:empty { padding: 8px 0 0; }
.side .nav { position: relative; }
.nbadge { display: none; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; font-style: normal; }
.nbadge.on { display: inline-block; }
.mtabs .chip .nbadge.on { margin-left: 6px; height: 17px; line-height: 17px; min-width: 17px; font-size: 10px; }
.subtabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: rgba(14,22,48,.05); width: max-content; max-width: 100%; overflow-x: auto; }
.subtabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.subtabs button.on { background: var(--card, #fff); color: var(--ink); box-shadow: 0 1px 4px rgba(14,22,48,.1); }
.subtabs .nbadge.on { margin-left: 2px; height: 18px; line-height: 18px; min-width: 18px; font-size: 10.5px; }
.needs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.needs.ok { flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(4,168,103,.08); }
.needs-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.need { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid rgba(229,72,77,.25); background: rgba(229,72,77,.05); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.need:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14,22,48,.08); }
.need img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.need b { font-size: 18px; color: #b42318; margin-right: 2px; }
.need span { font-weight: 700; font-size: 13.5px; }
.need small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.ccbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -6px 0 8px; }
.ccbar:empty { display: none; }
.ccbar select { width: auto; min-width: 180px; }
.ccbar .ccnote { font-size: 12px; color: var(--muted); }

/* settings shown one section at a time: one wide column */
.grid-2e.setsec { grid-template-columns: 1fr; max-width: 980px; }
.grid-2e.setsec .fxgrid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 420px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }

/* ID photos (player profile + admin) */
.idph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.idp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 10px 6px; border-radius: 14px; border: 1.5px dashed rgba(14,22,48,.18); text-align: center; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); }
.idp b { font-size: 20px; color: var(--ink); }
.idp.done { border-style: solid; border-color: rgba(4,168,103,.45); background: rgba(4,168,103,.06); }
.idp.done b { color: #04a867; }
.idp.busy { opacity: .5; pointer-events: none; }
.idp.has { padding: 6px; cursor: default; }
.idp.has img { width: 100%; height: 70px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.idp small { display: block; font-weight: 500; font-size: 10.5px; }
.idp label { color: var(--accent, #04a867); cursor: pointer; }

/* /me login: calm, like the kiosk */
.mlogin { min-height: 100dvh; max-width: 440px; margin: 0 auto; padding: max(48px, 9vh) 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.mlogin .mlogo { height: 34px; width: auto; align-self: flex-start; margin-bottom: 10px; }
.mlogin h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; max-width: 12ch; }
.mlogin .mlead { margin: 0 0 6px; font-size: 16px; color: var(--muted); line-height: 1.45; }
.mlogin .mcard { background: #fff; border: 1px solid rgba(14,22,48,.07); border-radius: 24px; padding: 20px; box-shadow: 0 20px 50px -34px rgba(14,22,48,.35); }
.mlogin .phonein.big .input { font-size: 22px; font-weight: 700; letter-spacing: .04em; height: 58px; }
.mlogin .phonein.big .ccbtn { height: 58px; }
.mlogin .btn.primary { background: #0a0a0a; color: #06d47f; height: 56px; font-size: 17px; }
.mlogin .mcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mlogin .mcats.four { grid-template-columns: repeat(2, 1fr); } .mlogin .mcats.four > div { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; } .mlogin .mcats.four img { margin-bottom: 0; } .mlogin .mcats.four span { flex-basis: 100%; }
.mlogin .mcats > div:nth-child(4) img { animation-delay: -2.2s; }
.mlogin .mcats > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: rgba(255,255,255,.7); border: 1px solid rgba(14,22,48,.06); border-radius: 18px; padding: 12px; }
.mlogin .mcats img { width: 40px; height: 40px; margin-bottom: 4px; filter: drop-shadow(0 6px 8px rgba(6,90,52,.18)); }
.mlogin .mcats b { font-size: 14px; } .mlogin .mcats span { font-size: 11.5px; color: var(--muted); }
.mlogin .mlegal { margin-top: auto; padding-top: 18px; font-size: 11.5px; color: #8a93a6; }
.mlogin .mlegal summary { cursor: pointer; list-style: none; } .mlogin .mlegal summary::-webkit-details-marker { display: none; }
.mlogin .mlegal .legal { margin-top: 10px; border-top: 1px solid rgba(14,22,48,.08); padding-top: 12px; }

/* Number risk grid */
.rkgrid{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}
.rk{position:relative;border:1px solid var(--line,#e5e5e5);border-radius:10px;padding:8px 2px;background:rgba(220,60,40,calc(var(--h)*.85));color:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:52px;font:inherit}
.rk b{font-family:ui-monospace,monospace;font-size:15px}
.rk span{font-size:10px;opacity:.75}
.rk.capped{box-shadow:inset 0 0 0 2px #e0a100}
.rk.closed{background:repeating-linear-gradient(45deg,#ddd,#ddd 4px,#f3f3f3 4px,#f3f3f3 8px);color:#888}
@media (max-width:600px){.rkgrid{gap:3px}.rk{min-height:42px;padding:5px 0}.rk b{font-size:12px}.rk span{display:none}}

/* admin login: password / text-a-code switch */
.mlogin .mswitch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: rgba(14,22,48,.05); border-radius: 14px; }
.mlogin .mswitch button { border: 0; background: transparent; border-radius: 11px; padding: 10px 8px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.mlogin .mswitch button.on { background: #fff; color: #0a0a0a; box-shadow: 0 2px 8px -4px rgba(14,22,48,.3); }

/* Lottery: Predictions tab in the game tabs */
.ltabs .prtab { display: inline-flex; align-items: center; gap: 5px; }
.ltabs .prtab img.ic3d { width: 18px !important; height: 18px !important; margin: 0 !important; }

/* digit games with several numbers (Palé, Tripleta) and draw specials */
.balls.dgb { align-items: center; }
.balls .dgsep { width: 6px; height: 2px; background: currentColor; opacity: .35; border-radius: 2px; margin: 0 2px; flex: none; }
.tkt .tspecial { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #ffdf50; text-transform: uppercase; }
.draw-chip .dsp { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 10.5px; font-weight: 800; color: #b45309; background: #fff4d6; border-radius: 999px; padding: 1px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.draw-chip.on .dsp { background: #ffdf50; color: #3a2a00; }
.spbanner { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: linear-gradient(90deg, #fff4d6, #ffe9a8); color: #5b3b00; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.spbanner b { font-weight: 900; }
.dgnums { display: flex; gap: 8px; } .dgnums .dgn { flex: 1; min-width: 0; text-align: center; letter-spacing: .12em; }
.spx summary { cursor: pointer; list-style: none; } .spx summary::-webkit-details-marker { display: none; }
.dgr { border: 1px solid rgba(14,22,48,.08); border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.6); }
.dgr.on { border-color: rgba(6,170,100,.35); background: rgba(6,212,127,.06); }

/* /me balance card (clean light) */
.wal { background: #fff; border: 1px solid rgba(14,22,48,.07); border-radius: 26px; padding: 22px 20px 18px; box-shadow: 0 20px 40px -32px rgba(14,22,48,.4); }
.wal-k { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.wal-amt { font-size: 46px; font-weight: 900; letter-spacing: -.035em; line-height: 1; margin-top: 10px; color: #0e1630; }
.wal-amt small { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-left: 5px; }
.wal-loc { display: block; border: 0; background: none; padding: 0; margin-top: 7px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: left; }
.wal-won { margin-top: 4px; font-size: 12px; font-weight: 600; color: #04a867; }
.wal-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.wal-a { border: 0; background: none; padding: 0; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #0e1630; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.wal-a i { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1f4f0; color: #0e1630; transition: transform .12s ease, background .12s ease; }
.wal-a.prim i { background: #0a0a0a; color: #06d47f; }
.wal-a:active i { transform: scale(.94); }
.wal-a:hover i { background: #e7ece5; } .wal-a.prim:hover i { background: #1d1d1d; }
.wal-a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mlogin .mlegal.full .legal { margin-top: 0; border-top: 1px solid rgba(14,22,48,.08); padding-top: 16px; }

/* taps feel the same everywhere: a quick press, a soft spring back */
.btn, .chip, .draw-chip, .odd { transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; }
.btn:active, .chip:active, .draw-chip:active, .odd:active { transform: scale(.96); transition-duration: .06s; }
@media (prefers-reduced-motion: reduce) { .btn, .chip, .draw-chip, .odd { transition: none; } }

/* ============ polish v3: our own number balls, clearer tabs, motion ============ */

/* --- number balls: drawn in code so they stay sharp at any size. Colour comes from the game (--bc ball, --bt number). --- */
:root { --bc: #06d47f; --bt: #053d25; }
.ball, .ball.fill, .ball.hit, .ltr, .ltr.hit, .numgrid button.on {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .96) 0 6%, rgba(255, 255, 255, .42) 17%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 62% 108%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--bc) 64%, #fff), var(--bc) 54%, color-mix(in srgb, var(--bc) 70%, #000) 100%);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .18), inset 0 1px 1px rgba(255, 255, 255, .5), 0 7px 11px -7px color-mix(in srgb, var(--bc) 55%, #000);
  color: var(--bt); border: 0;
}
.ball, .ball.fill, .ltr { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; transform: none;
  font: 900 14.5px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(255, 255, 255, .22); }
.ltr { --bc: #20242e; --bt: #ffdf50; text-shadow: none; }
.ball.hit, .ltr.hit, .ball.fill.hit { --bc: #ffcd2e; --bt: #3f2e00; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .16), inset 0 1px 1px rgba(255, 255, 255, .6), 0 0 0 3px rgba(255, 223, 80, .45), 0 8px 14px -6px rgba(224, 168, 0, .8); animation: ballhit .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.balls { gap: 4px; }
.balls.sm .ball, .balls.sm .ltr { width: 30px; height: 30px; font-size: 13px; }
.tkt .balls .ball, .tkt .balls .ltr { width: 40px; height: 40px; font-size: 17px; }
.tkt .balls .ball { background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .96) 0 6%, rgba(255, 255, 255, .42) 17%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 62% 108%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--bc) 64%, #fff), var(--bc) 54%, color-mix(in srgb, var(--bc) 70%, #000) 100%); }
.ball.wide, .balls.sm .ball.wide { width: auto; min-width: 34px; padding: 0 10px; border-radius: 999px; }
.balls.lg .ball, .balls.lg .ltr { width: 56px; height: 56px; font-size: 24px; } .balls.lg .ball.wide { width: auto; min-width: 56px; padding: 0 16px; } .balls.lg { gap: 7px; }
.balls.xs .ball, .balls.xs .ltr { width: 22px; height: 22px; font-size: 10.5px; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .16); } .balls.xs .ball.wide { width: auto; min-width: 22px; padding: 0 6px; } .balls.xs { gap: 2px; flex-wrap: nowrap; }
/* fresh results drop in one by one */
.balls.drop .ball, .balls.drop .ltr { animation: balldrop .55s calc(var(--b, 0) * 60ms) cubic-bezier(.25, 1.4, .4, 1) both; }
@keyframes balldrop { from { opacity: 0; transform: translateY(-14px) scale(.4) rotate(-80deg); } to { opacity: 1; transform: none; } }
@keyframes ballhit { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: none; } }
/* last results strip */
.lball, .lball.new { font-family: var(--font); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ball3d b { font-family: var(--font); font-weight: 900; font-variant-numeric: tabular-nums; }

/* --- picking numbers: empty sockets that turn into balls --- */
.numgrid button { font: 800 14px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink-2); border: 0;
  background: radial-gradient(circle at 34% 28%, #fff, #eef1ee 70%, #e4e8e4); box-shadow: inset 0 -2px 4px rgba(14, 22, 48, .08), 0 0 0 1px rgba(14, 22, 48, .07);
  transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.numgrid button:active { transform: scale(.88); transition-duration: .06s; }
.numgrid button.on { font-weight: 900; animation: ballpick .45s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes ballpick { 0% { transform: scale(.7) rotate(-30deg); } 100% { transform: none; } }
.dgt { font-family: var(--font); font-weight: 800; font-variant-numeric: tabular-nums; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .15s, color .15s; }
.dgt:active { transform: scale(.9); transition-duration: .06s; }
.input.big { font-family: var(--font); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* --- bottom tabs: a solid bar, full-colour icons, a black pill that slides to the tab you pick --- */
.tabbar { --tn: 4; --ti: 0; gap: 0; padding: 6px; background: rgba(255, 255, 255, .94); border: 1px solid #fff; border-radius: 30px;
  box-shadow: 0 18px 40px -14px rgba(14, 22, 48, .38), 0 2px 6px rgba(14, 22, 48, .06); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.tabbar::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc((100% - 12px) / var(--tn)); border-radius: 24px; background: #0a0a0a;
  box-shadow: 0 10px 20px -10px rgba(10, 10, 10, .7); transform: translateX(calc(var(--ti) * 100%)); transition: transform .5s cubic-bezier(.3, 1.35, .45, 1); }
.tabbar.none::before { opacity: 0; }
.tabbar button { position: relative; z-index: 1; height: 54px; gap: 1px; border-radius: 24px; background: transparent !important; color: #5b647a; font-size: 11.5px; transition: color .25s; -webkit-tap-highlight-color: transparent; }
.tabbar button .tic { width: 30px; height: 30px; filter: none; transform: scale(.9); transition: transform .35s cubic-bezier(.3, 1.7, .5, 1); }
.tabbar button .tic .ic3d { width: 28px; height: 28px; filter: drop-shadow(0 4px 4px rgba(6, 70, 44, .18)); }
.tabbar button:hover .tic { filter: none; transform: scale(1); }
.tabbar button:active .tic { transform: scale(.78); transition-duration: .08s; }
.tabbar button.on { color: #06d47f; }
.tabbar button.on span { font-weight: 800; }
.tabbar button.on .tic { transform: translateY(-1px) scale(1.12); animation: tabpop .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tabpop { 0% { transform: translateY(2px) scale(.7) rotate(-14deg); } 55% { transform: translateY(-5px) scale(1.24) rotate(6deg); } 100% { transform: translateY(-1px) scale(1.12); } }

/* --- top tabs (Lottery / Sports / Predicts) and other switches --- */
.seg { position: relative; }
.seg button { transition: background .25s, color .2s, box-shadow .25s, transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.seg button:active { transform: scale(.95); transition-duration: .06s; }
.seg.cats { padding: 5px; border-radius: 999px; background: rgba(14, 22, 48, .07); }
.seg.cats button { height: 46px; }
.seg.cats button.on { background: #0a0a0a; color: #06d47f; box-shadow: 0 10px 20px -10px rgba(10, 10, 10, .65); animation: segin .4s cubic-bezier(.3, 1.5, .5, 1); }
.seg.cats .ic3d.cat { filter: drop-shadow(0 4px 4px rgba(6, 70, 44, .2)); }
.seg.cats button.on .ic3d.cat { transform: scale(1.18) rotate(-8deg); }
@keyframes segin { from { transform: scale(.92); } to { transform: none; } }
.chip.on, .draw-chip.on { animation: segin .35s cubic-bezier(.3, 1.5, .5, 1); }
.draw-chip { transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .2s, box-shadow .2s, border-color .2s; }

/* --- screens come in softly; cards follow one after another --- */
.vin { animation: vin .42s cubic-bezier(.2, .9, .2, 1) both; }
.vin > .card, .vin > .wal, .vin > .playtiles, .vin > .stack > .card, .vin > .catnav { animation: vcard .5s cubic-bezier(.2, .9, .2, 1) backwards; }
.vin > :nth-child(2), .vin > .stack > :nth-child(2) { animation-delay: .05s; } .vin > :nth-child(3), .vin > .stack > :nth-child(3) { animation-delay: .1s; }
.vin > :nth-child(4), .vin > .stack > :nth-child(4) { animation-delay: .15s; } .vin > :nth-child(n+5), .vin > .stack > :nth-child(n+5) { animation-delay: .2s; }
@keyframes vin { from { opacity: 0; } to { opacity: 1; } }
@keyframes vcard { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* --- numbers that roll when they change --- */
.roll { display: inline-flex; overflow: hidden; vertical-align: bottom; }
.roll > span { display: inline-block; }
.roll > span.r { animation: rollin .38s cubic-bezier(.2, .9, .2, 1); }
@keyframes rollin { from { transform: translateY(-70%); opacity: 0; } to { transform: none; opacity: 1; } }

/* --- wallet and tiles: lift, press, float --- */
.wal-a i { transition: transform .28s cubic-bezier(.3, 1.7, .5, 1), background .15s, box-shadow .2s; }
.wal-a.prim i { box-shadow: 0 12px 20px -10px rgba(10, 10, 10, .7); }
.wal-a:hover i { transform: translateY(-2px); }
.wal-a:active i { transform: scale(.88); transition-duration: .06s; }
.playtiles > button, .at-cat { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s; }
.playtiles > button:hover { transform: translateY(-4px); }
.playtiles > button:active { transform: scale(.95); transition-duration: .06s; }
.playtiles > button img, .emp-ic, .mlogin .mcats img { animation: bob3 4.6s ease-in-out infinite alternate; }
.playtiles > button:nth-child(2) img, .mlogin .mcats > div:nth-child(2) img { animation-delay: -1.5s; } .playtiles > button:nth-child(3) img, .mlogin .mcats > div:nth-child(3) img { animation-delay: -3s; }
@keyframes bob3 { from { transform: translateY(-3px) rotate(-2deg); } to { transform: translateY(4px) rotate(2deg); } }
.sheet { transition: transform .38s cubic-bezier(.2, .95, .25, 1), opacity .25s; }
.pill.good, .pill.win { animation: segin .4s cubic-bezier(.3, 1.5, .5, 1); }

/* --- profile: the player card you can share, then ID, play safe, log out --- */
.pcardwrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 0 2px; perspective: 1100px; }
.pcv { display: block; width: min(86%, 350px); height: auto; aspect-ratio: 4 / 5; margin-bottom: -4px; opacity: 0; transform: rotateY(-70deg) scale(.9); }
.pcv.ready { opacity: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); animation: cardflip .95s cubic-bezier(.2, .9, .2, 1) backwards; transition: transform .25s ease-out; }
@keyframes cardflip { from { opacity: 0; transform: rotateY(-80deg) scale(.86); } 60% { opacity: 1; transform: rotateY(10deg) scale(1.02); } to { transform: none; } }
.pcacts { display: flex; gap: 8px; }
.pcbtn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid rgba(14, 22, 48, .1); background: #fff; font: 800 14px var(--font); color: #0a0a0a; cursor: pointer;
  box-shadow: 0 12px 20px -16px rgba(14, 22, 48, .5); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.pcbtn svg { width: 17px; height: 17px; }
.pcbtn.dark { background: #0a0a0a; border-color: #0a0a0a; color: #06d47f; }
.pcbtn:hover { transform: translateY(-2px); } .pcbtn:active { transform: scale(.93); transition-duration: .06s; }
.pcbtn:disabled { opacity: .6; pointer-events: none; }
.pcbtn#psave { padding: 0 12px; }
.chedit .chprev { height: 220px; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle at 50% 30%, #fff, #e9f7ef 70%); overflow: hidden; }
.chedit .chprev svg { height: 232px; width: auto; margin-bottom: -14px; filter: drop-shadow(0 14px 14px rgba(14, 22, 48, .18)); }
.chrows { display: flex; flex-direction: column; gap: 12px; max-height: 38vh; overflow: auto; padding: 2px 2px 6px; }
.chrow { display: flex; flex-direction: column; gap: 6px; } .chrow > b { font-size: 12.5px; color: #6b7690; font-weight: 700; }
.chopts { display: flex; gap: 6px; flex-wrap: wrap; }
.chopts .chip.on { background: #0a0a0a; color: #06d47f; border-color: #0a0a0a; }
.chsw { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(14, 22, 48, .14); cursor: pointer; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.chsw.on { box-shadow: 0 0 0 3px #0a0a0a; transform: scale(1.08); } .chsw:active { transform: scale(.9); }
.chedit .btn.primary { background: #0a0a0a; color: #06d47f; display: flex; justify-content: center; text-align: center; height: 54px; }
.pfold { padding: 0; }
.pfold > summary { display: flex; align-items: center; gap: 10px; padding: 18px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pfold > summary::-webkit-details-marker { display: none; }
.pfold > summary h2 { margin-right: auto; }
.pfold > summary .chev { width: 10px; height: 10px; border-right: 2.5px solid #6b7690; border-bottom: 2.5px solid #6b7690; transform: rotate(45deg); margin: -4px 4px 0 2px; transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.pfold[open] > summary .chev { transform: rotate(225deg); margin-top: 4px; }
.pfold > .stack { padding: 0 18px 18px; animation: vcard .35s cubic-bezier(.2, .9, .2, 1); }
.psafe .plim, .psafe .pbrk { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 20px; background: rgba(14, 22, 48, .04); }
.psafe .plim-v { font-size: 13px; color: #6b7690; } .psafe .plim-v b { font-size: 19px; font-weight: 900; color: #0a0a0a; letter-spacing: -.02em; }
.psafe .pbar { height: 10px; border-radius: 999px; background: rgba(14, 22, 48, .09); overflow: hidden; }
.psafe .pbar i { display: block; height: 100%; min-width: 10px; border-radius: 999px; background: linear-gradient(90deg, #06d47f, #04b56c); transition: width .8s cubic-bezier(.2, .9, .2, 1); }
.psafe .plim-set { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.psafe .plim-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; } .psafe .plim-chips .chip { padding: 0 6px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.psafe .chip { background: #fff; }
.psafe .chip.on { background: #0a0a0a; color: #06d47f; border-color: #0a0a0a; }
.psafe .btn.primary { background: #0a0a0a; color: #06d47f; height: 48px; }
.psafe #dl { height: 48px; font-weight: 800; font-size: 17px; }
.psafe .pnote { padding: 10px 12px; border-radius: 14px; background: #fff4d6; color: #5b3b00; font-size: 13px; font-weight: 600; }
.psafe .pbreak { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 20px; background: rgba(6, 212, 127, .12); } .psafe .pbreak span { font-size: 13.5px; color: #3c4a44; }
.psafe .grid4 .chip { height: 42px; padding: 0 6px; justify-content: center; display: inline-flex; align-items: center; }
.btn.plo { height: 54px; border-radius: 999px; background: #fff; border: 1px solid rgba(14, 22, 48, .1); color: #0a0a0a; font-weight: 800; font-size: 16px; gap: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 16px 26px -22px rgba(14, 22, 48, .45); }
.btn.plo svg { color: #6b7690; }
.btn.plo:hover { background: #0a0a0a; color: #06d47f; border-color: #0a0a0a; } .btn.plo:hover svg { color: #06d47f; }
@media (prefers-reduced-motion: reduce) { .pcv, .pcv.ready { transition: none; animation: none; } }

/* --- the game's own ball: its mark (2, 3, 4, 5, 6, Q), its colour by type of game, its country flag on the corner --- */
.gball { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--bt);
  background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .96) 0 6%, rgba(255, 255, 255, .42) 17%, rgba(255, 255, 255, 0) 36%), radial-gradient(circle at 62% 108%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--bc) 64%, #fff), var(--bc) 54%, color-mix(in srgb, var(--bc) 70%, #000) 100%);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .18), inset 0 1px 1px rgba(255, 255, 255, .5), 0 8px 12px -7px color-mix(in srgb, var(--bc) 55%, #000); }
span.gball.gball { display: inline-grid; color: var(--bt); }
.gball > em { display: block; font: 900 18px/1 var(--font); font-style: normal; letter-spacing: -.04em; color: var(--bt); text-shadow: 0 1px 0 rgba(255, 255, 255, .2); }
.gball > img { position: absolute; right: -4px; bottom: -3px; width: 46%; height: 46%; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 5px rgba(14, 22, 48, .3); }
.gball.sm { width: 20px; height: 20px; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .16); } .gball.sm > em { font-size: 11.5px; } .gball.sm > img { display: none; }
.gball.pxball { width: 42px; height: 42px; filter: none; } .gball.pxball > em { font-size: 21px; }
.gball.dball { width: 38px; height: 38px; filter: none; } .gball.dball > em { font-size: 19px; }
.gball.lg { width: 58px; height: 58px; } .gball.lg > em { font-size: 28px; }
.gball.xl { width: 84px; height: 84px; } .gball.xl > em { font-size: 42px; } .gball.xl > img { right: -2px; bottom: -2px; width: 40%; height: 40%; box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(14, 22, 48, .3); }
.tkic .gball { width: 34px; height: 34px; }
.gtag { padding-left: 3px; }
/* the draw you picked: its ball keeps a small bounce; on the black chip every colour gets a light rim */
.draw-chip.on .gball { box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .18), inset 0 1px 1px rgba(255, 255, 255, .5), 0 0 0 2px rgba(255, 255, 255, .22); animation: gbounce 1.5s cubic-bezier(.4, 0, .4, 1) infinite; }
.draw-chip.on .gball > img { box-shadow: 0 0 0 2px #0a0a0a; }
@keyframes gbounce { 0%, 100% { transform: translateY(0) scale(1.05, .95); } 18% { transform: translateY(-1px) scale(1, 1); } 50% { transform: translateY(-6px) scale(.98, 1.02); } 82% { transform: translateY(-1px) scale(1, 1); } }
.pxhead .gball { animation: bob3 4.4s ease-in-out infinite alternate; }
.balls .ball.old { opacity: .72; transform: scale(.86); }
.lballs { align-items: center; }
@media (prefers-reduced-motion: reduce) { .draw-chip.on .gball, .pxhead .gball { animation: none; } }

/* --- seller login: same page as the buyer and admin logins, with a PIN pad --- */
.slogin .srole { align-self: flex-start; background: #0a0a0a; color: #06d47f; height: 26px; padding: 0 11px; font-size: 12px; margin-bottom: -4px; animation: vcard .6s cubic-bezier(.2, .9, .2, 1) both; }
.slogin .pindots { gap: 10px; margin: 4px 0 2px; }
.slogin .pindots i { width: 18px; height: 18px; border: 0; background: rgba(14, 22, 48, .1); box-shadow: inset 0 2px 3px rgba(14, 22, 48, .12); transition: transform .3s cubic-bezier(.3, 1.7, .5, 1); }
.slogin .pindots i.on { background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, .96) 0 8%, rgba(255, 255, 255, .4) 20%, rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 38% 32%, #7df0bd, #06d47f 54%, #049e5f);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .18), 0 5px 8px -5px rgba(4, 120, 72, .9); transform: scale(1.15); }
.slogin .pinpad { gap: 9px; }
.slogin .pinpad button { height: 58px; border-radius: 18px; border: 1px solid rgba(14, 22, 48, .1); background: #fff; font: 800 22px var(--font); color: #0a0a0a; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 18px -16px rgba(14, 22, 48, .45);
  transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.slogin .pinpad button:active { transform: scale(.92); background: #0a0a0a; color: #06d47f; transition-duration: .04s; }
.slogin .pinpad button[data-k="C"], .slogin .pinpad button[data-k="⌫"] { color: #6b7690; font-size: 18px; }
.slogin .btn.primary:disabled { background: rgba(14, 22, 48, .08); border-color: transparent; color: rgba(14, 22, 48, .35); box-shadow: none; opacity: 1; }
.mlogin .phonein.big { height: 64px; align-items: center; } .mlogin .phonein.big .ccbtn { height: 100%; } .mlogin .phonein.big .input { height: 100%; }
.slogin .btn.primary:disabled::after { display: none; }
.slogin .btn.ghost.block { justify-content: center; }

/* six balls in a row stay on one line on a phone */
.balls.sm:has(> :nth-child(6)) .ball, .balls.sm:has(> :nth-child(6)) .ltr { width: 27px; height: 27px; font-size: 12px; }
.balls.sm:has(> :nth-child(6)) { flex-wrap: nowrap; gap: 3px; }
.tkt .balls:has(> :nth-child(6)) { flex-wrap: nowrap; gap: 3px; }
.tkt .balls:has(> :nth-child(6)) .ball, .tkt .balls:has(> :nth-child(6)) .ltr { width: 33px; height: 33px; font-size: 14.5px; }
/* a line you just added drops into your ticket; a ticket you just bought shows its balls dropping in */
.cartlines .item:last-child { animation: vcard .4s cubic-bezier(.2, .9, .2, 1); }
.cartlines .item:last-child .ball, .sheet.show .tkt .balls .ball, .sheet.show .tkt .balls .ltr { animation: balldrop .5s cubic-bezier(.25, 1.4, .4, 1) backwards; }
.cartlines .item:last-child .ball:nth-child(2), .sheet.show .tkt .balls :nth-child(2) { animation-delay: .06s; } .cartlines .item:last-child .ball:nth-child(3), .sheet.show .tkt .balls :nth-child(3) { animation-delay: .12s; }
.cartlines .item:last-child .ball:nth-child(4), .sheet.show .tkt .balls :nth-child(4) { animation-delay: .18s; } .cartlines .item:last-child .ball:nth-child(5), .sheet.show .tkt .balls :nth-child(5) { animation-delay: .24s; }
.cartlines .item:last-child .ball:nth-child(n+6), .sheet.show .tkt .balls :nth-child(n+6) { animation-delay: .3s; }
.odd.on { animation: segin .35s cubic-bezier(.3, 1.5, .5, 1); }

/* --- /me login: the same little film as the home page, and words that rise in --- */
.mfilm { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 200px; margin: -14px 0 -18px; }
.mfilm::before { content: ''; position: absolute; inset: -10% 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, 0)); }
.mfilm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: mfilm 1s cubic-bezier(.2, .9, .2, 1) backwards; }
@keyframes mfilm { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.mlogin h1 .w { display: inline-block; animation: mword .75s calc(var(--i) * 70ms + .1s) cubic-bezier(.2, .9, .2, 1) both; }
@keyframes mword { from { opacity: 0; transform: translateY(70%) rotate(5deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.mlogin .mlead { animation: vcard .7s .4s cubic-bezier(.2, .9, .2, 1) both; }
.mlogin .mcard { animation: vcard .7s .5s cubic-bezier(.2, .9, .2, 1) backwards; }
.mlogin .mcats { animation: vcard .7s .6s cubic-bezier(.2, .9, .2, 1) backwards; }
.mlogin .btn.primary.lg.block { display: flex; justify-content: center; text-align: center; height: 58px; padding: 0 18px; position: relative; overflow: hidden; }
.mlogin .btn.primary.lg.block::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .26) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5.5s 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes shine { from { transform: translateX(-120%); } 30%, to { transform: translateX(120%); } }
.balls.md .ball, .balls.md .ltr { width: 44px; height: 44px; font-size: 19px; } .balls.md { gap: 5px; }

@media (prefers-reduced-motion: reduce) {
  .ball, .ltr, .numgrid button, .tabbar::before, .tabbar button .tic, .seg button, .vin, .vin > *, .vin > .stack > *, .roll > span, .playtiles > button, .playtiles > button img, .emp-ic, .mlogin .mcats img, .wal-a i, .chip.on, .draw-chip.on, .mfilm video, .mlogin h1 .w, .mlogin .mlead, .mlogin .mcard, .mlogin .mcats, .mlogin .btn::after { animation: none !important; transition: none !important; }
}

/* error screens: plain page, no picture behind */
.login { background: none; }

.input.flash { animation: inflash 1.2s ease-out; }
@keyframes inflash { from { box-shadow: 0 0 0 5px rgba(6, 212, 127, .45); border-color: #04a867; } to { box-shadow: 0 0 0 0 rgba(6, 212, 127, 0); } }

/* ---- lottery builder (admin) + Pick 1 board ---- */
.lsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(14, 22, 48, .05); padding: 4px; border-radius: 14px; }
.lsteps button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; font: 700 13.5px/1 var(--font); color: var(--muted); padding: 9px 6px; border-radius: 11px; cursor: pointer; }
.lsteps button i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; background: rgba(14, 22, 48, .1); color: var(--ink-2); }
.lsteps button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 22, 48, .08), 0 6px 16px -10px rgba(14, 22, 48, .35); }
.lsteps button.on i { background: var(--ink); color: #fff; }
.lsteps button.done i { background: #06d47f; color: #053d25; }
.lshapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lshapes button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 11px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.lshapes button > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lshapes button b { font-size: 13.5px; }
.lshapes button i { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.lshapes button.on { border-color: var(--ink); background: #f6f7f3; box-shadow: inset 0 0 0 1px var(--ink); }
.lshapes button:disabled { opacity: .4; cursor: default; }
.lshapes .gball { flex: none; }
.lprev { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(180deg, #f7f8f4, #eef1ea); border: 1px solid var(--line); }
.lprev .gball { flex: none; }
.lmore { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.lmore:empty { display: none; }
.lbuild textarea.input { font: 500 13.5px/1.5 var(--font); resize: vertical; }
.lbuild details.dgr > summary { cursor: pointer; }
@media (max-width: 560px) { .lshapes { grid-template-columns: 1fr 1fr; } }
.numgrid.p1grid { grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.numgrid.p1grid button { font-size: 17px; }
.p1name { text-align: center; margin-top: 10px; min-height: 18px; }

.lshapes button.wide { grid-column: 1 / -1; }
.ptype.pthead { border: 0; padding: 0 2px 4px; font-size: 11px; font-weight: 700; color: var(--muted); }
.prmaster { gap: 14px; cursor: pointer; }
.prmaster.on { border-color: rgba(6,170,100,.35); background: rgba(6,212,127,.06); }
.ptype .gball { flex: none; }


/* team with no logo: solid round badge, white initials  ·  national team: its flag fills the circle */
.crest:not(.img):not(.fighter):not(.flag) { background: var(--mc, #4b5563); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22), 0 1px 2px rgba(14,22,48,.14); }
.crest:not(.img):not(.fighter):not(.flag) > i { color: #fff; letter-spacing: 0; }
.crest.flag { background: #fff; box-shadow: 0 0 0 1.5px #e6e8ec, 0 1px 2px rgba(14,22,48,.08); overflow: hidden; }
.crest.flag > i { visibility: hidden; }
.crest.flag img, .crest.big.flag img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* character editor: the 3D character on a soft stage */
.chprev.v2 { display: grid; place-items: center; border-radius: 22px; background: radial-gradient(120% 90% at 50% 20%, #e9fff5, #cfeede 60%, #b9e2cd); overflow: hidden; padding: 0; }
.chprev.v2 canvas { width: min(100%, 300px); height: auto; display: block; margin-top: -6px; }
.chedit .chprev.v2 { height: 268px; align-items: end; }
.chedit .chprev.v2 canvas { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 0; filter: drop-shadow(0 10px 12px rgba(14, 22, 48, .18)); }

/* ---- money sheets (add credit / withdraw on /me and the shop machine): one look for every step ---- */
.msheet { gap: 14px; }
.sheet:has(> .msheet) { background: #f7f9fd; }
.msheet h2 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.01em; }
.mhead { display: flex; align-items: center; gap: 12px; }
.mhead img { width: 54px; height: 54px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 8px rgba(14, 22, 48, .12)); }
.mhead .small { margin-top: 3px; line-height: 1.35; }
.mhead .small b { color: var(--ink); }
/* the amount is the screen: big plain number on the sheet, a line under it, what it comes to right below */
.mamt { display: flex; flex-direction: column; }
.mamt-box { display: flex; align-items: baseline; gap: 5px; padding: 2px 0 12px; border-bottom: 1.5px solid var(--line-2); cursor: text; transition: border-color .15s, box-shadow .15s; }
.mamt-box:focus-within { border-color: var(--green); box-shadow: 0 1.5px 0 var(--green); }
.mamt-in { border: 0; outline: 0; background: none; padding: 0; margin: 0; min-width: .9ch; max-width: 78%; width: 3ch; text-align: left; font: 900 56px/1 var(--font); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mamt-in::placeholder { color: rgba(14, 22, 48, .18); }
.mamt-u { font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--muted); }
.mchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mchip { height: 36px; padding: 0 15px; border-radius: 999px; border: 0; background: #f1f4f0; color: var(--ink); font: 700 13.5px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, color .15s, transform .12s; }
.mchip:hover { background: #e7ece6; }
.mchip:active { transform: scale(.97); }
.mchip.on { background: var(--ink); color: var(--green); }
.mhint { margin-top: 11px; font-size: 14px; font-weight: 600; color: var(--muted); min-height: 20px; line-height: 1.4; }
.mhint b { color: var(--ink); }
/* coin and network: one quiet list, like a settings group */
.msets { border: 1px solid rgba(14, 22, 48, .08); border-radius: 18px; background: #fff; overflow: hidden; }
.mset { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 14px 0 16px; border: 0; border-radius: 0; box-shadow: none; background: none; font: inherit; color: var(--ink); text-align: left; }
button.mset { cursor: pointer; }
.mset + .mset, .mnets { border-top: 1px solid var(--line); }
.mset-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.mset-v { margin-left: auto; font-size: 15px; font-weight: 800; }
.mset .mseg { margin-left: auto; margin-right: -6px; }
.mchev, .mnetb svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mchev { color: var(--faint); transition: transform .2s; }
.mset-net[aria-expanded="true"] .mchev { transform: rotate(180deg); }
.mset-net.one { cursor: default; padding-right: 16px; }
.mset-net.one .mchev { display: none; }
.mset-net:focus-visible, .mnetb:focus-visible, .mseg button:focus-visible, .mchip:focus-visible { outline: 2.5px solid var(--green); outline-offset: -2px; }
.mseg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #f1f4f0; }
.mseg button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 5px; border: 0; border-radius: 999px; background: none; font: 800 13.5px var(--font); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.mseg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(14, 22, 48, .14); }
.mseg .mcoin { width: 24px; height: 24px; font-size: 13px; }
.mseg button:not(.on) .mcoin { opacity: .55; }
.mnets { display: flex; flex-direction: column; padding: 5px 6px 6px; }
.mnets.hide, .mnetb.hide { display: none; }
.mnetb { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none; font: 700 14.5px var(--font); color: var(--ink); cursor: pointer; }
.mnetb:hover { background: #f4f6f3; }
.mnetb svg { color: #04a867; opacity: 0; }
.mnetb.on svg { opacity: 1; }
/* typed details (bank account, wallet address): one grouped card, a hairline between rows */
.mfields { border: 1px solid rgba(14, 22, 48, .08); border-radius: 18px; background: #fff; padding: 0 16px; }
.mfields .field { gap: 0; padding: 11px 0 7px; }
.mfields .field + .field { border-top: 1px solid var(--line); }
.mfields .field:focus-within { box-shadow: 0 1.5px 0 var(--green); }
.mfields .field:focus-within label { color: #04a867; }
.msheet .mfields .field label { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.mfields .input, .mfields select.input { height: 34px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.mfields .input.mono { font-size: 13.5px; }
.mfields select.input { -webkit-appearance: none; appearance: none; padding-right: 26px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2b1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 18px; }
.mfields .input::placeholder { color: rgba(14, 22, 48, .28); font-family: var(--font); font-weight: 600; }
.mfields .input:focus { box-shadow: none; }
.mhero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 10px 8px; }
.mhero-amt { font: 900 36px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.paycode { font: 900 46px/1.1 var(--font); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ink); }
.mrows { border: 1px solid rgba(14, 22, 48, .08); border-radius: 18px; padding: 2px 16px; background: #fff; }
.mrows .item { padding: 11px 0; }
.mrows .item .btn.sm { border-radius: 999px; flex: none; }
.msheet .field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.msheet .btn.ghost { color: var(--muted); height: 40px; }
.msheet .btn.lg.block { display: flex; align-items: center; justify-content: center; text-align: center; height: 56px; padding: 0 18px; }
@media (max-width: 380px) { .mamt-in { font-size: 46px; } .mchip { padding: 0 12px; } }
/* the tabbed sheet: title and close on top, the ways to pay as tabs, then the picked way's steps in place */
.mtop { display: flex; align-items: center; gap: 12px; }
.mtop img { width: 48px; height: 48px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 8px rgba(14, 22, 48, .12)); }
.mtop .small { margin-top: 3px; line-height: 1.35; }
.mtop .small b { color: var(--ink); }
.mx, .mback, .mcp { display: grid; place-items: center; flex: none; padding: 0; border: 0; cursor: pointer; color: var(--ink); background: #edf1ec; transition: background .15s, transform .12s; }
.mx svg, .mback svg, .mcp svg, .mnote svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mx { align-self: flex-start; width: 38px; height: 38px; border-radius: 50%; }
.mx:hover, .mback:hover, .mcp:hover { background: #e1e8e0; }
.mx:active, .mback:active, .mcp:active { transform: scale(.93); }
.mx:focus-visible, .mback:focus-visible, .mcp:focus-visible, .mway:focus-visible { outline: 2.5px solid var(--green); outline-offset: 2px; }
.mways { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border-radius: 24px; background: #edf1ec; }
.mway { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px 12px; border: 0; border-radius: 19px; background: none; font: 800 13.5px/1.2 var(--font); color: var(--muted); cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.mway img { width: 40px; height: 40px; object-fit: contain; transition: transform .22s cubic-bezier(.3, 1.5, .5, 1); }
.mway.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(14, 22, 48, .12); }
.mway.on img { transform: scale(1.12) translateY(-1px); }
.mway.on::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 20px; height: 3px; margin-left: -10px; border-radius: 2px; background: var(--green); }
.mway.off { cursor: default; color: var(--faint); }
.mway.off img { filter: grayscale(1); opacity: .45; }
.mway em { position: absolute; top: 5px; right: 6px; font: 700 9.5px/1 var(--font); font-style: normal; padding: 3px 6px; border-radius: 999px; background: #fff; color: var(--muted); }
.mstep { display: flex; align-items: center; gap: 10px; }
.mstep b { font-size: 16px; }
.mback { width: 38px; height: 38px; border-radius: 50%; }
.mbody { gap: 14px; }
/* with tabs, short steps keep the sheet tall enough that the tabs do not jump under the thumb */
.mshell.tabbed .mbody { min-height: 392px; }
.mshell.tabbed .mbody > .mhero { flex: 1; justify-content: center; }
.mshell.tabbed .mbody > .btn:last-child, .mshell.tabbed .mbody > .grid2:last-child { margin-top: auto; }
.mbody.in { animation: mbodyin .24s ease-out; }
@keyframes mbodyin { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .mbody.in { animation: none; } .mway img { transition: none; } }
.mcap { font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.mnote { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.msheet .mnote svg { flex: none; width: 15px; height: 15px; margin-top: 1.5px; color: var(--faint); }
.mcoin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #20242e; color: #fff; font: 900 15px/1 var(--font); font-style: normal; }
.mcoin.c-usdt { background: #26a17b; }
.mcoin.c-usdc { background: #2775ca; }
.mqr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 0 2px; }
.mqr .cxqr { width: 196px; height: 196px; padding: 12px; border-radius: 20px; border: 1px solid rgba(14, 22, 48, .08); box-shadow: 0 10px 24px -14px rgba(14, 22, 48, .28); }
.mqr .cxstat { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; }
.mval { font-weight: 700; line-height: 1.35; word-break: break-all; }
.mval.mono { font-size: 13.5px; text-wrap: balance; }
.mval.big { font: 900 24px/1.15 var(--font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mval small { font-size: 14px; font-weight: 800; color: var(--muted); }
.mval .hl { color: #04a867; }
.mcp { width: 40px; height: 40px; border-radius: 13px; }
.mcp.ok { background: var(--green); }
.mget { font-size: 14px; font-weight: 600; color: var(--muted); }
.mget b { color: var(--ink); }
.paycode.num { font-size: 36px; letter-spacing: -.03em; font-variant-numeric: normal; word-spacing: -.06em; }
.mhero-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.mhero-s { max-width: 31ch; font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.mhero-img { width: 76px; height: 76px; margin-bottom: 4px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(14, 22, 48, .12)); }
.mhero-t { font: 800 19px/1.2 var(--font); letter-spacing: -.01em; }
@media (max-width: 380px) { .mway { font-size: 12.5px; } .mway img { width: 34px; height: 34px; } .mqr .cxqr { width: 172px; height: 172px; } }
/* picture picker on the admin market forms */
.mkpic-prev { width: 56px; height: 56px; flex: none; border-radius: 14px; overflow: hidden; background: #edf1ec; border: 1.5px dashed var(--line-2); }
.mkpic-prev:has(img) { border-style: solid; border-color: transparent; }
.mkpic-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- card payment: the processor's card form inside the money sheet, and how it ended ---- */
.sheet.paying { max-height: 96vh; max-height: 96dvh; }
.sheet.cdone .mways { display: none; }
.cpay-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--ink); color: #fff; }
.cpay-sum > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cpay-sum > div:last-child { text-align: right; }
.cpay-sum span { font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.cpay-sum b { font: 900 20px/1.15 var(--font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cpay-sum > div:first-child b { color: var(--green); }
.cpay-sum i { flex: 1; height: 2px; min-width: 18px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }
.cpay-frame { position: relative; border-radius: 20px; overflow: hidden; background: #fff; border: 1.5px solid var(--line-2); min-height: 420px; }
/* tall enough for the whole form, so the sheet scrolls as one page and there is no scroll inside a scroll */
.cpay-frame iframe { display: block; width: 100%; height: 1010px; border: 0; background: #fff; }
.cpay-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; }
.cpay-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.cpay-foot span { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: left; }
.cpay-foot svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: #04a867; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cpay-full { font-size: 12.5px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mshell .mbody > .cres { flex: 1; justify-content: center; gap: 8px; min-height: 250px; }
.cres-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); margin-bottom: 6px; }
.cres-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cres.ok .cres-ic { animation: crespop .45s cubic-bezier(.25, 1.5, .4, 1) backwards; }
.cres.wait .cres-ic svg { stroke: #ffd24a; }
.cres.no .cres-ic svg { stroke: #ff8a75; }
.spinner.lg { width: 34px; height: 34px; border-width: 3.5px; margin-bottom: 8px; }
@keyframes crespop { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cres.ok .cres-ic { animation: none; } }
/* admin › Payments: where the card processor stands */
.mnote2 { padding: 11px 14px; border-radius: 14px; background: #f1f3f8; color: #3b4563; font-size: 13px; line-height: 1.45; }
.mnote2.good { background: #e3f8ec; color: #0b5c3c; }
.mnote2.warn { background: #fff4d6; color: #7a5200; }
.mnote2.bad { background: #ffe9e5; color: #a32812; }
/* card tab while the processor is in test mode (admins only) */
.mtest { padding: 10px 14px; border-radius: 14px; background: #fff4d6; color: #7a5200; font-size: 12.5px; line-height: 1.4; }
.mtest b { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; background: #7a5200; color: #fff4d6; font-size: 11px; letter-spacing: .02em; }

/* label shown only on the test site: floats above everything, never blocks a tap */
.testsite { position: fixed; top: calc(6px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 9999; pointer-events: none; padding: 4px 11px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 800 11.5px/1.2 var(--font); letter-spacing: .01em; box-shadow: 0 2px 8px rgba(14, 22, 48, .18); white-space: nowrap; }
@media print { .testsite { display: none; } }

/* Profile: language switch */
.plang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(14, 22, 48, .08); }
.plang b { font-size: 15px; }

/* Spanish runs longer: the three-way Play switch gets a little tighter so "Predicciones" fits */
html[lang="es"] .seg.cats { gap: 2px; }
html[lang="es"] .seg.cats button { font-size: 13.5px; padding: 0 6px; }
html[lang="es"] .ptile b { font-size: 14.5px; }

/* ---- Sports & predicts cards, v2: one clear top line, teams as the hero, big odds ---- */
.odd { align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 7px 8px; border-radius: 14px; position: relative; background: #fff; border-color: rgba(14, 22, 48, 0.09); box-shadow: 0 1px 2px rgba(14, 22, 48, 0.04); transition: transform 0.12s ease, background 0.15s ease; }
.odd:active { transform: scale(0.97); }
.odd span { font-size: 11px; text-align: center; }
.odd b, .gm .odd b { font-family: inherit; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; justify-content: center; }
.odd.sm { min-height: 44px; } .odd.sm b { font-size: 14.5px; }
.gm .odd { padding: 7px 8px; border-radius: 14px; }
.odd .hotp { position: absolute; top: 4px; right: 5px; display: inline-flex; align-items: center; gap: 1px; font-style: normal; font-size: 9.5px; font-weight: 800; color: #ea580c; }
.odd .hotp svg { width: 9px; height: 9px; }
.gm { border-radius: 20px; padding: 12px 12px 12px 15px; }
.gmtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; margin-bottom: 8px; }
.gmd { font-size: 12px; font-weight: 700; color: var(--muted); }
.gmx { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.gm .gmt { gap: 7px; margin-bottom: 11px; }
.gm .gmt .tm { gap: 10px; }
.gm .gmt .tm b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.gm .gmt .crest { width: 28px; height: 28px; }
.gm .mkt { margin-top: 0; gap: 7px; }
.gm .mlabel { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; }
.gm .more { background: none; border-radius: 0; border-top: 1px solid var(--line); margin-top: 11px; height: 32px; margin-bottom: -4px; }
/* league header: a soft strip with the sport's art on the right */
.lhead { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 800; margin: 14px 2px 0; gap: 8px; }
.lhead .lname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lhead .lcnt { flex: none; font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); background: rgba(14, 22, 48, 0.06); border-radius: 99px; padding: 2px 7px; }
.lhead.strip { position: relative; isolation: isolate; overflow: hidden; height: 58px; margin: 16px 0 2px; padding: 0 31% 0 14px; border-radius: 18px; background: #f4f6f2; border: 1px solid var(--edge); box-shadow: var(--shadow); color: var(--ink); }
.lhead.strip::after { content: ''; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 70%; background: var(--strip) right center / auto 150% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.lhead.strip .lcnt { background: #fff; }
.tophead { text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--ink); }
.topl { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
/* predicts: one split bar, its colours repeated on each answer */
.mkcard .mkt-q { font-size: 17px; }
.cbar { display: flex; gap: 3px; height: 8px; margin: 10px 0 9px; }
.cbar i { border-radius: 99px; min-width: 6px; transition: flex 0.6s ease; }
.cbar i.c0, .pct i.c0 { background: var(--green); }
.cbar i.c1, .pct i.c1 { background: #ffcf33; }
.cbar i.c2, .pct i.c2 { background: #1f2a24; }
.odd .pct { display: inline-flex; align-items: center; gap: 4px; margin-top: 1px; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.odd .pct i { width: 7px; height: 7px; border-radius: 50%; }
.odd.pc { min-height: 62px; }
.mkcard .pop { margin: 9px 0 0; }
/* mascot empty states */
.emp-ic[src*="emp-sports"], .emp-ic[src*="emp-predicts"] { width: 136px; height: 136px; margin-bottom: 2px; filter: drop-shadow(0 12px 14px rgba(10, 10, 10, 0.14)); }

/* ---- Predicts v2: ranked answers with pictures, today's change, chance chart ---- */
.mkhead[data-rules] { cursor: pointer; }
.d24 { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.d24.up { color: var(--good); } .d24.dn { color: var(--bad); }
.d24 i { font-style: normal; font-weight: 600; color: var(--muted); }
.mkrank { display: flex; flex-direction: column; margin-top: 4px; }
.mkr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 66px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mkr:first-child { border-top: 0; }
.mkr .crest, .mkav { width: 34px; height: 34px; }
.mkr .crest > i { font-size: 10.5px; }
.mkav { display: block; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px #e6e8ec; }
.mkav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkrn { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mkrn b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkrb { height: 5px; border-radius: 99px; background: rgba(14, 22, 48, 0.07); overflow: hidden; }
.mkrb i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.mkrp { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-variant-numeric: tabular-nums; }
.mkrp b { font-size: 15px; }
.mkrp .d24 { font-size: 10.5px; }
.odd.ro { min-height: 40px; padding: 4px 6px; border-radius: 12px; }
.odd.ro b { font-size: 15px; }
.mkall { display: block; width: 100%; margin-top: 6px; height: 34px; border: 0; border-top: 1px solid var(--line); background: none; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
/* sheet: picture, chart, rules */
.mkban { margin: -4px 0 0; height: 120px; border-radius: 16px; overflow: hidden; background: rgba(14, 22, 48, 0.05); }
.mkban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mch { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mcr { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(14, 22, 48, 0.06); }
.mcr button { border: 0; background: none; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.mcr button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(14, 22, 48, 0.12); }
.mcv { min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.mcs { width: 100%; height: auto; display: block; overflow: visible; }
.mcs .mg { stroke: rgba(14, 22, 48, 0.08); stroke-width: 1; stroke-dasharray: 3 4; }
.mcs .mt { font: 600 9.5px Inter, system-ui, sans-serif; fill: #8a94a6; }
.mcs .ml { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mcs .ma { fill: rgba(6, 212, 127, 0.12); }
.mcs .c0 { stroke: #06c477; } .mcs .md.c0 { fill: #06c477; }
.mcs .c1 { stroke: #e0a800; } .mcs .md.c1 { fill: #e0a800; }
.mcs .c2 { stroke: #1f2a24; } .mcs .md.c2 { fill: #1f2a24; }
.mcs .c3 { stroke: #0e7490; } .mcs .md.c3 { fill: #0e7490; }
.mcs .md { stroke: #fff !important; stroke-width: 2; }
.mcnow { font-size: 13px; color: var(--muted); font-weight: 600; } .mcnow b { font-size: 22px; color: var(--ink); margin-right: 3px; }
.mcl { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mcl:empty { display: none; }
.mcl span { display: inline-flex; align-items: center; gap: 5px; } .mcl b { color: var(--ink); }
.mcl i { width: 8px; height: 8px; border-radius: 50%; }
.mcl i.c0 { background: #06c477; } .mcl i.c1 { background: #e0a800; } .mcl i.c2 { background: #1f2a24; } .mcl i.c3 { background: #0e7490; }
.mcempty { text-align: center; padding: 30px 0; }
/* four game types on a phone: icon above the name so all four fit (the row used to push the page wider than the screen) */
@media (max-width: 480px) {
  .seg.cats:has(> button:nth-child(4)) { gap: 2px; }
  .seg.cats:has(> button:nth-child(4)) button { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 1px; height: 54px; padding: 0 2px; font-size: 12px; border-radius: 20px; }
  .seg.cats:has(> button:nth-child(4)) button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .seg.cats:has(> button:nth-child(4)) .ic3d.cat { width: 24px; height: 24px; margin: 0; }
  html[lang="es"] .seg.cats:has(> button:nth-child(4)) button { font-size: 11.5px; padding: 0 1px; }
}
.catnav, .seg.cats { max-width: 100%; min-width: 0; }
/* day filter + search on one line: the filter gives way instead of pushing the page wider */
.spf-row2 .seg { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.spf-row2 .seg::-webkit-scrollbar { display: none; }
@media (max-width: 480px) {
  .spf-row2 .seg button { flex: 1 0 auto; min-width: 0; padding: 0 7px; font-size: 13px; white-space: nowrap; }
  .spf-row2 .seg .cnt { margin-left: 1px; }
}

/* ---- v3: slimmer odds. Sports = one row per team with its price; predicts = gauge + Yes/No pills ---- */
.gm .gmtop { margin-bottom: 6px; }
.gmrows { display: flex; flex-direction: column; gap: 4px; }
.gr { display: grid; grid-template-columns: 28px minmax(0, 1fr) 74px; align-items: center; gap: 10px; min-height: 42px; }
.gr > b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr .crest { width: 28px; height: 28px; }
.gr.draw { min-height: 36px; margin-top: 2px; padding-top: 6px; border-top: 1px dashed var(--line); }
.gr .drw { width: 28px; height: 28px; display: grid; place-items: center; }
.gr .drw .ic3d { width: 22px; height: 22px; }
.gr > b.dn { font-size: 14px; font-weight: 700; color: var(--muted); }
.odd.pill { flex-direction: row; gap: 3px; height: 38px; min-height: 38px; padding: 0 8px; border-radius: 12px; }
.odd.pill b, .gm .odd.pill b { font-size: 16px; }
.odd.pill .hotp { top: -8px; right: -5px; padding: 1px 5px 1px 4px; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(14, 22, 48, 0.14); }
.odd.inl { flex-direction: row; justify-content: space-between; gap: 6px; min-height: 40px; padding: 0 11px; border-radius: 12px; }
.odd.inl span { width: auto; min-width: 0; font-size: 12.5px; text-align: left; color: var(--ink-2, #3b4252); }
.odd.inl b, .gm .odd.inl b { font-size: 15px; flex: none; }
.odd.tp { min-height: 48px; padding: 5px 6px; }
.odd.tp b { font-size: 16px; }
/* predicts: gauge */
.gauge { position: relative; flex: none; width: 58px; height: 46px; display: block; text-align: center; }
.gauge svg { display: block; margin: 0 auto; overflow: visible; }
.gauge .gt, .gauge .gv { fill: none; stroke-width: 6; stroke-linecap: round; }
.gauge .gt { stroke: rgba(14, 22, 48, 0.08); }
.gauge .gv { stroke: var(--green); transition: stroke-dasharray 0.6s ease; }
.gauge.lo .gv { stroke: #ffc21a; }
.gauge b { position: absolute; left: 0; right: 0; top: 13px; font-size: 14.5px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gauge i { position: absolute; left: 0; right: 0; top: 33px; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--muted); }
/* predicts: Yes / No pills */
.ynrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.odd.yn { flex-direction: row; justify-content: center; gap: 7px; min-height: 46px; padding: 0 10px; border-radius: 14px; box-shadow: none; }
.odd.yn span { width: auto; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.odd.yn b { font-size: 14px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.85); }
.odd.yn .ynic { width: 22px; height: 22px; flex: none; }
.odd.yn.y { background: rgba(6, 212, 127, 0.1); border-color: rgba(6, 212, 127, 0.38); }
.odd.yn.n { background: rgba(244, 63, 94, 0.06); border-color: rgba(244, 63, 94, 0.26); }
.odd.yn.y.on { background: var(--green); border-color: var(--green); box-shadow: 0 8px 18px -8px rgba(6, 212, 127, 0.9); }
.odd.yn.n.on { background: #fb7185; border-color: #fb7185; box-shadow: 0 8px 18px -8px rgba(244, 63, 94, 0.8); }
.odd.yn.on b { background: rgba(255, 255, 255, 0.45); }
.odd.yn.sm { min-height: 36px; gap: 5px; padding: 0 6px; border-radius: 11px; }
.odd.yn.sm span { display: none; }
.odd.yn.sm .ynic { width: 18px; height: 18px; }
.odd.yn.sm b { font-size: 13.5px; padding: 2px 6px; }
.mkfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.mkfoot .pop { margin: 0; }
.mkfoot .d24:only-child { margin-left: auto; }
.mkcard .odd.pc { min-height: 54px; }
.mkimg { border-radius: 12px; }
.odd.stk { min-height: 46px; padding: 4px 6px; border-radius: 12px; }
.odd.stk span { font-size: 10.5px; }
.odd.stk b, .gm .odd.stk b { font-size: 15px; }
.mkav.dr { display: grid; place-items: center; background: rgba(255, 207, 51, 0.14); box-shadow: none; }
.mkav.dr .ic3d { width: 22px; height: 22px; }
/* grouped yes/no questions: name · chance · Yes · No */
.mkgrp { margin-top: 2px; }
.mkgh { display: grid; grid-template-columns: minmax(0, 1fr) 44px 62px 62px; gap: 6px; padding: 0 0 4px; font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; }
.mkgrow { grid-template-columns: minmax(0, 1fr) 44px 62px 62px; gap: 6px; padding: 7px 0; }
.mkgh + .mkgrow { border-top: 0; }
.mkgrow .gnm { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.mkgrow .gnm b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkgrow .gnm .d24 { font-size: 10.5px; }
.mkgrow .gpc { font-size: 15px; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.odd.gp { flex-direction: row; min-height: 36px; height: 36px; padding: 0 4px; border-radius: 11px; box-shadow: none; }
.odd.gp b { font-size: 14px; font-weight: 800; }
.odd.gp.y { background: rgba(6, 212, 127, 0.1); border-color: rgba(6, 212, 127, 0.32); }
.odd.gp.n { background: rgba(244, 63, 94, 0.06); border-color: rgba(244, 63, 94, 0.22); }
.odd.gp.y.on { background: var(--green); border-color: var(--green); }
.odd.gp.n.on { background: #fb7185; border-color: #fb7185; }
.mkgrow .gnm { flex-direction: column; align-items: flex-start; gap: 1px; }
.mkgrow .gnm b { max-width: 100%; }
/* ---- predicts, sports-style: one row per answer, price pill on the right ---- */
.mkcard.pv { border-radius: 20px; padding: 12px 12px 12px 14px; }
.mkcard.pv .mkhead { margin: 0 0 8px; gap: 10px; }
.mkcard.pv .mkimg { width: 40px; height: 40px; }
.mkcard.pv .mkt-q { font-size: 16px; line-height: 1.25; }
.gr.pr { grid-template-columns: 28px minmax(0, 1fr) auto 74px; }
.gr.pr .mkav, .gr.pr > .crest { width: 28px; height: 28px; }
.gr.pr .mkav.dr .ic3d { width: 20px; height: 20px; }
.gr.pr > b { font-size: 15px; }
.gr .gpc { font-size: 13px; font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.gr.pg { grid-template-columns: minmax(0, 1fr) auto 64px 64px; gap: 8px; }
.gr.pg.gh { min-height: 0; font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; }
.gr.pg .gnm { display: block; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.gr.pg .gnm b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkav.dr.y { background: rgba(6, 212, 127, 0.12); } .mkav.dr.n { background: rgba(244, 63, 94, 0.08); }
.mkcard.pv .more { width: 100%; margin-top: 8px; margin-bottom: -4px; height: 32px; border: 0; border-top: 1px solid var(--line); background: none; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
/* predicts answers: just the answer, its chance and the price (no pictures) */
.gr.pr { grid-template-columns: minmax(0, 1fr) auto 74px; min-height: 44px; }

/* ---- player level: progress bar under the card, the how-it-works sheet, the level-up moment ---- */
.pcardwrap { position: relative; }
.plvl { margin: 4px auto 0; width: min(100%, 420px); }
.plvl:empty { display: none; }
.plv { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 12px 14px 11px; border: 1px solid var(--edge); border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.plv:active { transform: scale(0.99); }
.plv-top { display: flex; align-items: center; gap: 8px; }
.plv-top b { font-size: 16px; font-weight: 900; letter-spacing: -0.01em; }
.plv-t { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.plv-xp { font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.medal { width: 26px; height: 26px; flex: none; display: block; filter: drop-shadow(0 2px 3px rgba(10, 10, 10, 0.18)); }
.plv-bar { position: relative; height: 10px; border-radius: 99px; background: rgba(14, 22, 48, 0.07); overflow: hidden; }
.plv-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #06d47f, #7ef0bd); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.plv-bar i::after { content: ''; position: absolute; right: 2px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.plv-foot { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.plv-nt { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.plv-nt .medal { width: 16px; height: 16px; }
.plv-how { margin-left: auto; color: #06a866; white-space: nowrap; }
.lvtiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lvtiers > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 16px; background: rgba(14, 22, 48, 0.04); font-size: 12px; }
.lvtiers > div.on { background: rgba(6, 212, 127, 0.14); box-shadow: inset 0 0 0 1.5px rgba(6, 212, 127, 0.55); }
.lvtiers .medal { width: 38px; height: 38px; }
.lvtiers span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.lvw { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.lvw:first-of-type { border-top: 0; }
.lvw .ic3d { width: 34px; height: 34px; flex: none; }
.lvw .grow { display: flex; flex-direction: column; gap: 1px; }
.lvx { font-weight: 900; font-size: 14px; color: #06a866; white-space: nowrap; }
.lvmine { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lvmine > div { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 14px; background: rgba(14, 22, 48, 0.04); }
.lvmine span { font-size: 11px; font-weight: 700; color: var(--muted); }
.lvmine b { font-size: 16px; font-variant-numeric: tabular-nums; }
.lvmine .tot { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: rgba(6, 212, 127, 0.12); }
.lvconf { position: absolute; left: 50%; top: 30%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.lvconf i { position: absolute; width: 9px; height: 13px; border-radius: 3px; background: var(--h); animation: lvpop 1.9s var(--d) cubic-bezier(.15, .7, .3, 1) forwards; opacity: 0; }
@keyframes lvpop { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(var(--x) * 190px), 260px) rotate(540deg); } }
.lvk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.lvk > div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(14, 22, 48, 0.04); }
.lvk img { width: 34px; height: 34px; }
.lvk span { flex: 1; font-size: 13px; font-weight: 700; color: var(--muted); }
.lvk b { font-size: 22px; font-weight: 900; }
@media (max-width: 700px) { .lvk { grid-template-columns: 1fr 1fr; } }

/* ===== One bet dock for every game: clay chips, the amount row, the action button =====
   Used by Originals, the predicts/sports slip and lottery; new games get it by using L.chipBtn and the .go button. */
.ck { position: relative; display: grid; place-items: center; width: 100%; max-width: 50px; aspect-ratio: 1; justify-self: center; padding: 0; border: 0; border-radius: 50%; background: var(--ckimg) center / 100% 100% no-repeat; color: #0b0f0d; font: 900 clamp(10px, 3.1vw, 13px) / 1 var(--font); letter-spacing: -.03em; cursor: pointer; filter: drop-shadow(0 3px 3px rgba(11, 15, 13, .25)); transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), filter .2s; -webkit-tap-highlight-color: transparent; }
.ck span { pointer-events: none; }
.ck.c1 { --ckimg: url(/img/ck/c1.webp); } .ck.c2 { --ckimg: url(/img/ck/c2.webp); color: #fff; } .ck.c3 { --ckimg: url(/img/ck/c3.webp); }
.ck.c4 { --ckimg: url(/img/ck/c4.webp); } .ck.c5 { --ckimg: url(/img/ck/c5.webp); color: #fff; } .ck.c6 { --ckimg: url(/img/ck/c6.webp); color: #fff; } .ck.c7 { --ckimg: url(/img/ck/c7.webp); }
.ck.on { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 7px 8px rgba(6, 160, 95, .45)); }
.ck.on::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2.5px solid var(--mint); }
.ck:active { transform: scale(.92); }
.ck:disabled { opacity: .45; cursor: default; }
.chiprack { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: center; padding: 8px 2px 2px; }
.og-locked .chiprack, .og-locked .amtrow { opacity: .55; pointer-events: none; }
/* the slip's chip rows */
.amts > button.ck, .setall > button.ck { flex: 1; height: auto; min-height: 0; max-width: 46px; border: 0; border-radius: 50%; background: var(--ckimg) center / 100% 100% no-repeat; font-size: 12.5px; }
.amts > button.ck.on, .setall > button.ck.on, .slip .setall button.ck.on { background: var(--ckimg) center / 100% 100% no-repeat; border: 0; color: inherit; }
.amts > button.ck.c2.on, .amts > button.ck.c5.on, .amts > button.ck.c6.on, .setall > button.ck.c2.on, .setall > button.ck.c5.on, .setall > button.ck.c6.on { color: #fff; }
.amts { align-items: center; }
.setall { gap: 8px; padding-top: 6px; }
/* the amount: − [ 1.00 ] + */
.amtrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; align-items: stretch; }
.amtrow .input.big { text-align: center; }
.amt-pm { border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, .85); font: 800 24px / 1 var(--font); color: var(--ink); cursor: pointer; }
.amt-pm:active { transform: scale(.94); }
.amt-note { margin-top: 6px; text-align: center; }
/* the action button: the same everywhere (Play, Deal, Spin, Drop, Bet, Buy ticket), a chip at its left */
.go, .sellbar .og-cta .btn.accent, .sellbar #sellbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; min-width: 150px; padding: 0 22px 0 10px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #3fe8a6 0%, #06d47f 100%); color: #04281a; font: 900 17px / 1.05 var(--font); letter-spacing: -.01em; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .12), 0 10px 22px -8px rgba(6, 160, 95, .75); transition: transform .12s, box-shadow .2s, opacity .2s; }
.go::before, .sellbar .og-cta .btn.accent::before, .sellbar #sellbtn::before { content: ''; flex: none; width: 34px; height: 34px; background: url(/img/ck/c4.webp) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.go:active, .sellbar .og-cta .btn.accent:active, .sellbar #sellbtn:active { transform: scale(.97); }
.go:disabled, .sellbar .og-cta .btn.accent:disabled, .sellbar #sellbtn:disabled { opacity: .5; box-shadow: none; }
.go.two .go-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.05; }
.go.two .go-t > span:first-child { font-size: 15.5px !important; font-weight: 900; }
.go.two .go-t > .tiny { font-size: 11px; font-weight: 700; opacity: .8 !important; }
.go.two { height: 54px; flex: none; }
/* the bar's second button (Stand, Cash out...): same size, quiet */
.sellbar .og-cta .btn:not(.accent) { height: 56px; border-radius: 999px; padding: 0 18px; font-weight: 800; }
.sellbar .og-cta { gap: 8px; }
.sellbar .eyebrow { letter-spacing: .06em; }
.sellbar #total, .sellbar .og-tv { font-size: 22px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* two buttons in the bar (Skip + Cash out, Hit + Stand): both shrink so the total still fits */
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn.accent { min-width: 0; padding: 0 16px 0 8px; gap: 6px; font-size: 15.5px; }
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn.accent::before { width: 26px; height: 26px; }
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn:not(.accent) { padding: 0 14px; }
/* a hidden bar button stays hidden (the button style sets display); buttons ease in and change colour smoothly */
.sellbar .og-cta .btn[hidden], .go[hidden], .sellbar #sellbtn[hidden] { display: none !important; }
.sellbar .og-cta .btn { transition: background-color .25s, color .25s, box-shadow .25s, transform .12s, opacity .2s; animation: ctain .28s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes ctain { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sellbar .og-cta .btn { animation: none; } }
/* two buttons: compact enough that the amount on the left always shows in full */
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn { height: 50px; font-size: 14px; padding: 0 12px; }
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn.accent { padding: 0 14px 0 6px; }
.sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn.accent::before { width: 24px; height: 24px; }
.sellbar .card:has(.og-cta > .btn:not(.accent):not([hidden])) .og-tv .crl { display: none; } /* two buttons: drop the Q amount so the CR amount shows in full */
@media (max-width: 380px) { .sellbar .og-cta:has(> .btn:not(.accent):not([hidden])) .btn.accent::before { display: none; } }
/* the robot check box, only shown when Cloudflare asks for a tap */
.tsbox { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2000; }
.tsbox:empty { display: none; }

/* ---------- site footer (home page only): a light frosted card, actions first; the legal text lives on /legal ---------- */
.sitefoot { margin: clamp(64px, 9vw, 110px) 0 0; padding: 48px 0 40px; background: #f3f4f1; border-top: 1px solid rgba(14, 22, 48, .08); color: #0b0f0d; }
.sf-in { width: min(1160px, 100% - 32px); margin-inline: auto; padding-inline: 19px; box-sizing: border-box; } /* lines up with the logo in the top bar */
.sf-main { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 40px 72px; padding-bottom: 40px; }
.sf-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.sf-logo { height: 30px; width: auto; }
.sf-brand p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 26em; }
.sf-install { display: inline-block; padding: 11px 20px; border-radius: 999px; background: #0b0f0d; color: #06d47f; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: transform .15s; }
.sf-install:hover { transform: translateY(-1px); }
.sf-who i { font-style: normal; }
.sf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.sf-col { display: grid; gap: 12px; align-content: start; }
.sf-col b { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a93a6; margin-bottom: 4px; }
.sf-col a { color: #0b0f0d; font-size: 14px; font-weight: 400; text-decoration: none; width: fit-content; }
.sf-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(14, 22, 48, .1); font-size: 13px; color: var(--muted); }
.sf-bottom nav { display: flex; align-items: center; gap: 22px; }
.sf-lg { position: relative; }
.sf-lgb { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }
.sf-lgb:hover, .sf-lgb[aria-expanded="true"] { color: #0b0f0d; }
.sf-lgb svg { transition: transform .15s; } .sf-lgb[aria-expanded="true"] svg { transform: rotate(180deg); }
.sf-lgm { position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 140px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid rgba(14, 22, 48, .1); box-shadow: 0 12px 30px -12px rgba(14, 22, 48, .3); display: grid; gap: 2px; z-index: 5; }
.sf-lgm[hidden] { display: none; }
.sf-lgm button { border: 0; background: none; padding: 9px 12px; border-radius: 8px; text-align: left; color: #0b0f0d; font: 400 13.5px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.sf-lgm button:hover { background: rgba(14, 22, 48, .05); }
.sf-lgm button.on { font-weight: 600; } .sf-lgm button.on::after { content: '✓'; float: right; color: #0a8f58; margin-left: 12px; }
.sf-bottom a { color: var(--muted); text-decoration: none; } .sf-bottom a:hover { color: #0b0f0d; text-decoration: underline; text-underline-offset: 3px; }
.sf-fine { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: #9aa1b0; max-width: 100ch; }
@media (max-width: 860px) { .sf-main { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 640px) {
  .sitefoot { padding: 36px 0 32px; }
  .sf-in { width: calc(100% - 40px); padding-inline: 0; }
  .sf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .sf-bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .sf-who { display: grid; gap: 4px; } .sf-who i { display: none; }
  .sf-lgm { right: 50%; transform: translateX(50%); }
  body:has(.h-sticky) .sitefoot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } /* room for the Sign up bar on the home page */
}
/* the one-line company footer on every other screen */
.legal.one { padding: 18px 0; text-align: center; } .legal.one p { margin: 0; font-size: 12px; color: var(--muted); } .legal.one a { color: inherit; }

/* ---- bonus money, codes and invites ---- */
.pgift { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto; }
.pgift.sm { width: 40px; height: 40px; margin: 0; flex: none; }
.pgift .gifti { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(10, 10, 10, 0.12)); }
.pcode-link .gifti { width: 22px; height: 22px; vertical-align: -5px; margin-right: 2px; }
.pbar.pbon { height: 10px; border-radius: 99px; margin-top: 10px; }
.pbar.pbon i { background: var(--green); border-radius: 99px; }
.pbonus .tiny { margin-top: 5px; }
.pwait { display: flex; align-items: center; gap: 10px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); }
.pbonus > .pwait:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.pwait .pill { flex: none; }
.pterms { display: grid; gap: 10px; }
.pterms div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pterms div:last-child { border-bottom: 0; }
.pterms b { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.pinv-code { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(10, 10, 10, 0.04); }
.pinv-code b { flex: 1; font-size: 22px; letter-spacing: 0.08em; }
.pkeys { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.pkeys .chip:last-child { grid-column: span 2; }
.pkeys .chip { min-height: 46px; justify-content: center; font-weight: 800; font-size: 17px; }
.pcode-link { align-self: center; }
/* finance */
.tbl tr.fin-total td { border-top: 1px solid var(--line-2); }
.tbl tr.fin-grand td { border-top: 2px solid var(--ink); font-size: 15px; }
.pnote.bad { color: #b42318; background: rgba(214, 69, 69, 0.08); }
/* admin pages made of sections: even space between them */
.gapstack { display: flex; flex-direction: column; gap: 20px; }
.gapstack > .kpis { margin-bottom: 0; }
.gapstack > .card, .gapstack > .grid2 { margin: 0; }
.gapstack > .grid2 > .card { margin: 0; }
.pgrid { gap: 14px 16px; align-items: start; }
.pgrid .field input { max-width: 140px !important; }
.gapstack .grid2 > * { min-width: 0; }

/* ---- top bar: you (opens Profile) and the balance (opens the wallet) ---- */
.tbme { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border: 0; background: none; padding: 4px 8px 4px 0; margin: 0; font-family: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.tbme .grow { display: flex; flex-direction: column; min-width: 0; } .tbme .grow > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbme:active .avbtn { transform: scale(.94); }
.tbbal { display: flex; flex-direction: column; align-items: flex-end; border: 0; background: none; border-radius: 14px; padding: 4px 2px; font-family: inherit; color: inherit; cursor: pointer; transition: transform .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.tbbal b { font-size: 15px; letter-spacing: -.02em; } .tbbal:active { transform: scale(.96); } .tbbal:hover { opacity: .75; }

/* ---- balance card: light, soft mint glow, the three B1N0 balls ---- */
.wal { position: relative; overflow: hidden; isolation: isolate; color: #0a0a0a; border: 1px solid rgba(14,22,48,.07); border-radius: 28px; padding: 22px 20px 16px;
  background: radial-gradient(110% 90% at 100% 0%, rgba(6,212,127,.20), rgba(6,212,127,0) 55%), radial-gradient(90% 70% at 0% 110%, rgba(255,223,80,.22), rgba(255,223,80,0) 60%), linear-gradient(160deg, #ffffff, #f4f8f5 75%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 40px -30px rgba(14,22,48,.45); }
.wal-balls { position: absolute; z-index: -1; right: -14px; top: -18px; width: 132px; height: auto; transform: rotate(12deg); filter: drop-shadow(0 14px 16px rgba(14,22,48,.22)); pointer-events: none; }
.wal-k { color: var(--muted); }
.wal-amt { color: #0a0a0a; font-size: 48px; }
.wal-amt small { color: #04a867; }
.wal-loc { display: inline-block; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(14,22,48,.05); color: #4b5468; font-size: 13px; }
.wal-won { color: #04a867; margin-top: 8px; }
.wal-acts { gap: 8px; margin-top: 18px; }
.wal-a { color: #0a0a0a; gap: 0; padding: 10px 4px 10px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07), 0 10px 18px -16px rgba(14,22,48,.5); font-size: 13px; font-weight: 800; transition: transform .2s cubic-bezier(.3,1.7,.5,1), background .15s; }
.wal-a img { width: 50px; height: 50px; object-fit: contain; margin-bottom: 4px; filter: drop-shadow(0 8px 9px rgba(14,22,48,.22)); transition: transform .28s cubic-bezier(.3,1.7,.5,1); }
.wal-a.prim { background: #06d47f; color: #04130c; box-shadow: 0 14px 24px -14px rgba(6,212,127,.9); }
.wal-a:hover { background: #f6f8f6; } .wal-a.prim:hover { background: #12e08b; }
.wal-a:hover img { transform: translateY(-3px) rotate(-4deg); }
.wal-a:active { transform: scale(.94); }
.wsheet .wal { margin: 4px 0 2px; border: 0; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .wal-a, .wal-a img { transition: none; } }

/* ---- profile: grouped settings rows ---- */
.prof .pbreak { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 20px; background: rgba(6,212,127,.12); } .prof .pbreak span { font-size: 13.5px; color: #3c4a44; }
.pgrp { display: flex; flex-direction: column; gap: 8px; }
.pgrp-h { font-size: 13px; font-weight: 800; color: #6b7690; padding: 0 6px; }
.pgrp-b { background: #fff; border: 1px solid rgba(14,22,48,.08); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 26px -24px rgba(14,22,48,.4); }
.prow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 9px 14px; border: 0; background: none; font-family: inherit; font-size: 15px; color: #0a0a0a; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.prow + .prow { border-top: 1px solid rgba(14,22,48,.07); }
.prow:hover { background: rgba(14,22,48,.025); } .prow:active { background: rgba(14,22,48,.05); }
.prow.ro { cursor: default; } .prow.ro:hover { background: none; }
.prow-ic { width: 34px; height: 34px; object-fit: contain; flex: none; }
.prow-ic.svg { display: grid; place-items: center; border-radius: 11px; background: #0a0a0a; color: #06d47f; width: 32px; height: 32px; margin: 1px; } .prow-ic.svg svg { width: 18px; height: 18px; }
.prow-ic.wa { background: #06d47f; color: #04130c; }
.prow-t { flex: 1; font-weight: 700; min-width: 0; }
.prow-v { display: flex; align-items: center; gap: 6px; color: #6b7690; font-size: 13.5px; font-weight: 600; text-align: right; }
.prow-v .avatar.sm { width: 30px; height: 30px; overflow: hidden; } .prow-v .avatar.sm img { width: 100%; height: 100%; object-fit: cover; }
.prow-th { width: 46px; height: 30px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,22,48,.1); }
.prow .ok { color: #04a867; font-size: 17px; }
.prow > .chev { width: 8px; height: 8px; border-right: 2.2px solid #9aa3b8; border-bottom: 2.2px solid #9aa3b8; transform: rotate(-45deg); margin: 0 4px 0 0; flex: none; }
.tgl { position: relative; width: 46px; height: 28px; border-radius: 999px; background: rgba(14,22,48,.14); transition: background .2s; flex: none; }
.tgl i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .22s cubic-bezier(.3,1.5,.5,1); }
.tgl.on { background: #06d47f; } .tgl.on i { transform: translateX(18px); }
.psafe .plim-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; }
.psafe .grid2 .chip { height: 46px; justify-content: center; display: inline-flex; align-items: center; }

/* ---- card background picker ---- */
.cbgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cbg { display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent; background: #fff; border-radius: 18px; padding: 6px 6px 9px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: #0a0a0a; cursor: pointer; box-shadow: 0 0 0 1px rgba(14,22,48,.08); transition: transform .15s; }
.cbg img, .cbg .cbg-cl { width: 100%; aspect-ratio: 3 / 2; border-radius: 13px; object-fit: cover; display: block; }
.cbg .cbg-cl { background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.6), rgba(255,255,255,0) 60%), linear-gradient(135deg, #ffe48a, #e7a92c); }
.cbg.on { border-color: #06d47f; box-shadow: 0 10px 20px -14px rgba(6,212,127,.9); }
.cbg:active { transform: scale(.96); }
#pinvw .prow-v:empty { display: none; }
.pinvs > .card { box-shadow: none; border: 0; padding: 0; background: none; }
.prow-v:empty { display: none; }
/* "Have a code?" inside a top-up */
.mpromo:empty { display: none; }
.mpromo-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.08); font-family: inherit; font-size: 14.5px; font-weight: 700; color: #0a0a0a; text-align: left; cursor: pointer; }
.mpromo-btn:hover { background: #f8faf8; }
.mpromo-btn .gifti, .mpromo-on .gifti { width: 30px; height: 30px; flex: none; }
.mpromo-btn > .chev { width: 8px; height: 8px; border-right: 2.2px solid #9aa3b8; border-bottom: 2.2px solid #9aa3b8; transform: rotate(-45deg); margin-right: 4px; }
.mpromo-in { display: flex; gap: 8px; } .mpromo-in .input { flex: 1; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; height: 46px; } .mpromo-in .btn { height: 46px; }
.mpromo-on { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(6,212,127,.12); box-shadow: inset 0 0 0 1px rgba(6,212,127,.35); }
.mpromo-on b { display: block; font-size: 14px; } .mpromo-on span { display: block; font-size: 12.5px; color: #2f4a3e; margin-top: 2px; }
.mpromo-on em { font-style: normal; } .mpromo-on .mpromo-g { font-weight: 800; color: #04764a; }
.kbonus { cursor: pointer; background: linear-gradient(160deg, #fff5fa, #fff) !important; box-shadow: inset 0 0 0 1px rgba(244,114,182,.35) !important; } .kbonus .v { color: #be185d; } .kbonus:hover { box-shadow: inset 0 0 0 1px rgba(244,114,182,.7) !important; }
.bfilt { margin: 0 0 10px; flex-wrap: wrap; } .bfilt .cnt { font-style: normal; font-size: 11px; opacity: .6; margin-left: 2px; } .bmore { margin: 10px auto 0; display: block; }
.bfilt:empty { display: none; }
/* Finance: every number opens where it comes from */
.ftap[data-fl]:not([data-fl=""]) { cursor: pointer; }
tr.ftap[data-fl]:not([data-fl=""]):hover td, tr.ftap[data-sl]:hover td { background: rgba(6,212,127,.07); }
tr.ftap[data-sl] { cursor: pointer; }
div.ftap[data-fl]:hover { color: #04764a; } .stat.ftap:hover { box-shadow: inset 0 0 0 1px rgba(6,212,127,.5); }
.fdet { min-width: min(760px, 92vw); } .fdet-top { align-items: center; gap: 12px; } .fdet-amt { font-size: 24px; letter-spacing: -.02em; }
.linkish { color: #04764a; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .sheet.wide { width: min(980px, 94vw); } }
.fdet .table-wrap { overflow-x: auto; }
/* round profile picture: the mascot's head on a colour */
.avatar .avh { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.avatar .avh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.xl { width: 128px; height: 128px; box-shadow: 0 18px 30px -18px rgba(14,22,48,.55); overflow: hidden; background: transparent; }
/* picker: slide the mascots, then the colour */
.avpk-prev { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0 2px; }
.avpk-prev b { font-size: 16px; }
.avpk-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px calc(50% - 38px) 10px; margin: 0 -22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.avpk-rail::-webkit-scrollbar { display: none; }
.avpk-i { flex: none; scroll-snap-align: center; width: 76px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: inherit; cursor: pointer; opacity: .55; transform: scale(.86); transition: transform .2s, opacity .2s; }
.avpk-i .avatar { width: 64px; height: 64px; overflow: hidden; background: transparent; }
.avpk-i i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #6b7690; white-space: nowrap; }
.avpk-i.on { opacity: 1; transform: scale(1); } .avpk-i.on .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #06d47f; }
.avpk-cols { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.avpk-c { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
.avpk-c span { position: absolute; inset: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14,22,48,.12); display: grid; place-items: center; font-weight: 800; color: #6b7690; }
.avpk-c.auto span { background: conic-gradient(#2dda92 0 33%, #ffda55 0 66%, #131615 0); }
.avpk-c.auto span::after { content: 'Auto'; font-size: 9px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.avpk-c.custom span { background: conic-gradient(var(--bad), #fb923c, #ffda55, #2dda92, #60a5fa, #a78bfa, #f472b6, var(--bad)); color: #fff; font-size: 18px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.avpk-c.custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.avpk-c.on span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #06d47f; }

/* ================= the bet card kit, everywhere a bet is made =================
   Lottery, sports and predictions (player page, seller tool, POS) use the same drawn clay pieces as the Originals bet
   bar: a mint action key with the word only, white keys for − + and quick amounts, and a pressed-in well for the amount.
   Only the look changes here: every button and field keeps its id and its behaviour. */
.go, .btn.accent.go, .sellbar .og-cta .btn.accent, .sellbar #sellbtn, .sellbar #sellbtn.btn.accent { --kh: 58px; height: var(--kh); padding: 0 24px 5px; border: 0 solid transparent; border-radius: 0; background: none; box-shadow: none;
  border-image: url(/img/og/g4-keym.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #06281a; filter: drop-shadow(0 7px 9px rgba(6, 180, 110, .32)); transition: transform .08s, filter .15s, opacity .2s; }
.go::before, .sellbar .og-cta .btn.accent::before, .sellbar #sellbtn::before { content: none; }
.go:active, .sellbar .og-cta .btn.accent:active, .sellbar #sellbtn:active { transform: translateY(3px); filter: drop-shadow(0 2px 2px rgba(6, 120, 80, .3)); }
.go:disabled, .sellbar .og-cta .btn.accent:disabled, .sellbar #sellbtn:disabled { opacity: .5; filter: saturate(.6); }
.go.two, .btn.accent.go.two { --kh: 58px; height: var(--kh); padding: 0 22px 5px; } .go.two .go-t { align-items: center; }
.sellbar .card { background: #fff; padding: 10px 12px 10px 18px; }
/* the amount: a pressed-in well, with clay − and + keys */
#entry .input.big, .amtrow .input.big { height: 64px; border: 0; border-radius: 0; background: url(/img/og/g4-well.webp) center / 100% 100% no-repeat; box-shadow: none; padding: 0 22px 2px; }
#entry .input.big:focus, .amtrow .input.big:focus { outline: none; filter: drop-shadow(0 0 5px rgba(6, 212, 127, .55)); }
.amt-step, .mini-step { border: 0; border-radius: 0; overflow: visible; background: none; gap: 4px; align-items: center; }
.amt-step { height: 48px; } .mini-step { height: 42px; width: 132px; }
.amt-step button, .mini-step button { width: 40px; height: 42px; border-radius: 0; background: url(/img/og/g4-rkey.webp) center / 100% 100% no-repeat; color: #26302c; font-size: 20px; font-weight: 900; padding: 0 0 4px; transition: transform .08s; }
.mini-step button { width: 34px; height: 36px; font-size: 17px; }
.amt-step button:active, .mini-step button:active { background: url(/img/og/g4-rkey.webp) center / 100% 100% no-repeat; transform: translateY(2px) scale(.96); }
.amt-step input, .mini-step input { height: 100%; background: url(/img/og/g4-well.webp) center / 100% 100% no-repeat; padding: 0 8px 2px; font-family: var(--font); font-weight: 900; }
.amt-step input:focus, .mini-step input:focus { background: url(/img/og/g4-well.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 0 4px rgba(6, 212, 127, .6)); }
/* quick amounts: small white clay keys (the one in use is mint), not casino chips */
.amts > button.ck, .setall > button.ck, .slip .setall button.ck, .chiprack .ck { --kh: 40px; max-width: none; width: auto; aspect-ratio: auto; height: var(--kh); min-height: var(--kh); flex: 1; padding: 0 4px 4px; border: 0 solid transparent; border-radius: 0; background: none;
  border-image: url(/img/og/g4-key2.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #1c2622; font: 900 13px/1 var(--font); filter: drop-shadow(0 3px 3px rgba(14, 22, 48, .14)); transform: none; }
.amts > button.ck.on, .setall > button.ck.on, .slip .setall button.ck.on, .chiprack .ck.on { background: none; border: 0 solid transparent; border-image: url(/img/og/g4-keym.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #06281a; transform: none; filter: drop-shadow(0 3px 4px rgba(6, 180, 110, .35)); }
.amts > button.ck.on::after, .setall > button.ck.on::after, .chiprack .ck.on::after { content: none; }
.amts > button.ck:active, .setall > button.ck:active, .chiprack .ck:active { transform: translateY(2px); }
#entry .chips .chip { --kh: 38px; height: var(--kh); padding: 0 16px 4px; border: 0 solid transparent; border-radius: 0; background: none; border-image: url(/img/og/g4-key2.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #1c2622; font-weight: 900; filter: drop-shadow(0 3px 3px rgba(14, 22, 48, .14)); }
#entry .chips .chip.on { background: none; border: 0 solid transparent; border-image: url(/img/og/g4-keym.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #06281a; }
#entry .chips { gap: 6px; padding: 4px 2px 8px; }
#entry #add { --kh: 50px; height: var(--kh); padding: 0 22px 4px; border: 0 solid transparent; border-radius: 0; background: none; box-shadow: none; border-image: url(/img/og/g4-key2.webp) 0 131 fill / 0 calc(var(--kh) / 2) / 0 stretch; color: #1c2622; font-weight: 900; filter: drop-shadow(0 4px 5px rgba(14, 22, 48, .18)); }
#entry #add:active { transform: translateY(2px); } #entry #add:disabled { opacity: .5; }

/* quick amounts and the stepper on the bet slip: room to breathe */
.amts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.amts > button.ck { flex: 1 1 52px; min-width: 52px; width: auto; }
.amts .amt-step { flex: 1 1 172px; min-width: 172px; height: 48px; }
.amt-step input { font-size: 17px; padding: 0 12px 2px; } .mini-step { width: 140px; } .mini-step input { font-size: 15px; padding: 0 9px 2px; }
.setall > button.ck { flex: 1 1 0; min-width: 44px; }

/* ---- one picker for every lottery: a clay tray, drawn balls, a lucky tumbler, a paper ticket ---- */
.pk-src { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.grid2:has(> .pk-src) { display: block; }
.pk { display: grid; gap: 12px; margin-bottom: 14px; }
.pk-lab { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pk-top { display: flex; align-items: center; justify-content: center; gap: 12px; }
/* the tray: the clay well, with one drawn socket per number */
.pk-tray { flex: 0 1 auto; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px 14px; outline: none;
  border: 0 solid transparent; border-width: 34px 52px; border-image: url(/img/og/g4-well.webp) 96 150 fill / 34px 52px stretch; }
.pk-tray > .pk-g { margin: -22px -30px; }
.pk-tray:focus-visible { filter: drop-shadow(0 0 0 2px var(--mint)); }
.pk-g { display: flex; gap: 4px; }
.pk-h { display: grid; place-items: center; width: 52px; height: 52px; background: url(/img/og/g5-hole.webp) center / contain no-repeat; }
.pk-g:has(.pk-h:nth-child(5)) .pk-h { width: 43px; height: 43px; } .pk-g:has(.pk-h:nth-child(5)) .pk-b { width: 35px; height: 35px; font-size: 15px; }
.pk-g:has(.pk-h:nth-child(5)) { gap: 2px; }
/* a drawn clay ball in the lottery's colour */
.pk-b { display: grid; place-items: center; width: 42px; height: 42px; font: 900 21px/1 var(--font); font-style: normal; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--bt, #fff); cursor: pointer;
  background: var(--bi, url(/img/og/g5-b-green.webp)) center / 100% 100% no-repeat; }
.pk-b.two { font-size: 17px; }
.pk-b.new, .pk-b.land { animation: pkland .34s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pkland { 0% { transform: scale(1.22, .8) translateY(3px); } 55% { transform: scale(.94, 1.08) translateY(-3px); } 100% { transform: none; } }
.pk-fly { position: fixed; z-index: 400; margin: 0; pointer-events: none; }
/* the rack of balls 0–9, and every grid of numbered balls: the same drawn ball */
.numgrid, .numgrid.p1grid { grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; max-width: 420px; margin: 0 auto; }
.numgrid.pk-rack { grid-template-columns: repeat(5, 1fr); gap: 8px 10px; max-width: 340px; }
.numgrid button, .numgrid button.on { border-radius: 50%; border: 0; box-shadow: none; font: 900 16px/1 var(--font); letter-spacing: -.03em; color: #1b2233; text-shadow: none;
  background: url(/img/og/g5-b-white.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 4px 4px rgba(14, 22, 48, .16)); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), filter .2s; }
.numgrid.pk-rack button { font-size: 22px; }
.numgrid button:active { transform: scale(.86) translateY(2px); transition-duration: .05s; filter: drop-shadow(0 1px 1px rgba(14, 22, 48, .2)); }
.numgrid button.on { color: var(--bt, #fff); background: var(--bi, url(/img/og/g5-b-green.webp)) center / 100% 100% no-repeat; animation: pkland .34s cubic-bezier(.3, 1.8, .5, 1); }
/* lucky pick: the tumbler */
.pk-lucky { flex: none; display: grid; justify-items: center; gap: 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink-2); font: 800 11px/1.1 var(--font); -webkit-tap-highlight-color: transparent; }
.pk-lucky img { width: 62px; height: 70px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(14, 22, 48, .16)); transform-origin: 50% 88%; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.pk-lucky:active img { transform: scale(.92); }
.pk-lucky.spin img { animation: pkshake .62s ease-in-out; }
@keyframes pkshake { 0%, 100% { transform: none; } 15% { transform: rotate(-11deg); } 32% { transform: rotate(10deg) translateY(-3px); } 50% { transform: rotate(-9deg); } 68% { transform: rotate(8deg) translateY(-2px); } 85% { transform: rotate(-4deg); } }
/* the ticket: lines print onto a slip of paper as you add them */
#cart:has(> .tk) { background: none; box-shadow: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tk { border: 0 solid transparent; border-width: 26px 16px; border-image: url(/img/og/g5-ticket.webp) 64 40 fill / 26px 16px round stretch; padding: 0 6px; color: #2a2414; filter: drop-shadow(0 10px 12px rgba(60, 44, 10, .16)); }
.tk-head { display: flex; align-items: baseline; gap: 8px; padding: 0 2px 8px; border-bottom: 2px dashed rgba(60, 44, 10, .22); }
.tk-head b { font: 900 16px/1.1 var(--font); } .tk-head .eyebrow { color: rgba(60, 44, 10, .6); } .tk-head .btn { margin-left: auto; }
.tk .cartlines { background: none; } .tk .cartlines .item { background: none; border: 0; border-bottom: 1px dashed rgba(60, 44, 10, .18); border-radius: 0; padding: 9px 2px; box-shadow: none; }
.tk .cartlines .item .muted { color: rgba(60, 44, 10, .6); }
.tk.grew .cartlines .item:last-child { animation: tkprint .42s cubic-bezier(.2, .9, .2, 1); }
@keyframes tkprint { from { opacity: 0; transform: translateY(-16px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.tk-now { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 2px 0; }
.tk-pen { font: 700 12.5px/1.2 var(--font); color: rgba(60, 44, 10, .55); }
.tk-now .ball { opacity: .95; }
@media (max-width: 380px) { .pk-h { width: 46px; height: 46px; } .pk-b { width: 37px; height: 37px; font-size: 19px; } .pk-lucky img { width: 54px; height: 62px; } }
@media (prefers-reduced-motion: reduce) { .pk-b, .numgrid button.on, .pk-lucky.spin img, .tk.grew .cartlines .item:last-child { animation: none !important; } }

/* ---- lottery side bets: clean white tiles, the outcome shown in drawn balls, the price on a yellow tag ---- */
.odd.sb { min-height: 98px; padding: 12px 6px 11px; gap: 7px; border-radius: 20px; border: 1px solid rgba(14, 22, 48, .07); background: #fff; box-shadow: 0 2px 0 rgba(14, 22, 48, .05), 0 10px 18px -12px rgba(14, 22, 48, .28); transition: transform .12s, box-shadow .15s, background .15s; }
.odd.sb:active { transform: translateY(2px) scale(.98); box-shadow: 0 0 0 rgba(14, 22, 48, .05), 0 4px 8px -6px rgba(14, 22, 48, .3); }
.odd.sb span { font: 800 14.5px/1.1 var(--font); color: #1c2622; white-space: normal; }
.odd.sb b { font: 900 13.5px/1 var(--font); padding: 5px 10px 4px; border-radius: 999px; background: #ffdf50; color: #3f2e00; }
.odd.sb b::after { content: '×'; margin-left: 1px; font-weight: 800; opacity: .75; }
.sb-art { order: -1; display: flex; align-items: center; justify-content: center; gap: 4px; font-style: normal; }
.sb-art i { display: grid; place-items: center; width: 32px; height: 32px; font: 900 14px/1 var(--font); font-style: normal; letter-spacing: -.04em; color: var(--bt, #fff); background: var(--bi, url(/img/og/g5-b-green.webp)) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px rgba(14, 22, 48, .16)); }
.sb-art u { text-decoration: none; font: 700 11px/1 var(--font); color: var(--muted); padding: 0 1px; }
.odd.sb.on { background: linear-gradient(180deg, #2fe6a0, #12cf85); border-color: #0fbf7a; box-shadow: 0 2px 0 #0aa86a, 0 12px 18px -10px rgba(6, 180, 110, .7); }
.odd.sb.on .sb-art i { color: var(--bt, #fff) !important; animation: pkland .34s cubic-bezier(.3, 1.8, .5, 1) backwards; } .odd.sb.on .sb-art i:nth-of-type(2) { animation-delay: .06s; } .odd.sb.on .sb-art i:nth-of-type(3) { animation-delay: .12s; }
.odd.sb.on .sb-art u { color: #06281a !important; } .odd.sb.on b { background: #fff; color: #06281a !important; }
.odd.sb.sm { min-height: 86px; } .odd.sb.sm span { font-size: 12.5px; } .odd.sb.sm .sb-art i { width: 26px; height: 26px; font-size: 12px; }
.mkt:has(> .odd.sb) { gap: 10px; }
.pxq .paysx b { font: 900 13px/1 var(--font); padding: 4px 9px 3px; border-radius: 999px; background: #ffdf50; color: #3f2e00; margin-left: 2px; display: inline-block; }
/* many choices at one price. Single numbers or letters are drawn balls you tap; ranges are small tiles */
.dgts.bl { gap: 6px 4px; justify-items: center; } .dgts.bl .dgt { width: 100%; max-width: 46px; height: auto; aspect-ratio: 1; border: 0; border-radius: 50%; font: 900 15px/1 var(--font); color: #1b2233; background: url(/img/og/g5-b-white.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px rgba(14, 22, 48, .16)); }
.dgts.bl .dgt.on { color: var(--bt, #fff); background: var(--bi, url(/img/og/g5-b-green.webp)) center / 100% 100% no-repeat; animation: pkland .34s cubic-bezier(.3, 1.8, .5, 1); }
.dgts.rng { grid-template-columns: repeat(3, 1fr); gap: 8px; } .dgts.rng .dgt { height: 58px; border-radius: 16px; border: 1px solid rgba(14, 22, 48, .07); background: #fff; box-shadow: 0 2px 0 rgba(14, 22, 48, .05), 0 8px 14px -10px rgba(14, 22, 48, .28); display: grid; place-items: center; font-size: 14px; }
.dgts.rng .dgt .sb-art i { width: 30px; height: 30px; font-size: 13px; }
.dgts.rng .dgt.on { background: linear-gradient(180deg, #2fe6a0, #12cf85); border-color: #0fbf7a; box-shadow: 0 2px 0 #0aa86a, 0 10px 14px -9px rgba(6, 180, 110, .7); } .dgts.rng .dgt.on .sb-art u { color: #06281a; }
@media (max-width: 360px) { .dgts.rng { grid-template-columns: repeat(3, 1fr); } }

/* ---- every lottery ball on the site is the same drawn clay ball, in the lottery's colour ---- */
[style*="--bi"] .ball:not(.wide), [style*="--bi"].balls .ball:not(.wide), [style*="--bi"] .ltr, .gball[style*="--bi"], .tkt [style*="--bi"] .ball:not(.wide) { background: var(--bi) center / 100% 100% no-repeat; box-shadow: 0 6px 7px -5px rgba(14, 22, 48, .4); text-shadow: none; }
[style*="--bi"] .ball.hit:not(.wide) { --bi: url(/img/og/g5-b-gold.webp); box-shadow: 0 0 0 3px rgba(255, 223, 80, .45), 0 8px 12px -6px rgba(224, 168, 0, .8); }
[style*="--bi"] .ltr { --bi: url(/img/og/g5-b-black.webp); }
.tk-now .ball.gap { background: none !important; box-shadow: inset 0 0 0 2px rgba(60, 44, 10, .25) !important; }

/* ---- the balance card: alive, in the brand's mint and yellow, with the same drawn balls as the lottery ---- */
.wal { background: radial-gradient(90% 80% at 100% 0%, rgba(6, 212, 127, .22), rgba(6, 212, 127, 0) 60%), radial-gradient(80% 70% at 0% 110%, rgba(255, 223, 80, .22), rgba(255, 223, 80, 0) 62%), #fff; background-size: 170% 170%, 170% 170%, 100% 100%; animation: walair 14s ease-in-out infinite alternate; }
@keyframes walair { 0% { background-position: 100% 0%, 0% 100%, 0 0; } 100% { background-position: 65% 25%, 30% 75%, 0 0; } }
/* the hero: a clay wallet with coins and lottery balls, peeking over the top corner */
.wal { overflow: visible; background: #fff; animation: none; }
.wal-hero { position: absolute; z-index: 1; right: 10px; top: -38px; width: 94px; height: auto; pointer-events: none; filter: drop-shadow(0 12px 12px rgba(14, 22, 48, .22)); transform-origin: 50% 90%; animation: walhero 5s ease-in-out infinite; }
@keyframes walhero { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-5px); } }
.wal:has(.wal-a.prim:active) .wal-hero { animation: walhop .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes walhop { 0% { transform: rotate(4deg) scale(1); } 40% { transform: rotate(-3deg) scale(1.1, .92); } 100% { transform: rotate(4deg) scale(1); } }
.wal-k, .wal-amt { max-width: calc(100% - 100px); }
.wal-amt { white-space: nowrap; } .wal-amt[data-len="m"] { font-size: 44px !important; } .wal-amt[data-len="l"] { font-size: 35px !important; } .wal-amt[data-len="l"] small, .wal-amt[data-len="m"] small { font-size: 20px; }
.wal-amt { font-size: 54px; } .wal-amt small { font-size: 24px; }
.wal-loc { background: #0a0a0a; color: #fff; font-weight: 700; padding: 6px 13px; }
.wal-won { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; margin-left: 6px; padding: 5px 12px; border-radius: 999px; background: #ffe98a; color: #3b2f00; font-weight: 800; }
.wal-won::before { content: '★'; color: #b98a00; }
.wal-acts { gap: 10px; margin-top: 20px; }
.wal-a, .wal-a.prim { border-radius: 20px; background: #fff; color: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .07), 0 2px 0 rgba(14, 22, 48, .05), 0 12px 18px -14px rgba(14, 22, 48, .4); }
.wal-a.prim { box-shadow: inset 0 0 0 2px #06d47f, 0 2px 0 rgba(6, 180, 110, .35), 0 12px 18px -12px rgba(6, 212, 127, .7); }
.wal-a:hover, .wal-a.prim:hover { background: #f7faf8; }
.wal-a img { animation: walic 4.5s ease-in-out infinite; } .wal-a:nth-child(2) img { animation-delay: .6s; } .wal-a:nth-child(3) img { animation-delay: 1.2s; }
@keyframes walic { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .wal-hero, .wal-a img { animation: none !important; } }

/* ---- section strips: one template. A clay object standing on the right, the title on clean white at the left ---- */
.lhead.strip { height: 62px; padding: 0 104px 0 14px; overflow: visible; background: linear-gradient(90deg, #fff 55%, #e9f9f1); margin-top: 22px; }
.lhead.strip::after { right: 8px; top: auto; bottom: 0; width: 92px; height: 84px; background: var(--strip) right bottom / contain no-repeat; -webkit-mask-image: none; mask-image: none; z-index: 0; filter: drop-shadow(0 6px 6px rgba(14, 22, 48, .16)); pointer-events: none; }
/* ---- Predicts: the week's trend on the card, and a chart you can drag across ---- */
.mkhead .spark { margin-left: auto; align-self: center; padding-left: 8px; } .spark svg polyline { stroke-width: 2.4; }
.spark.up { color: #06b06b; } .spark.dn { color: #0a0a0a; } .spark.flat { color: var(--faint); } .spark b { font-family: var(--font); font-weight: 800; }
.mcv { position: relative; min-height: 180px; } .mcs { touch-action: pan-y; cursor: crosshair; -webkit-user-select: none; user-select: none; }
.mcs .ma { fill: url(#mcfill); } .mcs .ml { stroke-width: 2.6; }
.mcs .c0 { stroke: #19d98b; } .mcs .md.c0, .mcs .mxd.c0 { fill: #19d98b; } .mcs .c1 { stroke: #f2b705; } .mcs .md.c1, .mcs .mxd.c1 { fill: #f2b705; }
.mcs .c2 { stroke: #0a0a0a; } .mcs .md.c2, .mcs .mxd.c2 { fill: #0a0a0a; } .mcs .c3 { stroke: var(--faint); } .mcs .md.c3, .mcs .mxd.c3 { fill: var(--faint); }
.mcl i.c0, .mctip i.c0 { background: #19d98b; } .mcl i.c1, .mctip i.c1 { background: #f2b705; } .mcl i.c2, .mctip i.c2 { background: #0a0a0a; } .mcl i.c3, .mctip i.c3 { background: var(--faint); }
.mcs .mxl { stroke: #0a0a0a; stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .55; } .mcs .mxd { stroke: #fff; stroke-width: 2; }
.mcv.scrub .md { opacity: 0; }
.mctip { position: absolute; left: 0; right: 30px; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 6px 10px; border-radius: 12px; background: #0a0a0a; color: #fff; font: 700 12px/1.2 var(--font); pointer-events: none; }
.mctip { position: static; right: auto; min-height: 30px; margin-bottom: 4px; } .mctip[hidden] { display: flex; visibility: hidden; } .mctip .mcw { color: #ffdf50; font-weight: 800; width: 100%; } .mctip span { display: inline-flex; align-items: center; gap: 5px; } .mctip i { width: 8px; height: 8px; border-radius: 50%; } .mctip b { font-weight: 900; }
.mcv.scrub .mcnow { visibility: hidden; }

/* ---- one paper slip for lottery, sports and predicts: what you are buying is printed on the same cream paper ---- */
.tk.stk { border-width: 20px 12px; border-image-width: 20px 12px; padding: 0 4px; filter: drop-shadow(0 6px 8px rgba(60, 44, 10, .14)); display: flex; flex-direction: column; min-height: 0; }
.tk.stk .slip-top, .tk.stk .slip-head { padding: 0 2px 8px; border-bottom: 2px dashed rgba(60, 44, 10, .22); color: #2a2414; }
.tk.stk .slip-top:only-child, .tk.stk .slip-head:only-child { border-bottom: 0; padding-bottom: 0; }
.tk.stk .slip-top b, .tk.stk .slip-head b { font: 900 15px/1.15 var(--font); color: #2a2414; }
.tk.stk .muted, .tk .muted { color: rgba(60, 44, 10, .62) !important; }
.tk.stk .slip-count { background: #0a0a0a; color: #19d98b; }
.tk.stk .slip-picks { border: 0; padding: 2px 0 0; background: none; }
.tk.stk .slip-picks > .row, .tk.stk .slip-picks > .item { background: none; border: 0; border-bottom: 1px dashed rgba(60, 44, 10, .18); border-radius: 0; box-shadow: none; padding: 8px 2px !important; }
.tk.stk .slip-picks > .row:last-of-type, .tk.stk .slip-picks > .item:last-child { border-bottom: 0; }
.tk.stk .slip-picks .bold { color: #0a0a0a !important; } .tk.stk .slip-picks .mono { font-family: var(--font); font-weight: 900; padding: 3px 8px 2px; border-radius: 99px; background: #ffdf50; color: #3f2e00; }
.tk.stk.grew .slip-picks > .row:last-of-type, .tk.stk.grew .slip-picks > .item:last-child { animation: tkprint .42s cubic-bezier(.2, .9, .2, 1); }
.slip:has(> .tk.stk) { gap: 12px; }
@media (prefers-reduced-motion: reduce) { .tk.stk.grew .slip-picks > * { animation: none !important; } }
/* the ticket you get after buying is the same paper */
.tkt { background: #f7edd8; } .tkt .muted { color: rgba(60, 44, 10, .62); }
/* ticket header: the line under the title wraps before it reaches the "pays" figure on the right */
.tkt .head:has(.jp) .drawline, .tkt .head:has(.jp) .game { padding-right: 92px; }
.tkt .head .drawline { line-height: 1.3; }

/* ---- every Predicts card carries its detailed chart on top: axes, dates, 24h / 7 days / All time, drag to read a moment ---- */
.mch.oncard { margin: -2px -2px 10px; padding: 8px 8px 4px; border: 0; border-radius: 16px; background: linear-gradient(180deg, rgba(25, 217, 139, .08), rgba(25, 217, 139, 0) 70%); gap: 4px; }
.mch.oncard .mcc { font: 800 12px/1 var(--font); color: var(--muted); letter-spacing: .02em; }
.mch.oncard .mcr button { height: 24px; padding: 0 9px; font-size: 11.5px; }
.mch.oncard .mcv { min-height: 0; transition: opacity .2s; } .mch.oncard .mcv.busy { opacity: .4; }
.mch.oncard .mctip { min-height: 26px; padding: 5px 9px; font-size: 11.5px; gap: 2px 10px; } .mch.oncard .mctip .mcw { width: auto; }
.mch.oncard .mcnow { position: absolute; left: 4px; top: 30px; z-index: 1; } .mch.oncard .mcnow b { font-size: 20px; }
.rdot { display: inline-block; flex: none; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; vertical-align: middle; }
.rdot.c0 { background: #19d98b; } .rdot.c1 { background: #f2b705; } .rdot.c2 { background: #0a0a0a; } .rdot.c3 { background: var(--faint); }
.gnm b .rdot, .gr b .rdot { margin-bottom: 2px; }
.mcs .mx[hidden] { display: none; }
.mch.oncard .mctip { position: absolute; left: 0; right: 0; top: -30px; margin: 0; min-height: 28px; z-index: 3; } .mch.oncard .mctip[hidden] { display: none; }

/* ---- Predicts card, tidied: question, closing time, chart, answers. The big number sits in the chart's header row ---- */
.mkcard.pv > .mkhead { margin-bottom: 4px; } .mkcard.pv > .gmtop { margin-bottom: 8px; }
.mch.oncard { margin: 0 -2px 8px; }
.mch.oncard .mcc { font: 700 12.5px/1 var(--font); color: var(--muted); letter-spacing: 0; display: inline-flex; align-items: baseline; gap: 5px; min-height: 24px; } .mch.oncard .mcc b { font: 900 22px/1 var(--font); color: var(--ink); letter-spacing: -.03em; }
.mch.oncard .mcnow { display: none; }
.mch.oncard .mcs .ml { stroke-width: 1.7; } .mch.oncard .mcs .ml.c0 { stroke-width: 2.5; } .mch.oncard .mcs .md { r: 3; }
/* Yes and No side by side */
.gmrows.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gmrows.yn > .gr.pr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n o" "c o"; align-items: center; gap: 0 8px; padding: 8px 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .07); border: 0; margin: 0; }
.gmrows.yn > .gr.pr > b { grid-area: n; } .gmrows.yn > .gr.pr > .gpc { grid-area: c; text-align: left; justify-self: start; } .gmrows.yn > .gr.pr > :last-child { grid-area: o; }

/* "Call me with the code" under the login code box */
.callme { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; padding: 10px 8px; width: 100%; cursor: pointer; }
.callme:disabled { opacity: .55; text-decoration: none; cursor: default; }

/* terms of use screen */
.termsbox { text-align: center; position: relative; padding-top: 78px !important; margin-top: 56px; }
.termsbox .tk-hero { position: absolute; left: 50%; top: -66px; transform: translateX(-50%) rotate(-6deg); width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(6,90,52,.28)); }
.termsbox h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; }
.termsbox > p { margin: 0 0 14px; }
.tcheck { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; margin: 10px 0; min-height: 86px; border-radius: 18px; background: #fff; border: 2px solid rgba(12,12,12,.08); font-size: 15px; line-height: 1.4; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.tcheck input { position: absolute; opacity: 0; pointer-events: none; }
.tcheck img { width: 46px; height: 46px; flex: none; object-fit: contain; }
.tcheck span { flex: 1; }
.tcheck a { font-weight: inherit; text-decoration: none; color: var(--good); }
.tcheck i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(12,12,12,.25); background: #fff center / 16px no-repeat; transition: background-color .15s, border-color .15s, transform .15s; }
.tcheck:has(input:checked) i { background-color: var(--ink); border-color: var(--ink); transform: scale(1.06); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%2306d47f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tcheck:has(input:focus-visible) { outline: 3px solid #0c0c0c; outline-offset: 2px; }
.termsbox .btn { margin-top: 12px; }
.termsbox .btn.lg.block { display: flex; align-items: center; justify-content: center; text-align: center; height: 56px; padding: 0 18px; }
.termsbox #tkgo:not(:disabled) { background: var(--ink); color: var(--green); border-color: var(--ink); box-shadow: 0 14px 28px -14px rgba(10,10,10,.7); }
@media (prefers-reduced-motion: reduce) { .tcheck, .tcheck i { transition: none; } }

/* ---- badges, trophy case, fun facts (player profile) ---- */
.bshelf { width: 100%; display: grid; gap: 14px; padding: 16px 12px 18px; border: 0; border-radius: 26px; background: radial-gradient(360px 180px at 50% 0, rgba(6,212,127,.14), rgba(6,212,127,0) 70%), #fff; color: #0a0a0a; font-family: inherit; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 22px 36px -30px rgba(14,22,48,.55); text-align: left; }
.bshelf-h { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; } .bshelf-h b { font-size: 16px; font-weight: 800; }
.bshelf-h span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #6b7690; } .bshelf-h em { font-style: normal; color: #04a867; font-weight: 900; } .bshelf-h .chev { margin-left: 6px; }
.bshelf-r { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.bmed { display: grid; grid-template-rows: 72px auto auto; justify-items: center; align-items: center; gap: 5px; min-width: 0; } .bmed img { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 9px 9px rgba(14,22,48,.28)); }
.bmed small { font-size: 11.5px; font-weight: 800; color: #0a0a0a; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bmed.off img { filter: grayscale(1) opacity(.3); } .bmed.off small { color: #9aa3b8; }
.bpips { display: inline-flex; gap: 4px; height: 7px; } .bpips i { width: 7px; height: 7px; border-radius: 50%; background: rgba(14,22,48,.12); } .bpips .p1 { background: #c97f45; } .bpips .p2 { background: #8f9bb0; } .bpips .p3 { background: #e9b800; } .bpips .ps { background: #06d47f; }
.tch { display: flex; justify-content: space-between; align-items: baseline; } .tch b { font-size: 15px; color: #04a867; }
.tcg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tct { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 16px 12px 14px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07), 0 12px 20px -18px rgba(14,22,48,.5); text-align: center; }
.tct.t1 { background: linear-gradient(180deg, #fbefe3, #fff 55%); } .tct.t2 { background: linear-gradient(180deg, #eef1f6, #fff 55%); } .tct.t3 { background: linear-gradient(180deg, #fff3c4, #fff 55%); }
.tct-m { width: 92px; height: 92px; display: grid; place-items: center; margin-bottom: 2px; } .tct-m img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(14,22,48,.28)); }
.tct.off .tct-m img { filter: grayscale(1) opacity(.3); } .tct b { font-size: 15px; font-weight: 800; } .tct > small { font-size: 11.5px; color: #6b7690; line-height: 1.3; min-height: 30px; }
.tct .tc-bar { width: 100%; } .tct .tc-n.done { color: #04a867 !important; }
.tct-u { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 8px 4px 4px; border-radius: 10px; background: rgba(14,22,48,.05); font-size: 11px; font-weight: 700; color: #0a0a0a; max-width: 100%; } .tct-u img { width: 30px; height: 20px; border-radius: 5px; object-fit: cover; flex: none; } .tct-u span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tct-pin { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(14,22,48,.06); color: #b6bcc9; display: grid; place-items: center; cursor: pointer; } .tct-pin.on { background: #0a0a0a; color: #ffdf50; }
.tc-bar { height: 7px; border-radius: 7px; background: rgba(14,22,48,.08); overflow: hidden; margin-top: 3px; } .tc-bar i { display: block; height: 100%; border-radius: 7px; background: #06d47f; }
.tc-n { font-variant-numeric: tabular-nums; font-weight: 700; color: #0a0a0a !important; }
.tc-u { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12px; font-weight: 700; color: #0a0a0a; } .tc-u img { width: 36px; height: 24px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,22,48,.1); }
.tc-pin { border: 0; border-radius: 999px; padding: 8px 12px; font: 800 12px/1 var(--font); background: rgba(14,22,48,.06); color: #0a0a0a; cursor: pointer; } .tc-pin.on { background: #0a0a0a; color: #06d47f; }
.nbdg { text-align: center; align-items: center; } .nbdg-m { width: 150px; height: 150px; object-fit: contain; margin: 4px auto 0; filter: drop-shadow(0 18px 20px rgba(14,22,48,.3)); animation: nbdgin .7s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes nbdgin { from { transform: scale(.4) rotate(-18deg); opacity: 0; } }
.nbdg-u { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(14,22,48,.05); align-self: stretch; } .nbdg-u img { width: 84px; height: 56px; border-radius: 12px; object-fit: cover; }
.nbdg-u small { display: block; font-size: 11.5px; font-weight: 800; color: #04a867; } .nbdg-u b { font-size: 15px; }
.cbg.lock img { filter: grayscale(.9) brightness(.85); } .cbg.lock { color: #6b7690; }
.cbg small { display: flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: #8a93a6; line-height: 1.2; } .cbg small img { width: 12px !important; height: 12px; aspect-ratio: 1 !important; border-radius: 0 !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) { .nbdg-m { animation: none; } }

/* profile: short quick list (the rest lives in Settings & help) */
#pquick .prow { border-top: 1px solid rgba(14,22,48,.07); } #pquick > .prow:first-child { border-top: 0; }
.pinvw { display: contents; }
.prow.palert { background: rgba(232,150,12,.1); } .prow.palert .prow-t { font-weight: 800; color: #6b4300; }
.prow-ic.svg svg { width: 24px; height: 24px; }
.pset .pgrp + .pgrp { margin-top: 2px; }

/* friends: feed, following, followers */
.frd-seg { display: grid; grid-template-columns: repeat(3, 1fr); } .frd-seg button { white-space: nowrap; }
.frl, .frf { display: grid; background: #fff; border: 1px solid rgba(14,22,48,.08); border-radius: 20px; overflow: hidden; }
.frp { display: flex; align-items: center; gap: 8px; padding: 10px 12px; } .frp + .frp, .frf-i + .frf-i { border-top: 1px solid rgba(14,22,48,.07); }
.frp-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; } .frp-a span:last-child { display: grid; min-width: 0; } .frp-a b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; } .frp-a small { font-size: 12px; color: #6b7690; }
.frp-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(14,22,48,.06); color: #6b7690; font-size: 18px; line-height: 1; cursor: pointer; }
.frf-i { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: inherit; text-decoration: none; font-size: 14px; line-height: 1.35; } .frf-i > span:last-child { min-width: 0; } .frf-i small { display: block; font-size: 11.5px; color: #8a93a6; margin-top: 1px; }
.frf-b { width: 40px; height: 40px; object-fit: contain; flex: none; filter: drop-shadow(0 5px 5px rgba(14,22,48,.22)); } .frf-i .avatar, .frp .avatar { flex: none; width: 40px; height: 40px; }

/* friends card (profile) and the short feed (profile and home) */
.fshelf { cursor: default; gap: 12px; } .fshelf .bshelf-h { width: 100%; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.fshelf-k { font-size: 12px; font-weight: 700; color: #6b7690; padding: 0 6px; margin-bottom: -4px; }
.fshelf .bshelf-r { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 4px; } .bshelf-r.hf { display: grid; gap: 4px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 6px 6px; }
.fmed { display: grid; justify-items: center; gap: 5px; min-width: 0; } .fmed a { display: grid; justify-items: center; gap: 5px; min-width: 0; max-width: 100%; color: inherit; text-decoration: none; }
.fmed .avatar { width: 56px; height: 56px; box-shadow: 0 8px 12px -8px rgba(14,22,48,.5); } .fmed small { font-size: 11.5px; font-weight: 700; color: #0a0a0a; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmed-add { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed rgba(14,22,48,.2); background: none; font-size: 26px; font-weight: 500; color: #6b7690; cursor: pointer; line-height: 1; }
.fmed-f { border: 0; border-radius: 999px; padding: 5px 11px; background: #0a0a0a; color: #06d47f; font: 800 11px/1 var(--font); cursor: pointer; }
.fcard { background: #fff; border-radius: 24px; padding: 14px 6px 8px; box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 18px 30px -28px rgba(14,22,48,.55); }
.fcard-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px 8px; } .fcard-h b { font-size: 16px; font-weight: 800; }
.seg.sm { padding: 3px; width: auto; } .seg.sm button { height: 30px; padding: 0 12px; font-size: 12.5px; flex: none; }
.frf.flat, .frl.flat { border: 0; border-radius: 0; background: none; box-shadow: none; } .fempty { padding: 10px 12px 14px; font-size: 13.5px; color: #6b7690; }
.fmore { display: block; margin: 4px auto 4px; } .fcard .fshelf-k { padding: 0 12px 8px; margin: 0; }
.tabbar button.dot { position: relative; } .tabbar button.dot::after { content: ''; position: absolute; top: 8px; right: calc(50% - 22px); width: 9px; height: 9px; border-radius: 50%; background: #06d47f; box-shadow: 0 0 0 2px #fff; }
/* latest results under the Draw card */
.lresc .card-title { display: flex; align-items: center; justify-content: space-between; } .lresc .tgl { border: 0; cursor: pointer; flex: none; padding: 0; }
.lres-l { margin-top: 8px; } .lres-l .item { padding: 8px 0; }
.lres-g { text-transform: none; letter-spacing: 0; font-weight: 600; opacity: .8; }
.fcard-h .seg.sm { flex: none; width: auto; margin-left: auto; padding: 2px; gap: 2px; } .fcard-h .seg.sm button { flex: none; height: 26px; padding: 0 10px; font-size: 11.5px; }

/* notification bell (top left of Home) and the notifications sheet */
.tbbell { position: relative; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07), 0 10px 16px -12px rgba(14,22,48,.5); cursor: pointer; padding: 0; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.tbbell.hide { display: none; } .tbbell:active { transform: scale(.93); } .tbbell img { width: 30px; height: 30px; object-fit: contain; }
.tbbell i { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #0a0a0a; color: #06d47f; font: 800 11px/19px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; display: none; } .tbbell i.show { display: block; }
.ntf-l { max-height: 62vh; overflow: auto; } .ntf-i { display: flex; align-items: center; gap: 12px; padding: 11px 12px; font-size: 14px; line-height: 1.35; } .ntf-i + .ntf-i { border-top: 1px solid rgba(14,22,48,.07); }
.ntf-i.new { background: rgba(6,212,127,.07); } .ntf-i a { color: inherit; text-decoration: none; } .ntf-i .avatar { width: 40px; height: 40px; flex: none; display: block; }
.ntf-t { flex: 1; min-width: 0; } .ntf-t small { display: block; font-size: 11.5px; color: #8a93a6; margin-top: 1px; }
.ntf-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; } .ntf-ic img, .ntf-ic svg { width: 36px; height: 36px; object-fit: contain; }
.ntf-rx { position: relative; flex: none; display: block; } .rxe.pin { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; filter: drop-shadow(0 2px 2px rgba(14,22,48,.3)); }
/* reactions on a feed line */
.frf-i { align-items: flex-start; } .frf-i a { color: inherit; text-decoration: none; } .frf-av { flex: none; display: block; } .frf-i > span:last-child { flex: 1; }
.rxb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 7px; }
.rxc { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 9px 0 6px; border: 0; border-radius: 999px; background: rgba(14,22,48,.06); color: #0a0a0a; font: 700 12px/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rxc.on { background: #0a0a0a; color: #06d47f; } .rxc.rxadd { padding: 0 7px; color: #6b7690; } .rxe { width: 20px; height: 20px; object-fit: contain; display: block; }
.rxsame { margin-left: auto; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: #0a0a0a; color: #06d47f; font: 800 12px/1 var(--font); cursor: pointer; }
.rxp { display: flex; justify-content: space-between; gap: 2px; margin-top: 7px; padding: 5px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 12px 18px -12px rgba(14,22,48,.5); animation: rxin .16s ease-out; max-width: 300px; }
.rxp button { border: 0; background: none; padding: 3px; border-radius: 50%; cursor: pointer; transition: transform .12s; } .rxp button:active { transform: scale(1.25); } .rxp button.on { background: rgba(6,212,127,.22); } .rxp .rxe { width: 30px; height: 30px; }
@keyframes rxin { from { opacity: 0; transform: translateY(-4px) scale(.96); } to { opacity: 1; transform: none; } }
.topbar { position: relative; } .tbbell { position: absolute; right: 0; top: 50%; margin-top: -26px; z-index: 3; background: none; box-shadow: none; border-radius: 0; } .tbbell img { width: 34px; height: 34px; filter: drop-shadow(0 6px 6px rgba(14,22,48,.2)); } .tbbell i { top: 0; right: 0; box-shadow: none; }
.wal-hero { top: -12px; }

.frper { margin: 0 0 10px auto; width: max-content; } .frper button { flex: none; } .ntf-i .btn + .btn { margin-left: -6px; } .prow[data-rxw] { width: 100%; }

.frbar { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin: 0 0 10px; }
.frbar .frper { margin: 0; width: auto; flex: none; padding: 2px; gap: 2px; } .frbar .frper button { flex: none; height: 26px; padding: 0 10px; font-size: 11.5px; }
.frflt { position: relative; flex: none; } .frfb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(14,22,48,.06); color: #0a0a0a; display: grid; place-items: center; cursor: pointer; padding: 0; } .frfb.on { background: #0a0a0a; color: #06d47f; }
.frmenu { position: absolute; right: 0; top: 36px; z-index: 5; display: grid; min-width: 150px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 18px 28px -14px rgba(14,22,48,.5); animation: rxin .16s ease-out; }
.frmenu button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 10px; font: 700 13.5px/1 var(--font); color: #0a0a0a; cursor: pointer; text-align: left; } .frmenu button:hover { background: rgba(14,22,48,.05); }
.frmenu i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(14,22,48,.2); flex: none; } .frmenu i.on { background: #0a0a0a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306d47f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }

/* feed header: title, what is filtered, one filter button */
.fcard-t { display: grid; gap: 2px; min-width: 0; } .fcard-t small { font-size: 11.5px; font-weight: 600; color: #8a93a6; }
.fcard-h .frflt { margin-left: auto; } .fcard.open { box-shadow: none; background: none; padding: 0; } .fcard.open .frf.flat { background: #fff; border: 1px solid rgba(14,22,48,.08); border-radius: 20px; } .fcard.open .fcard-h { padding: 0 2px 10px; } .fcard.open .fcard-h b { font-size: 22px; }
.frmenu em { font: 800 10.5px/1 var(--font); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #8a93a6; padding: 8px 10px 4px; } .frmenu i.sq { border-radius: 6px; }
.frd-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .frd-h .seg.sm { flex: none; width: auto; padding: 2px; gap: 2px; } .frd-h .seg.sm button { flex: none; height: 26px; padding: 0 10px; font-size: 11.5px; }
.sheet:has(> .wsheet) { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; padding-top: 0; } .sheet:has(> .wsheet) > .grab { display: none; }
.wsheet .wal { margin: 0; box-shadow: 0 30px 60px -30px rgba(14, 22, 48, .55); }
.pcacts { justify-content: center; flex-wrap: nowrap; gap: 6px; } .pcbtn { white-space: nowrap; flex: none; } .pcbtn#pguest { padding: 0 12px; }
@media (max-width: 420px) { .pcbtn { padding: 0 12px 0 10px; font-size: 13px; gap: 5px; } .pcbtn#psave, .pcbtn#pguest { padding: 0 10px; } }
/* audit 3: the slip's paper was a picture repeated across, and on a wide slip the joins showed as bands. The zig-zag edges still repeat; the middle is now plain paper */
.slip .tk.stk { border-image-slice: 64 40; background: #f1e3ca padding-box; }
.sellbar #total .crl { display: inline-block; white-space: nowrap; } /* the local amount moves to the next line whole, never leaving its dot behind */

/* ===================== One button for the whole site: the clay pillow =====================
   The same soft clay key as the icons: a picture made for stretching (rounded ends, a plain middle), so it has no seams
   at any width, and every size is a fixed height so two buttons side by side always line up. Green is the main action,
   white is everything else, red is danger. Text-only buttons, round icon buttons, tabs, filter pills and the Originals
   games' own buttons keep their look. */
/* ===================== Buttons: flat, with a darker press lip along the bottom. One look everywhere (Originals keep their own) ===================== */
.btn, .h-btn, .go, .pcbtn, .mpromo-btn, .mchip, button.ck, .ck, #entry .chips .chip { --kh: 46px; }
html body .btn:not(.ghost):not(.icon-btn), html body .h-btn.h-btn:not(.plain), html body .go, html body .sellbar .og-cta .btn.accent, html body .sellbar #sellbtn, html body #entry #add, html body .pcbtn, html body .mpromo-btn, html body .mchip, html body .amts > button.ck, html body .setall > button.ck, html body .slip .setall button.ck, html body .chiprack .ck, html body #entry .chips .chip, html body .loginpane .btn.primary {
  --fb: #fff; --fl: #d3d9e3; --ft: #10221a; --fe: inset 0 0 0 1px rgba(14, 22, 48, .09); --lip: 4px;
  box-sizing: border-box; height: var(--kh); min-height: var(--kh); margin: 0; padding: 0 18px var(--lip) !important;
  border: 0 !important; border-image: none !important; border-radius: calc(var(--kh) * .3) !important;
  background: var(--fb) !important; color: var(--ft) !important; filter: none !important;
  box-shadow: inset 0 calc(var(--lip) * -1) 0 var(--fl), var(--fe), 0 8px 16px -10px rgba(14, 22, 48, .35) !important;
  font-weight: 800; line-height: 1; letter-spacing: -.005em; text-decoration: none; vertical-align: middle;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap;
  transform: none; animation: none; transition: transform .07s ease-out, box-shadow .07s ease-out, opacity .2s; }
html body .btn.accent, html body .btn.green, html body .btn.primary, html body .h-btn.green, html body .h-btn.ink, html body .go, html body .sellbar .og-cta .btn.accent, html body .sellbar #sellbtn, html body .dc-check-f .btn, html body .loginpane .btn.primary, html body #entry #add, html body .pcbtn.dark, html body .amts > button.ck.on, html body .setall > button.ck.on, html body .slip .setall button.ck.on, html body .chiprack .ck.on, html body #entry .chips .chip.on, html body .mchip.on { --fb: #06d47f !important; --fl: #049a5e !important; --ft: #03231a !important; --fe: inset 0 1px 0 rgba(255, 255, 255, .35) !important; }
html body .btn.danger { --fb: #e5484d !important; --fl: #a8262b !important; --ft: #fff !important; --fe: inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
html body .btn:not(.ghost):not(.icon-btn):active, html body .h-btn.h-btn:not(.plain):active, html body .go:active, html body .sellbar .og-cta .btn.accent:active, html body .sellbar #sellbtn:active, html body #entry #add:active, html body .pcbtn:active, html body .mpromo-btn:active, html body .mchip:active, html body .amts > button.ck:active, html body .setall > button.ck:active, html body .slip .setall button.ck:active, html body .chiprack .ck:active, html body #entry .chips .chip:active, html body .loginpane .btn.primary:active { transform: translateY(2px); --lip: 2px; box-shadow: inset 0 -2px 0 var(--fl), var(--fe), 0 3px 6px -4px rgba(14, 22, 48, .35) !important; }
@media (hover: hover) { html body .btn:not(.ghost):not(.icon-btn):hover, html body .h-btn.h-btn:not(.plain):hover, html body .go:hover, html body .sellbar .og-cta .btn.accent:hover, html body .sellbar #sellbtn:hover, html body #entry #add:hover, html body .pcbtn:hover, html body .mpromo-btn:hover, html body .mchip:hover, html body .amts > button.ck:hover, html body .setall > button.ck:hover, html body .slip .setall button.ck:hover, html body .chiprack .ck:hover, html body #entry .chips .chip:hover, html body .loginpane .btn.primary:hover { filter: brightness(1.03) !important; } }
html body .btn:not(.ghost):not(.icon-btn):disabled, html body .btn.busy:not(.ghost):not(.icon-btn), html body .h-btn.h-btn:not(.plain)[disabled], html body .go:disabled, html body .sellbar #sellbtn:disabled, html body #entry #add:disabled, html body .loginpane .btn.primary:disabled { opacity: .45; transform: none; }
.h-btn.h-btn::after, .go::before, .sellbar .og-cta .btn.accent::before, .sellbar #sellbtn::before { content: none; }
.btn.neg:not(.ghost):not(.danger) { --kc: #b42318; }
/* sizes: fixed heights, so buttons side by side line up; tighter where a page is dense (admin tables, toolbars) */
.btn.xs { --kh: 30px; font-size: 12px; } .btn.sm, .pcbtn, .mchip { --kh: 36px; font-size: 13px; }
.amts > button.ck, .setall > button.ck, .slip .setall button.ck, .chiprack .ck, #entry .chips .chip { --kh: 38px; font-size: 13px; font-weight: 900; padding-left: 2px; padding-right: 2px; }
.h-nav .h-btn { --kh: 44px; } #entry #add, #entry #add.btn, .mpromo-btn { --kh: 46px; }
.btn.lg, .h-btn.big, .u-cta.btn, .go, .sellbar #sellbtn, .sellbar .og-cta .btn.accent { --kh: 56px; font-size: 17px; } .btn.bigbtn { --kh: 76px; font-size: 22px; }
body.kiosk .btn:not(.sm):not(.xs):not(.lg):not(.bigbtn) { --kh: 50px; }
.btn.lg.block:not(.ghost):not(.icon-btn) { height: auto; min-height: var(--kh); padding-top: 10px; padding-bottom: 14px; display: flex; text-align: center; line-height: 1.3; }
.btn.block:not(.ghost):not(.icon-btn), .h-btn.h-btn.wide:not(.plain) { width: 100%; }
.go .go-t { color: inherit; }
/* an "empty" message sits in the middle of whatever it is in: a grid, a row, a card */
.emp, .empty { grid-column: 1 / -1; flex: 1 1 100%; width: 100%; margin-left: auto; margin-right: auto; box-sizing: border-box; justify-content: center; align-self: center; justify-self: center; text-align: center; }
.emp { min-height: 170px; } .emp span { margin-left: auto; margin-right: auto; }
/* ===================== The ticket: white paper, white header, no tear lines ===================== */
.tkt { background: #fff; box-shadow: 0 18px 40px -20px rgba(14, 22, 48, .3), 0 0 0 1px rgba(14, 22, 48, .08); } .tkt .muted { color: var(--muted); }
.tkt .head, .tkt.mk .head, .tkt.og .head { background: #fff; color: #0a0a0a; padding: 18px 18px 14px; border-bottom: 6px solid transparent; border-image: linear-gradient(90deg, var(--yellow) 0 50%, var(--green) 50% 100%) 1; }
.tkt .kick { color: var(--muted); opacity: 1; } .tkt .drawline { opacity: 1; color: #2a3140; }
.tkt .head .tlogo { height: 20px; } .tkt .head .tlogo.tint { content: none; background: #0a0a0a; }
.tkt .jp { color: #0a0a0a; } .tkt .jp b, .tkt.og .head .jp b { color: #04a867; } .tkt .jp span { color: var(--muted); opacity: 1; }
.tkt .tspecial { color: #a56a00; }
.tkt .perf { height: 1px; margin: 12px 0; background: rgba(14, 22, 48, .09); } .tkt .perf::before, .tkt .perf::after { content: none; }
.tk-head { border-bottom: 1px solid rgba(14, 22, 48, .1); } .tk-head .eyebrow, .tk-pen { color: var(--muted); }

/* the slip you fill in is the same white paper as the ticket you get */
.tk { border-image-source: url(/img/og/g5-ticket-w.webp); color: #0a0a0a; filter: drop-shadow(0 8px 12px rgba(14, 22, 48, .14)); }
.tk.stk { filter: drop-shadow(0 6px 9px rgba(14, 22, 48, .12)); } .tk.stk .slip-top, .tk.stk .slip-head { border-bottom: 1px solid rgba(14, 22, 48, .1); color: #0a0a0a; } .tk.stk .slip-top b, .tk.stk .slip-head b { color: #0a0a0a; }
.tk.stk .muted, .tk .muted, .tk .cartlines .item .muted { color: var(--muted) !important; } .tk-head .eyebrow, .tk-pen { color: var(--muted); }
.tk.stk .slip-picks > .row, .tk.stk .slip-picks > .item, .tk .cartlines .item { border-bottom: 1px solid rgba(14, 22, 48, .08); }
.tk-now .ball.gap { box-shadow: inset 0 0 0 2px rgba(14, 22, 48, .16) !important; }
.tkt .stamp { top: 104px; }

/* ===================== Our own count tile: a small green keycap with the number in the heavy face ===================== */
.slip-count, .tk.stk .slip-count { width: auto; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: #06d47f; color: #04150d; font: 900 14px/1 var(--font); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px #0a0a0a, 0 2px 0 #04955a; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2px; }
/* ===================== The slip you fill in: white all the way through (no cream panel inside the white edge) ===================== */
.slip .tk.stk, .tk.stk, .tk { background: #fff padding-box; } .tk .cartlines, .tk.stk .slip-picks { background: transparent; }
.tk.stk .slip-picks .mono { background: #ffdf50; color: #3f2e00; }
/* ===================== One card surface: the Activity card's (soft white over the page's green wash) ===================== */
html body .wal, html body .ptile, html body .tcard, html body .plv, html body .pgrp-b, html body .fcard {
  background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
html body .tcard.won { background: linear-gradient(160deg, rgba(6, 212, 127, .16), var(--glass) 70%); border-color: rgba(6, 212, 127, .35); }
html body .aico { background: var(--glass); box-shadow: var(--shadow), inset 0 0 0 1px var(--edge); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* a ticket is centred in whatever it sits in; the stripe under its header is a background, so the PDF picture carries it */
.tkt { margin-left: auto; margin-right: auto; }
.tkt .head, .tkt.mk .head, .tkt.og .head { border-bottom: 0; border-image: none; padding-bottom: 20px; background: linear-gradient(90deg, var(--yellow) 0 50%, var(--green) 50% 100%) left bottom / 100% 6px no-repeat, #fff; }
.pcbtn:hover { transform: none; }

html body .amts > button.ck, html body .setall > button.ck, html body .chiprack .ck, html body #entry .chips .chip, html body .mchip { padding-left: 12px !important; padding-right: 12px !important; }
/* the slip you fill in: a plain white card, no torn edges */
html body .tk, html body .tk.stk { border: 0 !important; border-image: none !important; border-radius: var(--r-lg); padding: 16px 16px 12px; background: #fff; filter: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(14, 22, 48, .06), 0 14px 30px -16px rgba(14, 22, 48, .28); }
html body .tk-head { border-bottom: 1px solid rgba(14, 22, 48, .08); }

/* ===================== The amount box: − [ 1.00 CR ] + ===================== */
.astep { display: flex; align-items: center; gap: 10px; }
html body .astep .astep-b { --kh: 56px; width: 56px; flex: none; font-size: 26px; font-weight: 800; padding: 0 0 var(--lip) !important; }
.astep-v { flex: 1; min-width: 0; height: 56px; margin-bottom: 2px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .12); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: text; transition: box-shadow .15s; }
.astep-v:focus-within { box-shadow: inset 0 0 0 2px #06d47f, 0 0 0 4px rgba(6, 212, 127, .18); }
.astep-v input { all: unset; box-sizing: border-box; width: 0; flex: 1 1 0; min-width: 0; text-align: right; font: 900 28px/1 var(--font); font-variant-numeric: tabular-nums; color: #0a0a0a; }
.astep-v span { flex: 1 1 0; font: 800 14px/1 var(--font); color: var(--muted); }

/* ===================== Lottery balls: drawn in code (no images, no per-ball shadows), with the same press lip as the buttons ===================== */
html body .numgrid button, html body .numgrid button.on, html body .dgts.bl .dgt, html body .dgts.bl .dgt.on {
  background: #fff; filter: none; text-shadow: none; animation: none;
  box-shadow: inset 0 -4px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .08); padding-bottom: 3px; transition: transform .07s ease-out, box-shadow .07s ease-out; }
html body .numgrid button:active, html body .dgts.bl .dgt:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .08); filter: none; }
html body .numgrid button.on, html body .dgts.bl .dgt.on { --bcd: color-mix(in srgb, var(--bc, #06d47f) 72%, #000);
  background: var(--bc, #06d47f); color: var(--bt, #fff); box-shadow: inset 0 -4px 0 var(--bcd), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(1px); }
html body .numgrid { gap: 8px; }
html body .numgrid button { aspect-ratio: 1; height: auto; max-width: 54px; width: 100%; justify-self: center; }
/* the balls you picked (tray, slip, ticket): a flat ball in the lottery's colour */
html body .pk-b, html body [style*="--bi"] .ball:not(.wide), html body [style*="--bi"].balls .ball:not(.wide), html body .gball[style*="--bi"], html body .tkt [style*="--bi"] .ball:not(.wide), html body .sb-art i {
  background: var(--bc, #06d47f); color: var(--bt, #fff); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--bc, #06d47f) 72%, #000), inset 0 1px 0 rgba(255, 255, 255, .3); filter: none; border-radius: 50%; }
html body [style*="--bi"] .ball.hit:not(.wide) { background: #ffdf50; color: #3f2e00; box-shadow: inset 0 -3px 0 #d9a800, 0 0 0 3px rgba(255, 223, 80, .4); }
html body [style*="--bi"] .ltr { background: #0a0a0a; color: #ffdf50; box-shadow: inset 0 -3px 0 #000; }
html body .pk-b.new, html body .pk-b.land { animation: none; }
/* the tray: a flat, sunken strip with an empty socket per number */
html body .pk-tray { border: 0; border-image: none; background: rgba(14, 22, 48, .05); box-shadow: inset 0 2px 4px rgba(14, 22, 48, .08); border-radius: 999px; padding: 8px 14px; gap: 8px 12px; }
html body .pk-tray > .pk-g { margin: 0; }
html body .pk-h { background: none; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(14, 22, 48, .12); width: 46px; height: 46px; }
html body .pk-g:has(.pk-h:nth-child(5)) .pk-h { width: 40px; height: 40px; }

/* ===================== One slip look for sports, predicts and markets ===================== */
.otag { flex: none; display: inline-block; padding: 4px 10px 3px; border-radius: 999px; background: #ffdf50; color: #3f2e00; font: 900 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.slip .slip-top { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 10px; background: none; border: 0; border-bottom: 1px solid rgba(14, 22, 48, .08); font: inherit; color: inherit; }
.slip .slip-head { display: none; }
.slip .slip-picks .item, .slip .slip-picks > .row { align-items: center; }
/* the amount: − [ 10 ] + in the same style as the lottery's, on its own row under the chips */
html body .amts { display: flex; flex-wrap: wrap; gap: 8px; }
html body .amts > button.ck { flex: 1 1 0; min-width: 0; }
html body .amts .amt-step { flex: 1 1 100%; min-width: 0; height: 52px; gap: 10px; }
html body .amt-step, html body .mini-step { display: flex; align-items: center; border: 0; background: none; overflow: visible; }
html body .mini-step { height: 40px; width: 128px; gap: 5px; }
html body .amt-step button, html body .mini-step button { background: #fff; color: #10221a; border: 0; border-radius: 14px; width: 52px; height: 52px; padding: 0 0 4px; font: 800 24px/1 var(--font);
  box-shadow: inset 0 -4px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09), 0 8px 16px -10px rgba(14, 22, 48, .35); filter: none; transform: none; transition: transform .07s, box-shadow .07s; }
html body .mini-step button { width: 36px; height: 38px; border-radius: 11px; font-size: 19px; padding-bottom: 3px; box-shadow: inset 0 -3px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); }
html body .amt-step button:active, html body .mini-step button:active { background: #fff; transform: translateY(2px); box-shadow: inset 0 -2px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); }
html body .amt-step input, html body .mini-step input { flex: 1; min-width: 0; height: 100%; padding: 0 6px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .12); text-align: center; font: 900 22px/1 var(--font); font-variant-numeric: tabular-nums; color: #0a0a0a; filter: none; }
html body .mini-step input { border-radius: 11px; font-size: 16px; }
html body .amt-step input:focus, html body .mini-step input:focus { background: #fff; filter: none; box-shadow: inset 0 0 0 2px #06d47f, 0 0 0 4px rgba(6, 212, 127, .18); }
/* the lottery amount: the number and "CR" sit together in the exact middle */
.astep-v input { flex: none !important; width: 4.2ch; min-width: 1ch; max-width: 70%; text-align: center !important; }
.astep-v span { flex: none !important; }
/* a pick on a slip: what you picked on the first line; odds, amount and remove on the second */
html body .slip .slip-picks .item, html body .slip .slip-picks > .row { flex-wrap: wrap !important; row-gap: 8px; }
html body .slip .slip-picks .item > .grow, html body .slip .slip-picks > .row > .grow { flex: 1 1 100%; }
html body .slip .slip-picks .item > .otag, html body .slip .slip-picks > .row > .otag { margin-right: auto; }

/* ===================== Site audit: one card surface (the Activity card's), one button, one notice ===================== */
/* cards: soft see-through white over the page's wash. Tickets and slips stay white paper. */
html body .h-card, html body .h-method, html body .h-game, html body .dc-sec, html body .dc-hero, html body .dc-rc, html body .sellbar .card, html body .fcard, html body .u-who, html body .u-shelf, html body .card:not(.tkt):not(.tk) {
  background-color: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
html body .h-game:active, html body .h-method:active { transform: translateY(1px); }
/* tile buttons (wallet Add / Withdraw / Show code) and keypads get the same press lip as every button */
html body .wal-a, html body .pad button { background: #fff; border: 0; box-shadow: inset 0 -4px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09), 0 8px 16px -10px rgba(14, 22, 48, .35); transition: transform .07s, box-shadow .07s; }
html body .wal-a:active, html body .pad button:active { transform: translateY(2px); background: #fff; box-shadow: inset 0 -2px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); }
html body .wal-a.prim { box-shadow: inset 0 -4px 0 #049a5e, inset 0 0 0 2px #06d47f, 0 8px 16px -10px rgba(6, 160, 100, .45); }
html body .pad button { padding-bottom: 4px; }
/* small Follow buttons: the green button, small */
html body .fmed-f { background: #06d47f; color: #03231a; border-radius: 10px; padding: 6px 11px 8px; box-shadow: inset 0 -3px 0 #049a5e; font-weight: 800; }
html body .fmed-f:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 #049a5e; }
html body .fmed-f[data-on="1"] { background: #fff; color: #10221a; box-shadow: inset 0 -3px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); }
/* notices: one soft pill, an icon-free tint for good or bad news. No black bars. */
html body .u-prev { background: var(--glass); color: #2a3140; border: 1px solid var(--edge); box-shadow: var(--shadow); font-weight: 700; border-radius: 999px; }
html body .toast { background: rgba(255, 255, 255, .94); color: #0a0a0a; border: 1px solid rgba(14, 22, 48, .08); box-shadow: 0 14px 30px -14px rgba(14, 22, 48, .4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html body .toast.good { background: #e9fbf2; color: #046b42; border-color: rgba(6, 212, 127, .35); }
html body .toast.bad { background: #fdecec; color: #a8262b; border-color: rgba(229, 72, 77, .35); }
.slip .slip-count { display: none !important; }

/* ===================== Latest results: a small button on the picker card, the list in a pop-up ===================== */
#entry { position: relative; }
#entry .card-title { display: flex; align-items: flex-start; gap: 10px; }
.lres-btn { margin-left: auto; flex: none; border: 0; background: none; padding: 4px 0; font: 600 13px/1.2 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.lres-btn::after { content: ' ▾'; font-size: 10px; }
.lres-btn[aria-expanded="true"] { color: #0a0a0a; } .lres-btn[aria-expanded="true"]::after { content: ' ▴'; }
.lres-pop { position: absolute; z-index: 40; top: 54px; right: 12px; width: min(330px, calc(100% - 24px)); padding: 12px 14px 8px; border-radius: 18px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(14, 22, 48, .08); box-shadow: 0 22px 44px -18px rgba(14, 22, 48, .42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: lrin .16s ease-out; }
@keyframes lrin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lres-h { display: flex; align-items: baseline; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(14, 22, 48, .08); } .lres-h b { font: 800 14px/1.2 var(--font); } .lres-h .lres-g { font-size: 12px; color: var(--muted); }
.lres-x { margin-left: auto; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 2px; }
.lres-pop .lres-l { margin-top: 2px; } .lres-pop .lres-l .item { padding: 8px 0; align-items: center; } .lres-pop .fmore { margin: 4px 0 2px; }
.lresc { display: none !important; }

/* ===================== Every ball on the site (results, tickets, side bets, slips): flat, in the game's colour, no images ===================== */
html body .ball:not(.wide):not(.gap), html body .ball.fill:not(.wide):not(.gap), html body .tkt .balls .ball:not(.wide):not(.gap), html body [style*="--bi"] .ball:not(.wide):not(.gap), html body .minib {
  background: var(--bc, #06d47f) !important; color: var(--bt, #03231a) !important; border: 0 !important; border-radius: 50%; font-family: var(--font) !important; font-weight: 900 !important; text-shadow: none !important; filter: none !important;
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--bc, #06d47f) 72%, #000), inset 0 1px 0 rgba(255, 255, 255, .3) !important; }
html body .ball.hit:not(.wide), html body [style*="--bi"] .ball.hit:not(.wide) { background: #ffdf50 !important; color: #3f2e00 !important; box-shadow: inset 0 -3px 0 #d9a800, 0 0 0 3px rgba(255, 223, 80, .4) !important; }
html body .ltr, html body .ltr.hit, html body [style*="--bi"] .ltr { background: #0a0a0a !important; color: #ffdf50 !important; box-shadow: inset 0 -3px 0 #000 !important; font-family: var(--font) !important; font-weight: 900 !important; }
html body .gball em { text-shadow: none; }
html body .minib { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--bc, #06d47f) 72%, #000) !important; }
/* long results (Pick 3's 551, Pick 4's 1234) are one wide flat pill in the game's colour */
html body .ball.wide, html body .ball.fill.wide, html body [style*="--bi"] .ball.wide, html body .tkt .balls .ball.wide {
  background: var(--bc, #06d47f) !important; color: var(--bt, #03231a) !important; border: 0 !important; border-radius: 999px !important; font-family: var(--font) !important; font-weight: 900 !important; text-shadow: none !important; filter: none !important; letter-spacing: .02em;
  box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--bc, #06d47f) 72%, #000), inset 0 1px 0 rgba(255, 255, 255, .3) !important; }
html body .ball.wide.hit { background: #ffdf50 !important; color: #3f2e00 !important; box-shadow: inset 0 -3px 0 #d9a800 !important; }
html body .lball { background: #fff; color: #10221a; border: 0; box-shadow: inset 0 -3px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); padding-bottom: 2px; font-weight: 900; }
html body .lball.new { background: #ffdf50; color: #3f2e00; box-shadow: inset 0 -3px 0 #d9a800; }
/* favourites: a lottery game is the lottery ball with its country's flag */
.aico.alot { position: relative; } .aico.alot .ic3d { width: 44px; height: 44px; object-fit: contain; }
.aico.alot .aflag { position: absolute; right: -2px; bottom: -2px; width: 22px !important; height: 22px !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }

/* ===================== B1N0 loading screen for slots and scratch cards ===================== */
.b1-load { position: absolute; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px; background: #0a0a0a; border-radius: inherit; transition: opacity .25s ease; }
.b1-load svg { width: 96px; height: auto; animation: b1pulse 1.4s ease-in-out infinite; }
.b1-load i { display: block; width: 120px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.b1-load b { display: block; height: 100%; background: #06d47f; transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.b1-load.out { opacity: 0; pointer-events: none; }
@keyframes b1pulse { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .b1-load svg { animation: none; } }

/* ===================== Side bets inside each lottery ===================== */
.sbx { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(14, 22, 48, .08); }
.sbx-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; } .sbx-h b { font: 800 16px/1.2 var(--font); }
.sbx .pxq { margin-top: 10px; } .sbx-more { margin-top: 10px; }
.sbhead { margin: 10px 0 2px; font: 800 11px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tkt .sbhead { margin: 6px 0 2px; } .tkt .tline.sbl .amt small { display: block; }
.sblines .item { align-items: center; gap: 10px; }
html body .sbx .sbx-more { display: inline-block; border: 0; background: none; padding: 6px 0; font: 700 14px/1.2 var(--font); color: #04a867; cursor: pointer; box-shadow: none; }
html body .sblines .item { flex-wrap: wrap; row-gap: 8px; } html body .sblines .item > .grow { flex: 1 1 100%; } html body .sblines .item > .otag { margin-right: auto; }

/* ===================== Amounts in local money first ===================== */
.amt-l { font-weight: inherit; } .show-local .crl { color: var(--muted); font-weight: 600; }
.astep-v.loc > input[id], .astep-v.loc > span:not(.astep-sym) { display: none; }
.astep-v.loc { position: relative; gap: 4px; }
.astep-v.loc .astep-sym { flex: none; font: 800 18px/1 var(--font); color: var(--muted); }
.astep-v.loc .amt-loc { all: unset; box-sizing: border-box; width: 4.2ch; min-width: 1ch; max-width: 70%; text-align: center; font: 900 28px/1 var(--font); font-variant-numeric: tabular-nums; color: #0a0a0a; }
.astep-v.loc .astep-cr { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 700 11px/1 var(--font); color: var(--muted); }
.astep-v.loc { padding-bottom: 10px; }
html body .mini-step.loc { width: 150px; } html body .mini-step.loc input { font-size: 14px; } html body .amt-step.loc input { font-size: 20px; }
/* the amount box: CR, with the rough local amount small under it */
.astep-v.apx { position: relative; padding-bottom: 10px; }
.astep-v.apx .astep-cr { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 700 11px/1 var(--font); color: var(--muted); }

/* ---------- Pools (pools.js) ---------- */
.pl .eyebrow { margin: 4px 2px -4px; }
.pl-hero { display: flex; gap: 12px; align-items: center; }
.pl-hero-ic { width: 56px; height: 56px; object-fit: contain; flex: none; }
.pl-home .ic3d { width: 40px; height: 40px; }
.pl-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #06d47f; color: #03231a; font-size: 12px; font-weight: 800; margin-left: 4px; }
.pl-card { display: flex; flex-direction: column; gap: 4px; text-align: left; width: 100%; border: 1px solid var(--edge); font: inherit; color: inherit; }
.pl-top, .pl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pl-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.pl-kind .ic3d { width: 20px; height: 20px; }
.pl-title { font-size: 17px; line-height: 1.25; }
.pl-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin-top: 4px; }
.pl-h { margin: 0; }
.pl-back { align-self: flex-start; }
.pl-items { display: flex; flex-direction: column; gap: 8px; }
.pl-item { display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; font: inherit; color: inherit; border: 1px solid var(--edge); }
.pl-when { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; flex: none; }
.pl-when span { color: var(--ink-2); }
.pl-lbl { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.pl-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pl-q { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .1); font: inherit; color: inherit; cursor: pointer; }
.pl-q span { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.pl-q.on { box-shadow: inset 0 0 0 2.5px #06d47f; background: #effdf6; }
.pl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-opt { flex: 1 1 30%; min-height: 48px; padding: 6px 10px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 -3px 0 #d3d9e3, inset 0 0 0 1px rgba(14, 22, 48, .09); font-weight: 800; font-size: 15px; line-height: 1.2; font-family: inherit; color: inherit; cursor: pointer; }
.pl-opt.on { background: #06d47f; color: #03231a; box-shadow: inset 0 -3px 0 #049a5e; }
.pl-numin { font-size: 28px; font-weight: 900; text-align: center; letter-spacing: .14em; height: 60px; }
.pl-locks { flex-wrap: wrap; border-radius: 18px; }
.pl-locks button { flex: 1 1 30%; }
.pl-tog { font-weight: 700; font-size: 14px; gap: 12px; }
.pl-tog input { width: 22px; height: 22px; accent-color: #06d47f; }
.pl-on b { font-size: 17px; }
.pl-sum { display: flex; flex-direction: column; gap: 6px; }
.pl-pot { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #0b0f0d; color: #fff; border-radius: 18px; padding: 14px 16px; }
.pl-pot > div { display: flex; flex-direction: column; }
.pl-pot .eyebrow { color: #06d47f; }
.pl-pot b { font-size: 26px; font-weight: 900; line-height: 1.1; }
.pl-pot small { color: #b7c3c9; font-weight: 600; }
.pl-pot-r { align-items: flex-end; text-align: right; }
.pl-pot-r b { font-size: 18px; }
.pl-people { display: flex; flex-direction: column; padding: 4px 14px; }
.pl-pp { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(14, 22, 48, .06); }
.pl-pp:last-child { border-bottom: 0; }
.pl-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #10221a; flex: none; }
.pl-av.me { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #06d47f; }
.pl-pk { font-weight: 800; font-size: 14px; }
.pl-pk i { color: var(--ink-2); font-weight: 600; }
.pl-won { color: #04844f; margin-left: 6px; }
.pl-join { border: 2px solid rgba(6, 212, 127, .5); }
.pl-tkt .head .game { font-size: clamp(20px, 6.4vw, 30px); max-width: 64%; overflow-wrap: anywhere; }
/* Pools browse: the betting screens with a tap that starts a pool */
.plsub { margin-top: 8px; }
.plhint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: 999px; background: #e3faef; color: #046b42; font-weight: 800; font-size: 13px; }
.plhint .ic3d { width: 22px; height: 22px; }
.poolmode .slip, .poolmode #slipspace, .poolmode #pxspace, .poolmode #pxslip, .poolmode .hotp, .poolmode .paysx, .poolmode .mv, .poolmode .hot { display: none !important; }
.poolmode .odd b { display: none; }
.poolmode .odd.pill::before { content: '+'; font-weight: 900; font-size: 18px; color: #046b42; }
.poolmode .odd.on { background: inherit; color: inherit; }
.plbtn { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 6px; border: 0; border-radius: 999px; background: #e3faef; color: #046b42; font-weight: 800; font-size: 12px; line-height: 1; font-family: inherit; cursor: pointer; margin-right: 6px; }
.plbtn .ic3d { width: 18px; height: 18px; }
.pl-setup { padding-bottom: 6px; }
.pl-setup .pl-on b { font-size: 18px; }
.pl-qrow { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pl-qc { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(14, 22, 48, .06); font-weight: 800; font-size: 13px; font-family: inherit; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pl-qc.on { background: #0b0f0d; color: #fff; }
.pl-score { display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.pl-score > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.pl-score span { font-weight: 800; font-size: 13px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-score > b { font-size: 22px; line-height: 44px; }
.pl-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.pl-grid button { aspect-ratio: 1; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .12); font-weight: 800; font-size: 13px; font-family: inherit; cursor: pointer; }
.pl-grid button.on { background: #06d47f; color: #03231a; box-shadow: none; }
.pl-setup .chiprack { padding-top: 2px; }
.pl-setup .u-prev { padding: 10px 14px; border-radius: 14px; }
/* Home: Pools as a wide tile under the four categories */
html body .ptile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.ptile.wide .ic3d { width: 48px; height: 48px; margin: 0; flex: none; }
.ptile.wide .pw-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.ptile.wide .pw-t span { font-size: 12px; }
.ptile.wide .pw-b { position: relative; font-style: normal; flex: none; padding: 5px 10px; border-radius: 999px; background: #06d47f; color: #03231a; font-weight: 800; font-size: 12px; }
.poolmode .pl-opt span { font-size: 14px; }
/* Pools: Pool button on cards, the sheet like a bet slip, the Profile section */
.pxhead .plbtn { margin-left: 8px; flex: none; }
.card-title .plbtn { margin: 0; }
.pl-more { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(14, 22, 48, .05); font: inherit; color: inherit; cursor: pointer; text-align: left; }
.pl-more span { font-weight: 800; font-size: 14px; }
.pl-more small { flex: 1; text-align: right; color: var(--ink-2); font-weight: 600; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-more .chev { flex: none; width: 9px; height: 9px; border-right: 2.5px solid #6b7690; border-bottom: 2.5px solid #6b7690; transform: rotate(45deg); margin: -4px 2px 0 0; transition: transform .2s; }
.pl-more.open .chev { transform: rotate(225deg); margin-top: 4px; }
.pl-moreb { padding: 2px 2px 4px; }
.pl-setup .pl-sum { flex-direction: column; gap: 4px; text-align: center; }
.pl-gobar { position: sticky; bottom: -1px; margin: 0 -4px; padding: 10px 4px 4px; background: linear-gradient(180deg, rgba(247, 249, 253, 0), rgba(247, 249, 253, .96) 30%); }
.ppools { margin-top: 2px; }
.plbtn span { font-weight: 800; font-size: 12px; }
.pl-numin::placeholder { letter-spacing: 0; font-size: 17px; font-weight: 600; }
/* card bottom row: More bets on the left, Bet a friend on the right (same quiet style) */
.gmfoot { display: flex; align-items: center; gap: 8px; margin: 11px 0 -4px; border-top: 1px solid var(--line); min-height: 34px; }
html body .gmfoot .more { flex: 1; width: auto; margin: 0; height: 34px; border: 0; border-radius: 0; background: none; text-align: left; padding: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.gmfoot .plnk { margin-left: auto; }
.plnk { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 12px; line-height: 1; font-family: inherit; color: var(--muted); cursor: pointer; white-space: nowrap; }
.plnk .ic3d { width: 18px; height: 18px; }
.plnk:hover { color: #046b42; }
.sbx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 -4px; border-top: 1px solid var(--line); min-height: 34px; }
html body .sbx .sbx-foot .sbx-more { margin: 0; padding: 0; height: 34px; border: 0; background: none; font-weight: 700; font-size: 12px; font-family: inherit; color: var(--muted); }
.sbx-foot .plnk { margin-left: auto; }
.pl-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.pl-opt small { font-size: 11px; font-weight: 700; color: var(--muted); }
.pl-opt.on small { color: #03231a; opacity: .75; }
.pl-opt.off { opacity: .4; cursor: default; }
.pl-opts.many .pl-opt { flex: 1 1 45%; }
.pl-all { align-self: flex-start; color: #04844f; }
/* Invite friends: the row in the pool sheet and the picker */
.pl-more .chev.r { transform: rotate(-45deg); margin: 0 2px 0 0; }
.pl-invrow small { color: #04844f; }
.pl-plist { display: flex; flex-direction: column; max-height: 50vh; overflow-y: auto; margin: 0 -4px; }
.pl-prow { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border: 0; border-bottom: 1px solid rgba(14, 22, 48, .06); background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.pl-prow b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pl-chk { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(14, 22, 48, .2); }
.pl-prow.on .pl-chk { background: #06d47f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303231a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
/* one line above a card's bottom row (Predicts cards had two) */
html body .gmfoot .more, html body .mkcard.pv .gmfoot .more, html body .sbx .sbx-foot .sbx-more { border-top: 0; margin: 0; height: 34px; line-height: 34px; padding: 0; width: auto; flex: 1; text-align: left; background: none; }
html body .gmfoot, html body .sbx-foot { align-items: center; }
/* Profile → Pools: one card like Friends */
.plshelf { gap: 10px; }
.plshelf .linkbtn { border: 0; background: none; padding: 0; font: inherit; color: #04a867; font-weight: 800; cursor: pointer; }
.pl-rows { display: flex; flex-direction: column; }
.pl-row { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border: 0; border-top: 1px solid rgba(14, 22, 48, .06); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pl-row:first-child { border-top: 0; }
.pl-row .ic3d { width: 30px; height: 30px; flex: none; }
.pl-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pl-row-t b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-row-t small { font-size: 12px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-row .pill { flex: none; }
html body .plshelf .pl-allbtn { width: 100%; height: 32px; border: 0; border-top: 1px solid rgba(14, 22, 48, .06); background: none; font-weight: 700; font-size: 12px; font-family: inherit; color: var(--muted); cursor: pointer; }
.pl-empty { padding: 2px 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.plshelf .btn { margin: 0 6px; width: auto; }
.plshelf { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.plshelf > *, .pl-rows, .pl-row { min-width: 0; max-width: 100%; }
html body .plshelf .btn { margin: 2px 6px 0; width: calc(100% - 12px); }
/* Profile: Badges, Friends and Pools as one family: same gaps between and inside */
#pfeed:empty, #pinvw:empty { display: none; }
.prof .bshelf, .prof .fshelf, .prof .plshelf { gap: 12px; padding: 16px 12px 16px; }
/* Profile: the three card titles (Badges, Friends, Pools) and what sits to their right, all the same */
html body .prof .bshelf-h { min-height: 24px; padding: 0 6px; }
html body .prof .bshelf-h b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
html body .prof .bshelf-h span, html body .prof .bshelf-h span .linkbtn, html body .prof .bshelf-h em { font-size: 13px; font-weight: 700; line-height: 1.2; }
.pl-cu { border: 2px solid rgba(6, 212, 127, .35); }
.pl-setup input[type="datetime-local"] { font-family: inherit; }
.pl-places { flex-wrap: wrap; border-radius: 18px; }
.pl-places button { flex: 1 1 22%; }
.pl-opt [data-on]:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: #03231a; color: #fff; font-size: 11px; }
.pl-split { display: flex; gap: 8px; }
.pl-split label { flex: 1; display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .12); }
.pl-split span { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.pl-split input { width: 100%; min-width: 0; border: 0; background: none; text-align: right; font-weight: 900; font-size: 17px; font-family: inherit; color: inherit; outline: none; }
.pl-split i { font-style: normal; font-weight: 800; color: var(--muted); }
.pl-bad { color: #c2410c; font-weight: 700; }
#pl-spn .plnk { height: auto; color: #04844f; }
/* Your own: two clean steps */
.cu-step { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cu-step span { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cu-step b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.cu-step .plnk { height: auto; color: #04844f; }
.pl-setup.cu { gap: 16px; }
.cu-sec { display: flex; flex-direction: column; gap: 8px; }
.cu-q { min-height: 64px; resize: none; font-size: 17px; font-weight: 700; line-height: 1.3; font-family: inherit; padding: 12px 14px; }
.cu-pre { display: flex; gap: 6px; }
.cu-pre button { height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(14, 22, 48, .06); font-weight: 700; font-size: 12px; font-family: inherit; color: var(--ink-2); cursor: pointer; }
.cu-ans { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 22, 48, .1); }
.cu-ans:focus-within { box-shadow: inset 0 0 0 2px #06d47f; }
.cu-ans i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e3faef; color: #046b42; font-style: normal; font-weight: 800; font-size: 12px; }
.cu-ans input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-weight: 700; font-size: 15px; font-family: inherit; color: inherit; outline: none; }
.cu-ans button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.cu-add { align-self: flex-start; height: 28px; color: #04844f; }
.cu-when { margin-left: 6px; font-weight: 700; color: #04844f; }
.cu-fine { line-height: 1.45; }
.pl-setup.cu .cu-step { flex-direction: column; align-items: flex-start; gap: 2px; }
html body textarea.cu-q { resize: none; }
/* Start a pool → pick a match / draw / question */
.pl-setup.pk { gap: 12px; }
.pl-setup.pk .cu-step { flex-direction: column; align-items: flex-start; gap: 2px; }
.pk-f { margin: 0; }
.pkx-sub { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 2px 2px -4px; }
html body .pl-setup.pk .pk-more { width: 100%; height: 40px; margin: -4px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-weight: 700; font-size: 13px; font-family: inherit; color: var(--muted); cursor: pointer; }
.pk-img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .08); }
.pk-noimg { width: 34px; height: 34px; border-radius: 10px; background: rgba(14, 22, 48, .06); }
.pk-ic { width: 36px; height: 36px; }
.pk-duo { position: relative; width: 36px; height: 36px; display: block; }
.pk-duo > * { position: absolute; width: 24px !important; height: 24px !important; }
.pk-duo > *:first-child { left: 0; top: 0; z-index: 1; }
.pk-duo > *:last-child { right: 0; bottom: 0; }
.pk-duo img { width: 100%; height: 100%; object-fit: contain; }
.pk-list { display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .06); overflow: hidden; }
.pk-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-top: 1px solid rgba(14, 22, 48, .06); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pk-row:first-child { border-top: 0; }
.pk-row:active { background: rgba(6, 212, 127, .08); }
.pk-ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; }
.pk-ic .ic3d, .pk-ic .pkball { width: 28px; height: 28px; font-size: 13px; }
.pk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pk-t b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-t small, .pk-w small { font-size: 12px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-w { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; }
.pl-setup.pk { min-width: 0; max-width: 100%; }
.pl-setup.pk > * { min-width: 0; max-width: 100%; }
.pk-f { overflow: hidden; }
.pk-f .spf-row, .pk-f .ltabs { max-width: 100%; overflow-x: auto; }
.pk-duo .crest i { font-size: 9px; }
html body .pl-setup.pk .spf.pk-f { position: static; top: auto; }
.pk-row { min-height: 56px; }
/* Matchday: one row per match with 1 / X / 2 */
.md-rows { display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(14, 22, 48, .08); }
.md-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid rgba(14, 22, 48, .06); }
.md-row:first-child { border-top: 0; }
.md-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.md-t b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-t small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.md-b { flex: none; display: grid; grid-template-columns: repeat(3, 40px); gap: 6px; }
.md-b button { height: 40px; border: 0; border-radius: 12px; background: rgba(14, 22, 48, .06); font-weight: 900; font-size: 15px; font-family: inherit; color: var(--ink); cursor: pointer; }
.md-b button.on { background: #06d47f; color: #03231a; box-shadow: inset 0 -3px 0 #049a5e; }
.pk-row.on { background: rgba(6, 212, 127, .08); }
.pk-row .pl-chk { flex: none; }
.pk-row.on .pl-chk { background: #06d47f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303231a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.pl-join .pl-score input { width: 64px; text-align: center; font-weight: 900; font-size: 20px; }
.pl-pot-r { flex: none; white-space: nowrap; }

.pl-stats{display:flex;gap:14px;font-size:13px;color:var(--muted);margin:2px 0 8px}
.pl-stats b{color:var(--ink);font-weight:800}.pl-stats .up b{color:var(--good,#14804a)}.pl-stats .down b{color:var(--bad,#b42318)}
.pl-h2h{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.pl-h2h-i{font-size:12px;padding:4px 9px;border:1px solid var(--line);border-radius:999px;color:var(--ink);text-decoration:none}
.pl-h2h-i b{margin-left:3px}
.kpis.kp3{grid-template-columns:repeat(3,1fr)}@media (max-width:640px){.kpis.kp3{grid-template-columns:repeat(2,1fr)}}
.grid-2 > *, .grid-2e > * { min-width: 0; }
/* admin pages laid out with .grid2: one column on a phone, and wide tables scroll inside their card */
#page .grid2 > * { min-width: 0; }
@media (max-width: 760px) { #page .grid2:has(> .card) { grid-template-columns: 1fr; } }
#page .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
#page .seg::-webkit-scrollbar { display: none; }
#page .seg > button { flex-shrink: 0; }
#page .lvprev { overflow-x: auto; }
#page .pill { max-width: 100%; white-space: normal; height: auto; min-height: 22px; }
@media (max-width: 760px) { #page .grid3 { grid-template-columns: 1fr; } }
/* pickers: a long match or question name wraps to two lines instead of losing the second team */
.pk-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.seg.pl-places { flex-wrap: nowrap; } .seg.pl-places > button { flex: 1 1 auto; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
/* Tickets: six product tabs on a phone — smaller labels so "Predicciones" fits */
@media (max-width: 480px) { .seg.cats.tkf:has(> button:nth-child(6)) > button > span { font-size: 10.5px; letter-spacing: -.02em; } }
/* the feed filter menu sits above whatever comes after its card (Originals tiles, the next card) */
.fcard:has(.frmenu), .frf:has(.frmenu) { position: relative; z-index: 40; }
/* ---- Badges (Dec 2026): a clean grid, details on tap ---- */
.tch-n b { font-size: 14px; color: #6b7690; font-weight: 700; } .tch-n em { font-style: normal; color: #04a867; font-weight: 900; font-size: 18px; }
.tc2-pins { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 18px; background: #0b0f0d; color: #fff; }
.tc2-ph { font-size: 13px; font-weight: 800; }
.tc2-pr { display: flex; gap: 8px; }
.tc2-pin { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.08); display: grid; place-items: center; cursor: pointer; }
.tc2-pin img { width: 44px; height: 44px; object-fit: contain; }
.tc2-pin.empty { color: rgba(255,255,255,.28); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); background: none; cursor: default; }
.tc2-f { align-self: flex-start; }
.tc2-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .tc2-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc2-t { position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; padding: 12px 8px 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07); cursor: pointer; font: inherit; color: #0a0a0a; min-width: 0; }
.tc2-t img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(14,22,48,.22)); }
.tc2-t b { font-size: 12.5px; font-weight: 800; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc2-t.off img { filter: grayscale(1) opacity(.32); } .tc2-t.off b { color: #8a93a6; }
.tc2-t:active { transform: scale(.97); }
.tc2-star { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border-radius: 50%; background: #0b0f0d; color: #ffdf50; display: grid; place-items: center; } .tc2-star svg { width: 11px; height: 11px; }
.tc2-bar { width: 78%; height: 5px; border-radius: 5px; background: rgba(14,22,48,.08); overflow: hidden; display: block; } .tc2-bar i { display: block; height: 100%; border-radius: 5px; background: #06d47f; }
.tc2-bar.lg { width: 100%; height: 8px; margin-top: 6px; }
.tc2-done { font-size: 10.5px; font-weight: 800; color: #04a867; }
.bd2-top { display: grid; place-items: center; height: 150px; border-radius: 22px; background: #f3f4f1; }
.bd2-top.t1 { background: radial-gradient(circle at 50% 45%, #fbe3cc, #f3f4f1 70%); } .bd2-top.t2 { background: radial-gradient(circle at 50% 45%, #e3e8f1, #f3f4f1 70%); } .bd2-top.t3 { background: radial-gradient(circle at 50% 45%, #ffeaa0, #f3f4f1 70%); }
.bd2-top img { width: 124px; height: 124px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(14,22,48,.3)); } .bd2-top.off img { filter: grayscale(1) opacity(.35); }
.bd2-p small { font-size: 12px; font-weight: 700; color: #6b7690; } .bd2-p b { font-variant-numeric: tabular-nums; }
.bd2-l { display: grid; gap: 6px; }
.bd2-r { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07); }
.bd2-m { width: 40px; height: 40px; object-fit: contain; filter: grayscale(1) opacity(.35); } .bd2-r.done .bd2-m { filter: none; }
.bd2-t { flex: 1; min-width: 0; display: grid; } .bd2-t b { font-size: 14px; } .bd2-t small { font-size: 12px; color: #6b7690; }
.bd2-u { display: grid; justify-items: center; gap: 2px; max-width: 76px; } .bd2-u img { width: 44px; height: 30px; border-radius: 7px; object-fit: cover; box-shadow: 0 0 0 1px rgba(14,22,48,.1); } .bd2-u small { font-size: 10px; font-weight: 700; color: #0a0a0a; max-width: 76px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd2-s { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,22,48,.06); color: #9aa3b8; font-weight: 900; font-size: 13px; } .bd2-r.done .bd2-s { background: #06d47f; color: #0b0f0d; }
/* share pictures (wins and pool invites) */
.shc-img { border-radius: 20px; overflow: hidden; background: #f3f4f1; display: grid; place-items: center; min-height: 320px; }
.shc-img img { width: 100%; max-height: 56vh; object-fit: contain; display: block; }
.shc-amt { padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07); font-weight: 700; }
.og-share { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; border: 0; border-radius: 14px; padding: 12px 20px; font: 800 15px/1 var(--font); background: #ffdf50; color: #0b0f0d; box-shadow: 0 4px 0 #c9a800, 0 14px 24px -10px rgba(0,0,0,.5); cursor: pointer; animation: ogshin .4s ease-out both; }
@keyframes ogshin { from { opacity: 0; transform: translate(-50%, 14px); } }
/* pools: real mascots, the duel face-off, a quiet footer */
.pl-avw { display: inline-grid; border-radius: 50%; flex: none; } .pl-avw .avatar { display: grid; }
.pl-avw.me { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #06d47f; }
.av-num { background: #eef1f5; color: #6b7690; display: grid; place-items: center; }
.pl-you { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: #06d47f; color: #0b0f0d; font-size: 10.5px; font-weight: 800; vertical-align: 2px; }
.pl-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px; padding: 18px 10px 16px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.07); }
.pl-vs-s { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.pl-vs-s .avatar.xl { width: 84px; height: 84px; }
.pl-vs-s b { font-size: 14.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-vs-p { font-size: 13px; font-weight: 800; color: #04a867; } .pl-vs-p i { color: #8a93a6; font-style: normal; font-weight: 600; }
.pl-vs-s.lost { opacity: .55; } .pl-vs-s.win .pl-avw { box-shadow: 0 0 0 2px #fff, 0 0 0 5px #ffdf50; }
.pl-vs-x { align-self: center; margin-top: -28px; width: 46px; height: 46px; border-radius: 50%; background: #0b0f0d; color: #ffdf50; display: grid; place-items: center; font: 900 15px/1 var(--font); letter-spacing: .02em; }
.pl-vs-empty { width: 84px; height: 84px; border-radius: 50%; border: 2.5px dashed rgba(14,22,48,.2); display: grid; place-items: center; font: 900 30px/1 var(--font); color: #b6bcc9; }
.pl-vs-s.wait b { color: #6b7690; font-weight: 700; font-size: 13px; white-space: normal; }
.pl-foot2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.pl-lnk { border: 0; background: none; padding: 6px 2px; font: 700 13px/1 var(--font); color: #0a0a0a; text-decoration: underline; text-decoration-color: rgba(14,22,48,.25); text-underline-offset: 3px; cursor: pointer; }
.pl-lnk.bad { color: #d6453d; text-decoration-color: rgba(214,69,61,.35); }
.pl-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-rules span { padding: 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.08); font-size: 12px; font-weight: 700; color: #3c465c; }
.seg.pl-rseg { flex-wrap: wrap; height: auto; } .seg.pl-rseg button { flex: 1 1 auto; white-space: normal; line-height: 1.2; padding-top: 9px; padding-bottom: 9px; }
.pl-asks .pl-pp .btn.xs { margin-left: 6px; }
.frp-tag { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: #dff9ec; color: #04a867; font-size: 10.5px; font-weight: 800; vertical-align: 2px; }
.frp-lock { display: inline-grid; place-items: center; margin-left: 3px; color: #8a93a6; vertical-align: 0; }
.u-fo { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 2px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #0b0f0d; color: #ffdf50; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .01em; } .u-fo svg { flex: none; }
.frp-a b .frp-lock, .frp-a b .frp-tag { display: inline-flex; align-items: center; vertical-align: middle; } .frp-a b { white-space: nowrap; }
/* every page is at least one screen tall: on a short page the footer sits at the bottom edge, on a long one it follows the content */
#uroot, #docroot, body:not(.kiosk) > #root { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#uroot > .u-foot, #docroot > .sitefoot { margin-top: auto; }
body:not(.kiosk) > #root > .app, body:not(.kiosk) > #root > .login, body:not(.kiosk) > #root > div:only-child { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
body:not(.kiosk) > #root > .app > .legal, body:not(.kiosk) > #root > * > .mlegal { margin-top: auto; }

/* the slim footer: the links people need, then the fine print */
.legal.one.slim { padding: 18px 0 20px; text-align: center; }
.legal.slim nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin-bottom: 6px; }
.legal.slim nav a { padding: 6px 8px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #3c465c; text-decoration: none; }
.legal.slim nav a:hover { background: rgba(14,22,48,.05); color: #0a0a0a; }
.legal.slim p span { white-space: nowrap; }
.app > .legal.slim { border-top: 0; margin-top: auto; padding-top: 8px; }
.legal.slim p { margin: 0; font-size: 11.5px; color: #8a93a6; }
/* 1343 cleanup */
/* feed: the friend's mascot, the badge as a chip on its corner */
.frf-av { position: relative; } .frf-bc { position: absolute; right: -7px; bottom: -6px; width: 24px; height: 24px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(14,22,48,.3)); }
/* an Originals game's own icon in ticket and activity rows; "×6" on a run of plays */
.tkic.tkog img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(14,22,48,.18)); }
.txn { color: #8a93a6; font-weight: 700; }
/* rows that scroll sideways fade where there is more */
.hfade.fr { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.hfade.fl { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.hfade.fl.fr { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
/* the same header on every tab: who you are, then the balance (off Home), then the bell */
.topbar .tbme { order: 1; } .topbar .tbbal { order: 2; } .topbar .tbbell { position: relative; order: 3; top: auto; right: auto; margin: 0 -4px 0 0; }
/* Pick 1: no lone empty socket before the first tap */
.pk.pk-none .pk-top { display: none; }
/* profile: your recent wins */
.pwin { display: flex; align-items: center; gap: 10px; padding: 10px 12px; } .pwin + .pwin { border-top: 1px solid rgba(14,22,48,.07); }
.pwin-t { flex: 1; min-width: 0; } .pwin-t b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pwin-t small { display: block; font-size: 11.5px; color: #8a93a6; }
.pwin > b.pos { white-space: nowrap; font-size: 14px; } .pwin .btn { flex: none; }
/* tickets: one filter button, a summary line, rows with the game's icon under day headers */
.tkhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.tkfb { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(14,22,48,.06); font: 700 13px/1 var(--font); color: #0a0a0a; cursor: pointer; max-width: 100%; }
.tkfb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tkfb.on { background: #0a0a0a; color: #fff; } .tkfb:active { transform: scale(.97); }
.tksum { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 4px 2px 2px; } .tksum b { color: #0a0a0a; }
.tkrow .tkic { margin-right: 2px; }
.pill.gold { background: #ffe9a3; color: #6a4a00; }
.tkfs-g { display: grid; gap: 8px; } .tkfs-g + .tkfs-g { margin-top: 14px; } .tkfs-k { font-size: 12px; font-weight: 800; color: var(--muted); }
.tkfs-o { display: flex; flex-wrap: wrap; gap: 6px; }
.tkfs-o button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(14,22,48,.06); font: 700 14px/1 var(--font); color: #0a0a0a; cursor: pointer; }
.tkfs-o button.on { background: #0a0a0a; color: #fff; } .tkfs-o em { font-style: normal; font-size: 12px; font-weight: 700; opacity: .55; }
/* the day switch in the lottery filters swipes instead of cutting "Later" off */
.lfbox .seg.sm { overflow-x: auto; scrollbar-width: none; } .lfbox .seg.sm::-webkit-scrollbar { display: none; } .lfbox .seg.sm button { flex: none; padding: 0 12px; }
/* pools with nothing yet: the empty-pot picture beside the line */
.pl-empty { display: flex; align-items: center; gap: 10px; } .pl-emp-ic { width: 44px; height: 44px; object-fit: contain; flex: none; }
.txrun { display: flex; align-items: baseline; gap: 6px; min-width: 0; } .txrun .ellipsis { min-width: 0; } .txrun .txn { flex: none; font-size: 13px; }
/* the slim footer: a little tighter so Spanish fits on one line on most phones */
.legal.slim nav { gap: 0 2px; } .legal.slim nav a { padding: 6px 6px; font-size: 12.5px; }
/* the header balance off Home: one compact pill beside the bell (tap opens the wallet, which shows the local amount) */
.topbar .tbbal { flex-direction: row; align-items: center; gap: 0; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.08), 0 8px 14px -12px rgba(14,22,48,.45); }
.topbar .tbbal > span { display: none; } .topbar .tbbal b { font-size: 15px; white-space: nowrap; } .topbar .tbbal:hover { opacity: 1; background: #f7f8f6; }
.topbar .tbbell { width: 40px; height: 40px; margin: 0 -2px 0 0; } .topbar .tbbell img { width: 32px; height: 32px; }
/* the number sockets appear with the first number in them */
@keyframes pkin { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.pk:not(.pk-none) .pk-top { animation: pkin .2s ease-out; }
/* one filter bar everywhere: the Filter / Done button stays grey open or shut (no black pill); a mint dot shows filters are on */
.lfbox.open .lfs-btn { background: rgba(14,22,48,.06); color: var(--ink); }
.lfbox.on .lfs-ic { position: relative; } .lfbox.on .lfs-ic::after { content: ''; position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: #06d47f; box-shadow: 0 0 0 2px #fff; }
.frfb.on { background: rgba(14,22,48,.06); color: #0a0a0a; position: relative; } .frfb.on::after { content: ''; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: #06d47f; box-shadow: 0 0 0 2px #fff; }
/* the balance bubble under your picture and name (the header no longer carries the balance) */
.tbbub { position: absolute; left: 0; top: calc(100% - 6px); z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 14px 16px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14,22,48,.06), 0 18px 34px -16px rgba(14,22,48,.45); animation: tbbub .16s ease-out; }
.tbbub[hidden] { display: none; }
.tbbub::before { content: ''; position: absolute; left: 22px; top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; box-shadow: -1px -1px 0 rgba(14,22,48,.06); }
.tbbub-k { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tbbub b { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; } .tbbub-l { font-size: 14px; font-weight: 700; color: var(--muted); }
.tbbub-w { align-self: flex-start; margin-top: 8px; padding: 0; font-size: 13px; }
@keyframes tbbub { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* the admin keeps its sidebar beside the page (the full-height rule above made it a single column on desktop) */
body:not(.kiosk) > #root > div.admin:only-child { flex-direction: row; align-items: stretch; }
/* every sheet starts with a slim row: ‹ back on the left (when this sheet sits over another), × on the right closes them all */
.sheet-nav { display: flex; justify-content: space-between; align-items: center; height: 34px; margin: -4px -6px 8px; }
.sheet-nav button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(14,22,48,.07); color: #3c465c; cursor: pointer; }
.sheet-nav button:hover { background: rgba(14,22,48,.12); color: #0a0a0a; } .sheet-nav button:active { transform: scale(.94); }
.sheet:has(> .wsheet) > .sheet-nav button { background: rgba(255,255,255,.9); }
/* a sheet under another is hidden until the top one closes */
.sheet.under, .scrim.under { opacity: 0 !important; pointer-events: none; }
.sheet.under { transform: translate(-50%, -48%) scale(.98) !important; }
@media (max-width: 719px) { .sheet.under { transform: translateY(16px) !important; } }
/* spacing: cards stacked in a sheet get room between them; the sections of a merged setting (Odds) are spaced too */
.pgrp-b + .pgrp-b { margin-top: 12px; }
.hubg + .hubg { margin-top: 18px; } .hubg > b { display: block; font-size: 15px; margin-bottom: 2px; } .hubg > .small { margin-bottom: 10px; line-height: 1.4; }
/* spacing: chip rows that wrap get room between the rows too (months in My activity, amounts, locks, places, filters) */
.plim-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-locks, .pl-places, .seg.pl-rseg { row-gap: 4px; }
.bfilt { row-gap: 6px; }
.chips { row-gap: 8px; }
/* friends lists: a private card shows (with its lock) but doesn't open; the note under the list is plain small text */
.frp-priv .frp-a { cursor: default; }
.frl-note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }

/* 1352 seller: latest results — a long lottery name no longer runs under the balls */
#results .item { gap: 10px; }
#results .item > .grow + * { flex: none; }
#results .gtag { max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
/* the day under ‹ › on Tickets: words, not the browser's date box (tap opens the calendar) */
.daypick { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; cursor: pointer; }
.daypick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; }
.daypick input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.daypick:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 1352 admin: every on/off box is a switch, like the ones already in Promos, Levels and Cash out */
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw) { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 34px; height: 20px; margin: 0 8px 0 0; border-radius: 999px;
  background: #d4d7d0; cursor: pointer; vertical-align: middle; transition: background .15s; border: 0; }
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw)::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw):checked { background: var(--green); }
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw):checked::after { transform: translateX(14px); }
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw):disabled { opacity: .45; cursor: not-allowed; }
.admin input[type=checkbox]:not(.switch > input):not(.chip > input):not(.raw):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* 1352 admin: a wide table inside the two-column report grid scrolls inside its card instead of pushing the page sideways on a phone */
.rc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .rc-grid { grid-template-columns: minmax(0, 1fr); } }
.rc-grid > .card { min-width: 0; }

/* the Live ticket */
.lvt-cards { display: flex; gap: 16px; margin: 10px 0 6px; flex-wrap: wrap; }
.lvt-cards > div { display: flex; flex-direction: column; gap: 4px; }
.lvt-cards > div > div { display: flex; gap: 3px; }
.lvt-c { width: 30px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.lvt-oth { display: flex; flex-direction: column; gap: 4px; font-size: 12px; margin-bottom: 6px; }
.lvt-oth span { display: flex; align-items: center; gap: 3px; } .lvt-oth .lvt-c { width: 20px; } .lvt-oth i { font-style: normal; color: var(--muted); }
.lvt-dom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin: 10px 0 6px; }
.lvt-dom > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lvt-dom > div:last-child { text-align: right; }
.lvt-dom b { font-size: 26px; font-weight: 900; line-height: 1; } .lvt-dom > i { font-style: normal; font-size: 20px; color: var(--muted); padding-bottom: 2px; }
.lvt-rds { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.lvt-rds span { display: inline-flex; align-items: baseline; gap: 4px; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: rgba(14,22,48,.05); }
.lvt-rds i { font-style: normal; color: var(--muted); } .lvt-rds em { font-style: normal; font-size: 10.5px; color: var(--muted); }
/* Predicts: a market that is pools only (no bets against B1N0) */
.pltag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: #04844f; background: rgba(6,212,127,.12); padding: 2px 8px 2px 4px; border-radius: 99px; }
.pltag .ic3d { width: 16px; height: 16px; }
.odd.pill.plpick { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.odd.pill.plpick .ic3d { width: 16px; height: 16px; }
.gmfoot .plbig { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.gmfoot .plbig .ic3d { width: 18px; height: 18px; }
.seg.dsrc { margin-bottom: 10px; max-width: 320px; }
/* share a market or a game: a small round button next to the (i) */
.ibtn.shbtn { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }
.ibtn.shbtn svg { width: 12px; height: 12px; stroke-width: 2.6; }
.gm.flash, .mkcard.flash { animation: cardflash 2s ease-out; }
@keyframes cardflash { 0%, 40% { box-shadow: 0 0 0 3px #06d47f, 0 10px 30px rgba(6,212,127,.25); } 100% { box-shadow: none; } }
/* Finance › an account's sheet: tighter numbers and tables so everything fits */
.kpis.acc { grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: 8px; }
.kpis.acc .stat { padding: 12px 14px; }
.kpis.acc .stat .k { font-size: 10px; line-height: 1.25; min-height: 2.5em; }
.kpis.acc .stat .v { font-size: 19px; }
.fdet .tbl th, .fdet .tbl td { padding-left: 8px; padding-right: 8px; }
.fdet .tbl td .input.sm { margin-left: auto; }
.fdet .seg.sm button { white-space: nowrap; }
.fdet .tbl td:last-child { width: 1%; white-space: nowrap; }
.fdet .tbl td .btn.xs { padding: 4px 8px; }
.fdet .tbl th, .fdet .tbl td { padding-left: 6px; padding-right: 6px; }

/* ===== b1419: one system — celebration, banner, balance glow, game settings sheet ===== */
.bal-up { animation: balup .9s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes balup { 30% { transform: scale(1.14); color: var(--green); text-shadow: 0 0 14px rgba(6, 212, 127, .55); } }
.cel-rain { position: fixed; inset: 0; z-index: 125; pointer-events: none; }
.cel { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(10, 8, 20, .55), rgba(5, 4, 10, .86)); opacity: 0; transition: opacity .25s; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cel.show { opacity: 1; }
.cel-in { position: relative; width: min(86vw, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.cel-rays { position: absolute; inset: -30%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 210, 63, .34) 0deg 9deg, rgba(255, 210, 63, 0) 9deg 22.5deg); -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%); mask-image: radial-gradient(circle, #000 18%, transparent 66%); animation: celspin 14s linear infinite; pointer-events: none; }
.cel-in::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 40, .35), rgba(255, 196, 40, 0) 70%); }
.cel-mega .cel-rays { animation-duration: 7s; background: repeating-conic-gradient(from 0deg, rgba(255, 170, 30, .5) 0deg 8deg, rgba(255, 170, 30, 0) 8deg 18deg); }
@keyframes celspin { to { transform: rotate(360deg); } }
.cel-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; transform: scale(.6); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.cel.show .cel-c { transform: none; }
.cel-t { font: 900 clamp(34px, 11vw, 52px)/1 'Anton', var(--font); letter-spacing: .02em; text-transform: uppercase; color: #ffd84a; -webkit-text-stroke: 1.5px #7a3b00; text-shadow: 0 4px 0 #8a4300, 0 10px 26px rgba(0, 0, 0, .6); }
.cel-mega .cel-t { font-size: clamp(40px, 13vw, 62px); color: #fff1a6; -webkit-text-stroke: 2px #8a3c00; text-shadow: 0 5px 0 #8a3c00, 0 0 30px rgba(255, 170, 30, .8), 0 12px 30px rgba(0, 0, 0, .6); animation: celpulse 1.1s ease-in-out infinite; }
@keyframes celpulse { 50% { transform: scale(1.06); } }
.cel-g { font: 700 13px var(--font); color: rgba(255, 255, 255, .75); }
.cel-x { margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 900 15px var(--font); color: #fff; }
.cel-a { margin-top: 6px; font: 900 clamp(26px, 8.5vw, 38px)/1.1 var(--font); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 3px 14px rgba(0, 0, 0, .7); }
.cel-sh { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: #0a0a0a; font: 800 14px var(--font); cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
@media (prefers-reduced-motion: reduce) { .cel-rays, .cel-mega .cel-t, .bal-up { animation: none; } .cel-c { transition: none; } }

.nfb { position: fixed; left: 50%; top: calc(10px + env(safe-area-inset-top)); z-index: 120; width: min(94vw, 520px); display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 12px; border-radius: 16px; background: #0a0a0a; color: #fff; box-shadow: 0 14px 34px rgba(14, 22, 48, .35); transform: translate(-50%, -140%); transition: transform .32s cubic-bezier(.2, 1.2, .4, 1); box-sizing: border-box; }
.nfb.show { transform: translate(-50%, 0); }
.nfb img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.nfb > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nfb b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nfb small { font-size: 12px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfb-a { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--green); color: #04130b; font: 800 13px var(--font); cursor: pointer; }
.nfb-x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }

.emp.err .btn { margin-top: 8px; }

/* the game settings sheet (also used, light, by app Settings › Sound & feel) */
.gs { gap: 12px; }
.gs-h { display: flex; align-items: center; gap: 12px; padding-right: 36px; } .gs-h h2 { margin: 0; font-size: 20px; line-height: 1.15; }
.gs-h img { width: 52px; height: 52px; object-fit: contain; flex: none; border-radius: 12px; }
.gs-h small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.gs-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.gs-f span { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border-radius: 14px; background: rgba(14, 22, 48, .05); text-align: center; }
.gs-f b { font-size: 16px; font-variant-numeric: tabular-nums; } .gs-f small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.gs-a { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.gs-a button { min-height: 46px; padding: 8px 10px; border: 0; border-radius: 12px; background: rgba(14, 22, 48, .06); color: var(--ink); font: 700 13px var(--font); cursor: pointer; }
.gs-a button.danger { color: var(--bad); }
.gs-l { font: 800 12px var(--font); color: var(--muted); margin: 4px 2px -4px; }
.gs-g { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.gs-g > * + * { border-top: 1px solid var(--line-2); }
.gs-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; background: transparent; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; box-sizing: border-box; }
.gs-r > span:first-child { display: flex; flex-direction: column; font-weight: 700; font-size: 14.5px; min-width: 0; }
.gs-r small { font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 1px; }
.gs-r em { font-style: normal; font-size: 22px; color: var(--faint); }
.gs-tg { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #d4d7d0; transition: background .15s; }
.gs-tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.gs-tg.on { background: var(--green); } .gs-tg.on::after { transform: translateX(18px); }
.gs-r.rg { cursor: default; } .gs-r.rg input { flex: 0 0 46%; accent-color: var(--green); height: 28px; }
.gs-r.sg { cursor: default; flex-wrap: wrap; } .gs-r.sg.wide { flex-direction: column; align-items: stretch; }
.gs-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(14, 22, 48, .07); }
.gs-r.sg.wide .gs-seg { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 12px; }
.gs-seg button { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 12.5px var(--font); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.gs-r.sg.wide .gs-seg button { border-radius: 9px; padding: 0 4px; }
.gs-seg button.on { background: var(--ink); color: #fff; }
.gs-seg img { width: 15px; border-radius: 2px; }
.gs-how { display: flex; flex-direction: column; gap: 8px; }
.gs-how > div { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.gs-how i { flex: none; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; background: rgba(14, 22, 48, .06); font: 800 11.5px var(--font); font-style: normal; color: var(--ink); box-sizing: border-box; }
.gs-how b { display: block; font-size: 13.5px; color: var(--ink); }
.gs-how .p span { padding: 9px 12px; border-radius: 10px; background: rgba(14, 22, 48, .04); width: 100%; }
/* dark: inside a game */
.sheet.gs-sheet.dk { background: linear-gradient(180deg, #1b1824, #121017); color: #fff; box-shadow: 0 -2px 0 rgba(255, 210, 63, .5), 0 -20px 50px rgba(0, 0, 0, .5); }
.sheet.gs-sheet.dk .grab { background: rgba(255, 255, 255, .2); }
.sheet.gs-sheet.dk .sheet-x, .sheet.gs-sheet.dk .sheet-b { background: rgba(255, 255, 255, .1); color: #fff; }
.gs.dk { --ink: #fff; --ink-2: rgba(255, 255, 255, .82); --muted: rgba(255, 255, 255, .58); --faint: rgba(255, 255, 255, .4); --line-2: rgba(255, 255, 255, .1); color: #fff; }
.gs.dk .gs-f span, .gs.dk .gs-a button, .gs.dk .gs-how i, .gs.dk .gs-how .p span { background: rgba(255, 255, 255, .07); }
.gs.dk .gs-g { background: rgba(255, 255, 255, .03); }
.gs.dk .gs-tg { background: rgba(255, 255, 255, .2); } .gs.dk .gs-tg.on { background: #ffd23f; }
.gs.dk .gs-seg { background: rgba(255, 255, 255, .1); } .gs.dk .gs-seg button.on { background: #ffd23f; color: #1a0d05; }
.gs.dk .gs-r.rg input { accent-color: #ffd23f; }
.sheet.gs-sheet.dk .gs-done { background: rgba(255, 255, 255, .1) !important; color: #fff !important; border: 0; box-shadow: none; }
.gs.dk .btn.danger { background: rgba(229, 72, 77, .16); color: #ff8a8d; border: 0; }
.gs-pt .sc-pt { margin: 0; } .gs-pt .tiny { margin: 6px 2px 0; font-size: 11.5px; color: var(--muted); }
.nfb-i { flex: none; display: grid; place-items: center; font-style: normal; } .nfb-i .avatar { width: 34px; height: 34px; }
.fmed.playing .avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.fmed.playing a { position: relative; } .fmed.playing a::after { content: ''; position: absolute; top: 2px; right: calc(50% - 26px); width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px #fff; animation: fplay 1.6s ease-in-out infinite; }
@keyframes fplay { 50% { transform: scale(1.25); } }
.fplay { font-style: normal; font-weight: 700; color: #04a867; } .fplay::before { content: '● '; }
@media (prefers-reduced-motion: reduce) { .fmed.playing a::after { animation: none; } }
.bw { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 0 0 10px; border-radius: 14px; background: #0a0a0a; color: #fff; overflow: hidden; }
.bw-k { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 800 12.5px var(--font); color: #ffd23f; padding-right: 8px; border-right: 1px solid rgba(255, 255, 255, .15); }
.bw-k img { width: 22px; height: 22px; object-fit: contain; }
.bw-v { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.bw-t { display: flex; width: max-content; animation: bwrun calc(var(--n) * 5s) linear infinite; }
.bw:hover .bw-t, .bw:active .bw-t { animation-play-state: paused; }
@keyframes bwrun { to { transform: translateX(-50%); } }
.bw-i { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px 0 8px; white-space: nowrap; font-size: 13px; }
.bw-i a { color: #fff; font-weight: 800; text-decoration: none; } .bw-i > span:not(.avatar):not(.bw-x) { font-weight: 800; }
.bw-x { color: rgba(255, 255, 255, .78); } .bw-x b { color: #fff; }
.bw-a { color: var(--green); font-weight: 900; }
.bw-i small { color: rgba(255, 255, 255, .45); font-size: 11.5px; }
.hside { display: contents; } /* big wins and friends sit in Home's list, phone and computer */
.bw-empty { display: none; } /* b1430: with no big wins the strip simply doesn't show */
@media (min-width: 1100px) {
  .bw-empty .avatar { flex: none; width: 44px; height: 44px; }
  .bw-empty div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .bw-empty b { font-size: 14px; font-weight: 800; color: #ffd23f; }
  .bw-empty small { font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
}
.avatar.xs { width: 24px; height: 24px; flex: none; font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .bw-t { animation: none; } .bw-v { overflow-x: auto; } }

/* ===== b1424: on a computer (1100px and wider). Shop machines (body.kiosk) keep their own layout. ===== */
.topbar > .tbdb, .tabbar .rail-sub { display: none; }
@media (min-width: 1100px) {
  body:not(.kiosk) .app, body:not(.kiosk) > #root > .app { max-width: none; width: calc(100% - 248px); box-sizing: border-box; margin: 0 0 0 248px; padding: 0 36px 48px; }
  body:not(.kiosk) #view { width: 100%; }
  body:not(.kiosk) #view, body:not(.kiosk) .app > .legal { max-width: 1180px; margin-left: auto; margin-right: auto; }
  /* the tab bar becomes the menu down the left */
  body:not(.kiosk) .tabbar { left: 0; top: 0; bottom: 0; transform: none; width: 248px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 84px 14px 20px; border: 0; border-right: 1px solid rgba(14, 22, 48, .08); border-radius: 0; background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow-y: auto; box-sizing: border-box; }
  body:not(.kiosk) .tabbar::before { display: none; }
  body:not(.kiosk) .tabbar::after { content: ''; position: absolute; left: 26px; top: 26px; width: 96px; height: 30px; background: url(/brand/b1n0.svg) left center / contain no-repeat; }
  body:not(.kiosk) .tabbar > button { flex: none; width: auto; height: 46px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; color: #0a0a0a; }
  body:not(.kiosk) .tabbar > button .tic { transform: none; animation: none; width: 26px; height: 26px; }
  body:not(.kiosk) .tabbar > button:hover { background: rgba(14, 22, 48, .05) !important; }
  body:not(.kiosk) .tabbar > button.on { background: #0a0a0a !important; color: #fff; }
  body:not(.kiosk) .tabbar > button.dot::after { top: 50%; right: 14px; transform: translateY(-50%); box-shadow: none; }
  body:not(.kiosk) .tabbar .rail-sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 8px 24px; padding-left: 10px; border-left: 2px solid rgba(14, 22, 48, .08); }
  body:not(.kiosk) .tabbar .rail-sub button { flex: none; flex-direction: row; justify-content: flex-start; position: static; transform: none; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: none; font: 700 13.5px var(--font); color: #0a0a0a; cursor: pointer; text-align: left; }
  body:not(.kiosk) .tabbar .rail-sub button img { width: 22px; height: 22px; object-fit: contain; }
  body:not(.kiosk) .tabbar .rail-sub button:hover { background: rgba(14, 22, 48, .05); }
  body:not(.kiosk) .tabbar .rail-sub button.on { background: rgba(6, 212, 127, .14); color: #04844f; font-weight: 800; }
  /* the bar along the top: you on the left; balance, Add and the bell on the right */
  body:not(.kiosk) .topbar { position: sticky; top: 0; z-index: 30; margin: 0 -36px 20px; padding: 12px 36px; background: rgba(243, 244, 241, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(14, 22, 48, .06); }
  body:not(.kiosk) .topbar .tbme { order: 0; flex: 1; }
  body:not(.kiosk) .topbar > .tbdb { order: 1; display: flex; flex-direction: column; align-items: flex-end; border: 0; background: none; padding: 0 4px; line-height: 1.15; cursor: pointer; font-family: inherit; color: inherit; }
  .tbdb small { font-size: 11.5px; font-weight: 700; color: var(--muted); } .tbdb b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
  body:not(.kiosk) .topbar > .tbdb { padding: 6px 14px; border-radius: 14px; transition: background .15s; } /* the balance opens the wallet (b1429: no separate Add) */
  body:not(.kiosk) .topbar > .tbdb:hover { background: rgba(14, 22, 48, .06); }
  body:not(.kiosk) .topbar .tbbell { order: 3; }
  /* Home: the feed and big wins in a column on the right */
  /* b1429: the side column starts at the top and stays in view while Home scrolls; with nothing for it, Home is one centred column */
  body:not(.kiosk) #view > .home { max-width: 820px; margin-left: auto; margin-right: auto; } /* b1430: Home is one column in the middle; big wins and friends sit in it, full width */
  /* Sports and Predicts: the slip stays open on the right while you browse */
  body:not(.kiosk) .slip { left: auto; right: max(24px, calc((100vw - 248px - 1180px) / 2 + 36px)); top: 92px; bottom: auto; transform: none; width: 340px; max-height: calc(100vh - 116px); overflow-y: auto; }
  body:not(.kiosk) #view:has(.slip:not(.empty)) { padding-right: 364px; box-sizing: border-box; }
  body:not(.kiosk) #slipspace, body:not(.kiosk) #pxspace { display: none !important; }
  body:not(.kiosk):has(.tabbar .rail-sub) .catnav .seg.cats { display: none; } /* the menu on the left has the sections (the player app) */
}
/* Live: several tables side by side (live.js), and one table inside its tile */
.lvmt { position: fixed; inset: 0; z-index: 46; display: flex; flex-direction: column; background: #0f1114; color: #fff; font-family: var(--font); }
.lvmt-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; }
.lvmt-h > b { font-size: 18px; } .lvmt-h > span { font-size: 13px; color: rgba(255, 255, 255, .6); font-weight: 700; }
.lvmt-lay { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lvmt-lay button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .7); font: 700 12.5px var(--font); cursor: pointer; }
.lvmt-lay button.on { background: #fff; color: #0a0a0a; }
.lvmt-k { margin-left: auto; font-size: 12px !important; color: rgba(255, 255, 255, .45) !important; }
.lvmt-x { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: none; color: #fff; font: 700 13px var(--font); cursor: pointer; }
.lvmt-x svg { width: 16px; height: 16px; }
.lvmt-tabs { display: none; gap: 6px; padding: 0 16px 8px; }
.lvmt[data-lay="1"] .lvmt-tabs { display: flex; }
.lvmt-tabs button { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 13px var(--font); cursor: pointer; }
.lvmt-tabs button img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.lvmt-tabs button.on { background: #fff; color: #0a0a0a; } .lvmt-tabs button.turn:not(.on) { background: #ffdf50; color: #2a1d00; }
.lvmt-g { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 10px; padding: 0 10px 10px; }
.lvmt[data-lay="1"] .lvmt-g { grid-template-columns: minmax(0, 1fr); } .lvmt[data-lay="1"] .lvmt-t:not(.front) { display: none; }
.lvmt-t { position: relative; min-height: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .2s; }
.lvmt-t.turn { box-shadow: 0 0 0 3px #ffdf50, 0 0 40px -6px rgba(255, 223, 80, .5); }
.lvmt-t iframe { display: block; width: 100%; height: 100%; border: 0; background: #f3f4f1; }
html.lvmt-on { overflow: hidden; } html.lvmt-on .lv-pill, html.lvmt-on .nfb { display: none !important; }
html.lv-embed body::before { display: none; }
.lvemb { padding: 6px 8px; }
html.lv-embed #lv-back, html.lv-embed #lv-sw, html.lv-embed .lv-pill, html.lv-embed .nfb, html.lv-embed .testsite, html.lv-embed .tabbar { display: none !important; }
.lv-sw-all { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: #0a0a0a; color: #fff; font: 700 12.5px var(--font); cursor: pointer; }
.lv-sw-all svg { width: 16px; height: 16px; }

/* ===== b1425: the seller app ===== */
.topbar .sgear { width: 42px; min-width: 42px; padding: 0 !important; display: inline-grid; place-items: center; } .topbar .sgear svg { width: 20px !important; height: 20px !important; max-width: none; flex: none; }
.btn.rpt { margin-top: 10px; border: 1.5px dashed rgba(14, 22, 48, .22); background: rgba(255, 255, 255, .7); font-weight: 800; }
/* Sun mode: bigger text, darker greys and firmer edges, for selling in bright light */
html.sun { --muted: #343c4e; --faint: #4d5669; --line: rgba(14, 22, 48, .2); --line-2: rgba(14, 22, 48, .32); }
html.sun body { font-size: 17px; background: #ffffff; }
html.sun body::before { display: none; }
html.sun .small { font-size: 15px; } html.sun .tiny { font-size: 13.5px; } html.sun .eyebrow { font-size: 13px; color: #1d2433; }
html.sun .muted { color: #343c4e; }
html.sun .card, html.sun .tk, html.sun .draw-chip { border: 1.5px solid rgba(14, 22, 48, .2); box-shadow: none; background: #fff; }
html.sun .btn { min-height: 52px; font-weight: 800; font-size: 16px; }
html.sun .numgrid button, html.sun .pinpad button { font-size: 22px; font-weight: 800; border: 1.5px solid rgba(14, 22, 48, .25); }
html.sun .tabbar { background: #fff; border: 1.5px solid rgba(14, 22, 48, .25); } html.sun .tabbar button span { font-size: 13px; } html.sun .tabbar button:not(.on) span { color: #0a0a0a; }
/* b1427: on a computer, match and market cards two (or three) to a row; headings and the top strip keep the full width */
@media (min-width: 1100px) {
  body:not(.kiosk) #board, body:not(.kiosk) #pxboard, body:not(.kiosk) #mkboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 10px 14px; align-items: start; }
  body:not(.kiosk) #board > :not(.gm), body:not(.kiosk) #pxboard > :not(.gm):not(.mkcard), body:not(.kiosk) #mkboard > :not(.gm):not(.mkcard) { grid-column: 1 / -1; }
  body:not(.kiosk) #board > .gm, body:not(.kiosk) #pxboard > .gm, body:not(.kiosk) #mkboard > .gm, body:not(.kiosk) #pxboard > .mkcard, body:not(.kiosk) #mkboard > .mkcard { margin: 0 !important; }
}
/* b1433: the wallet pop-up: a solid card, the title and ✕ on one line, Add as the main button, money on its way, the last money in or out */
.scrim:has(+ .sheet > .wsh) { background: rgba(10, 14, 26, .55); }
.sheet:has(> .wsh) { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 30px 70px -30px rgba(10, 14, 26, .6); }
@media (min-width: 720px) { .sheet:has(> .wsh) { width: min(440px, 94vw); padding: 18px 20px 20px; } }
.wsh { gap: 14px; }
.wsh-h { margin-top: -42px; height: 34px; display: flex; align-items: center; padding-left: 2px; pointer-events: none; }
.wsh-h b { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.wsh-bal { position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: 22px; background: radial-gradient(120% 120% at 100% 0%, rgba(6, 212, 127, .18), rgba(6, 212, 127, 0) 60%), radial-gradient(90% 90% at 0% 120%, rgba(255, 223, 80, .25), rgba(255, 223, 80, 0) 60%), #f6f8f5; }
.wsh-hero { position: absolute; right: 10px; top: 50%; width: 92px; height: auto; transform: translateY(-50%) rotate(6deg); filter: drop-shadow(0 10px 12px rgba(14, 22, 48, .2)); pointer-events: none; }
.wsh-bal .wal-k { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wsh-amt { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; padding-right: 96px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.wsh-amt span { font-size: 44px; font-variant-numeric: tabular-nums; } .wsh-amt small { font-size: 18px; color: #04a867; letter-spacing: 0; }
.wsh-bal .wal-loc { margin-top: 12px; background: #0a0a0a; color: #fff; font-weight: 800; border: 0; cursor: pointer; }
.wsh-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wsh-add, .wsh-b { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-family: inherit; transition: transform .12s, background .15s; }
.wsh-add { grid-column: 1 / -1; height: 56px; border-radius: 18px; background: #06d47f; color: #04130c; font-size: 16.5px; font-weight: 900; box-shadow: 0 14px 24px -14px rgba(6, 180, 110, .9); }
.wsh-add:hover { background: #12e08b; }
.wsh-b { height: 50px; border-radius: 16px; background: #f1f3f0; color: #0a0a0a; font-size: 14px; font-weight: 800; }
.wsh-b:hover { background: #e7ebe6; }
.wsh-add:active, .wsh-b:active { transform: scale(.97); }
.wsh-add img { width: 30px; height: 30px; object-fit: contain; } .wsh-b img { width: 26px; height: 26px; object-fit: contain; }
.wsh-sec { border-top: 1px solid rgba(14, 22, 48, .07); padding-top: 12px; }
.wsh-sh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; } .wsh-sh b { font-size: 14px; font-weight: 800; }
.wsh-sec .list .item { padding-left: 0; padding-right: 0; }
.wsh-none { padding: 6px 0 2px; }
#wshp:empty { display: none; }
