/* ============ VeloGames shared styles ============ */

@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 900; font-display: swap; src: url("../fonts/cinzel-latin-900-normal.woff2") format("woff2"); }

:root {
  --bg: #1A0B33;
  --bg-deep: #0F0620;
  --panel: rgba(18, 8, 36, 0.86);
  --panel-solid: #1C0D38;
  --purple: #7B2FF2;
  --purple-hi: #A35BFF;
  --purple-dark: #4A1590;
  --felt: #4B1A86;
  --felt-dark: #2E0D5A;
  --gold: #F6C453;
  --gold-hi: #FFE9A3;
  --gold-dark: #B9801E;
  --gold-line: rgba(246, 196, 83, 0.75);
  --text: #F7EEDC;
  --text-soft: #C9B8E8;
  --muted: #9C8BC0;
  --good: #3DDC84;
  --bad: #FF5A6E;
  --red: #D7263D;
  --green: #138A4A;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --top-h: calc(var(--safe-top) + 84px);
  --fine-h: calc(var(--safe-bottom) + 26px);
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --cw: 64px;                /* playing-card width; set it on any parent to size its cards */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: var(--font);
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
img { -webkit-user-drag: none; user-select: none; }

#app { position: fixed; inset: 0; overflow: hidden; }

/* ============ Banner ad strip (top of the screen) ============
   With body.ads-on the app starts below the banner, and the banner owns the top safe area (notch). */
:root { --ad-h: 50px; }
@media (min-width: 728px) and (min-height: 700px) { :root { --ad-h: 90px; } }
body.ads-on #app {
  top: calc(var(--ad-h) + env(safe-area-inset-top, 0px));
  --safe-top: 0px;
  --top-h: calc(var(--safe-top) + 84px);
}
@media (max-height: 700px) { body.ads-on #app { --top-h: calc(var(--safe-top) + 70px); } }
#ad-banner {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--ad-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: none;
  justify-content: center;
  align-items: center;
  background: #0B0416;
  box-shadow: 0 1px 0 rgba(246, 196, 83, 0.35);
  z-index: 70;
}
body.ads-on #ad-banner { display: flex; }
.ad-slot {
  width: min(100%, calc(var(--ad-h) * 6.4));
  height: var(--ad-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6F6290;
  font-size: 13px;
  font-weight: 500;
  border: 1px dashed rgba(201, 184, 232, 0.25);
}
.ad-slot b { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #2A2140; color: #A99BC9; }
/* In the app the real AdMob banner is drawn on top of this strip */
body.ads-native .ad-slot { visibility: hidden; }

/* Lounge backdrop: warm lamps + purple columns, like the mockups */
.lounge {
  background:
    radial-gradient(ellipse 60% 22% at 50% 0%, rgba(255, 196, 120, 0.22), transparent 70%),
    radial-gradient(circle at 8% 10%, rgba(255, 180, 90, 0.25), transparent 14%),
    radial-gradient(circle at 92% 10%, rgba(255, 180, 90, 0.25), transparent 14%),
    repeating-linear-gradient(90deg, rgba(160, 90, 255, 0.07) 0 26px, transparent 26px 120px),
    radial-gradient(ellipse 120% 70% at 50% 40%, #3A1670 0%, #24104A 45%, #12061F 100%);
  background-color: var(--bg);
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
}
.screen.active { display: flex; }

/* ============ Gold text, titles ============ */
.vg-title {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  background: linear-gradient(180deg, #FFF4C4 0%, #F6C453 45%, #C88A1E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 20, 0, 0.6));
  text-align: center;
}
.vg-fine {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.vg-fine::before, .vg-fine::after { content: ""; height: 1px; flex: 0 1 60px; background: linear-gradient(90deg, transparent, rgba(201, 184, 232, 0.4), transparent); }
.vg-small { font-size: 12px; color: var(--muted); font-weight: 500; margin: 6px 0 0; }

/* ============ Icons ============ */
.vg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* ============ Coin ============ */
.vg-coin {
  --s: 26px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF6C8 0 12%, #FFD34E 35%, #E39B17 75%, #A9650A 100%);
  box-shadow: inset 0 0 0 calc(var(--s) * 0.08) #B8770F, inset 0 0 0 calc(var(--s) * 0.14) #FFE07A, 0 2px 4px rgba(0, 0, 0, 0.45);
  position: relative;
}
.vg-coin::after {
  content: "$";
  font-family: var(--font);
  font-weight: 700;
  font-size: calc(var(--s) * 0.58);
  line-height: 1;
  color: #B36D06;
  text-shadow: 0 1px 0 #FFF0A8;
}
.vg-coin.sm { --s: 18px; }
.vg-coin.big { --s: 64px; margin: 0 auto 6px; }
.vg-coin.fly { position: fixed; --s: 26px; z-index: 60; pointer-events: none; }

/* ============ Round buttons + top bar ============ */
.vg-round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--gold-hi);
  background: radial-gradient(circle at 50% 30%, #7E3AE6, #3E1179 75%);
  box-shadow: inset 0 0 0 3px #F3C75A, inset 0 0 0 5px #8A5A12, 0 4px 10px rgba(0, 0, 0, 0.5);
  flex: none;
}
.vg-round:active { transform: scale(0.94); }

.vg-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--top-h);
  padding: calc(var(--safe-top) + 8px) calc(12px + var(--safe-right)) 6px calc(12px + var(--safe-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}
.vg-top > * { pointer-events: auto; }
.vg-game-logo {
  position: absolute;
  left: 50%;
  top: calc(var(--safe-top) + 4px);
  transform: translateX(-50%);
  height: 76px;
  max-width: 44%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.vg-top-spacer { width: 54px; }
.vg-top [hidden] { display: none !important; }

.coin-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 5px 0 7px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1E0E36, #0E061B);
  box-shadow: inset 0 0 0 2px var(--gold), 0 4px 10px rgba(0, 0, 0, 0.5);
}
.coin-pill .vg-coin { --s: 30px; }
.coin-meta { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.coin-meta small { font-size: 9px; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.coin-meta b { font-size: 17px; font-weight: 700; color: #fff; min-width: 3.4em; }
.coin-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #A35BFF, #5E1BC0);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.coin-pill.pulse { animation: pill-pulse 0.6s ease; }
@keyframes pill-pulse { 40% { transform: scale(1.12); box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 18px rgba(255, 210, 90, 0.8); } }

/* ============ Buttons ============ */
.vg-btn {
  --h: 54px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: calc(var(--h) / 2.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(40, 0, 80, 0.6);
  background: linear-gradient(180deg, #B276FF 0%, #8436F0 40%, #5C14C4 100%);
  box-shadow: inset 0 0 0 2.5px #F6C453, inset 0 0 0 4.5px #7A4A0E, inset 0 10px 14px rgba(255, 255, 255, 0.22), 0 5px 12px rgba(0, 0, 0, 0.55);
  transition: transform 0.08s, filter 0.15s;
}
.vg-btn .vg-icon { font-size: 1.1em; }
.vg-btn:active:not(:disabled) { transform: translateY(2px) scale(0.98); }
.vg-btn.gold {
  color: #3A1A00;
  text-shadow: 0 1px 0 rgba(255, 245, 200, 0.7);
  background: linear-gradient(180deg, #FFF0A6 0%, #FFCF4A 38%, #E79A16 100%);
  box-shadow: inset 0 0 0 2.5px #FFF2B8, inset 0 0 0 4.5px #9A5E0A, inset 0 10px 14px rgba(255, 255, 255, 0.3), 0 5px 12px rgba(0, 0, 0, 0.55);
}
.vg-btn.dark {
  color: var(--text);
  text-shadow: none;
  background: linear-gradient(180deg, #3A1D66, #1F0C3E);
  box-shadow: inset 0 0 0 2px var(--gold-line), 0 4px 10px rgba(0, 0, 0, 0.45);
}
.vg-btn.teal {
  background: linear-gradient(180deg, #3BD3C6, #0E8C93 60%, #08636C);
}
.vg-btn.small { --h: 40px; font-size: 15px; padding: 0 14px; }
.vg-btn.big { --h: 64px; font-size: 24px; }
.vg-btn:disabled {
  filter: grayscale(1) brightness(0.62);
  color: #ccc;
  box-shadow: inset 0 0 0 2px #77738a, 0 3px 8px rgba(0, 0, 0, 0.4);
}
.vg-link { color: var(--text-soft); font-weight: 600; font-size: 15px; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* Watch-ad pill */
.vg-ad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 23px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-hi);
  background: linear-gradient(180deg, #4A1A8A, #2A0B55);
  box-shadow: inset 0 0 0 2px var(--gold), 0 4px 10px rgba(0, 0, 0, 0.45);
  align-self: center;
  flex: none;
}
.vg-ad .vg-icon { font-size: 26px; color: #fff; }
.vg-ad:active { transform: scale(0.97); }

/* ============ Chips ============ */
.vg-chips { display: flex; justify-content: center; gap: clamp(8px, 3vw, 18px); flex: none; }
.vg-chips.off { opacity: 0.55; }
.vg-chip {
  --c: #1E8A3C;
  --s: 58px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background:
    radial-gradient(circle, var(--c) 0 45%, transparent 46%),
    repeating-conic-gradient(from 0deg, #fff 0 15deg, var(--c) 15deg 45deg);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25), 0 4px 0 rgba(0, 0, 0, 0.45), 0 6px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s, box-shadow 0.12s;
}
.vg-chip > span {
  width: 64%;
  height: 64%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15091F;
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--s) * 0.3);
  box-shadow: inset 0 0 0 2px #E8C36A;
}
.vg-chip.c25 { --c: #1E8A3C; }
.vg-chip.c50 { --c: #1E4FB8; }
.vg-chip.c100 { --c: #7B2FF2; }
.vg-chip.c500 { --c: #C21E35; }
.vg-chip.c1000 { --c: #1B1B1B; }
.vg-chip.on { transform: translateY(-4px) scale(1.06); box-shadow: 0 0 0 3px #C58BFF, 0 0 20px 6px rgba(170, 90, 255, 0.8), 0 6px 10px rgba(0, 0, 0, 0.4); }
.vg-chip.mini { --s: 34px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
.vg-chip.mini > span { font-size: 10px; }

/* ============ HUD ============ */
.vg-hud {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 14, 56, 0.92), rgba(12, 5, 24, 0.92));
  box-shadow: inset 0 0 0 1.5px var(--gold-line), 0 4px 10px rgba(0, 0, 0, 0.35);
  flex: none;
}
.vg-hud-cell { display: flex; flex-direction: column; align-items: center; line-height: 1.1; flex: 1; }
.vg-hud-cell small { font-size: 11px; letter-spacing: 0.12em; color: var(--text-soft); font-weight: 600; text-transform: uppercase; }
.vg-hud-cell b { font-size: 22px; font-weight: 700; color: var(--gold); }
.vg-hud-sep { color: var(--gold-dark); font-size: 9px; }

/* ============ Playing cards ============ */
.vg-card {
  width: var(--cw);
  height: calc(var(--cw) * 1.4);
  border-radius: calc(var(--cw) * 0.09);
  background: linear-gradient(180deg, #FFFDF7, #F3EBDA);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 3px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  color: #15121C;
  font-family: Georgia, "Times New Roman", serif;
  flex: none;
  overflow: hidden;
  transition: transform 0.14s;
}
.vg-card.red { color: #D0182E; }
.vg-card .idx {
  position: absolute;
  left: 7%;
  top: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: calc(var(--cw) * 0.3);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.vg-card .idx small { font-size: 0.72em; letter-spacing: 0; margin-top: 1px; }
/* one big suit symbol, low and right of centre, like the v2 mockups */
.vg-card .big {
  position: absolute;
  left: 56%;
  top: 60%;
  transform: translate(-50%, -50%);
  font-size: calc(var(--cw) * 0.62);
  line-height: 1;
}
.vg-card .ace { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); font-size: calc(var(--cw) * 0.72); line-height: 1; }
.vg-card .court {
  position: absolute;
  left: 30%;
  right: 7%;
  top: 9%;
  bottom: 6%;
  border-radius: calc(var(--cw) * 0.05);
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #F7D77A 0%, #D9A03A 35%, #B22B2B 36%, #7A1420 70%, #1E3A8A 71%, #14245E 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.vg-card .court i { font-style: normal; font-size: calc(var(--cw) * 0.5); line-height: 1; color: #FFF4D6; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.vg-card.back {
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 196, 83, 0.18), transparent 38%),
    repeating-linear-gradient(45deg, rgba(246, 196, 83, 0.08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(246, 196, 83, 0.08) 0 1px, transparent 1px 7px),
    linear-gradient(160deg, #1C2C66, #0C1538);
  box-shadow: inset 0 0 0 calc(var(--cw) * 0.045) #F3E6C6, inset 0 0 0 calc(var(--cw) * 0.07) #0C1538, inset 0 0 0 calc(var(--cw) * 0.085) #C99A3A, 0 3px 8px rgba(0, 0, 0, 0.45);
}
.vg-card .back-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.vg-card .back-art b { font-size: calc(var(--cw) * 0.42); line-height: 1; text-shadow: 0 1px 0 #7A4A0E, 0 2px 4px rgba(0, 0, 0, 0.5); }
.vg-card.flipping { transform: scaleX(0); }
.vg-card.deal { animation: deal 0.32s cubic-bezier(.2,.8,.3,1) both; }
@keyframes deal { from { transform: translate(40vw, -40vh) rotate(25deg); opacity: 0; } }

/* ============ Overlay + panel ============ */
.vg-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 2, 18, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.vg-overlay[hidden] { display: none; }
.vg-panel {
  width: min(360px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 22px 20px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #2C1258, #160A2E);
  box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 5px rgba(0, 0, 0, 0.35), 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  text-align: center;
  animation: pop-in 0.25s cubic-bezier(.2,1.4,.4,1);
}
.vg-panel.wide { width: min(440px, 100%); }
@keyframes pop-in { from { transform: scale(0.85); opacity: 0; } }
.vg-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  color: var(--gold);
}
.vg-panel p { margin: 0; color: var(--text-soft); font-weight: 500; line-height: 1.35; }
.vg-help { text-align: left; color: var(--text-soft); font-weight: 500; line-height: 1.4; font-size: 15px; }
.vg-help b { color: var(--gold-hi); }
.vg-help ul { padding-left: 18px; margin: 6px 0; }
.vg-help table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vg-help td { padding: 3px 4px; border-bottom: 1px solid rgba(246, 196, 83, 0.15); }
.vg-help td:last-child { text-align: right; color: var(--gold); }
.result-amount { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 32px; color: var(--gold); }
.result-amount .vg-coin { --s: 36px; }

.vg-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1.5px var(--gold-line);
  font-size: 18px;
}
.vg-toggle .vg-icon { font-size: 24px; color: var(--gold); }
.vg-toggle span { flex: 1; text-align: left; }
.vg-toggle i { width: 50px; height: 28px; border-radius: 14px; background: #4A3F5C; position: relative; transition: background 0.2s; }
.vg-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.vg-toggle.on i { background: var(--purple); }
.vg-toggle.on i::after { transform: translateX(22px); }

/* Simulated rewarded ad */
.ad-sim { position: relative; display: grid; place-items: center; gap: 8px; padding: 26px 10px; border-radius: 18px; background: #0C0518; }
.ad-sim img { width: 60%; }
.ad-sim-badge { position: absolute; left: 10px; top: 10px; font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--gold); color: #2A1500; }
.ad-sim-count { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; box-shadow: inset 0 0 0 3px var(--gold); }

/* ============ Effects ============ */
.vg-fx { position: absolute; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.vg-toast {
  position: absolute;
  left: 50%;
  top: calc(var(--top-h) + 10px);
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 18px;
  background: rgba(20, 8, 40, 0.94);
  box-shadow: inset 0 0 0 1.5px var(--gold-line), 0 6px 16px rgba(0, 0, 0, 0.5);
  font-size: 16px;
  white-space: nowrap;
  animation: toast-in 0.25s ease;
  transition: opacity 0.35s, transform 0.35s;
}
.vg-toast.good { color: var(--good); }
.vg-toast.bad { color: var(--bad); }
.vg-toast.out { opacity: 0; transform: translate(-50%, -12px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

.vg-bigwin {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  pointer-events: auto;
  background: radial-gradient(circle, rgba(60, 20, 110, 0.65), rgba(10, 3, 20, 0.75));
  animation: fade-in 0.2s;
  transition: opacity 0.35s;
}
.vg-bigwin.out { opacity: 0; }
@keyframes fade-in { from { opacity: 0; } }
.bw-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160vmax;
  height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  background: repeating-conic-gradient(rgba(255, 210, 100, 0.13) 0 8deg, transparent 8deg 20deg);
  animation: spin-rays 8s linear infinite;
}
@keyframes spin-rays { to { transform: rotate(360deg); } }
.bw-title {
  position: relative;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 14vw, 72px);
  line-height: 1;
  background: linear-gradient(180deg, #FFF8D0, #FFD24D 45%, #D98A10);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 #5A2A00) drop-shadow(0 0 24px rgba(255, 200, 80, 0.6));
  animation: bw-pop 0.5s cubic-bezier(.2,1.6,.4,1);
  text-align: center;
}
@keyframes bw-pop { from { transform: scale(0.3); } }
.bw-amount {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 26px;
  border-radius: 30px;
  background: #12061F;
  box-shadow: inset 0 0 0 2.5px var(--gold);
  font-size: 34px;
  color: #fff;
}
.bw-amount .vg-coin { --s: 36px; }
.bw-sub { position: relative; color: var(--gold-hi); font-size: 18px; }
.vg-coin.rain { position: absolute; top: -40px; --s: 30px; animation: coin-rain 1.6s linear both; }
@keyframes coin-rain { to { transform: translateY(115vh) rotate(540deg); } }

.anim-shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ============ Welcome ============ */
#welcome { overflow: auto; }
.welcome-body {
  margin: auto;
  width: min(420px, 100%);
  padding: calc(20px + var(--safe-top)) 22px calc(20px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.welcome-logo { width: min(260px, 66vw); filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6)); }
.welcome-body .vg-title { font-size: 34px; }
.welcome-text { margin: 0; color: var(--text-soft); font-size: 17px; font-weight: 500; }
.welcome-text b { color: var(--gold-hi); }
.welcome-list { margin: 0; padding: 14px 16px 14px 34px; text-align: left; border-radius: 18px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 1.5px var(--gold-line); color: var(--text-soft); font-weight: 500; font-size: 14px; line-height: 1.45; }
.welcome-gift { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.welcome-gift b { color: var(--gold); }
#welcome-ok { width: 100%; }

/* ============ Lobby ============ */
.home-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 8px) calc(12px + var(--safe-right)) 0 calc(12px + var(--safe-left));
  height: calc(var(--safe-top) + 64px);
  flex: none;
}
.home-logo {
  height: clamp(110px, 18vh, 170px);
  margin: -8px auto -4px;
  flex: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.home-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 calc(14px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(14px + var(--safe-left));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-header { z-index: 1; pointer-events: none; }
.home-header > * { pointer-events: auto; }
.daily {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(60, 22, 112, 0.92), rgba(30, 12, 60, 0.92));
  box-shadow: inset 0 0 0 1.5px var(--gold-line);
  text-align: left;
  width: min(560px, 100%);
  align-self: center;
}
.daily-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: #FF4D6A; background: rgba(0, 0, 0, 0.35); }
.daily-text { flex: 1; display: flex; flex-direction: column; }
.daily-text b { font-size: 17px; }
.daily-text small { font-size: 13px; color: var(--text-soft); font-weight: 500; }
.daily-cta { font-family: var(--serif); font-weight: 900; color: var(--muted); font-size: 20px; }
.daily.ready .daily-cta { padding: 8px 14px; border-radius: 14px; font-size: 15px; color: #3A1A00; background: linear-gradient(180deg, #FFF0A6, #E79A16); }
.daily.ready .daily-icon { animation: wiggle 1.6s infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-10deg); } 86% { transform: rotate(10deg); } }
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(640px, 100%);
  align-self: center;
}
.game-tile {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: radial-gradient(ellipse at 50% 30%, rgba(130, 70, 220, 0.45), rgba(20, 8, 40, 0.9) 70%);
  box-shadow: inset 0 0 0 1.5px var(--gold-line), 0 6px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s;
}
.game-tile img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.game-tile:active { transform: scale(0.95); }
.tile-tag:empty { display: none; }
.tile-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2A1500;
  background: var(--gold);
}
#home > .vg-fine { padding-bottom: var(--safe-bottom); }

/* ============ Shop ============ */
#shop .vg-top { position: relative; flex: none; }
.shop-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px calc(16px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(16px + var(--safe-left));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.shop-body .vg-title { font-size: 30px; }
.shop-balance { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 18px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1.5px var(--gold-line); }
.shop-balance b { font-size: 22px; color: var(--gold); }
.shop-free { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(480px, 100%); }
.free-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #3D1A73, #1E0B3E);
  box-shadow: inset 0 0 0 1.5px var(--gold-line);
}
.free-card .vg-icon { font-size: 30px; color: var(--gold); }
.free-card small { color: var(--text-soft); font-weight: 500; }
.free-card.ready { box-shadow: inset 0 0 0 2px var(--gold), 0 0 16px rgba(255, 200, 80, 0.4); }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(480px, 100%); }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 12px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 20%, #4B1E8E, #1A0A34 75%);
  box-shadow: inset 0 0 0 1.5px var(--gold-line), 0 6px 14px rgba(0, 0, 0, 0.4);
}
.pack-tag { position: absolute; top: -9px; padding: 2px 10px; border-radius: 10px; font-size: 11px; color: #2A1500; background: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }
.pack-stack { position: relative; height: 54px; width: 80px; }
.pack-stack .vg-coin { position: absolute; --s: 40px; }
.pack-stack .vg-coin:nth-child(1) { left: 6px; top: 12px; }
.pack-stack .vg-coin:nth-child(2) { left: 34px; top: 12px; }
.pack-stack .vg-coin:nth-child(3) { left: 20px; top: 0; }
.pack-stack.s3 .vg-coin, .pack-stack.s4 .vg-coin { --s: 46px; }
.pack-coins { font-size: 24px; color: var(--gold); font-weight: 700; margin-top: 4px; }
.pack small { color: var(--text-soft); font-weight: 500; margin-bottom: 8px; }
.pack .vg-btn { width: 100%; font-family: var(--font); font-weight: 700; }
.shop-body .vg-fine { max-width: 360px; }
.shop-body .vg-fine::before, .shop-body .vg-fine::after { display: none; }

/* ============ Game screen ============ */
#game-area {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--top-h);
  bottom: var(--fine-h);
  display: flex;
  flex-direction: column;
  padding: 4px calc(12px + var(--safe-right)) 6px calc(12px + var(--safe-left));
  gap: 10px;
  overflow: hidden;
}
.game-fine {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--fine-h);
  padding-bottom: var(--safe-bottom);
}
#game .vg-top .coin-pill { margin-left: auto; }

@media (max-height: 700px) {
  :root { --top-h: calc(var(--safe-top) + 70px); }
  .vg-round { width: 46px; height: 46px; font-size: 22px; }
  .vg-game-logo { height: 62px; }
  .coin-pill { height: 40px; }
  .coin-pill .vg-coin { --s: 26px; }
  .coin-meta b { font-size: 15px; }
  .vg-btn { --h: 48px; font-size: 18px; }
  .vg-chip { --s: 50px; }
  .vg-ad { height: 40px; font-size: 14px; }
}
@media (max-width: 370px) {
  .coin-meta small { display: none; }
  .coin-meta b { font-size: 15px; min-width: 0; }
  .vg-game-logo { max-width: 40%; }
}

/* Phones: keep the game logo clear of the back button and the coin pill */
@media (max-width: 480px) {
  #game .coin-meta small { display: none; }
  #game .coin-meta b { min-width: 0; font-size: 16px; }
  #game .coin-pill { gap: 5px; padding-left: 5px; }
  #game .coin-pill .vg-coin { --s: 26px; }
  #game .coin-plus { width: 24px; height: 24px; font-size: 19px; }
  .vg-game-logo { max-width: calc(100% - 2 * (var(--safe-left) + 128px)); }
}

/* Settings / menu gear: big gold gear like the mockups */
#home-settings .vg-icon, #menu-btn .vg-icon {
  font-size: 32px;
  color: var(--gold);
  filter: drop-shadow(0 1px 0 #7A4A0E) drop-shadow(0 0 4px rgba(255, 210, 100, 0.35));
}
#home-settings:active .vg-icon, #menu-btn:active .vg-icon { transform: rotate(40deg); }
#home-settings .vg-icon, #menu-btn .vg-icon { transition: transform 0.2s; }
@media (max-height: 700px) {
  #home-settings .vg-icon, #menu-btn .vg-icon { font-size: 28px; }
}


/* ============ v2 look (design/v2): top bar, fine print, Vegas night scene ============ */
.vg-round {
  color: var(--gold);
  background: radial-gradient(circle at 50% 30%, #3A2160, #120822 72%);
  box-shadow: inset 0 0 0 2.5px #F3C75A, inset 0 0 0 4.5px #6A4310, 0 4px 10px rgba(0, 0, 0, 0.55);
}
.coin-pill {
  height: 44px;
  padding: 0 4px 0 5px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1A0D2E, #08040F);
  box-shadow: inset 0 0 0 2px var(--gold), 0 4px 10px rgba(0, 0, 0, 0.55);
}
.coin-meta small { display: none; }
.coin-meta b { font-size: 18px; min-width: 3.6em; text-align: center; }
.coin-plus { width: 32px; height: 32px; font-size: 24px; box-shadow: inset 0 0 0 2px var(--gold), 0 0 8px rgba(160, 90, 255, 0.6); }
.vg-game-logo { height: 92px; top: calc(var(--safe-top) + 2px); }
.game-fine { color: #B9AED0; letter-spacing: 0.02em; }
.game-fine::before, .game-fine::after { flex-basis: 70px; background: linear-gradient(90deg, transparent, rgba(246, 196, 83, 0.7), transparent); }

/* Vegas night: placeholder until the painted backgrounds arrive (design/v2) */
#game.scene-vegas {
  background:
    radial-gradient(ellipse 120% 26% at 50% 0%, rgba(255, 170, 80, 0.28), transparent 70%),
    radial-gradient(circle at 12% 9%, rgba(255, 210, 120, 0.55) 0 1.5px, transparent 3px),
    radial-gradient(circle at 22% 13%, rgba(255, 190, 90, 0.5) 0 1.5px, transparent 3px),
    radial-gradient(circle at 80% 11%, rgba(255, 210, 120, 0.55) 0 1.5px, transparent 3px),
    radial-gradient(circle at 90% 7%, rgba(200, 140, 255, 0.55) 0 1.5px, transparent 3px),
    radial-gradient(circle at 8% 22%, rgba(255, 150, 60, 0.35), transparent 9%),
    radial-gradient(circle at 93% 20%, rgba(255, 150, 60, 0.35), transparent 9%),
    linear-gradient(180deg, #1B0B38 0%, #2B1050 18%, #3A1466 30%, #1E0A38 55%, #0E0519 100%);
  background-color: #12061F;
}
#game.scene-image { background: var(--scene) center top / cover no-repeat, #12061F; }
@media (max-height: 700px) {
  .vg-game-logo { height: 70px; }
  .coin-pill { height: 40px; }
  .coin-plus { width: 28px; height: 28px; font-size: 20px; }
  .coin-meta b { font-size: 16px; }
}
@media (max-width: 360px) {
  .game-fine { font-size: 11px; gap: 6px; white-space: nowrap; }
  .game-fine::before, .game-fine::after { flex-basis: 24px; }
}


/* ============ Painted screen plates (ctx.stage) ============ */
#game.has-plate { background: #0D0618; overflow: hidden; }
#game.has-plate::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--plate) center bottom / cover no-repeat;
  filter: blur(26px) brightness(0.32) saturate(0.9);   /* only seen beside the plate on wide screens (iPad) */
}
#game-area.vg-plated .vg-plate-ext {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-position: center bottom;
  filter: blur(3px);
  pointer-events: none;
}
#game-area.vg-plated .vg-plate-ext::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 4, 9, 0) 0%, rgba(6, 4, 9, 0.75) 55%, #060409 100%);
}
#game.has-plate #game-fine { display: none; }
#game-area.vg-plated { top: 0; bottom: 0; padding: 0; gap: 0; display: block; }
.vg-stage {
  position: relative;
  margin: 0 auto;
  background: center / 100% 100% no-repeat;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.55);
}
.vg-stage .vg-plate-fine {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: calc(30 * var(--u));
  font-weight: 500;
  color: #C9BEDF;
  white-space: nowrap;
  pointer-events: none;
}

/* Painted card art (court cards + back): the image is the whole card */
.vg-card.painted, .vg-card.back { background: none; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45); }
.vg-card > img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; border-radius: inherit; pointer-events: none; }

/* Top bar on painted plates: sized and placed in plate pixels like the mockups (design/v2) */
#game.has-plate .vg-top { height: auto; padding: calc(22 * var(--u)) calc(28 * var(--u)) 0; align-items: flex-start; }
#game.has-plate #back-btn, #game.has-plate #menu-btn {
  width: max(36px, calc(80 * var(--u)));
  height: max(36px, calc(80 * var(--u)));
  font-size: max(17px, calc(38 * var(--u)));
}
#game.has-plate .coin-pill { height: max(32px, calc(72 * var(--u))); margin-top: calc(4 * var(--u)); padding: 0 calc(6 * var(--u)) 0 calc(8 * var(--u)); gap: calc(14 * var(--u)); }
#game.has-plate .coin-pill .vg-coin { --s: max(22px, calc(52 * var(--u))); }
#game.has-plate .coin-meta b { font-size: max(14px, calc(38 * var(--u))); min-width: 0; padding: 0 calc(6 * var(--u)); }
#game.has-plate .coin-plus { width: max(22px, calc(52 * var(--u))); height: max(22px, calc(52 * var(--u))); font-size: max(16px, calc(40 * var(--u))); }
#game.has-plate .vg-game-logo { top: calc(var(--logo-y, 20) * var(--u)); height: calc(var(--logo-h, 220) * var(--u)); max-width: 52%; }
/* each mockup's logo box (plate px) */
#game[data-game="bingo"] { --logo-y: 25; --logo-h: 230; }
#game[data-game="solitaire"] { --logo-y: 11; --logo-h: 199; }
#game[data-game="blocks"] { --logo-y: 0; --logo-h: 214; }
#game[data-game="sudoku"] { --logo-y: 10; --logo-h: 216; }
#game[data-game="spin"] { --logo-y: 16; --logo-h: 239; }
#game[data-game="poker"] { --logo-y: 18; --logo-h: 199; }
#game[data-game="slots"] { --logo-y: 40; --logo-h: 335; }
#game[data-game="roulette"] { --logo-y: 0; --logo-h: 165; }
#game[data-game="blackjack"] { --logo-y: 14; --logo-h: 204; }

/* Main menu: Las Vegas skyline (design/v2/art-src/lobby-bg.webp), anchored at the top, fills any phone height */
#home.lounge {
  /* the picture's bottom edge glows orange: fade it into deep purple */
  background:
    linear-gradient(180deg, rgba(28, 10, 56, 0) 52%, rgba(28, 10, 56, 0.55) 68%, #1C0A38 84%, #1A0933 100%),
    url("../img/v2/lobby.webp") center top / cover no-repeat,
    #1A0933;
}

/* Main menu fills the screen: the 3×3 grid takes all the height left under the logo and daily bonus,
   so there is no empty space at the bottom on tall phones (tiles keep a minimum size on small ones). */
#home .home-scroll { gap: clamp(10px, 1.6vh, 18px); }
#home .home-logo { height: clamp(110px, 20vh, 210px); }
#home .game-grid {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-rows: repeat(3, minmax(96px, 1fr));
  gap: clamp(10px, 1.4vh, 16px);
}
#home .game-tile { aspect-ratio: auto; min-height: 96px; padding: clamp(6px, 1.2vh, 14px); }
@media (max-height: 620px) {
  #home .home-logo { height: clamp(84px, 16vh, 110px); }
  #home .game-grid { grid-template-rows: repeat(3, minmax(76px, 1fr)); }
  #home .game-tile { min-height: 76px; }
}
#home .home-scroll > .vg-fine { white-space: nowrap; flex: none; }
@media (max-width: 360px) { #home .home-scroll > .vg-fine { font-size: 11px; gap: 6px; } #home .home-scroll > .vg-fine::before, #home .home-scroll > .vg-fine::after { flex-basis: 20px; } }
/* logos use the tile's full width */
#home .game-tile { padding-left: 4px; padding-right: 4px; }

/* Main menu logo: a gentle pulse with a soft gold glow */
#home .home-logo {
  animation: vg-logo-pulse 2.6s ease-in-out infinite;
  transform-origin: 50% 55%;
  will-change: transform, filter;
}
@keyframes vg-logo-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 0 rgba(255, 200, 90, 0)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(255, 200, 90, 0.45)); }
}
@media (prefers-reduced-motion: reduce) { #home .home-logo { animation: none; } }

/* "+" on the coin pill: drawn bars (always centred and crisp), glossy purple with a gold ring */
.coin-plus {
  position: relative;
  font-size: 0;
  background: radial-gradient(circle at 50% 28%, #C08BFF 0%, #8A3BF0 45%, #5A16C0 100%);
  box-shadow: inset 0 0 0 2px var(--gold), inset 0 -3px 5px rgba(30, 0, 70, 0.45), 0 0 8px rgba(160, 90, 255, 0.55);
}
.coin-plus::before,
.coin-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  height: 13%;
  min-height: 3px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(40, 0, 80, 0.45);
  transform: translate(-50%, -50%);
}
.coin-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.coin-pill:active .coin-plus { transform: scale(0.92); }

/* CONTINUE badge on a game tile with a game in progress */
#home .tile-tag {
  top: 8px;
  right: 8px;
  padding: 3px 9px;
  border-radius: 9px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #2A1500;
  background: linear-gradient(180deg, #FFF0A6, #F6C453 55%, #D98A10);
  box-shadow: 0 0 0 1.5px #7A4A0E, 0 0 10px rgba(255, 200, 80, 0.6);
  animation: vg-tag 1.6s ease-in-out infinite alternate;
}
@keyframes vg-tag { to { box-shadow: 0 0 0 1.5px #7A4A0E, 0 0 16px rgba(255, 200, 80, 0.9); } }

/* Round NEW GAME button drawn on painted plates (Blocks, Bingo): matches the painted round UNDO button */
.vg-newgame { position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); }
.vg-newgame-ring {
  width: calc(96 * var(--u));
  height: calc(96 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: calc(46 * var(--u));
  color: #F3C75A;
  background: radial-gradient(circle at 50% 35%, #2C1A42 0%, #160B24 60%, #0A0512 100%);
  box-shadow:
    inset 0 0 0 calc(3 * var(--u)) #E2AE4C,
    inset 0 0 0 calc(5 * var(--u)) #5A3608,
    inset 0 calc(8 * var(--u)) calc(12 * var(--u)) rgba(255, 255, 255, 0.06),
    0 calc(5 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, 0.6);
  transition: transform 0.1s;
}
.vg-newgame-ring .vg-icon { filter: drop-shadow(0 calc(2 * var(--u)) 0 #6A4310); }
.vg-newgame-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: calc(19 * var(--u));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #F2E4C4;
  text-shadow: 0 calc(2 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.8);
}
.vg-newgame:active .vg-newgame-ring { transform: scale(0.94); }
.vg-newgame:disabled { opacity: 0.45; }
/* website: the shop says coins are free (no packs for sale) */
.shop-web-note{grid-column:1/-1;margin:8px 0 0;text-align:center;opacity:.8}
/* WEBSITE on a computer (velo-picks.com/casino, the owner 2026-10-28 — "add more space at the bottom, we cannot read
   'Play coins · No cash value'"): the lobby's fine print higher up and easier to read */
@media (min-width: 768px) {
  /* (the line near the bottom edge — the owner, 2026-10-28 "the text more at the bottom") */
  html.vg-web #home .home-scroll { padding-bottom: calc(12px + var(--safe-bottom)); }
  html.vg-web #home .home-scroll > .vg-fine { font-size: 14px; color: #d8cdee; }
}
/* GAME LOGOS INSIDE THEIR TILES (the owner, 2026-10-28 "fix logos too"): sized by the tile's box, not by the logo's width —
   the taller v2 logos were spilling over the tile's frame and onto the tiles and the line under them */
.game-tile img { position: absolute; inset: 8px 6px; width: calc(100% - 12px); height: calc(100% - 16px); object-fit: contain; }
