@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(BigShouldersDisplay.woff2) format('woff2'); }

:root {
  --bg: #0c0e13; --panel: #13161e; --panel2: #181c27; --card: #1b2030; --card2: #232a3c; --line: #2a3146; --line2: #39425f;
  --text: #edf0f7; --muted: #9ba4ba; --dim: #6c7590;
  --gold: #ffc43d; --gold2: #ff9a1f; --gem: #5ff0dc; --ad: #3fa9ff; --ok: #59e08f; --bad: #ff5d6c; --violet: #b48cff;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Arial, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 14px/1.35 var(--ui);
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

#app {
  position: fixed; inset: 0; display: flex;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}
#stage { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; background: #000; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }
#panel { flex: 0 0 380px; display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-left: 1px solid var(--line); }
@media (min-width: 1500px) { #panel { flex-basis: 420px; } }
@media (max-width: 920px) and (min-aspect-ratio: 1/1) { #panel { flex-basis: 320px; } }
@media (max-aspect-ratio: 1/1) {
  #app { flex-direction: column; }
  #stage { flex: 1 1 52%; }
  #panel { flex: 1 1 48%; border-left: 0; border-top: 1px solid var(--line); }
}

/* ── HUD ── */
#hud { position: absolute; inset: 0; pointer-events: none; }
#hud button { pointer-events: auto; }
.hud-left { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-hud {
  background: rgba(10, 12, 18, .64); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 8px 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.money { min-width: 130px; }
.cash { font: 800 30px/1 var(--display); color: var(--gold); letter-spacing: .4px; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); transform-origin: left center; }
.cash.pulse { animation: cashPulse .22s ease-out; }
@keyframes cashPulse { 0% { transform: scale(1.07); } 100% { transform: scale(1); } }
.rate { font: 700 15px/1.2 var(--display); color: #ffe7a6; opacity: .92; margin-top: 2px; letter-spacing: .3px; }
.gems { margin-top: 5px; font: 800 17px/1 var(--display); color: var(--gem); display: flex; align-items: center; gap: 7px; }
.depthc { position: absolute; right: 10px; top: 10px; min-width: 170px; max-width: 48%; text-align: right; }
.drow { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.depth { font: 800 26px/1 var(--display); letter-spacing: .3px; }
.speed { font: 700 13px/1 var(--display); color: var(--muted); letter-spacing: .3px; }
.sname { font-size: 12px; color: #dfe3ee; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 5px 0 3px; overflow: hidden; }
.sbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); border-radius: 3px; }
.snext { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gem-ico {
  display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, #c9fff7, var(--gem) 50%, #1aa593); box-shadow: 0 0 8px rgba(95, 240, 220, .55);
}
.boosts { display: flex; flex-direction: column; gap: 5px; }
.chip {
  display: flex; gap: 10px; align-items: center; justify-content: space-between; min-width: 150px; padding: 5px 10px; border-radius: 999px;
  font: 700 13px/1 var(--display); letter-spacing: .3px; background: rgba(10, 12, 18, .72); border: 1px solid rgba(255, 255, 255, .12);
}
.chip.turbo { color: #9fd6ff; border-color: rgba(63, 169, 255, .55); }
.chip.od { color: #ffb37a; border-color: rgba(255, 106, 31, .65); }
.chip.rush, .chip.frenzy { color: #ffe27a; border-color: rgba(255, 205, 60, .6); }

.toasts { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); width: min(440px, 92%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.toast {
  display: flex; gap: 8px; align-items: center; max-width: 100%; padding: 8px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(16, 19, 28, .93); border: 1px solid var(--line2); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); animation: toastIn .3s ease-out;
}
.toast b { color: var(--gold); margin-left: 3px; }
.toast .emo { font-size: 20px; line-height: 1; }
.toast.art { border-color: rgba(180, 140, 255, .7); } .toast.art b { color: var(--violet); }
.toast.ach { border-color: rgba(255, 196, 61, .6); }
.toast.gold { border-color: rgba(255, 210, 70, .7); color: #ffe9a6; }
.toast.gem { border-color: rgba(95, 240, 220, .7); color: var(--gem); font: 800 20px var(--display); gap: 10px; }
.toast.warn { border-color: rgba(255, 93, 108, .6); }
.toast.info { border-color: rgba(63, 169, 255, .55); }
.toast.out { opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

.banner { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; width: 92%; }
.banner .b1 {
  font: 900 clamp(30px, 6vw, 56px)/1 var(--display); color: #fff; text-transform: uppercase; letter-spacing: 1px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 30px rgba(255, 196, 61, .45);
}
.banner .b2 { margin-top: 6px; font: 700 16px/1.2 var(--display); color: var(--gold); letter-spacing: .5px; text-shadow: 0 2px 4px rgba(0, 0, 0, .7); }
.banner.show { animation: bannerIn 3s ease both; }
@keyframes bannerIn {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
  12% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
  20% { transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -62%); }
}

.hint {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%); width: max-content; max-width: min(420px, 80%);
  padding: 10px 16px; border-radius: 14px; background: rgba(255, 196, 61, .96); color: #241500; font-weight: 700; text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); animation: hintBob 1.6s ease-in-out infinite;
}
@keyframes hintBob { 50% { transform: translate(-50%, -5px); } }

.actions { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; }
.act {
  position: relative; width: 94px; height: 70px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); overflow: hidden;
  background: rgba(10, 12, 18, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px;
}
.act .lbl, .act .sub, .act .adtag { position: relative; }
.act .lbl { font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; }
.act .sub { font: 700 12px/1 var(--display); color: var(--muted); letter-spacing: .3px; }
.act .ring { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(255, 106, 31, .35) calc(var(--p, 1) * 360deg), transparent 0); }
.act.od.ready { border-color: rgba(255, 140, 60, .85); animation: odGlow 1.4s ease-in-out infinite; }
.act.od.ready .lbl { color: #ffb37a; }
.act.od.active { border-color: #ffb347; } .act.od.active .ring { background: conic-gradient(rgba(255, 170, 60, .65) calc(var(--p) * 360deg), transparent 0); }
.act.od.active .lbl { color: #ffe0a8; }
.act.od.cool .lbl { color: var(--muted); }
@keyframes odGlow { 50% { box-shadow: 0 0 22px rgba(255, 106, 31, .55); } }
.act.turbo { border-color: rgba(63, 169, 255, .6); } .act.turbo .lbl { color: #a9dbff; }
.adtag { font: 800 10px/1 var(--ui); background: var(--ad); color: #fff; border-radius: 4px; padding: 2px 5px; letter-spacing: .3px; }

.sbtns { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center;
  background: rgba(10, 12, 18, .68); color: #dfe4ef;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.off { color: var(--bad); }
.icon-btn.off .w, .icon-btn:not(.off) .x { display: none; }

.prep { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: clamp(84px, 14%, 180px); background: rgba(5, 8, 14, .25); pointer-events: auto; }
.prep-card { width: min(360px, 88%); padding: 18px; border-radius: 18px; background: rgba(16, 19, 28, .94); border: 1px solid var(--line2); text-align: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.prep-card .h { font: 900 26px/1.1 var(--display); letter-spacing: .4px; }
.prep-card p { color: var(--muted); margin: 6px 0 14px; }

/* ── panel ── */
#tabs { flex: none; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--panel2); border-bottom: 1px solid var(--line); }
.tab {
  position: relative; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 1px 6px; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--dim); font-size: 11px; font-weight: 600;
}
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab svg { width: 22px; height: 22px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); border-bottom-color: var(--gold); background: linear-gradient(180deg, transparent, rgba(255, 196, 61, .07)); }
.badge {
  position: absolute; top: 3px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--bad); color: #fff; font: 700 10px/16px var(--ui); font-style: normal; text-align: center;
}
.tab-body { flex: 1; min-height: 0; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.tab-body::-webkit-scrollbar { width: 8px; }
.tab-body::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; }

.list { display: flex; flex-direction: column; gap: 6px; }
.row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.row .ico { width: 44px; height: 44px; border-radius: 50%; }
.ico.emo { display: grid; place-items: center; font-size: 23px; background: var(--card2); }
.ico.qm { display: grid; place-items: center; font: 800 22px var(--display); color: var(--dim); background: var(--card2); }
.row .info { min-width: 0; }
.row .nm { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; line-height: 1.2; }
.row .own { font: 800 16px/1 var(--display); color: var(--gold); }
.row .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.row.locked { opacity: .55; }
.row.pulse { border-color: var(--gold); animation: rowGlow 1.2s ease-in-out infinite; }
@keyframes rowGlow { 50% { box-shadow: 0 0 0 2px rgba(255, 196, 61, .5), 0 0 26px rgba(255, 196, 61, .3); } }
.buy {
  min-width: 96px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card2); color: var(--dim);
  display: flex; flex-direction: column; align-items: center; gap: 1px; transition: transform .06s;
}
.buy .q { font-size: 10px; font-weight: 700; text-transform: uppercase; opacity: .85; }
.buy .c { font: 800 16px/1.05 var(--display); letter-spacing: .3px; }
.buy.ok { background: linear-gradient(180deg, #ffd45e, #f29a16); border-color: #ffd45e; color: #2a1800; box-shadow: 0 3px 0 #b8680a; }
.buy.ok:active { transform: translateY(2px); box-shadow: 0 1px 0 #b8680a; }
.buy.gem.ok { background: linear-gradient(180deg, #8ff7ea, #22b9a6); border-color: #8ff7ea; color: #04211d; box-shadow: 0 3px 0 #13786b; }
.buy:disabled { cursor: default; }
.wide { width: 100%; }
.amt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--panel2); padding: 3px; border-radius: 10px; border: 1px solid var(--line); }
.amt button { border: 0; background: none; padding: 6px 0; border-radius: 8px; font: 800 14px var(--display); color: var(--muted); letter-spacing: .3px; }
.amt button.on { background: var(--card2); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line2); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.card .h { font: 800 19px/1.15 var(--display); letter-spacing: .3px; display: flex; align-items: center; gap: 8px; }
.card .desc { margin: 6px 0 0; color: #d7dcea; font-size: 13px; }
.note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.center { text-align: center; }
.small { font-size: 11px; }
.tip { color: var(--dim); font-size: 12px; margin: 2px 4px; }
.sec-h { font: 800 15px var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin: 6px 2px 0; }
.empty { color: var(--muted); text-align: center; padding: 18px 8px; margin: 0; }
.buyall { padding: 10px; border-radius: 10px; border: 1px solid #ffd45e; background: linear-gradient(180deg, #ffd45e, #f29a16); color: #2a1800; font: 800 16px var(--display); letter-spacing: .3px; box-shadow: 0 3px 0 #b8680a; }
.buyall:disabled { background: var(--card2); border-color: var(--line2); color: var(--dim); box-shadow: none; cursor: default; }

.drill-head { display: flex; gap: 14px; align-items: center; }
.bit { width: 40px; height: 50px; flex: none; clip-path: polygon(0 0, 100% 0, 56% 100%, 44% 100%); background: linear-gradient(90deg, rgba(255, 255, 255, .55), var(--c, #9aa1a8) 45%, rgba(0, 0, 0, .55)), var(--c, #9aa1a8); }
.drill-head .sub { color: var(--muted); font-size: 12px; }
.card.drill .amt { margin-top: 10px; }
.card.drill .buy.wide { margin-top: 8px; flex-direction: row; justify-content: space-between; padding: 10px 14px; }
.card.drill .buy.wide .q { font-size: 12px; }
.card.drill .buy.wide .c { font-size: 19px; }

.mus-h { font: 800 14px var(--display); color: var(--c); text-transform: uppercase; letter-spacing: .6px; margin: 6px 2px; }
.mus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.art { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; text-align: center; min-height: 92px; }
.art .emo { font-size: 28px; line-height: 1.15; }
.art .emo.q { font: 800 26px var(--display); color: var(--dim); }
.art .an { font-size: 11.5px; font-weight: 600; margin-top: 3px; line-height: 1.2; }
.art:not(.found) .an { color: var(--dim); font-weight: 500; }
.art .ab { font-size: 11px; color: var(--violet); margin-top: 3px; }
.art.found { border-color: rgba(180, 140, 255, .45); background: linear-gradient(180deg, rgba(180, 140, 255, .12), var(--card)); }

.exp-gain { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; font: 900 34px/1 var(--display); color: var(--gem); }
.exp-gain .gem-ico { width: 17px; height: 17px; }
.locked-card { text-align: center; }
.big-emo { font-size: 40px; }
.prep-card .btn, .card .btn.wide { margin-top: 10px; }

.tro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.tro { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; text-align: center; opacity: .5; filter: grayscale(1); }
.tro.got { opacity: 1; filter: none; border-color: rgba(255, 196, 61, .45); background: linear-gradient(180deg, rgba(255, 196, 61, .12), var(--card)); }
.tro .emo { font-size: 24px; line-height: 1.2; }
.tro .tn { font: 800 13px/1.1 var(--display); margin-top: 3px; letter-spacing: .2px; }
.tro .td { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.25; }

/* ── buttons and modals ── */
.btn {
  border-radius: 12px; padding: 11px 14px; border: 1px solid var(--line2); background: var(--card2); color: var(--text);
  font: 800 17px/1.1 var(--display); letter-spacing: .4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn.gold { background: linear-gradient(180deg, #ffd45e, #f29a16); border-color: #ffd45e; color: #2a1800; box-shadow: 0 3px 0 #b8680a; }
.btn.ad { background: linear-gradient(180deg, #5cb8ff, #1f7fd6); border-color: #7cc6ff; color: #fff; box-shadow: 0 3px 0 #135a9c; }
.btn.ad .adtag { background: rgba(0, 0, 0, .28); }
.btn.ghost { background: transparent; }
.btn.danger { background: rgba(255, 93, 108, .12); border-color: rgba(255, 93, 108, .6); color: #ffb3bb; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.btn:not(:disabled):active { transform: translateY(2px); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 10, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.mcard {
  position: relative; width: min(400px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; text-align: center;
  background: linear-gradient(180deg, #1d2232, #151925); border: 1px solid var(--line2); border-radius: 18px; padding: 20px 18px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: pop .22s ease-out;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.mcard h2 { margin: 4px 0 6px; font: 900 29px/1.05 var(--display); letter-spacing: .4px; }
.mcard h3 { font: 800 15px var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin: 14px 0 6px; text-align: left; }
.mcard .lede { color: #cfd5e4; margin: 0 0 8px; font-size: 14px; }
.m-emo { font-size: 42px; line-height: 1.1; }
.m-big { font: 900 38px/1.1 var(--display); color: var(--gold); margin: 10px 0 2px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.m-big small { font-size: 19px; color: var(--gem); }
.m-big .gem-ico { width: 18px; height: 18px; }
.m-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .07); font-size: 22px; line-height: 1; color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0; }
.day { border-radius: 8px; background: var(--card); border: 1px solid var(--line); padding: 6px 0; font-size: 10px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.day.past { opacity: .45; }
.day.now { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 12px rgba(255, 196, 61, .3); }
.coin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2b0, #ffc43d 45%, #c27a00); }
.set { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; text-align: left; }
.set > span { color: #d7dcea; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; justify-content: flex-end; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: none; padding: 6px 9px; border-radius: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.seg button.on { background: var(--card2); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; text-align: left; display: flex; flex-direction: column; }
.stats span { font-size: 11px; color: var(--muted); }
.stats b { font: 800 17px var(--display); letter-spacing: .3px; }

#loading {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(circle at 50% 40%, #2b1d0e, #0c0e13 70%); transition: opacity .5s;
}
#loading.done { opacity: 0; pointer-events: none; }
.logo { font: 900 54px/1 var(--display); letter-spacing: 2px; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .4); }
.logo b { color: var(--gold); }
.spin { width: 34px; height: 34px; border: 4px solid rgba(255, 196, 61, .2); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#adOverlay { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; }
#adOverlay h2 { font: 900 32px var(--display); margin: 0; }
#adOverlay .count { font: 900 64px var(--display); color: var(--gold); }

/* small stages (phones) */
@media (max-height: 560px), (max-width: 480px) {
  .cash { font-size: 24px; }
  .rate { font-size: 13px; }
  .depth { font-size: 21px; }
  .card-hud { padding: 6px 9px; border-radius: 12px; }
  .money { min-width: 0; }
  .depthc { min-width: 0; }
  .chip { min-width: 0; font-size: 12px; padding: 4px 8px; }
  .act { width: 78px; height: 58px; border-radius: 14px; }
  .act .lbl { font-size: 12.5px; }
  .hint { bottom: 74px; font-size: 13px; padding: 8px 12px; }
  .icon-btn { width: 36px; height: 36px; }
  .toasts { top: 78px; }
  .toast { font-size: 12px; padding: 6px 10px; }
}
@media (max-aspect-ratio: 1/1) {
  .snext { display: none; }
  .depthc { max-width: 52%; }
}
