:root {
  /* palette and type from ronkeverse.fun */
  --bg: #07080c;
  --panel: rgba(15, 18, 25, .94);
  --panel2: rgba(255, 255, 255, .04);
  --line: #1c2130;
  --text: #eaf0f7;
  --muted: #9aa4b4;
  --ronin: #27b9fc;        /* site accent (cyan) */
  --ronin2: #5ccbff;
  --on-accent: #06121a;
  --gold: #ffcb3d;
  --home: #27b9fc;
  --away: #ffcb3d;
  --display: 'Luckiest Guy', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --body: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --data: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; height: 100dvh; overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; background: var(--bg); color: var(--text);
  font-family: var(--body); -webkit-user-select: none; user-select: none; touch-action: none; }
canvas#game { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
body { background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 22px 22px; }
.hidden { display: none !important; }
button { font-family: inherit; }

/* ---------- panels ---------- */
.panel { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow: auto; padding: 22px;
  background: linear-gradient(160deg, rgba(39, 185, 252, .16), rgba(15, 18, 25, .0) 40%), var(--panel);
  border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: rise .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
#logoBall { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(39, 185, 252, .55)); }
.logo { font-family: var(--display); font-size: 42px; font-weight: 400; letter-spacing: 1px; line-height: 1; padding-top: 4px; }
.logo span { color: var(--gold); }
.tag { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.field { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  font-weight: 600; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
input { flex: 1; max-width: 250px; background: var(--panel2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; }
input:focus { outline: none; border-color: var(--ronin2); box-shadow: 0 0 0 3px rgba(92, 203, 255, .2); }

.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lbl { font-weight: 600; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.seg { display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; background: var(--panel2); border: 1px solid var(--line);
  border-radius: 11px; padding: 3px; }
.seg button { background: transparent; color: var(--muted); border: 0; border-radius: 8px; padding: 6px 10px;
  font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--ronin); color: var(--on-accent); box-shadow: 0 4px 12px rgba(39, 185, 252, .45); }
.desc { margin: -2px 0 12px; font-size: 12.5px; color: var(--muted); text-align: right; min-height: 16px; }

button.big { width: 100%; margin-top: 10px; border: 0; border-radius: 12px; padding: 14px 15px 11px; cursor: pointer; color: var(--on-accent);
  font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: 2px;
  background: linear-gradient(180deg, #5ccbff, var(--ronin)); box-shadow: 0 10px 26px rgba(39, 185, 252, .45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .08s, box-shadow .15s; }
button.big:hover { box-shadow: 0 12px 34px rgba(39, 185, 252, .65), inset 0 1px 0 rgba(255,255,255,.35); }
button.big:active { transform: translateY(1px) scale(.99); }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 14px; color: var(--muted); font-size: 12.5px; }
kbd { font: 600 11px var(--data); background: var(--panel2); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 2px 6px; color: var(--text); margin-right: 3px; }
.btns { display: flex; gap: 8px; align-items: stretch; }
.btns .big { margin-top: 0; flex: 2; }
.btns button:not(.big) { flex: 1; background: var(--panel2); color: var(--text); border: 1px solid var(--line);
  border-radius: 14px; font-weight: 700; cursor: pointer; }
h2 { margin: 0 0 6px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 1px; }

/* ---------- result ---------- */
.resScore { text-align: center; font-family: var(--display); font-size: 64px; font-weight: 400; line-height: 1.1; margin-bottom: 12px; }
.mvp { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; padding: 10px 14px; margin-bottom: 12px;
  border-radius: 14px; background: linear-gradient(90deg, rgba(255, 196, 64, .18), rgba(255, 196, 64, 0)); border: 1px solid rgba(255, 196, 64, .3); }
.mvp small { grid-row: span 2; font-family: var(--display); font-weight: 700; color: #ffc440; letter-spacing: 2px; }
.mvp i { width: 14px; height: 14px; border-radius: 50%; }
.mvp b { font-size: 16px; }
.mvp span { grid-column: 2 / 4; color: var(--muted); font-size: 13px; }
table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13px; font-family: var(--data); }
th { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; text-align: center; padding: 4px; }
td { text-align: center; padding: 7px 4px; border-top: 1px solid var(--line); }
td:first-child { text-align: left; font-weight: 600; }
td i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }
tr.me td { color: var(--ronin2); }
tr.pos td { color: var(--muted); text-align: center; font-weight: 600; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; }
.score { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: stretch; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.side { display: flex; align-items: center; gap: 10px; padding: 6px 14px; font-family: var(--display); }
.side b { font-family: var(--data); font-weight: 800; font-size: 28px; line-height: 1; min-width: 22px; text-align: center; }
.tname { font-family: var(--display); font-size: 14px; letter-spacing: 1px; opacity: .9; padding-top: 3px; }
.t0 { color: var(--on-accent); background: linear-gradient(90deg, rgba(21, 131, 201, .95), var(--home)); clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%); border-radius: 12px 0 0 12px; padding-left: 18px; }
.t1 { color: #2a1d00; background: linear-gradient(90deg, var(--away), rgba(217, 154, 18, .95)); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); border-radius: 0 12px 12px 0; padding-right: 18px; }
.side.bump b { animation: bump .6s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes bump { 30% { transform: scale(1.7); } }
.mid { background: rgba(7, 8, 12, .92); display: flex; align-items: center; padding: 0 12px; }
#clock { font-family: var(--data); font-weight: 700; font-size: 16px; min-width: 50px; text-align: center; font-variant-numeric: tabular-nums; }
#clock.low { color: #ff6b5b; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .45; } }

/* boost meter: three shields, the next one fills while recharging */
#boost { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 8px;
  padding: 8px 12px; border-radius: 14px; background: rgba(7, 8, 12, .7); border: 1px solid var(--line); }
#boost i { --f: 1; position: relative; width: 22px; height: 26px; background: rgba(255, 255, 255, .12);
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 64%, 50% 100%, 0 64%, 0 10%); overflow: hidden; }
#boost i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: linear-gradient(0deg, var(--ronin), #7ee0ff); }
#boost i.full::after { box-shadow: 0 0 12px #7ee0ff; }
#boost.burst { box-shadow: 0 0 24px rgba(92, 203, 255, .6); }

/* countdown */
#banner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
#banner.count b { font-family: var(--display); font-size: clamp(64px, 12vw, 120px); line-height: 1; text-shadow: 0 6px 30px rgba(39, 185, 252, .8); animation: tick .8s ease-out; }
#banner.count small { font-family: var(--display); font-size: 18px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
@keyframes tick { from { transform: scale(1.8); opacity: 0; } 40% { opacity: 1; } }

/* goal: a coloured band sweeps through, the word slams in, the scorer card slides up */
#banner.goal { overflow: hidden; }
#banner.goal .band { position: absolute; left: -10%; right: -10%; top: 50%; height: 150px; margin-top: -105px; transform: skewY(-6deg);
  background: linear-gradient(90deg, transparent, var(--c) 18%, var(--c) 82%, transparent); opacity: .88;
  animation: band .7s cubic-bezier(.2, .9, .2, 1) both; mix-blend-mode: screen; }
#banner.goal .band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 22px); }
#banner.goal .gword { position: relative; margin-top: -60px; font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(70px, 14vw, 150px); letter-spacing: 6px; color: #fff; line-height: 1;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, .35), 0 0 40px var(--c); animation: slam .5s .12s cubic-bezier(.3, 1.6, .5, 1) both; }
#banner.goal .gcard { position: relative; margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 12px;
  background: rgba(7, 8, 12, .85); border: 1px solid rgba(255, 255, 255, .15); font-weight: 800; animation: card .45s .45s ease-out both; }
#banner.goal .gcard i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
#banner.goal .gcard em { font-style: normal; font-family: var(--display); color: var(--muted); }
@keyframes band { from { transform: skewY(-6deg) translateX(-110%); } }
@keyframes slam { from { transform: scale(3) rotate(-6deg); opacity: 0; } }
@keyframes card { from { transform: translateY(20px); opacity: 0; } }

#replayTag { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  background: rgba(7, 8, 12, .85); border: 1px solid var(--line); color: #fff; font-family: var(--display); font-weight: 700;
  letter-spacing: 2px; padding: 6px 12px; border-radius: 10px; }
