/* ═══ Итог: спокойный тёмный интерфейс, водяные кнопки, немного цвета. Подключается самым последним. ═══ */
:root { --acc: #4fae84; --acc2: #2f7d5c; --vio: #8f83c9; --gold: #e3c878; }
.bg { background:
    radial-gradient(80% 40% at 6% -6%, rgba(63,143,107,.26), transparent 70%),
    radial-gradient(70% 40% at 108% 22%, rgba(126,112,190,.20), transparent 70%),
    radial-gradient(70% 40% at 50% 112%, rgba(63,143,107,.12), transparent 70%),
    linear-gradient(180deg, #101513, #0a0c0b); }

/* ─── водяные кнопки: капля стекла. Плавный градиент, светлая кромка, мягкое свечение снизу ─── */
.btn { min-height: 52px; border-radius: 26px; font-weight: 650; font-size: 15.5px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.12) 42%, rgba(255,255,255,.07) 100%);
  border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 18px rgba(255,255,255,.05), 0 8px 22px rgba(0,0,0,.28); text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.btn:active { transform: scale(.965); background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.12)); }
.btn.gold, .btn.green { border-color: rgba(170,235,205,.42);
  background: linear-gradient(180deg, rgba(128,214,172,.72) 0%, rgba(74,160,122,.66) 45%, rgba(46,120,88,.66) 100%);
  box-shadow: inset 0 1px 0 rgba(225,255,240,.6), inset 0 -10px 18px rgba(20,70,48,.3), 0 8px 24px rgba(47,125,92,.34); }
.btn.gold:active, .btn.green:active { background: linear-gradient(180deg, rgba(140,224,184,.8), rgba(52,128,96,.72)); }
.btn.red { border-color: rgba(245,185,195,.4);
  background: linear-gradient(180deg, rgba(236,136,152,.7) 0%, rgba(196,86,106,.64) 45%, rgba(150,54,76,.64) 100%);
  box-shadow: inset 0 1px 0 rgba(255,228,232,.5), inset 0 -10px 18px rgba(80,10,26,.3), 0 8px 24px rgba(150,54,74,.3); }
