/* ==========================================================================
   Gamarium · Home (Games) in Arcade Bright: player bar, Airdrop wallet card, the Daily Tap stage, Featured,
   Most Popular, Earn more, presale, Coming soon (app_design/v5/b/home.html)
   ========================================================================== */

/* ---------- player bar --------------------------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 4px; }
.me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ava { position: relative; flex: none; }
.ava .av { width: 48px; height: 48px; border-radius: 15px; font-size: 25px; }
.ava .lv { position: absolute; right: -9px; bottom: -9px; width: 26px; height: 26px; filter: drop-shadow(0 2px 0 var(--ink)); }
.ava .lv svg { display: block; width: 100%; height: 100%; }
.me-t { min-width: 0; text-align: left; }
.me-t > b { display: flex; align-items: center; font-size: 21px; line-height: 1; color: var(--ink); white-space: nowrap; overflow: hidden; }
.me-t .me-rk { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; height: 21px; padding: 0 8px 0 6px; border-radius: 11px; background: #fff; border: 2px solid var(--ink);
  font: 900 11px/1 var(--f-ui); color: var(--ink); }
.me-t .me-rk svg { width: 12px; height: 12px; color: var(--orange); stroke-width: 2.8; }
.top-r { display: flex; align-items: center; gap: 8px; flex: none; }

/* ---------- Airdrop: your $GMRM -------------------------------------------------- */
.wal { margin-top: 20px; border-radius: 24px; box-shadow: 0 5px 0 var(--ink); padding: 24px 12px 13px; }
.ribbon { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 31px; padding: 0 6px 0 14px; border-radius: 16px;
  background: linear-gradient(180deg, #FF9A3D, #FF6A1F); border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); white-space: nowrap; }
.ribbon > b { font-size: 14px; line-height: 1; color: #fff; letter-spacing: .03em; }
.ribbon .cd { display: flex; gap: 3px; }
.ribbon .cd span { display: flex; align-items: baseline; height: 21px; padding: 0 5px; border-radius: 7px; background: #fff; border: 1.5px solid var(--ink); align-items: center; }
.ribbon .cd b { font: 400 13px/1 var(--f-d); color: var(--ink); }
.ribbon .cd small { font: 900 9px/1 var(--f-ui); color: var(--ink-2); margin-left: 1px; }
.wrow { display: flex; align-items: center; gap: 10px; }
.wtok { flex: 0 0 62px; height: 62px; margin-left: -4px; filter: drop-shadow(0 3px 0 rgba(42, 22, 82, .25)); }
.wtok img { width: 100%; height: 100%; object-fit: contain; }
.wm { flex: 1; min-width: 0; }
.wm .l { display: flex; align-items: center; gap: 6px; font: 900 10.5px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.wm .x2 { height: 17px; padding: 0 6px; border-radius: 6px; background: var(--gold); border: 1.5px solid var(--ink); font: 400 11px/14px var(--f-d); letter-spacing: .03em; color: var(--ink); text-transform: none; }
.wm .n { margin-top: 6px; font-size: 30px; line-height: 1; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm .v, .wm .vv { margin-top: 6px; font: 800 11.5px/1.2 var(--f-ui); color: var(--ink-2); white-space: nowrap; }
.wm .v { white-space: normal; line-height: 1.3; }
.vv { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 4px; }
.vv-l { flex: 0 0 100%; max-width: max-content; height: 16px; padding: 0 5px; border-radius: 5px; background: var(--lilac); border: 1.5px solid var(--ink-4); font: 900 9px/13px var(--f-ui); font-style: normal;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.vv > span { overflow: hidden; text-overflow: ellipsis; }
.wm .vv { white-space: normal; }
.wm .vv > span { line-height: 1.25; }
.vv-i { display: grid; place-items: center; width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.vv-i svg { width: 13px; height: 13px; stroke-width: 2.6; }
.wm .live { margin-top: 7px; }
.wb { flex: 0 0 100px; display: flex; flex-direction: column; gap: 9px; }
.wb .cb { width: 100%; padding: 0 10px; }

/* ---------- the Daily Tap stage (SPEC 15) ---------------------------------------- */
.stage { position: relative; margin-top: 14px; border-radius: 28px; border: var(--bw) solid var(--ink); box-shadow: 0 5px 0 var(--ink); overflow: hidden;
  background: radial-gradient(80% 40% at 50% 30%, rgba(255, 236, 190, .55), rgba(255, 236, 190, 0) 100%), linear-gradient(180deg, #FFB95E 0%, #FF9E4E 52%, #FF8448 100%); }
/* the eclipse corona (SPEC 23, no sunburst) and the star dust live in fx.css */
.st-head { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0; }
.st-name { display: flex; align-items: center; gap: 6px; font-size: 21px; line-height: 1; color: #fff; letter-spacing: .02em; }
.st-name svg { width: 22px; height: 22px; color: #fff; filter: drop-shadow(1.5px 1.5px 0 var(--ink)) drop-shadow(-1.5px -1.5px 0 var(--ink)) drop-shadow(1.5px -1.5px 0 var(--ink)) drop-shadow(-1.5px 1.5px 0 var(--ink)); }
.mult { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 6px; border-radius: 17px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.mult .x { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--violet); border: 2px solid var(--ink); color: #fff; }
.mult .x svg { width: 12px; height: 12px; }
.mult b { font: 400 19px/1 var(--f-d); color: var(--violet); }
.mult > span:last-child { font: 900 9.5px/1.05 var(--f-ui); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; text-align: left; }
.mult:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.arena-c { position: relative; z-index: 2; height: 250px; }
.coin { position: absolute; left: 50%; top: 4px; width: min(200px, 54vw); aspect-ratio: 1; transform-origin: 50% 50%; margin-left: calc(min(200px, 54vw) / -2); border-radius: 50%;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; filter: drop-shadow(0 8px 0 rgba(42, 22, 82, .28)); z-index: 2; }
.coin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; animation: coin-bob 3.2s ease-in-out infinite; }
@keyframes coin-bob { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
.coin-sh { position: absolute; left: 50%; top: calc(4px + min(200px, 54vw) - 8px); width: 150px; height: 22px; margin-left: -75px; border-radius: 50%; background: rgba(122, 40, 0, .28); }
.pops { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.pop { position: absolute; font-size: 28px; line-height: 1; color: #fff; letter-spacing: .02em; white-space: nowrap; will-change: transform, opacity; }
.pop.is-turbo { color: #FFE27A; font-size: 34px; }
.star { position: absolute; z-index: 1; color: #FFF3B0; filter: drop-shadow(1.5px 1.5px 0 var(--ink)) drop-shadow(-1.5px -1.5px 0 var(--ink)) drop-shadow(1.5px -1.5px 0 var(--ink)) drop-shadow(-1.5px 1.5px 0 var(--ink)); animation: twinkle-s 2.8s ease-in-out infinite; }
.star svg { width: 100%; height: 100%; display: block; }
.star.s1 { left: 11%; top: 132px; width: 16px; height: 16px; }
.star.s2 { right: 11%; top: 128px; width: 14px; height: 14px; animation-delay: 1s; }
.star.s3 { left: 54%; top: 0; width: 16px; height: 16px; animation-delay: 1.8s; }
@keyframes twinkle-s { 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }
.sideb { position: absolute; z-index: 3; top: 124px; display: flex; flex-direction: column; align-items: center; width: 72px; }
.sideb.l { left: 4px; }
.sideb.r { right: 4px; }
.medal { position: relative; width: 60px; height: 60px; border-radius: 50%; border: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--ink); background: #fff; display: grid; place-items: center; }
.medal svg { width: 52px; height: 52px; }
.tbtn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  background: radial-gradient(circle at 50% 30%, #FF9AC6, #FF4D8F 55%, #D82672); }
.tbtn::before { content: ""; position: absolute; left: 9px; right: 9px; top: 4px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.tbtn > svg.ic { position: relative; width: 29px; height: 29px; color: #fff; filter: drop-shadow(1.5px 1.5px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)) drop-shadow(1px -1px 0 var(--ink)) drop-shadow(-1px 1px 0 var(--ink)); }
.tring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.tring circle { fill: none; stroke: #fff; stroke-width: 6.5; stroke-linecap: round; stroke-dasharray: var(--tp, 0) 100; filter: drop-shadow(0 0 0 var(--ink)); opacity: 0; }
.stage.is-turbo .tring circle { opacity: 1; stroke: #FFE27A; }
.tag3 { position: absolute; top: -8px; right: 0; height: 21px; padding: 0 6px; border-radius: 10px; background: var(--gold); border: 2px solid var(--ink); font: 400 12.5px/17px var(--f-d); color: var(--ink); }
.lab { position: relative; margin-top: -7px; height: 23px; padding: 0 9px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); font: 400 13px/19px var(--f-d); color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.sideb small { margin-top: 4px; font: 900 10.5px/1 var(--f-ui); color: var(--ink); opacity: .85; white-space: nowrap; }
.sideb.r.is-used .tbtn { background: radial-gradient(circle at 50% 30%, #F4EEFC, #D6CDE6 60%, #B5AACB); }
.sideb.r.is-used .tag3 { background: #E9E2F4; }
.sideb:active .medal, .sideb:active .tbtn { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.today { position: absolute; z-index: 3; left: 50%; bottom: 8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); border: 2px solid var(--ink); font: 800 11px/1 var(--f-ui); color: var(--ink-2); white-space: nowrap; }
.today b { color: var(--ink); font-weight: 900; }
/* Turbo on: hot pink stage */
.stage.is-turbo { background: radial-gradient(80% 40% at 50% 30%, rgba(255, 220, 245, .5), rgba(255, 220, 245, 0) 100%), linear-gradient(180deg, #FF86C4 0%, #DE6BE0 52%, #9A5BFF 100%); }
.stage.is-turbo .coin img { animation: coin-hot .5s ease-in-out infinite; }
@keyframes coin-hot { 50% { transform: scale(1.03); filter: brightness(1.12); } }
/* no taps left */
.stage.is-empty .coin img { filter: grayscale(.55) brightness(.9); animation: none; }
.dt-empty { position: absolute; z-index: 5; left: 50%; top: 52px; transform: translateX(-50%); width: min(300px, calc(100% - 24px)); }
.de-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 12px 12px; border-radius: 20px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--ink); text-align: center; }
.de-in > b { font-size: 21px; line-height: 1; }
.de-in > span { font: 800 12px/1.3 var(--f-ui); color: var(--ink-2); }
.de-in em { font-style: normal; font-weight: 900; color: var(--ink); }
.de-h { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 4px; }
.eh { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 10px; border-radius: 12px; background: var(--lilac); border: 2px solid var(--ink); box-shadow: 0 2.5px 0 var(--ink); font: 900 12.5px/1 var(--f-ui); }
.eh > svg { width: 16px; height: 16px; color: var(--violet); }
.eh > span { flex: 1; text-align: left; }
.eh b { height: 26px; padding: 0 9px; border-radius: 9px; background: var(--g-green); border: 2px solid var(--ink); font: 400 13px/22px var(--f-d); color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.de-done { font: 900 11.5px/1 var(--f-ui); color: var(--green-d) !important; }
/* taps bar */
.tbar { position: relative; z-index: 2; margin: 0 12px; height: 37px; border-radius: 19px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); overflow: hidden; }
.tbar .fill { position: absolute; left: 3px; top: 3px; bottom: 3px; border-radius: 14px; background: linear-gradient(180deg, #A07CFF, #6A3CF5); box-shadow: inset 0 -3px 0 rgba(40, 10, 120, .35);
  transition: width .25s cubic-bezier(.2, .8, .2, 1); }
.tbar .fill::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .22) 0 8px, rgba(255, 255, 255, 0) 8px 16px); }
.tbar .fill::after { content: ""; position: absolute; left: 8px; right: 8px; top: 3px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.stage.is-turbo .tbar .fill { background: linear-gradient(180deg, #FF9DCA, #E2307D); }
.tbar .tx { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 10px; }
.tbar .tx b { display: flex; align-items: center; gap: 5px; font: 400 17px/1 var(--f-d); color: #fff; letter-spacing: .02em; -webkit-text-stroke: 3.5px var(--ink); paint-order: stroke fill; }
.tbar .tx b svg { width: 18px; height: 18px; color: var(--gold); filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)) drop-shadow(1px -1px 0 var(--ink)) drop-shadow(-1px 1px 0 var(--ink)); }
.tbar .tx > span { padding: 4px 7px; border-radius: 9px; background: rgba(255, 255, 255, .92); font: 900 11.5px/1 var(--f-ui); color: var(--ink-2); }
/* boost chips */
.boosts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 10px 8px 12px; }
.bc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 50px; padding: 0 2px; border-radius: 14px;
  border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); color: #fff; min-width: 0; }
.bc .bv { display: flex; align-items: center; gap: 3px; }
.bc .bi { display: grid; place-items: center; width: 17px; height: 17px; }
.bc .bi > svg { width: 15px; height: 15px; filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)) drop-shadow(1px -1px 0 var(--ink)) drop-shadow(-1px 1px 0 var(--ink)); }
.bc .bi.hb { width: 19px; height: 19px; }
.bc .bi.hb svg { width: 19px; height: 19px; filter: drop-shadow(0 1px 0 var(--ink)); }
.bc .bv b { font: 400 15px/1 var(--f-d); letter-spacing: .02em; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.bc .bl { font: 900 9px/1 var(--f-ui); color: #fff; text-shadow: 0 1px 0 rgba(42, 22, 82, .55); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: clip; letter-spacing: -.01em; }
.bc--v { background: var(--g-violet); }
.bc--b { background: var(--g-sky); }
.bc--o { background: var(--g-orange); }
.bc--g { background: var(--g-green); }
.bc--p { background: var(--g-pink); }
.bc.is-zero { background: linear-gradient(180deg, #FFFFFF, #ECE5F7); color: var(--ink-3); }
.bc.is-zero .bv b { color: #fff; -webkit-text-stroke-color: var(--ink-3); }
.bc.is-zero .bl { color: var(--ink-3); text-shadow: none; }
.bc.is-zero .bi > svg { color: #fff; filter: drop-shadow(1px 1px 0 var(--ink-3)) drop-shadow(-1px -1px 0 var(--ink-3)) drop-shadow(1px -1px 0 var(--ink-3)) drop-shadow(-1px 1px 0 var(--ink-3)); }
.bc:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

/* tap power sheet */
.tp-list { overflow: hidden; }
.tp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; }
.tp-row .hbadge { flex: none; }
.tp-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; border: var(--bw) solid var(--ink); color: #fff; }
.tp-ic svg { width: 20px; height: 20px; filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)); }
.tp-main { flex: 1; min-width: 0; }
.tp-main b { display: block; font: 400 17px/1.1 var(--f-d); }
.tp-main span { display: block; margin-top: 3px; font: 800 11.5px/1.35 var(--f-ui); color: var(--ink-2); }
.tp-main em { display: inline-block; margin-top: 5px; font: 900 10.5px/1 var(--f-ui); font-style: normal; color: var(--violet-d); }
.tp-v { flex: none; text-align: right; }
.tp-v b { display: block; font-size: 22px; line-height: 1; color: var(--violet-d); }
.tp-v span { font: 900 10.5px/1 var(--f-ui); color: var(--ink-3); }
.tp-extra { margin-top: 14px; padding: 14px; }
.tp-extra > b { display: block; font-size: 18px; margin-bottom: 8px; }
.tp-x { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 2px dashed #E6DDF5; font: 900 12.5px/1 var(--f-ui); }
.tp-x span { display: flex; align-items: center; gap: 8px; }
.tp-x svg { width: 16px; height: 16px; color: var(--violet); }
.tp-x em { font-style: normal; height: 22px; padding: 0 8px; border-radius: 8px; background: var(--lilac); border: 2px solid var(--ink); line-height: 18px; }
.tp-x em.ok { background: #DFFBEA; border-color: var(--green-d); color: #0E7A40; }

/* ---------- Featured --------------------------------------------------------------- */
.more--n { padding: 0 11px; }
.car { display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1) -10px; padding: 0 var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
.car::-webkit-scrollbar { display: none; }
.bn { position: relative; flex: 0 0 calc(100% - 46px); max-width: 340px; height: 184px; border-radius: 24px; overflow: hidden; border: var(--bw) solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  scroll-snap-align: start; cursor: pointer; background: var(--ink); }
.bn .art { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* retro pixel art (The Throne): nearest-neighbour scaling keeps every pixel a crisp square */
.art--px { image-rendering: pixelated; }
.bn .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 8, 50, .82) 0%, rgba(20, 8, 50, .3) 50%, rgba(20, 8, 50, 0) 72%); }
.bn .hot { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.bn h3 { position: absolute; left: 14px; bottom: 52px; font-size: 32px; line-height: 1; color: #fff; letter-spacing: .01em; -webkit-text-stroke-width: 6px; text-shadow: 0 4px 0 var(--ink); max-width: calc(100% - 28px); }
.bn p { position: absolute; left: 15px; bottom: 15px; width: calc(100% - 140px); font: 900 12px/1.25 var(--f-ui); color: #fff; text-shadow: 0 1px 0 var(--ink), 0 0 6px rgba(20, 8, 50, .8); }
.bn .play { position: absolute; right: 12px; bottom: 12px; height: 44px; border-radius: 22px; padding: 0 16px 0 13px; font-size: 18px; }
.bn .play svg { width: 18px; height: 18px; }
.bn-cards { position: absolute; right: 10px; top: 14px; width: 150px; height: 100px; }
.bn-card { position: absolute; top: 0; width: 56px; }
.bn-card.c0 { right: 92px; top: 12px; transform: rotate(-12deg); }
.bn-card.c1 { right: 46px; top: 0; z-index: 2; width: 60px; }
.bn-card.c2 { right: 2px; top: 12px; transform: rotate(12deg); }
.cdots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.cdots i { width: 10px; height: 10px; border-radius: 5px; background: #fff; border: 2px solid var(--ink); transition: width .25s, background .25s; }
.cdots i.on { width: 28px; background: var(--gold); }

/* ---------- Most Popular -------------------------------------------------------------- */
.gl { display: flex; flex-direction: column; gap: 12px; }
.gr { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 22px; cursor: pointer; }
.gr:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.gi { position: relative; flex: 0 0 70px; height: 70px; border-radius: 18px; overflow: hidden; border: var(--bw) solid var(--ink); }
.gi img { width: 100%; height: 100%; object-fit: cover; }
.gi--arena { display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #9C78FF, #5A2EE0); }
.gi--arena svg { width: 54px; height: 54px; }
.mn { flex: 1; min-width: 0; }
.mn > b { display: block; font-size: 19px; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.mn > span { display: flex; align-items: center; gap: 5px; margin-top: 5px; font: 800 12px/1 var(--f-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn > span i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mn > span i.v { background: var(--violet); }
.mn .tags { margin-top: 8px; }

/* ---------- Earn more ----------------------------------------------------------------- */
.earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 10px; padding-top: 4px; }
/* one calm set (SPEC 23): soft colour per tile, ink title + info chip top left, the art inside the tile bottom right
   at one size (80 px) on a faint eclipse ring, the badge top right, the same outline, radius and shadow as Home */
.et { position: relative; height: 150px; border-radius: 22px; border: var(--bw) solid var(--ink); box-shadow: 0 5px 0 var(--ink); padding: 12px; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; background: var(--et-bg); isolation: isolate; }
.et::before { content: ""; position: absolute; left: 3px; right: 3px; top: 3px; height: 38%; border-radius: 18px 18px 50% 50% / 18px 18px 22px 22px; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
html .earn .et:active:not([disabled]) { transform: translateY(3px) scale(.975); box-shadow: 0 2px 0 var(--ink); }
.et-t { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.et-t > b { font-size: 20px; line-height: 1; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.et-s { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; height: 22px; padding: 0 8px; border-radius: 11px; background: #fff; border: 2px solid var(--ink);
  font: 900 10.5px/1 var(--f-ui); color: var(--ink); white-space: nowrap; max-width: 100%; overflow: hidden; }
.et-s svg { width: 12px; height: 12px; color: var(--gold-d); flex: none; }
.et-s .mini-spin { width: 10px; height: 10px; }
.et-art { position: absolute; z-index: 1; right: 8px; bottom: 8px; width: 80px; height: 80px; pointer-events: none; }
.et-art::before { content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: 50%; background: var(--corona-w); opacity: .9; }
.et-art > img { position: absolute; filter: drop-shadow(0 3px 0 rgba(42, 22, 82, .28)); }
.et-art > svg { display: block; width: 80px; height: 80px; }
.et .bdg { position: absolute; z-index: 3; right: -7px; top: -9px; display: grid; place-items: center; min-width: 27px; height: 27px; padding: 0 6px; border-radius: 14px; background: var(--red);
  border: var(--bw) solid var(--ink); font: 400 14px/1 var(--f-d); color: #fff; }
.et--arena { --et-bg: linear-gradient(165deg, #F1EAFF 0%, #D6C6FF 100%); }
.et--quests { --et-bg: linear-gradient(165deg, #E6FCEE 0%, #B4F0CD 100%); }
.et--race { --et-bg: linear-gradient(165deg, #FFF6D6 0%, #FFE08C 100%); }
.et--share { --et-bg: linear-gradient(165deg, #E4F5FF 0%, #B3E0FF 100%); }
.et--shop { --et-bg: linear-gradient(165deg, #FFEAF4 0%, #FFC2DD 100%); grid-column: 1 / -1; height: 112px; }
/* art, each fitted to the 80 px box (the cut-outs carry transparent margins) */
.et--quests .et-art > img { left: -14px; bottom: 0; width: 109px; height: auto; }
.et--race .et-art > img { left: 0; bottom: -4px; width: 84px; height: auto; }
.et-art .fan { position: absolute; inset: 0; }
.fan img { position: absolute; width: 40px; height: 54px; border-radius: 7px; object-fit: cover; border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); }
.fan img:nth-child(1) { left: 2px; top: 22px; transform: rotate(-12deg); }
.fan img:nth-child(2) { left: 38px; top: 22px; transform: rotate(12deg); }
.fan img:nth-child(3) { left: 19px; top: 8px; z-index: 2; width: 42px; height: 58px; }
.et-art .vid { position: absolute; left: 0; top: 16px; width: 80px; height: 50px; border-radius: 10px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  transform: rotate(5deg); background: var(--ink); }
.et-art .vid img { width: 100%; height: 100%; object-fit: cover; }
.et-art .vid i { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; color: var(--sky-d); }
.et-art .vid i svg { width: 10px; height: 10px; margin-left: 2px; }
.et--shop .et-art { width: 160px; height: 84px; bottom: 10px; }
.et--shop .et-art::before { inset: -22px 28px; }
.shopfan img { position: absolute; bottom: 0; width: 66px; height: 66px; filter: drop-shadow(0 3px 0 rgba(42, 22, 82, .28)); }
.shopfan img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.shopfan img:nth-child(2) { left: 44px; bottom: 6px; z-index: 2; width: 78px; height: 78px; }
.shopfan img:nth-child(3) { left: 94px; transform: rotate(7deg); }

/* ---------- presale ------------------------------------------------------------------- */
.ps { position: relative; display: block; width: 100%; margin-top: 32px; border-radius: 24px; border: var(--bw) solid var(--ink); box-shadow: 0 5px 0 var(--ink); overflow: hidden; background: linear-gradient(180deg, #7E52FF, #5326D9); text-align: left; }
.ps:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.ps .rays { position: absolute; left: 41px; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; background: var(--corona-w); opacity: .75; }
.ps-in { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; }
.ps-art { position: relative; flex: 0 0 60px; height: 74px; }
.ps-art img { position: absolute; left: -16px; top: -8px; width: 90px; height: auto; filter: drop-shadow(0 4px 0 rgba(20, 6, 60, .45)); }
.ps-m { flex: 1; min-width: 0; display: block; }
.ps-m .k { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--gold); border: 2px solid var(--ink); font: 900 10px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.ps-m .h { display: block; margin-top: 7px; font-size: 17px; line-height: 1; color: #fff; letter-spacing: .01em; white-space: nowrap; }
.ps-m .h em { font-style: normal; color: var(--gold); }
.pbar { position: relative; display: block; height: 17px; margin-top: 8px; border-radius: 9px; background: #fff; border: 2px solid var(--ink); overflow: hidden; }
.pbar i { position: absolute; left: 2px; top: 2px; bottom: 2px; max-width: calc(100% - 4px); border-radius: 5px; background: linear-gradient(180deg, #FFE27A, #F5A00C); }
.pbar i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .4) 0 5px, rgba(255, 255, 255, 0) 5px 10px); }
.pbar span { position: absolute; right: 6px; top: 0; font: 900 9.5px/13px var(--f-ui); color: var(--ink); }
.ps-m .nx { display: block; margin-top: 5px; font: 800 11px/1 var(--f-ui); color: #E8E0FF; }
.ps .cb { flex: 0 0 64px; height: 46px; padding: 0; }

/* ---------- Coming soon ---------------------------------------------------------------- */
.soon { display: flex; gap: 10px; margin: 0 calc(var(--gutter) * -1) -8px; padding: 0 var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; }
.soon::-webkit-scrollbar { display: none; }
.cs { flex: 0 0 148px; border-radius: 22px; overflow: hidden; }
.cs .cv { position: relative; height: 108px; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.cs .cv::before { content: ""; position: absolute; inset: 0; background: var(--dust); opacity: .75; }
.cs .cv .lk { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.cs .cv .lk svg { width: 13px; height: 13px; stroke-width: 2.6; }
.cv.c1 { background: linear-gradient(165deg, #FFD3E6, #FF9DC8); --mg: rgba(255, 90, 170, .45); }
.cv.c2 { background: linear-gradient(165deg, #CFEBFF, #8ACBFF); --mg: rgba(40, 140, 255, .45); }
.cv.c3 { background: linear-gradient(165deg, #D2F7E1, #8EE6B3); --mg: rgba(30, 190, 110, .45); }
.cs .cb2 { padding: 9px 10px 11px; }
.cs .cb2 b { display: block; font-size: 16px; line-height: 1; }
.cs .cb2 > span { display: block; margin-top: 4px; font: 800 11px/1 var(--f-ui); color: var(--ink-2); }
.nb { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 32px; margin-top: 9px; border-radius: 11px; background: var(--lilac); border: 2px solid var(--ink); box-shadow: 0 2.5px 0 var(--ink);
  font: 900 12px/1 var(--f-ui); color: var(--ink); }
.nb svg { width: 14px; height: 14px; color: var(--violet); stroke-width: 2.6; }
.nb.is-on { background: #DFFBEA; border-color: var(--green-d); box-shadow: 0 2.5px 0 var(--green-d); color: #0E7A40; }
.nb.is-on svg { color: var(--green-d); }
/* a live game in the New games row: its own art, LIVE, Play */
.cs--live { cursor: pointer; }
.cs--live:active { transform: translateY(2px); }
.cs .cv--art { background: #1B1450; }
.cs .cv--art::before { display: none; }
.cv-art { position: absolute; inset: 0; background-size: cover; background-position: 50% 100%; }
.cs .cv .pill--live { position: absolute; left: 8px; top: 8px; height: 22px; padding: 0 8px; font: 900 11px/1 var(--f-ui); letter-spacing: .04em; }
.nb--play { background: var(--green); color: var(--ink); }
.nb--play svg { color: var(--ink); }
/* an announced Coming soon game in the New games row (MineCrown): its art, the launch date, Join (its Invite Race) */
.cs .cv .pill--sky { position: absolute; left: 8px; top: 8px; height: 22px; padding: 0 8px; font: 900 11px/1 var(--f-ui); letter-spacing: .02em; }
.cs .cv .pill--sky svg { width: 11px; height: 11px; stroke-width: 2.8; }
.cs--next .cv-art { background-position: 50% 60%; }
/* the next game's teaser in New games (SPEC 27): its silhouettes on our eclipse, locked */
.cs--tease .cv--art { background: #0b0705; }
.cs--tease .cv-art { background-position: 50% 50%; }
.nb--gold { background: var(--gold); color: var(--ink); }
.nb--gold svg { color: var(--ink); }

@media (max-width: 370px) {
  .wb { flex-basis: 88px; }
  .bc .bl { font-size: 8px; letter-spacing: -.02em; }
  .ps-m .h { font-size: 15px; }
  .ps .cb { flex-basis: 56px; }
  .wm .n { font-size: 26px; }
  .sideb { width: 64px; top: 124px; }
  .medal, .tbtn { width: 54px; height: 54px; }
  .medal svg { width: 46px; height: 46px; }
  .bc .bv b { font-size: 13px; }
  .boosts { gap: 4px; padding-left: 8px; padding-right: 8px; }
}

/* ---------- side shortcuts on the right edge (Tasks, Share) ------------------------------ */
.view[data-view="home"] { position: relative; }
.side-rail { position: absolute; z-index: 6; right: calc(var(--gutter) * -1); top: 520px; display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.sr-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; padding: 5px 3px 5px 5px; border-radius: 16px 0 0 16px;
  background: #fff; border: var(--bw) solid var(--ink); border-right: 0; box-shadow: 0 4px 0 var(--ink); }
.sr-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 11px; border: 2px solid var(--ink); color: var(--ink); }
.sr-ic svg { width: 19px; height: 19px; stroke-width: 2.5; }
.sr--tasks .sr-ic { background: var(--g-gold); --icf: #fff; }
.sr--share .sr-ic { background: var(--g-sky); color: #fff; }
.side-rail--l { right: auto; left: calc(var(--gutter) * -1); align-items: flex-start; }
.side-rail--l .sr-btn { border-radius: 0 16px 16px 0; border-left: 0; border-right: var(--bw) solid var(--ink); padding: 5px 5px 5px 3px; }
.sr--shop .sr-ic { background: var(--g-pink); color: #fff; --icf: rgba(255, 255, 255, .3); }
.sr--shop .sr-ic svg { filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)) drop-shadow(1px -1px 0 var(--ink)) drop-shadow(-1px 1px 0 var(--ink)); }
.sr--share .sr-ic svg { filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)); }
.sr-l { font: 400 12px/1 var(--f-d); letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.sr-l .mini-spin { width: 11px; height: 11px; }
.sr-badge { position: absolute; top: -8px; left: -8px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--red); border: 2px solid var(--ink);
  font: 400 12px/17px var(--f-d); font-style: normal; color: #fff; text-align: center; }
@media (max-width: 370px) {
  .sr-btn { width: 46px; padding: 5px 3px 5px 5px; }
  .sr-ic { width: 28px; height: 28px; border-radius: 10px; }
  .sr-ic svg { width: 16px; height: 16px; }
  .sr-l { font-size: 10.5px; }
}

.sr-count { position: absolute; top: -9px; left: -10px; height: 20px; padding: 0 5px; border-radius: 8px; background: #fff; border: 2px solid var(--ink); font: 400 11.5px/16px var(--f-d); font-style: normal; color: var(--ink); white-space: nowrap; }
.sr-count .mini-spin { width: 10px; height: 10px; vertical-align: -1px; }
/* mouse drag on the Featured banners (Telegram Desktop): no snapping while dragging, clickable dots */
.car { cursor: grab; }
.car.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.car.is-drag .bn { pointer-events: none; }
.cdots i { cursor: pointer; }