#replayTag i { width: 9px; height: 9px; border-radius: 50%; background: #ff4b4b; animation: blink 1s steps(2) infinite; }
#replayTag .sm { display: none; color: var(--ronin2); }
#replayTag.slow .sm { display: inline; }
#replayTag small { font-family: var(--body); font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* ---------- touch ---------- */
#touch { position: fixed; inset: 0; pointer-events: none; }
#stick { position: absolute; left: 40px; bottom: 60px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(39, 185, 252, .1); border: 2px solid rgba(92, 203, 255, .3); opacity: .5; }
#stick.live { opacity: 1; }
#knob { position: absolute; left: 45px; top: 45px; width: 50px; height: 50px; border-radius: 50%; background: rgba(92, 203, 255, .6); }
#touch button { position: absolute; pointer-events: auto; border-radius: 50%; border: 2px solid rgba(92, 203, 255, .45);
  background: rgba(39, 185, 252, .2); color: #fff; font-family: var(--display); font-weight: 700; }
#touch button.down { background: var(--ronin); }
#tKick { right: max(24px, env(safe-area-inset-right)); bottom: 40px; width: 96px; height: 96px; font-size: 16px; }
#tBoost { right: calc(max(24px, env(safe-area-inset-right)) + 104px); bottom: 24px; width: 72px; height: 72px; font-size: 12px; }

@media (max-width: 480px) {
  .row { flex-direction: column; align-items: flex-start; }
  .seg { justify-content: flex-start; }
  .desc { text-align: left; }
  .logo { font-size: 32px; }
  .tname { display: none; }
}

/* ---------- wallet / Ronkeverse avatar ---------- */
.wallet { margin-bottom: 2px; }
.wallet .desc { margin-bottom: 8px; }
.wbtn { display: inline-flex; align-items: center; gap: 8px; background: var(--ronin); color: var(--on-accent); border: 0; border-radius: 10px;
  padding: 8px 12px; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: 0 4px 12px rgba(39, 185, 252, .4); }
