@font-face { font-family: "Pricedown"; src: url(assets/fonts/pricedown.woff2) format("woff2"); font-display: block; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #140f22; --panel: rgba(24, 17, 40, 0.86); --line: rgba(255, 255, 255, 0.1);
  --pink: #ff3ea5; --cyan: #29d3e8; --gold: #ffd640; --red: #e8312f; --text: #f4eefc; --dim: #a99cc2;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
body { overscroll-behavior: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.pd { font-family: Pricedown, Impact, sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; }
kbd { background: rgba(255,255,255,.1); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 12px; }

#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; filter: saturate(1.1) brightness(0.55) blur(1.5px); transform: scale(1.04); }
.screen { position: relative; z-index: 1; display: none; min-height: 100vh; min-height: 100dvh; }
.screen.show { display: block; }
#title { background: radial-gradient(ellipse at 50% 10%, rgba(255,90,90,.25), transparent 55%), linear-gradient(180deg, rgba(20,15,34,.2), rgba(20,15,34,.85) 75%, var(--bg)); padding: 0 20px 30px; }

.top { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 18px 0; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .pd { font-size: 30px; color: #fff; text-shadow: 3px 3px 0 #000; }
.tick { font-weight: 800; font-size: 13px; color: var(--gold); letter-spacing: .06em; }
.topr { display: flex; gap: 8px; }
.chip { background: rgba(255,255,255,.08); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--text); backdrop-filter: blur(8px); }
.chip.on { border-color: var(--cyan); color: var(--cyan); }

.hero { text-align: center; max-width: 820px; margin: 4vh auto 0; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .18em; font-size: 12px; text-transform: uppercase; color: var(--gold); background: rgba(0,0,0,.45); border: 1px solid rgba(255,214,64,.35); padding: 7px 14px; border-radius: 999px; }
.logo { font-size: clamp(84px, 17vw, 190px); margin: 18px 0 8px; color: var(--red); text-shadow: 0 0 1px #000, 5px 5px 0 #000, 0 0 60px rgba(232,49,47,.35); animation: flick 6s infinite; }
@keyframes flick { 0%, 92%, 100% { opacity: 1 } 93% { opacity: .6 } 94% { opacity: 1 } 96% { opacity: .75 } }
.tag { font-size: clamp(16px, 2.3vw, 20px); line-height: 1.5; color: #e9e1f7; margin: 6px auto 22px; max-width: 560px; }
.tag b { color: #fff; }
.cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 15px; background: rgba(255,255,255,.1); border: 1px solid var(--line); transition: transform .12s, filter .12s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.big { background: linear-gradient(180deg, #ff5bb4, #e01f86); border: 0; box-shadow: 0 8px 30px rgba(255,62,165,.4), inset 0 -3px 0 rgba(0,0,0,.25); font-size: 17px; padding: 15px 30px; }
.btn.ghost { background: rgba(0,0,0,.35); }
.btn.x { background: #000; border-color: #333; }
.ca { margin: 22px auto 0; display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.5); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; max-width: 100%; }
.ca .lbl { font-weight: 800; color: var(--gold); }
.ca #caText { font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.ca .copy { font-weight: 800; color: var(--cyan); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 900px; margin: 34px auto 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; backdrop-filter: blur(10px); }
.stat .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.stat .v { font-size: 24px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
#sTimer { color: var(--gold); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; margin: 10px auto 0; }
.step { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; backdrop-filter: blur(10px); }
.step .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-weight: 800; }
.step b { display: block; margin-bottom: 3px; }
.step span { font-size: 13.5px; color: var(--dim); line-height: 1.45; }
.pts { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; align-items: center; max-width: 900px; margin: 14px auto 0; font-size: 14px; }
.pts b { background: rgba(255,255,255,.07); border: 1px solid var(--line); padding: 4px 9px; border-radius: 8px; font-weight: 800; }
.pts b.gold { color: var(--gold); border-color: rgba(255,214,64,.4); }
.pts .dim { color: var(--dim); width: 100%; text-align: center; }
.foot { text-align: center; color: rgba(255,255,255,.3); font-size: 12px; margin-top: 28px; }

/* setup */
#setup { display: none; place-items: center; padding: 20px; background: rgba(10,7,18,.55); }
#setup.show { display: grid; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.setupPanel { width: min(560px, 100%); }
.setupPanel h2, .boardPanel h2, .pauseOv h2 { font-size: 40px; margin: 0 0 14px; color: #fff; text-shadow: 3px 3px 0 #000; text-align: center; }
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.char { border-radius: 14px; overflow: hidden; border: 3px solid transparent; position: relative; background: #000; padding: 0; }
.char canvas { display: block; width: 100%; aspect-ratio: 1; }
.char span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px; font-weight: 800; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.char.on { border-color: var(--gold); box-shadow: 0 0 22px rgba(255,214,64,.45); }
.row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.lab { width: 52px; font-weight: 800; color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 34px; height: 34px; border-radius: 10px; border: 3px solid rgba(255,255,255,.15); }
.sw.on { border-color: #fff; transform: scale(1.1); }
#nameIn, #walletIn { flex: 1; min-width: 0; background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: #fff; font: 600 16px Inter, sans-serif; outline: none; }
#nameIn:focus, #walletIn:focus { border-color: var(--pink); }
#walletIn { font: 500 13.5px ui-monospace, Menlo, monospace; }
#walletIn.bad { border-color: #ff4d4d; }
.earn { margin: 16px 0; background: rgba(0,0,0,.35); border: 1px dashed rgba(255,255,255,.18); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; color: var(--dim); line-height: 1.45; }
.earn b { color: #fff; } .earn .ok { color: #7cff6b; } .earn button { color: var(--cyan); font-weight: 800; text-decoration: underline; }
.keys { text-align: center; color: var(--dim); font-size: 12.5px; margin: 14px 0 0; }

/* game */
#game { position: fixed; inset: 0; min-height: 0; z-index: 3; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; transition: filter 1.1s ease; }
#game.dead #view { filter: grayscale(1) contrast(1.15) brightness(.8); }
.hud { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s; }
#game.dead .hud, #game.dead .touch { opacity: 0; pointer-events: none; }
.lnk { color: var(--cyan); font-weight: 800; text-decoration: underline; }
.hudTL { position: absolute; left: max(16px, env(safe-area-inset-left)); top: max(14px, env(safe-area-inset-top)); }
.lvl { font-size: 34px; color: #fff; text-shadow: 3px 3px 0 #000; }
.time { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; text-shadow: 2px 2px 0 #000; margin-top: 2px; }
.hudTR { position: absolute; right: max(16px, env(safe-area-inset-right)); top: max(14px, env(safe-area-inset-top)); text-align: right; }
.stars { font-size: 30px; letter-spacing: 2px; color: rgba(255,255,255,.25); text-shadow: 2px 2px 0 #000; }
.stars i { font-style: normal; color: #fff; }
.stars.flash i { animation: starf .5s steps(1) infinite; }
@keyframes starf { 50% { color: rgba(255,255,255,.25); } }
.hudBtns { margin-top: 6px; display: flex; gap: 6px; justify-content: flex-end; pointer-events: auto; }
.ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,0,.5); border: 1px solid var(--line); font-size: 15px; }
.hudBL { position: absolute; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
#mini { width: 150px; height: 150px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.bars { display: flex; gap: 4px; margin-top: 6px; width: 150px; }
.bar { flex: 1; height: 8px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; transition: width .1s; }
.bar.hp i { background: linear-gradient(90deg, #3fd35c, #7cff6b); }
.bar.bust i { background: linear-gradient(90deg, #3b7bff, #ff3049); width: 0; }
.bustTxt { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font-size: 54px; color: #ff3049; text-shadow: 3px 3px 0 #000; opacity: 0; transition: opacity .15s; }
.touch { position: absolute; left: 0; right: 0; bottom: 0; display: none; justify-content: space-between; align-items: flex-end; padding: 0 max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); pointer-events: none; }
.touch.on { display: flex; }
.touch .tl, .touch .tr { display: flex; gap: 10px; align-items: flex-end; pointer-events: auto; }
.touch .tl { margin-left: 160px; }
.touch .stick { margin-left: 0; }
.touch button { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); font-size: 26px; font-weight: 800; backdrop-filter: blur(6px); }
.touch button.sm { width: 60px; height: 60px; font-size: 11px; }
.touch button.gas { width: 92px; height: 92px; background: rgba(255,62,165,.35); border-color: rgba(255,62,165,.8); font-size: 16px; }
.touch button.down { background: rgba(255,255,255,.35); transform: scale(.95); }
@media (max-width: 640px) { .touch .tl { margin-left: 0; } .hudBL { bottom: auto; top: 70px; left: max(12px, env(safe-area-inset-left)); } #mini { width: 104px; height: 104px; } .bars { width: 104px; } .lvl { font-size: 26px; } .stars { font-size: 24px; } }

.banner { position: absolute; left: 0; right: 0; top: 34%; text-align: center; pointer-events: none; opacity: 0; transform: scale(1.1); transition: opacity .3s, transform .3s; }
.banner.show { opacity: 1; transform: none; }
.banner .big { font-size: clamp(54px, 10vw, 104px); color: var(--gold); text-shadow: 4px 4px 0 #000; }
.banner .sub { font-weight: 800; font-size: 20px; margin-top: 8px; text-shadow: 2px 2px 0 #000; }
.pauseOv { position: absolute; inset: 0; display: none; place-items: center; background: rgba(0,0,0,.55); }
.pauseOv.show { display: grid; }

/* the iconic one */
.failOv { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; }
.failOv.show { display: flex; }
.band { width: 100%; text-align: center; padding: 22px 10px 18px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.72) 18%, rgba(0,0,0,.72) 82%, transparent); opacity: 0; transform: scaleY(.6); transition: opacity .35s, transform .35s; }
.failOv.show .band { opacity: 1; transform: none; }
.failTitle { font-size: clamp(64px, 12vw, 132px); color: #c8201e; text-shadow: 3px 3px 0 #000; }
.failTitle.passed { color: var(--gold); }
.failSub { font-size: clamp(16px, 2.4vw, 22px); font-weight: 600; margin-top: 8px; color: #fff; }
.results { margin-top: 24px; width: min(560px, calc(100% - 28px)); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; pointer-events: none; backdrop-filter: blur(12px); }
.results.show { opacity: 1; transform: none; pointer-events: auto; }
.resStats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.resStats div { background: rgba(0,0,0,.35); border-radius: 12px; padding: 10px; text-align: center; }
.resStats span { display: block; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.resStats b { font-size: 20px; color: var(--gold); }
.resNote { text-align: center; font-size: 13.5px; color: var(--dim); margin-bottom: 12px; line-height: 1.45; }
.resNote b { color: #fff; }
.cta.small { margin-top: 10px; } .cta.small .btn { padding: 9px 16px; font-size: 13px; }

/* leaderboard */
.modal { position: fixed; inset: 0; z-index: 10; display: none; place-items: center; background: rgba(5,3,10,.7); padding: 16px; }
.modal.show { display: grid; }
.boardPanel { width: min(620px, 100%); max-height: 86vh; display: flex; flex-direction: column; }
.boardHead { display: flex; justify-content: center; position: relative; }
.boardHead .close { position: absolute; right: 0; top: 0; }
.tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 8px; }
.tab { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 600; font-size: 14px; }
.tab.on { background: var(--pink); }
.boardMeta { text-align: center; color: var(--dim); font-size: 13px; margin-bottom: 10px; }
.boardList { overflow: auto; }
.lb { display: grid; grid-template-columns: 34px 40px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lb .r { font-weight: 800; color: var(--dim); text-align: center; }
.lb:nth-child(1) .r { color: var(--gold); } .lb:nth-child(2) .r { color: #dfe3ee; } .lb:nth-child(3) .r { color: #f0a36a; }
.lb .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .nm small { color: var(--dim); font-weight: 400; margin-left: 6px; }
.lb .st { color: var(--gold); letter-spacing: 1px; }
.lb .tm { font-variant-numeric: tabular-nums; color: var(--dim); width: 52px; text-align: right; }
.lb.me { background: rgba(255,62,165,.12); border-radius: 10px; }
.empty { text-align: center; color: var(--dim); padding: 30px 10px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #000; border: 1px solid var(--line); padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; transition: .25s; z-index: 20; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .chars { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .brand .pd { font-size: 24px; }
}
.desk { } @media (hover: none) { .desk { display: none; } }
@media (max-width: 480px) {
  .top { padding: 12px 0; }
  .brand .pd { font-size: 22px; white-space: nowrap; }
  .tick { display: none; }
  .chip { padding: 8px 12px; font-size: 13px; }
  .touch { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .touch .tl, .touch .tr { gap: 7px; }
  .touch button { width: 64px; height: 64px; font-size: 22px; }
  .touch button.sm { width: 50px; height: 50px; font-size: 9.5px; }
  .touch button.gas { width: 78px; height: 78px; font-size: 14px; }
}

.pts { flex-direction: row; }
.ptsHead { width: 100%; text-align: center; font-weight: 800; font-size: 15px; }
.pts b.plain { background: none; border: 0; padding: 0; color: #fff; }
.howPanel { width: min(680px, 100%); max-height: 90vh; overflow: auto; }
.howGoal { display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; margin-bottom: 14px; }
.howGoal .y { color: var(--gold); font-weight: 800; } .howGoal .r { color: #ff4d4d; font-weight: 800; }
.ctrls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ctrl { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13.5px; display: grid; gap: 6px; }
.ctrl .ch { font-weight: 800; font-size: 15px; }
.lvls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; color: var(--dim); margin-bottom: 12px; }
.lvls b { color: var(--gold); margin-right: 4px; }
.howTip { font-size: 13.5px; color: var(--cyan); text-align: center; margin-bottom: 14px; }
.hint { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); background: rgba(0,0,0,.72); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-weight: 600; font-size: 15px; text-align: center; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 2; line-height: 1.6; }
.hint.show { opacity: 1; }
#game.mouse #view { cursor: crosshair; }
@media (max-width: 640px) { .ctrls { grid-template-columns: 1fr; } .lvls { grid-template-columns: 1fr; } .hint { bottom: 210px; font-size: 13px; width: 86%; } }

.lb .av { width: 40px; height: 40px; border-radius: 9px; display: block; }
.boardMeta.note { color: var(--gold); }

/* Leonida sunset behind the title */
.sky { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100dvh; z-index: -1; pointer-events: none;
  background: url(assets/leonida.svg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
#title { isolation: isolate; background: linear-gradient(180deg, rgba(20,15,34,0) 0, rgba(20,15,34,.0) 55vh, rgba(20,15,34,.85) 100vh, var(--bg) 140vh); }
.logo { text-shadow: 0 0 1px #000, 6px 6px 0 #000, 0 0 70px rgba(255,80,60,.45); }
.tag { text-shadow: 0 2px 10px rgba(0,0,0,.6); }

.nowallet { display: flex; gap: 14px; align-items: flex-start; max-width: 900px; margin: 10px auto 0; background: linear-gradient(90deg, rgba(41,211,232,.14), rgba(24,17,40,.86)); border: 1px solid rgba(41,211,232,.35); border-radius: 14px; padding: 16px; backdrop-filter: blur(10px); }
.nowallet .nwIcon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cyan); color: #04121a; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.nowallet b { display: block; font-size: 16px; margin-bottom: 4px; }
.nowallet span { font-size: 14px; color: #d6cce8; line-height: 1.5; }
.nowallet .hl { color: var(--gold); font-weight: 800; }

/* loading intro */
.intro { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; align-items: center; justify-content: center; transition: opacity .6s ease, visibility .6s; cursor: pointer; }
.intro.out { opacity: 0; visibility: hidden; }
.intro.skip { display: none; }
.introBand { width: 100%; text-align: center; padding: 26px 0 30px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.06) 20%, rgba(255,255,255,.06) 80%, transparent); transform: scaleY(0); animation: bandIn .45s .25s cubic-bezier(.2,.8,.2,1) forwards; }
.introTitle { font-size: clamp(64px, 13vw, 150px); color: #c8201e; text-shadow: 4px 4px 0 #000; opacity: 0; animation: titleIn .5s .55s forwards; }
.introSub { margin-top: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: #bbb; opacity: 0; animation: titleIn .4s 1.05s forwards; }
.introBar { width: min(260px, 60vw); height: 3px; margin: 14px auto 0; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; opacity: 0; animation: titleIn .3s 1.05s forwards; }
.introBar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff3ea5, #ffd640); animation: load 1.3s 1.1s ease-in-out forwards; }
@keyframes bandIn { to { transform: none; } }
@keyframes titleIn { from { opacity: 0; transform: scale(1.12); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes load { to { width: 100%; } }

.step .hl { color: var(--gold); font-weight: 800; }
.btn.conn { padding: 11px 14px; font-size: 13.5px; flex: none; }

/* driver screen: payout options */
.payBox { margin: 16px 0 6px; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.payHead { font-weight: 800; font-size: 15px; margin-bottom: 10px; } .payHead span { color: var(--dim); font-weight: 400; font-size: 13px; }
.payOpt { display: flex; gap: 12px; align-items: flex-start; }
.payN { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 1px; }
.payBody { flex: 1; min-width: 0; display: grid; gap: 7px; } .payBody b { font-size: 14px; }
.payBody small { color: var(--dim); font-size: 12.5px; line-height: 1.45; } .payBody small b { color: var(--gold); font-size: 12.5px; }
.payBody #walletIn { width: 100%; }
.payBody .conn { justify-self: start; }
.payOr { text-align: center; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; margin: 10px 0; display: flex; align-items: center; gap: 10px; }
.payOr::before, .payOr::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.payBox .earn { margin: 12px 0 0; }
.payBox.has .payOr, .payBox.has .payOpt + .payOr + .payOpt { display: none; }
/* phone joystick */
.stick { position: relative; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.25); pointer-events: auto; touch-action: none; backdrop-filter: blur(6px); }
.stick .ar { position: absolute; color: rgba(255,255,255,.55); font-size: 16px; }
.stick .u { top: 8px; left: 50%; transform: translateX(-50%); } .stick .d { bottom: 8px; left: 50%; transform: translateX(-50%); }
.stick .l { left: 10px; top: 50%; transform: translateY(-50%); } .stick .r { right: 10px; top: 50%; transform: translateY(-50%); }
.stick i { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,62,165,.55); border: 2px solid rgba(255,255,255,.6); transition: transform .06s; }
@media (max-width: 480px) { .stick { width: 128px; height: 128px; } .stick i { width: 52px; height: 52px; margin: -26px 0 0 -26px; } }
