/* Soccer Mega Millions kiosk (Oryx Bet) — touch-first interface. Designed for a portrait 1080x1920 terminal screen,
   but it fills any viewport so the demo runs on a laptop too.
   Palette: white screen, leaf-green bands and accents (the Lotto Afro colours), navy ink; white panels for anything the customer fills in. */
:root {
  /* Lotto Afro palette: leaf green and white, navy ink. Dark green carries white text (4.3:1); leaf green is a fill and accent colour. */
  --green: #45b748; --green-dark: #2e8b3d; --green-deep: #1f6b30; --green-soft: #e7f6e8; --green-ink: #fff;
  --gold: var(--green-dark); --gold-dark: var(--green-deep); --gold-soft: var(--green-dark); --gold-ink: #fff;
  --band: var(--green-dark); --band-top: var(--green-deep); --on-band: #fff; --on-band-2: rgba(255, 255, 255, .85); --on-band-3: rgba(255, 255, 255, .7);
  --screen-top: #ffffff; --screen-bottom: #f4f7fb; --surface: #f4f7fb; --surface-2: #eef2f8;
  --tile: #ffffff; --tile-2: #f4f7fb; --tile-edge: #d5e8d8;
  --amber: #e39b12; --red: #e2242a; --red-dark: #b8181d;
  --ink: #14213d; --ink-2: #3f4a63; --muted: #5b6478; --line: #e3e8f0; --bg: #ffffff; --card: #fff;
  --on-dark: var(--ink); --on-dark-2: var(--ink-2); --on-dark-3: var(--muted);
  --primary: var(--green-dark); --primary-dark: var(--green-deep); --primary-ink: #fff; --wordmark: var(--green-dark);
  --radius: 6px; --shadow: 0 2px 6px rgba(20, 33, 61, .08);
  --font: "Lato", "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--screen-bottom); overflow: hidden; user-select: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
button:disabled { cursor: default; }
svg { width: 1.3em; height: 1.3em; flex: none; }
.mono { font-family: Consolas, "Courier New", monospace; letter-spacing: .04em; }
.muted { color: var(--muted); }
.green { color: var(--green-dark); } .red { color: var(--red); }
p.small { font-size: 14px; }

/* ---- kiosk frame */
.kiosk { position: relative; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto 1fr 72px; grid-template-columns: minmax(0, 1fr); background: var(--bg); overflow: hidden; }
.bar { display: flex; align-items: center; gap: 16px; padding: 0 24px; }

/* ---- header: deep green phone bar, white logo band, green navigation */
.hdr { display: grid; grid-template-rows: 54px 74px auto; grid-template-columns: minmax(0, 1fr); }
.hdr-top { background: var(--band-top); color: var(--on-band); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; min-width: 0; }
.hdr-phone { display: flex; align-items: center; gap: 12px; font-weight: 900; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--on-band); }
.hdr-phone svg { width: 26px; height: 26px; }
.hdr-phone b { font-size: 28px; letter-spacing: .02em; }
.hdr-phone span { font-size: 15px; font-weight: 700; color: var(--on-band-2); margin-left: 6px; }
.clock { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.clock span { font-size: 24px; font-weight: 900; } .clock small { font-size: 13px; color: var(--on-band-2); }
.hdr-white { background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; padding: 0 24px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--green-dark); border: 3px solid var(--green); color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { font-size: 26px; font-weight: 900; font-style: italic; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; } .brand-name b { font-weight: 900; color: var(--wordmark); }
.top-mid { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; }
.top-mid > span { overflow: hidden; text-overflow: ellipsis; }
.top-mid .slogan { font-weight: 700; color: var(--muted); }
.hdr-dark { background: var(--band); color: var(--on-band); display: flex; align-items: center; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.hdr-dark::-webkit-scrollbar { display: none; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; height: 66px; min-width: 64px; padding: 4px 14px; color: var(--on-band); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; border-bottom: 4px solid transparent; }
.nav-item svg { width: 24px; height: 24px; }
.nav-item.on { border-bottom-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.nav-item:active { background: rgba(255, 255, 255, .22); }
.nav-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }

/* ---- bottom bar */
.bar.bottom { background: #fff; border-top: 1px solid var(--line); justify-content: space-between; color: var(--ink); font-size: 15px; }
.bottom-left, .bottom-right { display: flex; gap: 10px; min-width: 190px; }
.bottom-right { justify-content: flex-end; }
.bottom-mid { display: flex; align-items: center; gap: 10px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; }
.bottom-mid span { overflow: hidden; text-overflow: ellipsis; }
.bottom-left, .bottom-right { flex: none; }
@media (max-width: 1180px) { .bottom-mid { display: none; } }
.bottom-mid .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.bar.bottom .btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.bar.bottom .bottom-right .btn.ghost { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.slipbtn { background: #fff; color: var(--ink); gap: 8px; }
.btn.slipbtn b { background: var(--gold); color: var(--gold-ink); border-radius: 999px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 14px; padding: 0 6px; }

/* ---- screen */
.screen { position: relative; overflow: auto; background: linear-gradient(180deg, var(--screen-top), var(--screen-bottom)); color: var(--ink); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 28px 32px; }
.screen.enter .wrap { animation: fade .25s ease-out; }
.wrap.narrow { max-width: 760px; }
.wrap.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
h1 { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; color: var(--on-dark); margin: 0 0 18px; }
h1 small { font-size: 16px; color: var(--on-dark-2); font-weight: 700; text-transform: none; letter-spacing: 0; }
h2 { font-size: 18px; font-weight: 900; text-transform: uppercase; color: var(--on-dark); margin: 28px 0 12px; }
.pane { min-width: 0; }
.wrap > p.muted, .pane > p.muted, .done > p, .busy, .limits { color: var(--on-dark-2); }
.done > p { font-size: 18px; }

/* ---- tiles (home grid) */
.grid { display: grid; gap: 16px; }
.kiosk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kiosk-grid.slim { gap: 10px; margin-top: 24px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 158px; padding: 14px 10px; border-radius: var(--radius); text-align: center; transition: transform .12s, box-shadow .12s; }
.tile:active { transform: scale(.97); }
.tile-ico { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.tile-ico svg { width: 32px; height: 32px; }
.tile-ico .flag { position: absolute; right: -8px; bottom: -4px; font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: .04em; background: var(--gold); color: var(--gold-ink); border-radius: 4px; padding: 2px 5px; line-height: 1.2; }
.tile-name { font-size: 15px; font-weight: 900; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }
.tile-sub { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tile.cat { background: linear-gradient(180deg, var(--tile), var(--tile-2)); border: 1px solid var(--tile-edge); box-shadow: var(--shadow); color: var(--ink); }
.tile.cat:active { background: var(--green-soft); }
.tile.cat .tile-ico { background: var(--green-soft); color: var(--green-dark); }
.tile.cat .tile-sub { color: var(--muted); }
.actions-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile.action { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 96px; gap: 14px; padding: 12px 18px; }
.tile.action .tile-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile.action .tile-art { color: var(--gold); width: 72px; height: 52px; flex: none; }
.tile.action .tile-sub { line-height: 1.3; }
.tile.action.hot { border-color: var(--green); box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.tile-ico .badge { position: absolute; right: -8px; top: -4px; background: var(--gold); color: var(--gold-ink); border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; font-weight: 900; padding: 0 6px; }
.wrap.home { max-width: 1120px; padding: 18px 24px 28px; }
.home-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.home-top h1 { margin: 0; font-size: 22px; }
.home-limits { color: var(--on-dark-2); font-size: 13px; font-weight: 700; }

/* ---- artwork */
.art { width: 100%; height: auto; display: block; }
.attract-art { position: absolute; left: 0; right: 0; top: 8%; height: 60%; color: #fff; opacity: .28; pointer-events: none; display: grid; place-items: end center; }
.attract-art .art { width: min(1100px, 100%); position: absolute; left: 50%; transform: translateX(-50%); }
.attract-art .stadium { bottom: 48%; }
.attract-art .pitch { bottom: 0; }
.slides, .attract-cta, .attract-strip, .attract-legal { position: relative; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center; background: linear-gradient(135deg, var(--green-dark), var(--green-deep)); border: 1px solid var(--green-dark); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; color: var(--on-band); overflow: hidden; }
.hero-art { position: relative; color: #fff; min-height: 170px; }
.hero-art .stadium { position: absolute; left: 0; right: 0; top: 0; opacity: .45; }
.hero-art .pitch { position: absolute; left: 0; right: 0; bottom: 0; opacity: .7; }
.hero-ball { position: absolute; right: 6%; bottom: 10%; width: 22%; max-width: 90px; color: #fff; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.hero-body h2 { margin: 0 0 10px; font-size: 16px; color: #fff; }
.hero-list { display: grid; gap: 6px; }
.hero-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px auto; gap: 10px; align-items: center; background: #fff; color: var(--ink); border-radius: 4px; padding: 6px 10px; }
.hero-league .crest { display: block; }
.hero-teams { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.hero-teams b { font-size: 15px; } .hero-teams i { font-style: normal; font-size: 13px; color: var(--muted); }
.hero-teams b, .hero-teams i { overflow-wrap: anywhere; }
.hero-ko { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hero-row .mx-odds { grid-area: auto; }
.hero-row .odd { width: 64px; min-height: 48px; } .hero-row .odd b { font-size: 16px; }
.tile-crest { display: block; color: var(--gold); line-height: 0; }
.tile-crest .crest { filter: drop-shadow(0 3px 6px rgba(20, 33, 61, .2)); }
.tile-art { position: relative; width: 84px; height: 60px; color: var(--gold); display: grid; place-items: center; }
.tile-art .art { height: 100%; width: auto; }
.tile-art .badge { position: absolute; right: -14px; top: -6px; background: var(--gold); color: var(--gold-ink); border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; font-weight: 900; padding: 0 6px; }
.empty-art { width: 140px; margin: 0 auto 20px; color: var(--gold); }
.side-art .art { width: 150px; color: var(--green); }
.league-head .tile-crest { flex: none; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; } .hero-art { min-height: 0; height: 150px; overflow: hidden; } .hero-art .art { max-width: 460px; margin: 0 auto; } .hero-ball { right: max(6%, calc(50% - 230px)); } .hero-row { grid-template-columns: 34px minmax(0, 1fr) auto; } .hero-ko { display: none; } .hero-row .odd { width: 56px; } }
@media (max-width: 560px) { .hero-row { grid-template-columns: 34px minmax(0, 1fr); } .hero-row .mx-odds { grid-column: 1 / -1; } .hero-row .odd { flex: 1; width: auto; } }
@media (max-height: 700px) and (min-width: 861px) { .hero-art { min-height: 120px; } }

/* ---- league: match list with odds */
.league-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; color: var(--on-dark); }
.league-head .tile-ico { background: var(--green-soft); color: var(--green-dark); flex: none; }
.league-head h1 { margin: 0 0 4px; }
.league-head p { margin: 0; color: var(--on-dark-2); font-size: 14px; font-weight: 700; }
.mx-head { display: grid; grid-template-columns: 96px minmax(0, 1fr) 246px 92px; gap: 12px; padding: 0 14px 8px; font-size: 12px; font-weight: 700; color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .06em; }
.mx-head span:nth-child(3) { text-align: center; }
.mx-list { display: grid; gap: 8px; padding-bottom: 8px; }
.mx { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); }
.mx.open { border-color: var(--green); }
.mx-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 246px 92px; grid-template-areas: "ko teams odds more"; gap: 12px; align-items: center; padding: 8px 14px; }
.mx-ko { grid-area: ko; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--on-dark-2); white-space: nowrap; }
.mx-ko svg { width: 16px; height: 16px; color: var(--gold); }
.mx-teams { grid-area: teams; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mx-teams b { font-size: 16px; } .mx-teams i { font-style: normal; font-size: 15px; color: var(--on-dark-2); }
.mx-teams b, .mx-teams i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-odds { grid-area: odds; display: flex; gap: 6px; justify-content: flex-end; }
.odd { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; min-height: 56px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); line-height: 1.1; transition: transform .08s, background .12s; }
.odd small { font-size: 12px; font-weight: 700; color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .03em; }
.odd b { font-size: 18px; font-weight: 900; color: var(--gold-soft); }
.odd:active { transform: scale(.94); }
.odd.on { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.odd.on small, .odd.on b { color: var(--gold-ink); }
.mx-more { grid-area: more; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; }
.mx-more svg { width: 18px; height: 18px; }
.mx.open .mx-more { color: var(--green-dark); border-color: var(--green); }
.mx-ext { display: grid; gap: 8px; padding: 4px 14px 12px; border-top: 1px solid var(--line); margin-top: 2px; }
.mx-market { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; flex-wrap: wrap; }
.mx-market > span:first-child { font-size: 14px; font-weight: 700; color: var(--on-dark-2); }
.mx-market .odd { width: 118px; }
.mx-market .odd small { text-transform: none; font-size: 13px; }
.slipbar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px auto 0; max-width: 1240px; padding: 12px 32px; background: #fff; border-top: 3px solid var(--green); color: var(--ink); box-shadow: 0 -8px 24px rgba(20, 33, 61, .12); }
.slipbar-info { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 15px; }
.slipbar-info b { font-size: 18px; } .slipbar-info span { color: var(--on-dark-2); font-weight: 700; }

/* ---- betslip, selections, status */
.seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--on-dark-2); font-size: 15px; font-weight: 700; }
.seg-btn, .pill { min-height: 48px; min-width: 56px; padding: 10px 18px; border-radius: 4px; background: #fff; border: 2px solid var(--line); color: var(--ink); font-weight: 700; font-size: 16px; }
.seg-btn.on, .pill.on { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.seg-btn:disabled { opacity: .55; }
.betslip .seg .seg-btn { flex: 1; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pills.stakes .pill { flex: 1; min-width: 70px; padding: 10px 8px; }
.card.sels { padding: 0; margin-bottom: 14px; }
.sels { display: grid; }
.sel { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.sel:last-child { border-bottom: 0; }
.sel-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; line-height: 1.25; }
.sel-main b { font-size: 16px; }
.sel-main span { font-size: 13px; color: var(--muted); font-weight: 700; }
.sel-main .sel-pick { color: var(--ink-2); font-weight: 700; font-size: 14px; } .sel-pick b { color: var(--ink); font-size: 14px; }
.sel-odds { font-weight: 900; font-size: 20px; color: var(--green-dark); min-width: 56px; text-align: right; }
.card .sels { margin: 0 -22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status { padding-bottom: 14px; border-left: 6px solid var(--amber); }
.status.green { border-left-color: var(--green); } .status.red { border-left-color: var(--red); }
.status-head { display: flex; align-items: center; gap: 14px; padding: 14px 0 8px; }
.status-head small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.status-head b { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.status-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; flex: none; }
.status-ico svg { width: 30px; height: 30px; }
.status.green .status-ico { background: var(--green); } .status.red .status-ico { background: var(--red); }
.status > p { margin: 0 0 8px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.strike { text-decoration: line-through; color: var(--muted) !important; }
.side-art .mono.big { font-size: 22px; font-weight: 900; color: var(--gold-soft); margin: 0; }

/* ---- inputs + keyboard */
.input-row { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 14px; color: var(--ink); }
.input-row.active { border-color: var(--gold); }
.input-row label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.inp-value { font-size: 34px; font-weight: 700; min-height: 44px; letter-spacing: .04em; display: flex; align-items: baseline; gap: 10px; }
.inp-value .ph { color: #6f7a8c; font-weight: 400; letter-spacing: 0; }
.inp-value .cur { color: var(--muted); font-size: 24px; }
.inp-value.mono { font-size: 28px; }
.inp-err { color: var(--red); font-size: 15px; min-height: 18px; margin-top: 4px; font-weight: 700; }
input.inp-value { width: 100%; border: 0; outline: 0; background: none; font-family: inherit; }
.kb { display: grid; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); padding: 10px; border-radius: var(--radius); }
.kb-row { display: flex; gap: 8px; }
.key { flex: 1; height: 64px; border-radius: 4px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 26px; font-weight: 700; transition: transform .05s; }
.key:active { transform: translateY(2px); background: var(--green-soft); }
.key.back, .key.clear { background: #dde6df; font-size: 20px; }
.key.space { flex: 2.4; }
.kb.num .key { height: 78px; font-size: 32px; }
.kb.num { max-width: 420px; }
.kb.code .key { font-size: 24px; }

/* ---- cards + amounts */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; margin-bottom: 16px; color: var(--ink); }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--ink-2); } .kv b { font-weight: 700; text-align: right; }
.kv.big { font-size: 24px; } .kv.big b { font-size: 32px; color: var(--ink); }
.kv.big.ok b { color: var(--green-dark); }
.kv.head { justify-content: flex-start; font-size: 20px; }
.mark { width: 54px; height: 54px; border-radius: 4px; color: #fff; font-weight: 900; font-size: 17px; display: grid; place-items: center; flex: none; letter-spacing: .02em; }
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.preset { height: 84px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line); color: var(--ink); font-size: 26px; font-weight: 700; }
.preset.on { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.preset.other { font-size: 18px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; margin: 12px 0; color: var(--ink); }
.quote .muted, .card .muted, .input-row .muted, .counter .muted, .modal-card .muted { color: var(--muted); }
.side-art { display: grid; place-items: center; gap: 12px; text-align: center; padding: 40px 24px; color: var(--ink); font-size: 18px; }
.side-art svg { width: 120px; height: 120px; color: var(--green); }
.side-art .muted { color: var(--muted); }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f3e3b8; color: #5a3f00; padding: 12px 16px; border-radius: var(--radius); font-size: 15px; line-height: 1.4; margin: 12px 0; }
.note svg { color: var(--amber); margin-top: 2px; }
.note.warn { background: #fde8e8; border-color: #fde8e8; color: #7a1216; }
.note.warn svg { color: var(--red); }

/* ---- buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.actions.row { margin: 8px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 4px; font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; transition: transform .08s, background .12s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 3px 0 var(--primary-dark); }
.btn.primary:disabled { background: var(--line); color: var(--muted); box-shadow: 0 3px 0 #c9d1dc; }
.btn.ghost { background: #fff; border: 2px solid var(--line); color: var(--ink); }
.btn.link { background: none; color: var(--ink); text-decoration: underline; font-weight: 700; padding: 8px 12px; text-transform: none; letter-spacing: 0; }
.card .btn.link, .quote .btn.link, .modal-card .btn.link, .sim .btn.link { color: var(--ink-2); }
.btn.big { padding: 18px 32px; font-size: 20px; min-width: 240px; }
.btn.huge { padding: 24px 40px; font-size: 26px; min-width: 300px; letter-spacing: .04em; }
.btn.tiny { min-height: 46px; min-width: 46px; padding: 6px; border-radius: 4px; color: var(--ink-2); }
.btn.tiny svg { width: 22px; height: 22px; }
.actions.row .btn.ghost { color: var(--ink); }

/* ---- payment methods */
.methods { display: grid; gap: 12px; }
.methods-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile.method { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 96px; gap: 16px; padding: 14px 20px; }
.tile.method .tile-ico { flex: none; }
.tile.method .tile-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile.method .tile-sub { line-height: 1.3; }
.tile.method.primary { min-height: 128px; border-color: var(--green); box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.tile.method.primary .tile-ico { width: 72px; height: 72px; background: var(--gold); color: var(--gold-ink); }
.tile.method.primary .tile-ico svg { width: 40px; height: 40px; }
.tile.method.primary .tile-name { font-size: 20px; }
.tile.method .tag { font-style: normal; font-size: 12px; letter-spacing: .06em; background: var(--gold); color: var(--gold-ink); border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }
.seg.wallets .seg-btn { font-size: 14px; padding: 10px 14px; }
.waiting { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark-2); font-weight: 700; margin: 8px 0 4px; }
.spinner.small { width: 28px; height: 28px; border-width: 4px; }
.sms { max-width: 420px; margin: 8px auto 12px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 12px 14px 14px; text-align: left; }
.sms-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.sms-head svg { color: var(--gold-dark); } .sms-head small { margin-left: auto; font-size: 13px; }
.sms-bubble { background: var(--green-soft); color: var(--ink); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.sim-row { display: flex; gap: 8px; }
.sim-row .btn { flex: 1; min-height: 44px; padding: 8px 10px; font-size: 13px; }
@media (max-width: 520px) { .methods-secondary { grid-template-columns: 1fr; } }

/* ---- cash screen */
.counter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px 18px; color: var(--ink); }
.counter .bar { height: 14px; background: #eef0f3; border-radius: 999px; overflow: hidden; margin-top: 14px; padding: 0; display: block; }
.counter .bar i { display: block; height: 100%; background: var(--green); transition: width .3s; }
.notes-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; min-height: 36px; }
.chip { background: #fff3cc; color: #5a3f00; border-radius: 4px; padding: 6px 14px; font-weight: 700; font-size: 15px; animation: pop .25s ease-out; }
.chip.credit { background: #e6f5ec; color: var(--green-dark); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.acceptor { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 32px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.acceptor .slot { width: 240px; height: 26px; border-radius: 8px; background: var(--ink); border: 3px solid #8d98a6; position: relative; }
.acceptor .light { position: absolute; left: 10px; right: 10px; top: 8px; height: 4px; border-radius: 4px; background: var(--green); box-shadow: 0 0 14px var(--green); animation: breathe 1.6s infinite; }
.acceptor.ready .light { animation: none; opacity: .6; }
.acceptor.accept .slot { animation: slotAccept .5s; }
.acceptor.reject .light { background: var(--red); box-shadow: 0 0 14px var(--red); animation: blink .25s 4; }
@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes blink { 50% { opacity: .1; } }
@keyframes slotAccept { 30% { transform: translateY(6px); border-color: var(--green); } }
.acceptor p { font-size: 16px; line-height: 1.45; max-width: 360px; margin: 0; color: var(--on-dark-2); }
.denoms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.denoms span { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 6px 12px; font-weight: 700; color: var(--green-dark); }

.demo-notes { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 14px; margin: 0 0 12px; color: var(--ink); }
.demo-notes p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.demo-notes p svg { color: var(--gold-dark); flex: none; margin-top: 1px; }
.sim-notes.inline { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sim-notes.inline .banknote { height: 56px; font-size: 17px; }
.sim-notes.inline .banknote small { font-size: 12px; }
@media (max-width: 640px) { .sim-notes.inline { grid-template-columns: repeat(4, 1fr); } }

/* ---- done / error / busy */
.done { text-align: center; padding-top: 48px; }
.done .card { text-align: left; }
.done .actions { justify-content: center; }
.big-check { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; animation: pop .4s cubic-bezier(.2, 1.4, .5, 1); }
.big-check svg { width: 64px; height: 64px; }
.big-check.red { color: var(--red); } .big-check.amber { color: var(--amber); } .big-check.gold { color: var(--gold-dark); }
.busy { height: 100%; display: grid; place-items: center; align-content: center; gap: 20px; font-size: 22px; }
.spinner { width: 72px; height: 72px; border-radius: 50%; border: 7px solid rgba(20, 33, 61, .12); border-top-color: var(--green-dark); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.receipt.inline { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 16px; border-radius: var(--radius); font-size: 14px; text-align: left; overflow: auto; }

/* ---- attract */
.attract { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--green), var(--green-deep) 75%); color: var(--on-band); display: grid; grid-template-rows: 1fr auto auto auto; cursor: pointer; }
.slides { position: relative; }
.slide { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 10%; opacity: 0; animation: slideShow 15s infinite; }
.slide h1 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 16px; line-height: 1.1; color: #fff; text-transform: none; letter-spacing: -.01em; }
.slide p { font-size: clamp(18px, 2vw, 26px); color: var(--on-band-2); margin: 0; }
@keyframes slideShow { 0%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(12px); } }
.attract-cta { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 24px; }
.pulse { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: ring 1.6s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }
.attract-strip { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 24px 16px; }
.attract-strip .strip-cat { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; background: #fff; color: var(--ink); border-radius: 4px; padding: 10px 18px; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.attract-strip .strip-cat svg { color: var(--gold-dark); }
.attract-strip .strip-cat:active { background: var(--green-soft); }
.attract-legal { margin: 0; padding: 0 24px 18px; text-align: center; font-size: 13px; font-weight: 700; color: var(--on-band-2); }

/* ---- service menu */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; color: var(--ink); }
.stat span { color: var(--muted); font-size: 14px; font-weight: 700; } .stat b { font-size: 30px; font-weight: 900; } .stat small { color: var(--ink-2); font-size: 13px; }
.journal { display: grid; gap: 6px; }
.jrow { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-size: 15px; color: var(--ink); }
.jrow .grow { flex: 1; min-width: 0; line-height: 1.3; }
.jrow .dim { color: var(--muted); font-size: 13px; }
.jrow .st { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6f5ec; color: var(--green-dark); }
.jrow .st.credit { background: #fff3d6; color: #7a5300; } .jrow .st.failed { background: #fdecec; color: var(--red-dark); }

/* ---- printer */
.printer { position: absolute; top: 0; right: 36px; width: 320px; z-index: 30; transform: translateY(-105%); transition: transform .9s cubic-bezier(.3, .8, .3, 1); display: grid; justify-items: center; gap: 10px; }
.printer.out { transform: translateY(80px); }
.paper { width: 100%; max-height: calc(100vh - 290px); overflow: auto; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(20, 33, 61, .3); padding: 16px 14px 20px; position: relative; }
.paper pre { margin: 0; font: 13.5px/1.4 Consolas, "Courier New", monospace; white-space: pre; }
.tear { position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(135deg, transparent 50%, #fff 50%) 0 0 / 12px 12px, linear-gradient(-135deg, transparent 50%, #fff 50%) 0 0 / 12px 12px; }
.printer .take { margin-top: 14px; }
@media (min-width: 900px) { .kiosk.receipt-out .screen .wrap { margin-right: 360px; } }
@media (min-width: 480px) and (max-width: 899px) { .printer { width: 272px; right: 12px; } .paper pre { font-size: 12.5px; } .kiosk.receipt-out .screen .wrap { margin-right: 290px; } }
@media (max-width: 479px) { .printer { width: 250px; right: 8px; } .paper pre { font-size: 12px; } }

/* ---- toast + modal */
.toast { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 4px; font-size: 15px; font-weight: 900; text-transform: uppercase; z-index: 40; animation: pop .2s; max-width: 92vw; text-align: center; }
.toast.warn { background: var(--red); color: #fff; } .toast.ok { background: var(--green); color: #fff; }
.modal { position: absolute; inset: 0; background: rgba(20, 33, 61, .55); display: grid; place-items: center; z-index: 50; }
.modal-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 32px; width: min(620px, 92vw); box-shadow: 0 20px 60px rgba(20, 33, 61, .3); animation: pop .25s; }
.modal-card h2 { margin: 0 0 10px; font-size: 26px; color: var(--ink); text-transform: none; }
.modal-card p { font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.modal-card .input-row { border-color: var(--line); } .modal-card .input-row.active { border-color: var(--gold); }
.modal-card .btn.ghost { border-color: var(--line); }
.help { font-size: 18px; line-height: 1.6; padding-left: 24px; }

/* ---- simulator */
.sim { position: fixed; right: 0; top: 50%; transform: translate(100%, -50%); width: 340px; background: #fff; color: var(--ink); border-radius: var(--radius) 0 0 var(--radius); border: 1px solid var(--line); box-shadow: -8px 0 30px rgba(20, 33, 61, .2); transition: transform .3s; z-index: 60; font-size: 14px; }
.sim.open { transform: translate(0, -50%); }
.sim-tab { position: absolute; left: -120px; top: 50%; width: 190px; transform: translateY(-50%) rotate(-90deg); transform-origin: center; background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 4px 4px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; white-space: nowrap; text-transform: uppercase; font-size: 13px; }
.sim-body { padding: 18px 20px; display: grid; gap: 10px; }
.sim-body h3 { margin: 0; font-size: 18px; } .sim-body h4 { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sim-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.banknote { height: 46px; border-radius: 4px; color: #fff; display: grid; place-items: center; line-height: 1; font-weight: 800; font-size: 18px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.banknote small { font-size: 8px; font-weight: 600; opacity: .85; letter-spacing: .1em; }
.banknote.n1 { background: #6b7f6e; } .banknote.n2 { background: #7d8d6a; } .banknote.n5 { background: #8d6e9a; } .banknote.n10 { background: #b06e22; } .banknote.n20 { background: #4f8f5f; } .banknote.n50 { background: #b05a7a; } .banknote.n100 { background: #4a7bb7; }
.banknote.bad { background: #333; }
.switch { display: flex; align-items: center; gap: 10px; padding: 6px 0; min-height: 36px; }
.switch input { width: 20px; height: 20px; accent-color: var(--green-dark); }

/* a full text keyboard needs the whole width below 1200 px, or its keys shrink under 44 px */
@media (max-width: 1200px) { .wrap.split.kb-text { grid-template-columns: 1fr; } }

/* ---- portrait kiosk + narrow viewports */
@media (max-width: 1000px), (orientation: portrait) {
  .wrap.split { grid-template-columns: 1fr; }
  .kb.num { max-width: none; }
  .bottom-mid { display: none; }
  .stats { grid-template-columns: 1fr; }
  .betslip .pane:last-child { order: -1; }
  .betslip .kb.num { max-width: 520px; }
}
@media (max-width: 860px) {
  .mx-head { display: none; }
  .mx-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ko more" "teams teams" "odds odds"; gap: 8px 12px; padding: 10px 12px; }
  .mx-odds { justify-content: stretch; }
  .mx-odds .odd { flex: 1; width: auto; }
  .mx-market .odd { flex: 1; width: auto; }
  .mx-market > span:first-child { flex-basis: 100%; }
  .slipbar { padding: 12px 16px; }
}
@media (max-width: 760px) { .actions-row { grid-template-columns: 1fr; } .tile.action { min-height: 72px; } }
@media (max-width: 640px) {
  .kiosk { grid-template-rows: auto 1fr 64px; }
  .hdr { grid-template-rows: 48px 64px auto; }
  .hdr-phone b { font-size: 22px; } .hdr-phone span { display: none; }
  .brand-name { font-size: 20px; }
  .top-mid { display: none; }
  .nav-item { height: 60px; font-size: 12px; padding: 4px 12px; }
  .wrap { padding: 18px 16px; }
  h1 { font-size: 22px; }
  .key { height: 52px; font-size: 20px; }
  .kb.num .key { height: 64px; }
  .btn.huge { min-width: 0; width: 100%; }
  .btn.big { min-width: 0; flex: 1; }
  .slipbar { flex-direction: column; align-items: stretch; }
  .bottom-left, .bottom-right { min-width: 0; }
  .bar.bottom .btn { padding: 10px 12px; } .bar.bottom .btn span { display: none; } .bar.bottom .btn svg { margin: 0; }
}
@media (max-width: 520px) { .kiosk-grid { grid-template-columns: repeat(2, 1fr); } .home-top { flex-direction: column; align-items: stretch; } }
@media (max-width: 480px) {
  .kb.text .kb-row { flex-wrap: wrap; }
  .kb.text .key { flex: 1 0 48px; min-width: 48px; }
  .kb.text .key.space { flex: 2 0 100px; }
  .printer { left: 8px; right: 8px; width: auto; }
  .printer.out { transform: translateY(8px); }
  .paper { max-height: calc(100dvh - 240px); }
  .jrow { flex-wrap: wrap; row-gap: 6px; }
  .jrow .grow { flex-basis: 100%; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .printer { right: 8px; }
  .sim { width: 300px; }
}
/* on a phone the simulator docks above the bottom bar, with a narrow upright tab that covers nothing */
@media (max-width: 640px) {
  .sim { top: auto; bottom: 72px; transform: translate(100%, 0); border-radius: var(--radius) 0 0 0; max-height: calc(100dvh - 140px); overflow: auto; }
  .sim.open { transform: none; }
  .sim-tab { top: auto; bottom: 0; left: -40px; width: 40px; height: 170px; padding: 10px 0; transform: none; writing-mode: vertical-rl; rotate: 180deg; border-radius: 0 4px 4px 0; font-size: 12px; }
  .sim-tab svg { rotate: 90deg; }
}