.wbtn:disabled { opacity: .6; cursor: wait; }
.rlogo { width: 14px; height: 17px; background: var(--on-accent); clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 64%, 50% 100%, 0 64%, 0 10%); }
.wchip { display: inline-flex; align-items: center; gap: 8px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px 4px 4px; }
.wchip img, .wchip .noav { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ronin2); background: #14181f; }
.wchip span { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wchip button { background: transparent; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; padding: 4px 6px; }
.wchip button:hover { color: var(--text); }
.nftgrid { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin;
  padding: 6px; margin-bottom: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; }
.nftgrid button { position: relative; flex: 0 0 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  background: #14181f; cursor: pointer; transition: transform .1s, border-color .1s; }
.nftgrid button:hover { transform: scale(1.05); }
.nftgrid button.on { border-color: var(--ronin2); box-shadow: 0 0 0 3px rgba(92, 203, 255, .3); }
.nftgrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nftgrid small { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-weight: 700; background: rgba(0, 0, 0, .55); color: #fff; }
.nftgrid .none { color: var(--muted); font-size: 11px; font-weight: 700; }
#banner.goal .gcard i.nft, .mvp i.nft { width: 30px; height: 30px; background-size: cover; background-position: center; border: 2px solid var(--c, var(--ronin2)); }
.mvp i.nft { width: 34px; height: 34px; }

/* ---------- phones & tablets ---------- */
#tPause, #rotateHint { display: none; }
html.touch #tPause { display: flex; position: absolute; pointer-events: auto; top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left));
  width: 42px; height: 42px; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; cursor: pointer;
  background: rgba(7, 8, 12, .7); border: 1px solid var(--line); }
html.touch #tPause i { width: 5px; height: 16px; border-radius: 2px; background: #fff; }
html.touch .keys { display: none; }
/* DRIBBLE MODE: the second main button, gold */
button.big.dribble { background: linear-gradient(180deg, #ffd96b, var(--gold)); color: #1a1200; box-shadow: 0 10px 28px rgba(255, 203, 61, .35); margin-top: 8px; }
button.big.dribble small { font-family: var(--body); font-size: 12px; letter-spacing: 0; margin-left: 6px; opacity: .8; }
button.big.dribble:hover { box-shadow: 0 12px 34px rgba(255, 203, 61, .55); }

/* thumb-sized controls that respect notches */
html.touch #tKick { width: clamp(84px, 22vmin, 112px); height: clamp(84px, 22vmin, 112px); font-size: 16px;
  right: max(18px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
html.touch #tBoost { width: clamp(64px, 16vmin, 84px); height: clamp(64px, 16vmin, 84px); font-size: 12px;
  right: calc(max(18px, env(safe-area-inset-right)) + clamp(84px, 22vmin, 112px) + 10px); bottom: max(14px, env(safe-area-inset-bottom)); }
/* BOTH = kick + boost, just above KICK */
#tBoth { right: max(24px, env(safe-area-inset-right)); bottom: 146px; width: 64px; height: 64px; font-size: 11px; }
html.touch #tBoth { width: clamp(56px, 14vmin, 72px); height: clamp(56px, 14vmin, 72px); font-size: 11px;
  right: calc(max(18px, env(safe-area-inset-right)) + clamp(84px, 22vmin, 112px) / 2 - clamp(56px, 14vmin, 72px) / 2);
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + clamp(84px, 22vmin, 112px) + 10px); }
/* phones (2026-10-07): KICK is a touch anywhere on the right half, so the KICK / BOTH buttons go and BOOST, the one
   button left, takes KICK's place and size. A ring shows where the kick touch landed. */
html.touch #tKick, html.touch #tBoth { display: none; }
html.touch #tBoost { width: clamp(84px, 22vmin, 112px); height: clamp(84px, 22vmin, 112px); font-size: 15px;
  right: max(18px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
#tapRing { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 3px solid rgba(255,255,255,.7); opacity: 0; pointer-events: none; }
#tapRing.on { animation: tapRing .35s ease-out; }
@keyframes tapRing { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(1.25); } }
html.touch #touch button { touch-action: none; -webkit-user-select: none; user-select: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
html.touch #touch button.down { transform: scale(.94); }
html.touch #stick { left: max(30px, env(safe-area-inset-left)); bottom: max(30px, env(safe-area-inset-bottom)); transition: opacity .15s; }
html.touch #boost { bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px 10px; }
html.touch #boost i { width: 18px; height: 22px; }

/* portrait phone: still playable, but nudge toward landscape */
@media (orientation: portrait) and (max-width: 700px) {
  html.touch #rotateHint { display: block; position: absolute; top: 64px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    padding: 6px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--muted);
    background: rgba(7, 8, 12, .75); border: 1px solid var(--line); animation: fadeHint 6s forwards; }
  @keyframes fadeHint { 80% { opacity: 1; } to { opacity: 0; visibility: hidden; } }
  .side { padding: 4px 10px; } .side b { font-size: 22px; } .tname { display: none; }
  html.touch #boost { bottom: auto; top: calc(max(10px, env(safe-area-inset-top)) + 4px); left: auto; right: max(10px, env(safe-area-inset-right)); transform: none; }
  #banner.goal .gword { font-size: 64px; }
  #banner.goal .band { height: 110px; margin-top: -80px; }
}

/* phone held upright during a match: the page is turned on its side, so the game is always landscape
   (--lw / --lh = the screen's height / width, set by game.js). Undo the portrait-only HUD tweaks above. */
html.forceLand body { position: fixed; top: 0; left: 0; width: var(--lw); height: var(--lh); overflow: hidden;
  transform-origin: 0 0; transform: translateX(var(--lh)) rotate(90deg); }
html.forceLand canvas#game { width: 100%; height: 100%; }
html.forceLand #rotateHint { display: none !important; }
html.forceLand .side { padding: 6px 14px; } html.forceLand .side b { font-size: 26px; } html.forceLand .tname { display: inline; }
html.touch.forceLand #boost { top: auto; right: auto; left: 50%; bottom: 12px; transform: translateX(-50%); }

/* short landscape screens (phones on their side): two-column menu, tighter HUD */
@media (max-height: 520px) and (orientation: landscape) {
  .panel { padding: 12px 16px; max-height: calc(100dvh - 12px); width: min(860px, calc(100vw - 16px)); border-radius: 16px; }
  #menu { display: flex; gap: 20px; align-items: flex-start; }
  #menu .mcol { flex: 1; min-width: 0; }
  .brand { margin-bottom: 8px; gap: 10px; }
  #logoBall { width: 44px; height: 44px; }
  .logo { font-size: 28px; } .tag { font-size: 12px; }
  .field, .row { margin-bottom: 6px; }
  input { padding: 7px 10px; font-size: 14px; }
  .seg button { padding: 5px 8px; font-size: 12px; }
  .desc { margin-bottom: 6px; font-size: 11.5px; }
  button.big { padding: 10px; font-size: 18px; margin-top: 4px; }
  .nftgrid button { flex-basis: 44px; height: 44px; }
  #result, #pause { width: min(560px, calc(100vw - 16px)); }
  .resScore { font-size: 40px; margin-bottom: 6px; }
  .mvp { padding: 6px 10px; margin-bottom: 6px; }
  td { padding: 4px; }
  h2 { font-size: 22px; }
  .score { top: max(6px, env(safe-area-inset-top)); }
  .side { padding: 3px 10px; } .side b { font-size: 22px; } .tname { font-size: 10px; }
  #clock { font-size: 14px; }
  #banner.count b { font-size: 72px; }
  #banner.goal .gword { font-size: 76px; margin-top: -40px; }
  #banner.goal .band { height: 100px; margin-top: -70px; }
  #banner.goal .gcard { margin-top: 8px; padding: 6px 12px; }
  #replayTag { top: 48px; padding: 4px 10px; font-size: 13px; }
  #replayTag small { display: none; }
}

/* link back to the site under the menu */
.site { display: block; margin-top: 12px; text-align: center; opacity: .9; transition: opacity .15s, transform .15s; }
.site img { height: 28px; width: auto; display: inline-block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.site:hover { opacity: 1; transform: translateY(-1px); }
@media (max-height: 520px) and (orientation: landscape) { .site { margin-top: 6px; } .site img { height: 22px; } }

/* a boost charge coming back */
#boost i.pop { animation: pipPop .45s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes pipPop { 0% { transform: scale(1); filter: brightness(1); } 35% { transform: scale(1.35); filter: brightness(1.8); } 100% { transform: scale(1); filter: brightness(1); } }

/* ---------- FUN GAMES lobby ---------- */
button.big.alt { background: var(--panel2); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-size: 20px; margin-top: 8px; }
button.big.alt small { font-family: var(--body); font-size: 12px; letter-spacing: 0; color: var(--gold); margin-left: 6px; }
button.big.alt:hover { border-color: var(--ronin); }
.panel.wide { width: min(720px, calc(100vw - 24px)); }
.arhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.arhead h2 { margin: 0; }
.arhead button, #arenaBody button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
#arenaBody button.go { background: var(--ronin); color: var(--on-accent); border-color: var(--ronin); }
#arenaBody button:disabled { opacity: .5; cursor: wait; }
#arenaBody h3 { font-family: var(--display); font-weight: 400; letter-spacing: 1px; font-size: 18px; margin: 14px 0 6px; color: var(--ronin2); }
.arrow { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.arrow input { flex: 1; max-width: none; }
.arrow select { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; font: inherit; }
.ardev { margin: -2px 0 6px; font: 11px var(--data); color: var(--gold); opacity: .85; }
.arbal { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 13px var(--data); color: var(--muted); }
.arbal b { color: var(--text); }
.arsplit { margin: -2px 0 8px; font-size: 12px; color: var(--muted); text-align: right; }
.artable { font-size: 12.5px; margin-bottom: 4px; }
.artable td, .artable th { padding: 6px 4px; text-align: left; }
.artable tr.mine td { background: rgba(39, 185, 252, .05); }
.artable td.st { font-size: 11px; color: var(--muted); }
.artable td.s1 { color: var(--gold); } .artable td.s2 { color: var(--ronin2); } .artable td.s3 { color: #3ee88a; }
.artable .empty { color: var(--muted); text-align: center; padding: 14px; }
.won { color: #3ee88a; font-weight: 700; } .lost { color: #ff4d5e; font-weight: 700; }
.armsg { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
#netStatus { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 10px;
  background: rgba(7, 8, 12, .85); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.claimbox { display: grid; gap: 8px; justify-items: center; margin: 4px 0 12px; }
.claimbox .stake { font: 700 20px var(--data); color: var(--gold); }
.claimbox button { min-width: 220px; }

.mvp.online { display: block; background: none; border: 0; padding: 0; }
.claimbox .stake.lost { color: #ff4d5e; }

.arwarn { margin: 6px 0 0; font-size: 12px; color: #ffcb3d; }
.arsite { font-family: var(--display); font-size: 14px; color: var(--ronin2); text-decoration: none; margin-right: auto; padding-right: 12px; }
.arsite + h2 { margin-right: auto; }

/* lobby: invite links, accepted-challenge alert, record */
.aralert { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(39, 185, 252, .18), rgba(39, 185, 252, .04)); border: 1px solid rgba(39, 185, 252, .5);
  font-weight: 700; animation: rise .3s ease-out; }
.arshare { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.arshare input { flex: 1; min-width: 220px; font: 12px var(--data); padding: 6px 8px; }
.arrec { margin: 6px 0 0; font: 12.5px var(--data); color: var(--muted); }
.arrec b { color: var(--text); }
.artable tr.focus td { background: rgba(255, 203, 61, .12); }

/* lobby v3: one big Find match, holds, friendly feedback */
.arplay { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.arplay .big { margin-top: 2px; }
.arplay .big:disabled { opacity: .75; cursor: default; }
.arhint { margin: 6px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.arfriend { margin-top: 8px; font-size: 13px; color: var(--muted); }
.arfriend summary { cursor: pointer; }
.arfriend .arrow { margin-top: 8px; }
.artoast { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 203, 61, .1); border: 1px solid rgba(255, 203, 61, .35); font-size: 13px; }
.artable td.act { text-align: right; white-space: nowrap; }
.artable td.muted, .muted { color: var(--muted); font-size: 12px; }
.artable .wait { color: var(--gold); font-size: 12px; }
#arenaBody button[disabled] { opacity: .55; cursor: default; }
.arhist { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; font: 12px var(--data); color: var(--muted); }
.arfound { display: grid; gap: 4px; justify-items: center; padding: 16px; margin-bottom: 10px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(39, 185, 252, .25), rgba(39, 185, 252, .05)); border: 1px solid var(--ronin); animation: rise .3s ease-out; }
.arfound b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 1px; }

.arpot { margin: -2px 0 6px; font-size: 12.5px; color: var(--muted); }
.arpot b { color: var(--gold); }
.artable.lb td:first-child { width: 28px; color: var(--muted); }
/* the main call to action keeps the site's cyan button inside the lobby too */
#arenaBody button.big { background: linear-gradient(180deg, #5ccbff, var(--ronin)); color: var(--on-accent); border: 0; border-radius: 12px; padding: 14px 15px 11px; font-family: var(--display); font-size: 24px; letter-spacing: 2px; }
#arenaBody button.big:disabled { background: var(--panel2); color: var(--muted); border: 1px solid var(--line); }

/* challenge creation: bigger card, coin logos on the offered tokens */
.panel.wide { width: min(820px, calc(100vw - 24px)); }
.tlogo { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; vertical-align: -4px; margin-right: 6px; background: var(--panel2); }
#arenaBody h3 .tlogo { width: 22px; height: 22px; vertical-align: -3px; }
.arplay { margin-top: 12px; padding: 18px 20px 20px; border-radius: 18px; border-color: rgba(39, 185, 252, .35);
  background: radial-gradient(120% 90% at 50% 0%, rgba(39, 185, 252, .10), rgba(255, 255, 255, .02) 70%); }
#arenaBody .arplay h3.arplayh { margin: 0 0 12px; font-size: 24px; color: var(--text); }
.arplay > .lbl { display: block; margin: 0 0 8px; }
.artoks { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 16px; }
#arenaBody .artoks button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--panel2); transition: transform .12s, border-color .12s, box-shadow .12s; }
#arenaBody .artoks button:hover { transform: translateY(-2px); border-color: rgba(39, 185, 252, .5); }
#arenaBody .artoks button.on { border-color: var(--ronin); background: rgba(39, 185, 252, .14); box-shadow: 0 6px 22px rgba(39, 185, 252, .35); }
.artoks .tbig { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #000; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.artoks button b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: 1px; }
.artiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
#arenaBody .artiers button { padding: 13px 6px 10px; border-radius: 12px; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 1px; }
#arenaBody .artiers button.on { background: var(--gold); color: #1a1200; border-color: var(--gold); box-shadow: 0 6px 18px rgba(255, 203, 61, .35); }
.arwin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 203, 61, .07); border: 1px solid rgba(255, 203, 61, .25); }
.arwin .tlogo { width: 30px; height: 30px; margin: 0; }
.arwin span { font-size: 17px; } .arwin span b { color: var(--gold); }
.arwin small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
#arenaBody .arplay button.big { width: 100%; font-size: 28px; padding: 17px 15px 13px; }
@media (max-width: 560px) {
  .arplay { padding: 14px 12px 14px; }
  .artoks { grid-template-columns: repeat(2, 1fr); }
  .artoks .tbig { width: 52px; height: 52px; }
  #arenaBody .artiers button { font-size: 18px; }
}

/* PLAY WITH FRIENDS */
button.big small.sub { font-family: var(--body); font-size: 12px; letter-spacing: 0; opacity: .75; margin-left: 6px; }
button.big.friends { background: linear-gradient(180deg, #ffd96b, var(--gold)); color: #1a1200; box-shadow: 0 10px 28px rgba(255, 203, 61, .35); margin-top: 8px; }
button.big.friends small { font-family: var(--body); font-size: 12px; letter-spacing: 0; margin-left: 6px; opacity: .8; }
button.big.friends:hover { box-shadow: 0 12px 34px rgba(255, 203, 61, .55); }
#friends button:not(.big), #waitCard button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }
#waitCard button.go { background: var(--ronin); color: var(--on-accent); border-color: var(--ronin); }
.frsub { margin: 0 0 10px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.fronline { font: 600 12px var(--data); color: #3ee88a; display: inline-flex; align-items: center; gap: 6px; }
.fronline i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.fronline.off { color: #ff4d5e; }
.frhint { margin: 6px 0 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.frjoin { display: flex; gap: 8px; }
.frjoin input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 3px; font: 700 18px var(--data); text-align: center; }
.frmsg { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.frmsg.err { color: #ffcb3d; }
#waitCard { position: fixed; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: 30; width: min(440px, calc(100vw - 32px));
  padding: 18px 20px; border-radius: 18px; background: rgba(10, 14, 22, .94); border: 1px solid rgba(39, 185, 252, .4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6); text-align: center; backdrop-filter: blur(6px); }
#waitCard b { display: block; font: 400 46px var(--display); letter-spacing: 6px; color: var(--gold); margin: 2px 0 4px; }
#waitCard p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.wcrow { display: flex; gap: 8px; margin-top: 8px; }
.wcrow input { flex: 1; min-width: 0; font: 12px var(--data); }
.wcrow button { flex: 1; }
.frjoin input, .wcrow input { max-width: none; }

/* weekly rewards */
.artable.lb td.rw { text-align: right; color: var(--gold); font-weight: 700; white-space: nowrap; }
.arreward { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 203, 61, .1); border: 1px solid rgba(255, 203, 61, .45); }
.arreward span { flex: 1; } .arreward b { color: var(--gold); }
.arreward .tlogo { width: 26px; height: 26px; margin: 0; }

.arconnect { text-align: center; padding: 18px 6px 6px; }
.arconnect p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.armono { font: 700 14px var(--data); }
#arFaucet { margin: 6px 0 2px; }
a.tosite { display: block; margin-top: 8px; padding: 11px 15px; border-radius: 12px; text-align: center; text-decoration: none; background: var(--panel2); color: var(--text); border: 1px solid var(--line); font-weight: 700; }
a.tosite:hover { border-color: var(--ronin); color: var(--ronin2); }

/* ---- 2026-10-17: FUN GAMES = two games. The first screen shows both, with how many are waiting / playing ---- */
.argames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 14px; }
@media (max-width: 560px) { .argames { grid-template-columns: 1fr; } }
.argamecard { position: relative; border: 2px solid #2d3b55; border-radius: 14px; padding: 14px 14px 12px; background: linear-gradient(180deg, rgba(20,24,31,.95), rgba(12,15,22,.95)); overflow: hidden; }
.argamecard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-size: cover; background-position: center; }
.argamecard.ball::before { background-image: radial-gradient(circle at 80% 20%, #27b9fc, transparent 55%), radial-gradient(circle at 10% 90%, #faba1a, transparent 50%); }
.argamecard.tetris::before { background-image: linear-gradient(135deg, #b25cff 0 12%, transparent 12% 30%, #36d6e7 30% 38%, transparent 38% 60%, #ffd23f 60% 66%, transparent 66%); }
.argamecard.on { border-color: var(--ronin); box-shadow: 0 0 0 1px rgba(39,185,252,.35), 0 8px 26px rgba(39,185,252,.18); }
.agart { position: relative; display: flex; align-items: flex-end; min-height: 44px; }
.agball, .agtet { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; color: #f4f6fa; letter-spacing: .02em; text-shadow: 0 2px 0 #b9bfca, 0 3px 0 #8e95a3, 0 6px 12px rgba(0,0,0,.45); }
.agball span { color: var(--ronin); text-shadow: 0 2px 0 #157fb0, 0 6px 12px rgba(0,0,0,.45); margin-left: 4px; }
.agfun { height: 30px; margin: 0 0 3px 1px; filter: drop-shadow(0 2px 0 #b07a05); }
.argamecard p { position: relative; margin: 6px 0 8px; color: var(--ink-2, #9aa4b4); font-size: 13px; }
.agstats { position: relative; display: flex; gap: 14px; font-family: var(--data); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6f7a8c); margin-bottom: 10px; }
.agstats b { color: var(--ink, #eaf0f7); font-size: 15px; margin-right: 4px; }
.agbtns { position: relative; display: flex; gap: 8px; flex-wrap: wrap; }
.agbtns button { flex: 1; min-width: 120px; }
.arlive { color: #ff4d5e; font-weight: 700; animation: arlive 1.2s ease-in-out infinite; }
.agstats .arlive b { color: #ff4d5e; }
@keyframes arlive { 50% { opacity: .45; } }
#arenaBody td.argame { white-space: nowrap; font-size: 16px; }
#arenaBody td.argame small { font-family: var(--data); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6f7a8c); margin-left: 4px; }
#arenaBody tr.liveo td { opacity: .8; }
.argname { color: var(--ronin); }
#rtFrame { position: fixed; inset: 0; width: 100vw; height: 100vh; border: 0; z-index: 9999; background: #07080c; }

/* ---- 2026-10-17: live matches as cards, wallet chip in the header ---- */
.arhr { display: flex; align-items: center; gap: 8px; }
.arwal select, .arwal .armono { font-size: 12px; padding: 6px 8px; border-radius: 8px; border: 2px solid #2d3b55; background: rgba(20,24,31,.95); color: var(--ink, #eaf0f7); max-width: 200px; }
.arlivegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.arlc { display: flex; flex-direction: column; gap: 5px; padding: 8px 9px; border-radius: 10px; border: 2px solid #2d3b55; background: linear-gradient(180deg, rgba(20,24,31,.96), rgba(12,15,22,.96)); }
.arlc.mine { border-color: var(--ronin); }
.arlc.live { border-color: rgba(255,77,94,.7); box-shadow: 0 0 0 1px rgba(255,77,94,.25), 0 6px 20px rgba(255,77,94,.12); }
.arlc.focus { box-shadow: 0 0 0 2px #faba1a; }
.arlc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--data); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6f7a8c); }
.arlc-g { color: var(--ink-2, #9aa4b4); font-weight: 700; }
.arlc-stake { display: flex; align-items: center; gap: 10px; }
.arlc-stake .tbig { width: 28px; height: 28px; }
.arlc-stake b { display: block; font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--ink, #eaf0f7); letter-spacing: .02em; }
.arlc-stake small { font-family: var(--data); font-size: 10px; letter-spacing: .06em; color: #5ee6a8; text-transform: uppercase; }
.arlc-who { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2, #9aa4b4); min-height: 16px; }
.arlc-act button { width: 100%; }
.arlc-act .wait, .arlc-act .muted, .arlc-act .won, .arlc-act .lost { display: block; text-align: center; padding: 6px 0; }
.arlc-act .wait + button, .arlc-act button + button { margin-top: 6px; }
.arlc-empty { grid-column: 1 / -1; padding: 16px; border: 2px dashed #2d3b55; border-radius: 12px; color: var(--ink-3, #6f7a8c); text-align: center; font-size: 13px; }
.arhave { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; font-size: 13px; color: var(--ink-2, #9aa4b4); }
.arhave .tlogo { width: 18px; height: 18px; }

.arlc-top { font-size: 9px; }
.arlc-stake { gap: 7px; }
.arlc-stake small { font-size: 9px; }
.arlc-act button { padding: 6px 8px; font-size: 13px; }
#arenaBody .arhist .arpend { color: var(--ink, #eaf0f7); }
/* 2026-10-17: dar mažesnės kortelės (user) — live iššūkiai ir dvi žaidimų kortelės */
.arlivegrid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 6px; }
.arlc { gap: 3px; padding: 6px 7px; border-radius: 9px; border-width: 1.5px; }
.arlc-top { font-size: 8px; letter-spacing: .05em; }
.arlc-stake .tbig { width: 22px; height: 22px; }
.arlc-stake b { font-size: 13px; }
.arlc-stake small { font-size: 8px; }
.arlc-who { font-size: 10px; }
.arlc-act button { padding: 4px 6px; font-size: 12px; }
.argames { gap: 8px; margin: 2px 0 10px; }
.argamecard { padding: 9px 10px 8px; border-radius: 11px; }
.agart { min-height: 30px; }
.agball, .agtet { font-size: 23px; }
.agfun { height: 21px; margin-bottom: 2px; }
.argamecard p { margin: 3px 0 5px; font-size: 11px; }
.agstats { margin-bottom: 6px; font-size: 10px; }
.agstats b { font-size: 13px; }
.agbtns button { min-width: 0; padding: 6px 8px; font-size: 12px; }
/* 2026-10-17: kūrimo skiltis suskleista po vienu mygtuku; visa žaidimo kortelė paspaudžiama */
.arplay.closed { padding: 10px; }
.arplay.closed .big { margin: 0; }
.arplayh { display: flex; align-items: center; gap: 6px; }
.arplayh .arx { margin-left: auto; padding: 4px 10px; font-size: 14px; border-radius: 8px; }
.argamecard { cursor: pointer; transition: border-color .12s, transform .06s; }
.argamecard:hover { border-color: var(--ronin2, #5ccbff); }
.argamecard:active { transform: translateY(1px); }
.arlc-mine { font-family: var(--data); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--ronin, #27b9fc); font-weight: 700; }
.arlc.mine.live .arlc-mine { color: #ff4d5e; }
.arlc-act .wait { display: block; text-align: center; font-size: 11px; padding: 2px 0 4px; }
.arlc-act button[data-act="link"], .arlc-act button[data-act="cancel"] { width: calc(50% - 3px); display: inline-block; margin-top: 0 !important; }
.arlc-act button[data-act="link"] { margin-right: 6px; }
.arlc .arlc-mine:first-child:not(:empty) + .arlc-top { margin-top: 0; }
.arlc-act button.go[data-act="claim"] { background: #faba1a; border-color: #faba1a; color: #1a1408; }

/* 2026-10-17 (user): mačai — EILUTĖMIS, ne kortelėmis, šriftas stambesnis. Tas pats turinys, viena eilutė vienam mačui. */
.arlivegrid { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 12px; }
.arlc { flex-direction: row; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 10px; border-width: 2px; }
.arlc-top { display: contents; }
.arlc-mine { order: 0; font-size: 11px; white-space: nowrap; }
.arlc-g { order: 1; font-size: 13px; white-space: nowrap; min-width: 118px; color: var(--ink, #eaf0f7); }
.arlc-stake { order: 2; gap: 8px; min-width: 150px; }
.arlc-stake .tbig { width: 30px; height: 30px; }
.arlc-stake b { font-size: 19px; }
.arlc-stake small { font-size: 11px; }
.arlc-who { order: 3; flex: 1; font-size: 14px; min-width: 0; }
.arlc-left, .arlc .arlive { order: 4; font-family: var(--data); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.arlc-left { color: var(--ink-3, #6f7a8c); }
.arlc-act { order: 5; min-width: 130px; display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.arlc-act button { width: auto; padding: 8px 16px; font-size: 14px; }
.arlc-act .wait { display: inline; font-size: 13px; padding: 0; }
.arlc-act button[data-act="link"], .arlc-act button[data-act="cancel"] { width: auto; margin: 0 !important; }
@media (max-width: 620px) {
  .arlc { flex-wrap: wrap; gap: 6px 10px; }
  .arlc-who { flex-basis: 100%; order: 6; font-size: 12px; }
  .arlc-act { margin-left: auto; min-width: 0; }
}
.arlc-g { min-width: 100px; }
.arlc-stake { min-width: 0; }
.arlc-who { font-size: 13px; }
.arlc .arlc-mine.claim, .arlc.mine.live .arlc-mine.claim { color: #faba1a; }
.arlc:has(.arlc-mine.claim) { border-color: #faba1a; box-shadow: 0 0 0 1px rgba(250,186,26,.3), 0 6px 20px rgba(250,186,26,.12); }
@media (max-width: 620px) {
  .arhead { flex-wrap: wrap; gap: 6px; }
  .arwal select, .arwal .armono { max-width: 38vw; font-size: 11px; padding: 5px 6px; }
}

/* 2026-10-17: mačų eilutės — tie patys stulpeliai visada: GAME · STAKE · WINNER GETS · STATUS · mygtukas */
.arlivegrid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.arrowh, .arrowm { display: grid; grid-template-columns: 96px 150px 130px minmax(0, 1fr) 150px; align-items: center; gap: 12px; }
.arrowh { padding: 0 14px; font-family: var(--data); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3, #6f7a8c); }
.arrowm { padding: 10px 14px; border-radius: 10px; border: 2px solid #2d3b55; background: linear-gradient(180deg, rgba(20,24,31,.96), rgba(12,15,22,.96)); font-size: 14px; }
.arrowm.mine { border-color: var(--ronin, #27b9fc); }
.arrowm.live { border-color: rgba(255,77,94,.7); }
.arrowm.claim { border-color: #faba1a; box-shadow: 0 0 0 1px rgba(250,186,26,.3); }
.arrowm.refund { border-color: #6f7a8c; }
.arrowm.focus { box-shadow: 0 0 0 2px #faba1a; }
.arc-game { font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .03em; color: var(--ink, #eaf0f7); white-space: nowrap; }
.arc-stake { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.arc-stake .tlogo { width: 26px; height: 26px; }
.arc-stake b, .arc-win b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .02em; color: var(--ink, #eaf0f7); }
.arc-win b { color: #5ee6a8; }
.arc-status { color: var(--ink-2, #9aa4b4); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrowm.claim .arc-status { color: #faba1a; font-weight: 700; }
.arc-act { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.arc-act button { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.arc-act .wait { display: none; }   /* „waiting…" jau pasakyta Status stulpelyje */
.arc-act button.go[data-act="claim"] { background: #faba1a; border-color: #faba1a; color: #1a1408; }
@media (max-width: 700px) {
  .arrowh { display: none; }
  .arrowm { grid-template-columns: auto 1fr auto; grid-template-areas: "game stake act" "status status win"; gap: 6px 10px; padding: 9px 10px; }
  .arc-game { grid-area: game; font-size: 14px; } .arc-stake { grid-area: stake; } .arc-act { grid-area: act; }
  .arc-status { grid-area: status; font-size: 12px; white-space: normal; } .arc-win { grid-area: win; text-align: right; }
  .arc-win b::before { content: "win "; font-family: var(--data); font-size: 10px; color: var(--ink-3, #6f7a8c); }
}
.arrowh, .arrowm { grid-template-columns: 84px 140px 120px minmax(0, 1fr) auto; gap: 10px; }
@media (max-width: 700px) {
  .arrowm { grid-template-columns: auto 1fr auto; grid-template-areas: "game stake win" "status status act"; }
  .arc-stake b, .arc-win b { font-size: 15px; }
  .arc-stake .tlogo { width: 22px; height: 22px; }
  .arc-act button { padding: 6px 10px; font-size: 13px; }
}
/* TETRIS.FUN ženkliukas = T figūra iš žaidimo (inline SVG) */
.tpiece { display: inline-block; width: 1.35em; height: .92em; vertical-align: -.08em; margin-right: .1em; filter: drop-shadow(0 0 4px rgba(178,92,255,.45)); }
.tpiece.big { width: 40px; height: 27px; margin: 0 8px 3px 0; vertical-align: bottom; }
/* RONKE BALL ženkliukas = besisukantis Ronin kamuolys iš žaidimo */
canvas.bspin { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .12em; }
canvas.bspin.big { width: 38px; height: 38px; margin: 0 7px 0 -2px; vertical-align: bottom; filter: drop-shadow(0 0 6px rgba(39,185,252,.35)); }
/* 2026-10-17: ženkliukai kortelėse sulyginti su užrašu per vidurį ir to paties aukščio (user: „kreivai atrodo") */
.agart { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.agart canvas.bspin.big { width: 30px; height: 30px; margin: 0; flex: none; vertical-align: middle; }
.agart .tpiece.big { width: 36px; height: 24px; margin: 0; flex: none; vertical-align: middle; }
.agart .agball, .agart .agtet { line-height: 1; transform: translateY(2px); }   /* Luckiest Guy sėdi aukštai — optinis vidurys */
.agart .agfun { align-self: center; margin: 0 0 0 -6px; transform: translateY(1px); }