.btn.sm { min-height: 42px; border-radius: 21px; font-size: 14px; padding: 0 15px; }
.btn.ghost, .btn.flat { border-radius: 16px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); box-shadow: none; text-shadow: none; }
.btn.ghost.sm, .btn.flat.sm { border-radius: 13px; }
.btn[disabled] { box-shadow: none !important; text-shadow: none; }
.wbtn, .maphud .wbtn { height: 42px; border-radius: 21px; color: #fff; font-weight: 650;
  background: linear-gradient(180deg, rgba(60,66,63,.60) 0%, rgba(22,25,24,.66) 100%); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 8px 20px rgba(0,0,0,.36); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.wbtn.on { background: linear-gradient(180deg, rgba(128,214,172,.86), rgba(46,120,88,.82)); border-color: rgba(170,235,205,.5); }
.zoom button, .zoom .wbtn.round { width: 46px; height: 46px; border-radius: 50%; font-size: 23px;
  background: linear-gradient(180deg, rgba(60,66,63,.60), rgba(22,25,24,.66)); border: 1px solid rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 8px 20px rgba(0,0,0,.36); }
.tabs button.on, .seg button.on, .presets button.on { background: linear-gradient(180deg, rgba(128,214,172,.42), rgba(46,120,88,.4)); border-color: rgba(170,235,205,.36); color: #fff; }
#nav .drop { background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
#nav { background: linear-gradient(180deg, rgba(40,44,42,.74), rgba(12,14,13,.88)); border-color: rgba(255,255,255,.1); }

/* ─── немного цвета: значки и уголок карточки в цвете раздела ─── */
.ico { filter: saturate(.85); background: rgba(255,255,255,.06); background: color-mix(in srgb, var(--c, #fff) 14%, rgba(255,255,255,.04)); }
.ico.gold { --c: var(--acc); }
.sect, .gcard { background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--c, #fff) 12%, transparent), transparent 62%), var(--card); }
.job .tag::before { filter: none; }
.chip.gold { background: rgba(79,174,132,.16); color: #9be0bf; }
.bar i, .timebar i { background: linear-gradient(90deg, var(--acc2), #7fd8ad); }

/* ─── шапка: слева баланс, справа ник и аватарка. Ничего лишнего ─── */
#hEnergy, #hLevel { display: none; }
#top { gap: 8px; padding-left: 14px; padding-right: 14px; }
.tstat { height: 38px; padding: 0 13px; border-radius: 19px; font-size: 14.5px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.tstat svg { width: 17px; height: 17px; }
.admbtn { width: 38px; height: 38px; }
.who .name { font-size: 14.5px; max-width: 42vw; }
.who .sub { font-size: 11.5px; max-width: 42vw; }
.who .ava { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }

/* ─── профиль ─── */
.prof { position: relative; overflow: hidden; padding: 18px 16px 16px; margin-bottom: 10px; border-radius: 24px;
  background: radial-gradient(90% 110% at 0% 0%, rgba(79,174,132,.26), transparent 58%), radial-gradient(80% 110% at 100% 0%, rgba(143,131,201,.22), transparent 60%), var(--card);
  border-color: rgba(255,255,255,.1); }
.prof-top { display: flex; align-items: center; gap: 14px; }
.pring { position: relative; width: 88px; height: 88px; flex: none; display: grid; place-items: center; }
.pring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); stroke-width: 4; fill: none; }
.pring .rt { stroke: rgba(255,255,255,.1); }
.pring .rp { stroke: #7fd8ad; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.pring .ava { width: 70px; height: 70px; border-radius: 50%; font-size: 27px; }
.pname { font-size: 21px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.pchips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.wal { padding: 16px; }
.wal .big { font-size: 29px; }
.kv { padding: 10px 11px; border-radius: 14px; background: rgba(255,255,255,.045); }
.kv b { font-size: 14.5px; }
.mstats { gap: 9px; }
.mstat { padding: 12px 8px 11px; border-radius: 18px; }
.mstat .mi { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.06); background: color-mix(in srgb, var(--c) 16%, transparent); }
.mstat svg { width: 17px; height: 17px; color: var(--c); filter: none; }
.mstat b { font-size: 15.5px; margin-top: 7px; }

/* ─── подарки ─── */
.giftgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift { padding: 16px 12px 14px; text-align: center; border-radius: 20px; transition: transform .15s; position: relative;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255,122,192,.14), transparent 65%), var(--card); }
.gift:active { transform: scale(.96); }
.gift.off { opacity: .55; }
.gift .ge { font-size: 52px; line-height: 1.1; }
.gift b { display: block; margin-top: 6px; font-size: 15.5px; }
.gift small { display: block; color: var(--mute); font-size: 12px; }
.gift .gp { display: inline-block; margin-top: 9px; padding: 5px 12px; border-radius: 13px; font-weight: 700; font-size: 13.5px; color: var(--gold); background: rgba(227,200,120,.12); }

/* ─── карта: только карта на весь экран, кнопки плавают поверх ─── */
.mapwrap { background: #0a0c0b; }
#world { border-radius: 0; box-shadow: none; }
.maphud { top: calc(64px + var(--safe-t) + var(--tg-content-safe-area-inset-top, 0px)); padding: 0 12px 8px; }
.zoom { left: auto; right: 12px; top: auto; bottom: calc(104px + var(--safe-b)); flex-direction: column; gap: 9px; }
.mapwrap.near .zoom { bottom: calc(104px + var(--safe-b)); right: 12px; }
#top { background: linear-gradient(rgba(10,12,11,.92) 40%, rgba(10,12,11,0)); }

#top { background: linear-gradient(rgba(10,12,11,.96) 58%, rgba(10,12,11,0)); padding-bottom: 20px; }
.who .name, .who .sub { text-shadow: 0 1px 3px rgba(0,0,0,.7); }


/* ═══ Меню — круглая водяная капсула; шапка — показатели прямо на фоне; карта — кнопки значками у края ═══ */
#nav { border-radius: 36px; padding: 7px; background: linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(120,130,125,.16) 45%, rgba(20,24,22,.42) 100%);
  border: 1px solid rgba(255,255,255,.26); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 20px rgba(0,0,0,.22), 0 14px 34px rgba(0,0,0,.5); }
#nav button { border-radius: 30px; color: rgba(240,244,241,.72); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
#nav button.on { color: #fff; }
#nav .drop { top: 7px; bottom: 7px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(255,255,255,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -8px 14px rgba(255,255,255,.06), 0 6px 16px rgba(0,0,0,.3); }

#hEnergy, #hLevel { display: inline-flex; }
.tstat, #hCash { height: auto; padding: 0; background: none; border: 0; border-radius: 0; gap: 5px; font-size: 14.5px; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.tstat b { font-weight: 700; }
.tstat svg { width: 17px; height: 17px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
#top { gap: 14px; align-items: center; }
.admbtn { width: 32px; height: 32px; margin-left: -4px; }
@media (max-width: 370px) { #hLevel { display: none; } }

/* на карте шапка без подложки — карта видна до самого верха */
body.onmap #top { background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0)); padding-bottom: 26px; pointer-events: none; }
body.onmap #top > * { pointer-events: auto; }
.maphud { left: auto; right: 12px; top: calc(74px + var(--safe-t) + var(--tg-content-safe-area-inset-top, 0px)); flex-direction: column; gap: 9px; padding: 0; overflow: visible; width: auto; }
.maphud .wbtn { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex-direction: column; justify-content: center; gap: 1px; }
.maphud .wbtn svg { width: 18px; height: 18px; }
.maphud .wbtn span { font-size: 8.5px; font-weight: 700; letter-spacing: .01em; line-height: 1; }
.zoom { right: 12px; bottom: calc(108px + var(--safe-b)); }

body.onmap #nav { background: linear-gradient(180deg, rgba(70,78,74,.62) 0%, rgba(26,30,28,.72) 100%); }
body.onmap #nav button { color: rgba(245,248,246,.82); }
body.onmap #top { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }


/* ═══ Шапка: баланс крупно, под ним мелко энергия и уровень; справа ник, главный бизнес, аватарка ═══ */
#top { gap: 10px; align-items: center; padding-left: 14px; padding-right: 14px; }
.tleft { display: flex; flex-direction: column; gap: 3px; flex: none; }
#hCash { font-size: 16px; gap: 6px; }
#hCash svg { width: 18px; height: 18px; }
.tmini { display: flex; gap: 10px; }
.tmini .tstat { font-size: 11.5px; gap: 3px; color: var(--mute); }
.tmini .tstat b { font-weight: 600; color: var(--mute); }
.tmini .tstat svg { width: 12px; height: 12px; }
#hEnergy, #hLevel { display: inline-flex; }
.admbtn { width: 34px; height: 34px; margin-left: 2px; }
.who { flex: 1 1 auto; min-width: 0; justify-content: flex-end; display: flex; align-items: center; gap: 10px; text-align: right; }
.who > div:first-child { min-width: 0; flex: 0 1 auto; }
.who .name { font-size: 15px; max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .sub { font-size: 11.5px; max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); }
.who .ava { width: 42px; height: 42px; flex: none; }
@media (max-width: 370px) { #hLevel { display: inline-flex; } }

/* на карте верхняя панель убирается совсем — только карта */
body.onmap #top { display: none; }
.maphud { top: calc(14px + var(--safe-t) + var(--tg-content-safe-area-inset-top, 0px)); }

/* кнопки масштаба — в ряд, знак по центру */
.zoom { flex-direction: row; left: auto; right: 12px; top: auto; bottom: calc(108px + var(--safe-b)); gap: 8px; }
.mapwrap.near .zoom { bottom: calc(108px + var(--safe-b)); right: 12px; }
.zoom button, .zoom .wbtn.round { display: grid; place-items: center; padding: 0; width: 46px; height: 46px; line-height: 1; font-size: 24px; font-weight: 500; }
.zoom button span { display: block; line-height: 1; margin-top: -2px; }

/* ─── сцена игры: одна общая панель — название, показатели и время ─── */
.ghud { margin: calc(10px + var(--safe-t)) 10px 8px; padding: 12px 14px 12px; border-radius: 26px; background: var(--card); border: 1px solid var(--edge); }
.ghead { display: flex; align-items: center; gap: 10px; }
.ghead .t { font-size: 18px; font-weight: 750; line-height: 1.15; }
.ghead .mut { font-size: 12.5px; }
.ghead .x, .stage-top .x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 0; color: var(--mute); }
.ghead .x svg, .stage-top .x svg { width: 16px; height: 16px; }
.gstats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 10px; }
.gstats > div { text-align: center; padding: 2px 0; border-left: 1px solid rgba(255,255,255,.08); }
.gstats > div:first-child { border-left: 0; }
.gstats b { display: block; font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.1; }
.gstats small { display: block; color: var(--mute); font-size: 11px; margin-top: 2px; }
.ghud .timebar { margin: 0; height: 5px; border-radius: 5px; }
.play { margin: 0 10px calc(10px + var(--safe-b)); border-radius: 26px; }
.stage-top { margin: calc(10px + var(--safe-t)) 10px 4px; padding: 10px 14px; border-radius: 26px; background: var(--card); border: 1px solid var(--edge); }
.stage-top .t { font-size: 18px; font-weight: 750; }

/* ─── выигрыш в казино: плашка сверху стола, всегда на виду ─── */
.table { position: relative; }
.outcome { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5; min-height: 0; padding: 0; font-size: 16px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.outcome.show { padding: 7px 16px; border-radius: 18px; background: rgba(12,15,14,.86); border: 1px solid rgba(255,255,255,.14); animation: outIn .4s cubic-bezier(.2,1.4,.4,1); }
.outcome.show.win { border-color: rgba(95,199,149,.5); color: #8fe3bc; }
.outcome.show.lose { border-color: rgba(224,102,122,.45); color: #f0a3b0; }
@keyframes outIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.9); } }
.plinko { min-height: 260px; }

/* ─── окна-шторки ─── */
.sheet-bg { background: rgba(4,6,5,.62); }
.sheet-body { left: 10px; right: 10px; bottom: 10px; padding: 10px 18px calc(18px + var(--safe-b)); border-radius: 30px;
  background: linear-gradient(180deg, #1b201e 0%, #121514 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 -8px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.grip { width: 36px; height: 4px; margin: 2px auto 16px; background: rgba(255,255,255,.2); }
.sheet h3 { font-size: 20px; font-weight: 750; letter-spacing: -.01em; margin: 0 44px 3px 0; }
.sheet h3 + .mut { font-size: 13px; }
.sheet .sx { right: 16px; top: 16px; width: 34px; height: 34px; background: rgba(255,255,255,.07); }
.sheet .btn { margin-top: 16px !important; }
.sheet .row .btn { margin-top: 0 !important; }
.sheet .row { margin-top: 16px; }
.opt { padding: 13px 14px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); margin-top: 10px; }
.sprice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 20px;
  background: radial-gradient(90% 140% at 0% 50%, rgba(79,174,132,.16), transparent 62%), rgba(255,255,255,.045); border: 1px solid rgba(79,174,132,.22); }
.sprice .sp { font-size: 26px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.confetti { display: none; }

/* ═══ Панель игры: название, три показателя со значками в ячейках, полоса времени ═══ */
.ghud { margin: calc(10px + var(--safe-t)) 10px 8px; padding: 14px 14px 13px; border-radius: 28px;
  background: radial-gradient(100% 140% at 0% 0%, rgba(79,174,132,.16), transparent 55%), linear-gradient(180deg, #1a1f1d, #121514);
  border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px rgba(0,0,0,.35); }
.ghead { gap: 12px; }
.ghead .t { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.ghead .mut { font-size: 12.5px; margin-top: 1px; }
.ghead .x { width: 38px; height: 38px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: var(--ink); }
.gstats { gap: 8px; margin: 12px 0 12px; }
.gstats > div { border-left: 0; padding: 9px 6px 8px; border-radius: 18px; background: rgba(255,255,255,.045); display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 7px; }
.gstats span { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.gstats span svg { width: 15px; height: 15px; }
.gstats .g1 span { color: #e3c878; } .gstats .g2 span { color: #7fd8ad; } .gstats .g3 span { color: #9f93d8; }
.gstats b { font-size: 18px; text-align: left; line-height: 1.05; }
.gstats small { text-align: left; margin-top: 1px; font-size: 10.5px; }
.ghud .timebar { height: 7px; border-radius: 7px; background: rgba(255,255,255,.08); overflow: hidden; }
.ghud .timebar i { border-radius: 7px; background: linear-gradient(90deg, #2f7d5c, #7fd8ad); transition: background .3s; }
.ghud .timebar i.low { background: linear-gradient(90deg, #96364a, #f08aa0); }

/* ═══ Картинки-силуэты пользователя: значки казино и купюра. Красятся цветом текста через маску ═══ */
.mk { display: inline-block; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.gcard .ico .mk { width: 30px; height: 30px; }
.gcard .ico { width: 52px; height: 52px; border-radius: 17px; color: var(--c); }
#hCash .mk { width: 21px; height: 21px; color: var(--gold); }
.btn .mk { width: 19px; height: 19px; }
.ico .mk { width: 22px; height: 22px; }
.toast .ti .mk { width: 18px; height: 18px; }

/* ═══ Карточки казино с картинкой: текст слева сверху, картинка в правом нижнем углу, обрезается скруглением ═══ */
.games { gap: 11px; }
.gcard.art { position: relative; overflow: hidden; display: block; height: 150px; min-height: 0; padding: 14px; border-radius: 22px;
  background: radial-gradient(90% 90% at 100% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 65%), var(--card); }
.gcard.art .gtxt { position: relative; z-index: 2; max-width: 62%; }
.gcard.art b { display: block; font-size: 16px; line-height: 1.2; }
.gcard.art small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--mute); }
.gcard.art .gart { position: absolute; right: -14px; bottom: -14px; width: 62%; height: 68%; object-fit: contain; object-position: right bottom; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transition: transform .2s; }
.gcard.art:active .gart { transform: scale(1.06) rotate(-3deg); }
.gcard.art .tagc { position: absolute; left: 14px; right: auto; top: auto; bottom: 13px; z-index: 2; background: rgba(10,12,11,.66); color: var(--ink); font-size: 11px; padding: 4px 9px; border-radius: 10px; }
.sect.art { overflow: hidden; }
.sect.art .gart { position: absolute; right: -16px; bottom: -16px; width: 86px; height: 86px; object-fit: contain; z-index: 0; opacity: .9; pointer-events: none; }
.sect.art > div, .sect.art .ico { position: relative; z-index: 1; }
.sect.art .arr { display: none; }

/* картинка на карточке стоит наклонно, вдоль диагонали (верх смотрит в левый верхний угол) */
.gcard.art .gart { right: -18px; bottom: -22px; width: 66%; height: 74%; object-position: center; transform: rotate(-38deg); transform-origin: 60% 60%; }
.gcard.art:active .gart { transform: rotate(-38deg) scale(1.07); }
.sect.art .gart { transform: rotate(-38deg); right: -18px; bottom: -18px; }
.gcard.art[data-g="slots"] .gart { right: -2px; bottom: -4px; width: 60%; }
.gcard.art[data-g="crash"] .gart { right: -6px; bottom: -8px; }
.gcard.art[data-g="hilo"] .gart { width: 54%; right: -14px; bottom: -26px; }
.gcard.art[data-g="mines"] .gart { right: -10px; bottom: -14px; }
/* слоты: машина стоит почти ровно и видна целиком; карты — меньше */
.gcard.art[data-g="slots"] .gart { transform: rotate(-12deg); right: 4px; bottom: 2px; width: 60%; height: 58%; transform-origin: center; }
.gcard.art[data-g="slots"]:active .gart { transform: rotate(-12deg) scale(1.07); }
.gcard.art[data-g="hilo"] .gart { width: 44%; height: 62%; right: -6px; bottom: -14px; }
/* краш: на картинке нос ракеты слева — поворачиваем в другую сторону, чтобы она летела вверх, а пламя уходило в угол */
.gcard.art[data-g="crash"] .gart { transform: rotate(38deg); right: -22px; bottom: -18px; width: 70%; height: 70%; transform-origin: center; }
.gcard.art[data-g="crash"]:active .gart { transform: rotate(38deg) scale(1.07); }
.gcard.art[data-g="crash"] .gart { right: -12px; bottom: -8px; width: 60%; height: 58%; }
.gcard.art[data-g="crash"] .gtxt { max-width: 56%; }
/* слоты: наклон вдоль диагонали, как у остальных, но машина видна целиком вместе с рычагом */
.gcard.art[data-g="slots"] .gart { transform: rotate(-38deg); right: 0; bottom: 4px; width: 56%; height: 56%; transform-origin: center; object-position: center; }
.gcard.art[data-g="slots"]:active .gart { transform: rotate(-38deg) scale(1.07); }
.gcard.art[data-g="mines"] .gart { right: -18px; bottom: -22px; }
/* апгрейд: стрелки стоят прямо (зелёная вверх); плинко: надпись видна целиком */
.gcard.art[data-g="upgrade"] .gart { transform: rotate(-8deg); right: -6px; bottom: -8px; width: 56%; height: 62%; transform-origin: center; }
.gcard.art[data-g="upgrade"]:active .gart { transform: rotate(-8deg) scale(1.07); }
.gcard.art[data-g="plinko"] .gart { transform: rotate(-14deg); right: 4px; bottom: 8px; width: 68%; height: 44%; transform-origin: center; }
.gcard.art[data-g="plinko"]:active .gart { transform: rotate(-14deg) scale(1.07); }
.gcard.art[data-g="plinko"] .tagc { bottom: 13px; }

/* казино: купюра крупно и без подложки; текст на карточках игр мельче и аккуратнее */
.cashcard { padding: 14px 16px; }
.cashcard .row { gap: 14px; }
.mk.cashpic { width: 44px; height: 44px; color: var(--gold); }
.cashcard .mut { font-size: 12px; }
.cashcard .big { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.cashcard .chip { font-size: 11.5px; padding: 5px 11px; }
.gcard.art { padding: 13px 14px; height: 146px; }
.gcard.art .gtxt { max-width: 60%; }
.gcard.art b { font-size: 14.5px; font-weight: 700; letter-spacing: -.005em; line-height: 1.2; }
.gcard.art small { margin-top: 3px; font-size: 11px; line-height: 1.32; color: var(--mute); opacity: .9; }
.gcard.art .tagc { left: 13px; bottom: 12px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 9px; letter-spacing: .01em; }
/* апгрейд и плинко — меньше, чтобы не подходили к тексту */
.gcard.art[data-g="upgrade"] .gart { width: 42%; height: 48%; right: 2px; bottom: 0; }
.gcard.art[data-g="plinko"] .gart { width: 52%; height: 32%; right: 6px; bottom: 10px; }

/* меню: значки-картинки пользователя */
#nav button .mk { width: 23px; height: 23px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
#nav button.on .mk { transform: translateY(-1px) scale(1.1); }

#nav button .mk { width: 19px; height: 19px; }
#nav button { gap: 4px; }
