/* Skins for Minecraft PE – theme: app green + grass/dirt blocks + sky, pixel headings, 3D skin cards. */
:root {
  --green: #1DA462; --green-d: #0F7A45; --green-l: #39D27F; --mint: #7CF2A8; --mint-l: #CFF7DD;
  --grass: #5DAA3A; --grass-d: #3F8A2A; --dirt: #8B5A2B; --dirt-d: #6B4420;
  --sky: #5EC8F2; --sky-l: #BDEBFF; --gold: #FFC93C; --gold-d: #C9931A;
  --night: #0E1F18; --night-2: #142B21; --night-3: #1C3A2C;
  --paper: #F4FBF5; --paper-2: #E6F4EA; --txt: #10231A; --txt-l: #F2FFF6; --muted: #5F7568; --line: #D6E7DB;
  --pix: 'Pixelify Sans', 'Silkscreen', sans-serif; --numf: 'Silkscreen', 'Pixelify Sans', monospace; --body: 'Nunito', system-ui, sans-serif;
  --wrap: 1180px; --r: 14px;
  --shadow: 0 8px 0 rgba(0,0,0,.18), 0 18px 40px rgba(0,0,0,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--txt); background: var(--paper); line-height: 1.5; font-variant-ligatures: none; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 36px; }
.center.tight { margin-top: 18px; }
h1, h2, h3 { font-family: var(--pix); font-weight: 700; line-height: 1.02; margin: 0 0 14px; letter-spacing: .01em; }
h1 { font-size: clamp(42px, 6.6vw, 80px); }
h2 { font-size: clamp(30px, 4.4vw, 54px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
.h-outline { color: #fff; text-shadow: 3px 3px 0 var(--night), -2px -2px 0 var(--night), 2px -2px 0 var(--night), -2px 2px 0 var(--night), 0 6px 0 rgba(0,0,0,.3); }
.kicker { font-family: var(--numf); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.kicker.light { color: var(--mint); }
.sub { max-width: 640px; color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.sub.light { color: rgba(255,255,255,.78); }
.sec { padding: 84px 0; position: relative; }
.fine-dark { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.empty { grid-column: 1/-1; color: var(--muted); }

/* xp bar (scroll progress) + burst layer */
.xpbar { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: rgba(14,31,24,.35); z-index: 60; pointer-events: none; }
.xpbar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--green-l) 0 10px, var(--mint) 10px 20px); box-shadow: 0 0 10px rgba(124,242,168,.6); }
.burst-layer { position: fixed; inset: 0; pointer-events: none; z-index: 70; }
.burst-layer i { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: fly .85s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fly { to { transform: translate(var(--dx), calc(var(--dy) + 90px)) rotate(200deg); opacity: 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--pix); font-weight: 700; font-size: 20px; padding: 14px 24px; border-radius: 10px; border: 0; cursor: pointer; transition: transform .12s, box-shadow .12s, filter .12s; white-space: nowrap; color: #fff; }
.btn-grass { background: linear-gradient(180deg, var(--green-l), var(--green)); box-shadow: 0 5px 0 var(--green-d), 0 10px 24px rgba(29,164,98,.35); text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.btn-grass:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-grass:active, .btn.press { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-d); }
.btn-ghost-dark { background: #fff; color: var(--txt); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-ghost-dark:hover { border-color: var(--green); box-shadow: 0 4px 0 var(--green); }
.btn-sm { font-size: 17px; padding: 10px 18px; }
.btn .short { display: none; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 2px solid #3a3a3a; border-radius: 12px; padding: 9px 18px 9px 14px; line-height: 1.05; transition: transform .12s, border-color .12s; }
.store svg { width: 30px; height: 30px; fill: #fff; }
.store span { display: flex; flex-direction: column; font-weight: 800; font-size: 22px; }
.store small { font-size: 11px; font-weight: 600; opacity: .85; }
.store:hover { transform: translateY(-2px); border-color: #777; }
.store.lg { padding: 12px 26px 12px 18px; }
.store.lg span { font-size: 26px; }
.store.lg svg { width: 36px; height: 36px; }
.sl-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--txt); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--line); transition: transform .12s; }
.sl-btn:hover { border-color: var(--green); color: var(--green); }
.sl-btn:active { transform: translateY(2px); box-shadow: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14,31,24,.88); backdrop-filter: blur(10px); border-bottom: 2px solid rgba(255,255,255,.06); color: #fff; }
.top .bar { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--pix); font-weight: 700; font-size: 26px; line-height: .9; }
.brand-ico { border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.brand-txt small { display: block; font-size: 12px; font-family: var(--body); font-weight: 700; opacity: .7; letter-spacing: .05em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 800; font-size: 15px; }
.nav a { opacity: .8; } .nav a:hover { opacity: 1; color: var(--mint); }
.bar .btn { margin-left: auto; }
.nav + .btn { margin-left: 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(180deg, #3FB4EA 0%, var(--sky) 45%, var(--sky-l) 100%); overflow: hidden; padding: 72px 0 150px; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; width: 140px; height: 40px; background: #fff; opacity: .9; box-shadow: 30px -22px 0 0 #fff, 70px -12px 0 0 #fff, -24px -8px 0 0 #fff; animation: drift var(--d, 60s) linear infinite; image-rendering: pixelated; }
.cloud.c1 { top: 10%; left: -10%; --d: 70s; }
.cloud.c2 { top: 26%; left: -30%; transform: scale(.7); --d: 95s; animation-delay: -30s; }
.cloud.c3 { top: 6%; left: -50%; transform: scale(1.2); --d: 120s; animation-delay: -70s; }
@keyframes drift { to { transform: translateX(130vw); } }
.sun { position: absolute; top: 40px; right: 10%; width: 70px; height: 70px; background: var(--gold); box-shadow: 0 0 0 10px rgba(255,201,60,.25), 0 0 60px 20px rgba(255,201,60,.35); }
.hills { position: absolute; left: -5%; right: -5%; bottom: 40px; height: 180px; background:
  radial-gradient(circle at 15% 100%, var(--grass-d) 0 120px, transparent 121px),
  radial-gradient(circle at 42% 100%, var(--grass) 0 160px, transparent 161px),
  radial-gradient(circle at 70% 100%, var(--grass-d) 0 110px, transparent 111px),
  radial-gradient(circle at 92% 100%, var(--grass) 0 150px, transparent 151px); opacity: .55; }
.motes { position: absolute; inset: 0; pointer-events: none; }
.motes i { position: absolute; top: -10px; width: var(--s); height: var(--s); background: var(--c); opacity: .8; animation: fall var(--d) linear var(--dl) infinite; }
@keyframes fall { 0% { transform: translateY(-5vh) rotate(0); } 100% { transform: translateY(105vh) rotate(360deg); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill-new { display: inline-flex; align-items: center; gap: 10px; background: rgba(14,31,24,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 700; margin: 0 0 22px; }
.pill-new b { background: var(--gold); color: #000; font-family: var(--numf); font-size: 11px; padding: 4px 8px; border-radius: 999px; }
.pill-new i { font-style: normal; color: var(--mint); }
.swap { display: inline-block; color: var(--mint); transition: opacity .25s, transform .25s; }
.swap.out { opacity: 0; transform: translateY(12px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin: 0 0 26px; text-shadow: 0 2px 6px rgba(0,0,0,.35); font-weight: 600; }
.lead b { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.how-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.how-link i { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid #fff; position: relative; }
.how-link i::after { content: ''; position: absolute; left: 14px; top: 10px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.micro { font-size: 13px; font-weight: 800; color: var(--night); margin: -8px 0 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; }
.chips li { background: rgba(14,31,24,.55); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 800; }

.hero-art { position: relative; height: 540px; }
.pad-wrap { position: absolute; right: -6%; top: 20px; width: 80%; perspective: 1200px; }
.pad { background: #111; border-radius: 26px; padding: 12px; box-shadow: 0 0 0 3px #333, var(--shadow); }
.pad img { border-radius: 16px; width: 100%; height: auto; }
.pad-wrap .pad { transform: rotateY(-14deg) rotateX(4deg) rotate(2deg); animation: hover 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: rotateY(-14deg) rotateX(4deg) rotate(2deg) translateY(-12px); } }
.hero-skins { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; pointer-events: auto; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--txt); border-radius: 14px; padding: 8px 12px 8px 8px; box-shadow: var(--shadow); border-left: 6px solid var(--c); animation: hover2 6s ease-in-out infinite; }
@keyframes hover2 { 50% { transform: translateY(-10px); } }
.hs .fig3 { width: 44px; height: 88px; }
.hs b { display: block; font-size: 13px; line-height: 1.2; }
.hs small { color: var(--muted); font-weight: 800; font-size: 11px; }
.hs1 { left: 18%; top: 10px; animation-delay: -1s; }
.hs2 { left: 26%; bottom: 120px; animation-delay: -3s; }
.hs3 { right: 0; bottom: -10px; animation-delay: -5s; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; z-index: 3; }
.ground .grass { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: repeating-linear-gradient(90deg, var(--grass) 0 16px, var(--grass-d) 16px 24px, var(--grass) 24px 40px); }
.ground .grass::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 10px, var(--grass) 10px 16px, transparent 16px 30px, var(--grass) 30px 34px, transparent 34px 48px); }
.ground .dirt { position: absolute; left: 0; right: 0; top: 22px; bottom: 0; background: repeating-linear-gradient(90deg, var(--dirt) 0 24px, var(--dirt-d) 24px 48px), var(--dirt); }

/* ---------- 3D skin figure (front + back render, thin sides) ---------- */
.fig3 { position: relative; display: block; perspective: 700px; width: 120px; height: 240px; }
.fig3 .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; image-rendering: pixelated; }
.fig3 .face.front { transform: translateZ(6px); }
.fig3 .face.back { transform: rotateY(180deg) translateZ(6px); }
.fig3 .face.side { width: 12px; left: 50%; margin-left: -6px; background: rgba(0,0,0,.35); display: none; }
.fig3.spin .face { animation: fspin 9s linear infinite; }
.fig3.spin .face.back { animation-name: fspin-b; }
@keyframes fspin { from { transform: rotateY(0) translateZ(6px); } to { transform: rotateY(360deg) translateZ(6px); } }
@keyframes fspin-b { from { transform: rotateY(180deg) translateZ(6px); } to { transform: rotateY(540deg) translateZ(6px); } }

/* ---------- proof ---------- */
.proof { background: var(--night); color: #fff; padding: 54px 0 34px; }
.proof::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--grass) 0 12px, var(--grass-d) 12px 24px); }
.stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { position: relative; background: var(--night-2); border: 2px solid var(--night-3); border-bottom-width: 6px; border-radius: 12px; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--numf); font-size: clamp(26px, 2.6vw, 34px); color: var(--mint); line-height: 1; }
.stat-lbl { font-weight: 800; font-size: 13px; opacity: .8; }
.stat-ico { position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; }
.stat-ico i { position: absolute; background: var(--green-l); }
.ic-skin .stat-ico i:nth-child(1) { left: 8px; top: 0; width: 12px; height: 12px; } .ic-skin .stat-ico i:nth-child(2) { left: 4px; top: 13px; width: 20px; height: 9px; } .ic-skin .stat-ico i:nth-child(3) { left: 8px; top: 23px; width: 12px; height: 5px; }
.ic-free .stat-ico i:nth-child(1) { inset: 4px; background: var(--gold); } .ic-free .stat-ico i:nth-child(2) { inset: 9px; background: var(--night-2); } .ic-free .stat-ico i:nth-child(3) { display: none; }
.ic-player .stat-ico i:nth-child(1) { left: 9px; top: 2px; width: 10px; height: 10px; } .ic-player .stat-ico i:nth-child(2) { left: 3px; top: 14px; width: 22px; height: 12px; } .ic-player .stat-ico i:nth-child(3) { display: none; }
.ic-pulse .stat-ico i:nth-child(1) { left: 2px; top: 12px; width: 8px; height: 4px; } .ic-pulse .stat-ico i:nth-child(2) { left: 10px; top: 4px; width: 4px; height: 20px; } .ic-pulse .stat-ico i:nth-child(3) { left: 16px; top: 12px; width: 10px; height: 4px; }
.ic-globe .stat-ico i:nth-child(1) { inset: 2px; background: var(--sky); border-radius: 50%; } .ic-globe .stat-ico i:nth-child(2) { left: 6px; top: 6px; width: 8px; height: 6px; background: var(--grass); } .ic-globe .stat-ico i:nth-child(3) { left: 14px; top: 14px; width: 8px; height: 7px; background: var(--grass); }
.stats-note { text-align: center; font-size: 12px; opacity: .55; margin: 18px 0 0; }

/* ---------- ticker ---------- */
.ticker { background: var(--green); color: #fff; display: flex; align-items: stretch; overflow: hidden; border-top: 3px solid var(--green-d); border-bottom: 3px solid var(--green-d); }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 12px 18px; font-family: var(--numf); font-size: 12px; background: var(--green-d); white-space: nowrap; }
.dot { width: 10px; height: 10px; background: var(--gold); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ticker-track { display: flex; overflow: hidden; flex: 1; }
.tk-row { display: flex; flex: 0 0 auto; animation: tk 48s linear infinite; }
@keyframes tk { to { transform: translateX(-100%); } }
.tk { display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 22px; font-weight: 900; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.25); }

/* ---------- skins grid ---------- */
.tools { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs-wrap { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; max-width: 100%; }
.tabs { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 4px 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; scroll-snap-align: start; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 900; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.tab-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--txt); display: grid; place-items: center; cursor: pointer; }
.tab-arrow:disabled { opacity: .3; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 2px solid var(--line); border-bottom-width: 6px; transition: transform .18s, border-color .18s, opacity .5s; opacity: 0; transform: translateY(18px); }
.card.in { opacity: 1; transform: none; }
.card:hover { transform: translateY(-4px); border-color: var(--c); }
.thumb { position: relative; aspect-ratio: 3/4; background: linear-gradient(180deg, var(--paper-2), #fff); display: grid; place-items: center; overflow: hidden; }
.thumb::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--grass) 0 10px, var(--grass-d) 10px 16px); opacity: .9; }
.thumb .fig3 { width: 62%; height: 84%; margin-bottom: 8px; }
.thumb .fig3 .face { transition: transform .7s cubic-bezier(.3,.8,.3,1); }
.card:hover .fig3 .face.front, .card.flip .fig3 .face.front { transform: rotateY(180deg) translateZ(6px); }
.card:hover .fig3 .face.back, .card.flip .fig3 .face.back { transform: rotateY(360deg) translateZ(6px); }
.tag { position: absolute; left: 8px; top: 8px; font: 700 10px var(--numf); background: var(--gold); color: #000; padding: 4px 7px; border-radius: 6px; }
.tag.new { background: var(--sky); }
.price { position: absolute; right: 8px; top: 8px; font: 700 10px var(--numf); padding: 4px 7px; border-radius: 6px; color: #fff; }
.price.free { background: var(--green); } .price.pro { background: var(--night); color: var(--gold); }
.body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.body b { font-size: 14px; line-height: 1.2; }
.body small { color: var(--muted); font-weight: 800; font-size: 11px; }
.get { margin-top: 8px; color: var(--c); font-weight: 900; font-size: 12px; }

/* ---------- 3D spin stage ---------- */
.spin { background: var(--night); color: #fff; overflow: hidden; }
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orbs i { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: .35; background: var(--green); animation: orb 14s ease-in-out infinite; }
.orbs i:nth-child(2) { left: 60%; top: 10%; background: var(--sky); animation-delay: -4s; }
.orbs i:nth-child(3) { left: 20%; top: 60%; background: var(--gold); animation-delay: -8s; opacity: .2; }
.orbs i:nth-child(4) { left: 80%; top: 70%; background: var(--mint); animation-delay: -11s; }
.orbs i:nth-child(5) { left: 40%; top: -10%; animation-delay: -2s; }
.orbs i:nth-child(6) { left: -5%; top: 20%; background: var(--sky); animation-delay: -6s; }
@keyframes orb { 50% { transform: translate(40px, -30px) scale(1.15); } }
.spin-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spin-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spin-facts li { background: var(--night-2); border: 2px solid var(--night-3); border-radius: 10px; padding: 12px; }
.spin-facts b { display: block; font-family: var(--numf); color: var(--mint); font-size: 18px; margin-bottom: 4px; }
.spin-facts span { font-size: 12px; opacity: .75; font-weight: 700; }
.spin-picks { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pick { width: 56px; height: 72px; border-radius: 10px; border: 2px solid var(--night-3); background: var(--night-2); padding: 4px; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, transform .15s; }
.pick img { height: 100%; width: auto; image-rendering: pixelated; }
.pick.on, .pick:hover { border-color: var(--mint); transform: translateY(-2px); }
.spin-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage { position: relative; width: 100%; max-width: 420px; height: 480px; perspective: 1000px; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: radial-gradient(60% 50% at 50% 60%, rgba(124,242,168,.12), transparent 70%); border-radius: 20px; }
.stage.grab { cursor: grabbing; }
.floor { position: absolute; left: 10%; right: 10%; bottom: 36px; height: 110px; transform: rotateX(70deg); background: repeating-linear-gradient(90deg, var(--grass) 0 24px, var(--grass-d) 24px 48px); opacity: .55; border: 3px solid var(--grass-d); }
.fig { position: absolute; left: 50%; top: 30px; width: 200px; height: 400px; margin-left: -100px; transform-style: preserve-3d; will-change: transform; }
.fig .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; image-rendering: pixelated; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.fig .front { transform: translateZ(10px); } .fig .back { transform: rotateY(180deg) translateZ(10px); }
.fig .side { width: 20px; left: 50%; margin-left: -10px; background: linear-gradient(180deg, transparent 0 14%, rgba(0,0,0,.55) 14% 92%, transparent 92%); backface-visibility: visible; display: none; }
.fig.pop { animation: pop .35s ease-out; }
@keyframes pop { 0% { opacity: 0; transform: rotateY(0) scale(.9); } }
.fig.pose-1 .face { animation: bob .6s ease-in-out infinite; }
.fig.pose-2 .face { animation: bob .3s ease-in-out infinite; }
@keyframes bob { 50% { margin-top: -8px; } }
.fig-shadow { position: absolute; left: 50%; bottom: 44px; width: 120px; height: 20px; margin-left: -60px; background: rgba(0,0,0,.5); filter: blur(8px); border-radius: 50%; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 420px; background: var(--night-2); border: 2px solid var(--night-3); border-radius: 12px; padding: 10px 14px; }
.stage-bar b { font-family: var(--pix); font-size: 20px; }
.hint { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; opacity: .7; }
.hint i { width: 26px; height: 14px; border: 2px solid var(--mint); border-radius: 8px; position: relative; }
.hint i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 6px; height: 6px; background: var(--mint); animation: hint 1.4s ease-in-out infinite; }
@keyframes hint { 50% { left: 14px; } }

/* ---------- features hotbar ---------- */
.features { background: var(--paper-2); }
.hotbar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; background: var(--night); padding: 8px; border: 3px solid #000; box-shadow: inset 0 0 0 3px #4a4a4a, 0 6px 0 #000; margin-bottom: 36px; max-width: 760px; }
.hotbar button { position: relative; aspect-ratio: 1; background: #2a2a2a; border: 2px solid #111; box-shadow: inset 2px 2px 0 #555, inset -2px -2px 0 #000; cursor: pointer; color: #fff; display: grid; place-items: center; transition: transform .1s; }
.hotbar button:hover { transform: translateY(-3px); }
.hotbar button[aria-selected="true"] { outline: 4px solid #fff; outline-offset: -2px; background: #3a3a3a; }
.hotbar small { position: absolute; right: 4px; bottom: 2px; font: 700 9px var(--numf); color: #fff; }
.slot-lbl { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font: 700 11px var(--numf); background: var(--night); color: var(--gold); padding: 4px 8px; border: 2px solid var(--gold); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; }
.hotbar button:hover .slot-lbl, .hotbar button[aria-selected="true"] .slot-lbl { opacity: 1; }
.slot-ico { position: relative; width: 60%; height: 60%; }
.slot-ico i { position: absolute; background: var(--mint); }
.ico-skin i:nth-child(1) { left: 30%; top: 0; width: 40%; height: 35%; background: #E7B48A; } .ico-skin i:nth-child(2) { left: 15%; top: 38%; width: 70%; height: 32%; background: var(--sky); } .ico-skin i:nth-child(3) { left: 30%; top: 72%; width: 40%; height: 28%; background: #4A4AA8; }
.ico-brush i:nth-child(1) { left: 20%; top: 50%; width: 60%; height: 45%; background: #C9A66B; } .ico-brush i:nth-child(2) { left: 30%; top: 25%; width: 40%; height: 28%; background: #888; } .ico-brush i:nth-child(3) { left: 30%; top: 0; width: 40%; height: 25%; background: #E8457A; }
.ico-fresh i:nth-child(1) { left: 10%; top: 10%; width: 80%; height: 80%; border: 4px solid var(--mint); background: transparent; border-radius: 50%; box-sizing: border-box; } .ico-fresh i:nth-child(2) { left: 46%; top: 22%; width: 8%; height: 32%; } .ico-fresh i:nth-child(3) { left: 46%; top: 46%; width: 26%; height: 8%; }
.ico-cube i:nth-child(1) { left: 10%; top: 25%; width: 80%; height: 60%; background: var(--grass); } .ico-cube i:nth-child(2) { left: 10%; top: 45%; width: 80%; height: 40%; background: var(--dirt); } .ico-cube i:nth-child(3) { left: 10%; top: 10%; width: 80%; height: 15%; background: var(--grass-d); }
.ico-search i:nth-child(1) { left: 10%; top: 10%; width: 55%; height: 55%; border: 4px solid var(--mint); background: transparent; border-radius: 50%; box-sizing: border-box; } .ico-search i:nth-child(2) { left: 58%; top: 58%; width: 32%; height: 12%; transform: rotate(45deg); } .ico-search i:nth-child(3) { display: none; }
.ico-rotate i:nth-child(1) { left: 10%; top: 10%; width: 80%; height: 80%; border: 4px solid var(--sky); border-top-color: transparent; background: transparent; border-radius: 50%; box-sizing: border-box; } .ico-rotate i:nth-child(2) { left: 68%; top: 0; width: 20%; height: 20%; background: var(--sky); } .ico-rotate i:nth-child(3) { display: none; }
.ico-coin i:nth-child(1) { inset: 10%; background: var(--gold); border-radius: 50%; } .ico-coin i:nth-child(2) { inset: 25%; background: var(--gold-d); border-radius: 50%; } .ico-coin i:nth-child(3) { left: 42%; top: 30%; width: 16%; height: 40%; background: var(--gold); }
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.show-copy h3 { margin-bottom: 10px; }
.show-copy p { color: var(--muted); font-size: 17px; margin: 0 0 20px; max-width: 460px; }
.show-pad { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.show-pad .pad { width: 100%; }
.show-pad img { transition: opacity .2s; }
.show-pad img.fade { opacity: 0; }
.show-nav { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border: 2px solid var(--night); background: #fff; padding: 0; cursor: pointer; }
.dots button.on { background: var(--green); }

/* ---------- daily coins ---------- */
.coins { background: linear-gradient(180deg, var(--paper), #FFF6D6); overflow: hidden; }
.coins-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.coins-art { position: relative; min-height: 360px; }
.chest { position: absolute; left: 50%; top: 20px; width: 160px; height: 120px; margin-left: -80px; }
.chest .box { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: var(--dirt); border: 4px solid #4a2d12; box-shadow: inset 0 0 0 6px #A3733F; }
.chest .lid { position: absolute; left: 0; right: 0; top: 0; height: 54px; background: #A3733F; border: 4px solid #4a2d12; box-shadow: inset 0 0 0 6px var(--dirt); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.chest .lock { position: absolute; left: 50%; top: 44px; width: 20px; height: 24px; margin-left: -10px; background: #333; border: 3px solid #111; z-index: 2; }
.coins.go .chest .lid { transform: rotateX(-110deg); }
.coin-rain { position: absolute; left: 0; right: 0; top: 40px; height: 160px; pointer-events: none; overflow: visible; }
.coin-rain i { position: absolute; top: 0; width: var(--s); height: var(--s); border-radius: 50%; background: var(--gold); box-shadow: inset -3px -3px 0 var(--gold-d); opacity: 0; }
.coins.go .coin-rain i { animation: coin var(--d) ease-in var(--dl) infinite; }
@keyframes coin { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(220px) rotate(300deg); opacity: 0; } }
.days { list-style: none; padding: 0; margin: 170px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.days li { background: #fff; border: 2px solid #F2DFA3; border-bottom-width: 5px; border-radius: 10px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; transform: translateY(14px); }
.coins.go .days li { animation: dayin .5s ease-out forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes dayin { to { opacity: 1; transform: none; } }
.days small { font: 700 9px var(--numf); color: var(--gold-d); }
.days .coin { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); box-shadow: inset -3px -3px 0 var(--gold-d); }
.days .coin.mystery { border-radius: 4px; background: var(--night); box-shadow: inset 0 0 0 3px var(--gold); }
.days b { font-family: var(--numf); font-size: 13px; }
.days li.done { background: var(--green); border-color: var(--green-d); color: #fff; } .days li.done small { color: #fff; }

/* ---------- how: guide card ---------- */
.gc { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(16,35,26,.1); }
.gc-shot { background: var(--night); padding: 22px; display: grid; place-items: center; }
.screen-frame { position: relative; width: 100%; background: #1b1b1b; border: 4px solid #000; box-shadow: inset 0 0 0 3px #4a4a4a, 0 8px 0 #000; padding: 8px; cursor: zoom-in; }
.screen-frame img { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: contain; background: #2c2c2c; }
.screen-frame img.pop { animation: shot .35s ease-out; }
@keyframes shot { 0% { opacity: 0; transform: scale(.97); } }
.no-shot { aspect-ratio: 2/1; display: grid; place-content: center; text-align: center; color: #fff; background: repeating-linear-gradient(45deg, #222 0 12px, #262626 12px 24px); }
.no-shot b { font-family: var(--pix); font-size: 28px; color: var(--mint); } .no-shot span { font-weight: 800; opacity: .7; }
.fr-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.fr-arrow.prev { left: 14px; } .fr-arrow.next { right: 14px; }
.fr-zoom { position: absolute; right: 14px; bottom: 14px; font: 700 10px var(--numf); background: rgba(0,0,0,.6); color: #fff; padding: 4px 8px; }
.gc-info { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gc-head { display: flex; justify-content: space-between; align-items: center; }
.screen-step { font: 700 12px var(--numf); color: var(--green); }
.guide-nav { display: flex; gap: 8px; }
.phases { display: flex; gap: 6px; }
.phases button { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 8px 10px; font: 700 10px var(--numf); color: var(--muted); cursor: pointer; text-align: left; }
.phases button i { width: 10px; height: 10px; background: var(--line); flex: none; }
.phases button.on { border-color: var(--night); color: var(--night); } .phases button.on i { background: var(--green); }
.steps { list-style: none; padding: 0 4px 0 0; margin: 0; display: grid; gap: 6px; max-height: 400px; overflow-y: auto; scrollbar-width: thin; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 10px; cursor: pointer; transition: background .15s, border-color .15s; }
.steps li.ph { display: block; border: 0; padding: 8px 0 2px; font: 700 10px var(--numf); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; cursor: default; }
.steps li.ph.on { color: var(--green); }
.steps li:hover { background: var(--paper-2); }
.steps li.on { background: var(--night); color: #fff; border-color: var(--night); }
.steps li.done .n { background: var(--mint-l); color: var(--green-d); box-shadow: none; }
.steps .n { display: grid; place-items: center; width: 36px; height: 36px; background: var(--green); color: #fff; font-family: var(--numf); font-size: 16px; border-radius: 8px; box-shadow: 0 3px 0 var(--green-d); }
.steps li.on .n { background: var(--gold); color: #000; box-shadow: 0 3px 0 var(--gold-d); }
.steps b { font-family: var(--pix); font-size: 18px; display: block; margin-bottom: 2px; }
.steps p { margin: 0; font-size: 13px; color: var(--muted); display: none; }
.steps li.on p { display: block; color: rgba(255,255,255,.8); }
.g-bar { height: 8px; background: var(--paper-2); border: 2px solid var(--line); overflow: hidden; }
.g-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--green-l) 0 8px, var(--green) 8px 16px); }
.req { margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; background: var(--night); color: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: 0 5px 0 #000; }
.req-title { grid-column: 1/-1; font-family: var(--pix); font-size: 22px; color: var(--mint); margin-bottom: 8px; }
.req div { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.req dt { font-size: 11px; font-weight: 800; opacity: .6; text-transform: uppercase; letter-spacing: .08em; } .req dd { margin: 2px 0 0; font-weight: 800; font-size: 14px; }
[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: grid; place-content: center; gap: 12px; padding: 20px; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 80vh; object-fit: contain; }
.lightbox p { color: #fff; text-align: center; margin: 0; font-weight: 700; }
.lb-close { position: absolute; right: 16px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 28px; cursor: pointer; }

/* ---------- who ---------- */
.who { background: var(--paper-2); }
.wm { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 16px; }
.wm-hero { display: flex; align-items: center; gap: 18px; background: var(--night); color: #fff; border-radius: var(--r); padding: 24px; box-shadow: 0 6px 0 #000; }
.wm-flag { line-height: 1; }
.flag { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 6px; background: var(--night); color: var(--mint); font: 700 13px var(--numf); font-style: normal; border-radius: 6px; box-shadow: inset -3px -3px 0 rgba(0,0,0,.4), inset 3px 3px 0 rgba(255,255,255,.08); }
.wm-hero .flag { background: var(--green); color: #fff; min-width: 56px; height: 40px; font-size: 16px; }
.wm-body { flex: 1; } .wm-body b { font-family: var(--numf); font-size: 42px; color: var(--mint); } .wm-body b i { font-style: normal; font-size: 22px; } .wm-body > span { display: block; font-weight: 800; opacity: .8; margin: 2px 0 10px; }
.wm-body em { display: block; height: 12px; background: var(--night-3); overflow: hidden; } .wm-body em i { display: block; height: 100%; width: 0; background: var(--mint); transition: width 1.2s ease-out; }
.wm.fill .wm-body em i { width: var(--w); }
.wm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wm-tile { background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 12px; padding: 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.wm-tile .wm-flag { grid-row: 1 / 3; }
.wm-tile b { font-family: var(--numf); font-size: 22px; } .wm-tile b i { font-style: normal; font-size: 13px; }
.wm-tile > span { font-weight: 800; font-size: 13px; color: var(--muted); }
.wm-tile em { grid-column: 2; display: block; height: 8px; background: var(--paper-2); margin-top: 6px; overflow: hidden; } .wm-tile em i { display: block; height: 100%; width: 0; background: var(--green); transition: width 1.2s ease-out; }
.wm.fill .wm-tile em i { width: var(--w); }
.flags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flags li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 800; font-size: 13px; }
.flags li .flag { min-width: 32px; height: 22px; font-size: 10px; }

/* ---------- faq ---------- */
.faq-list details { background: #fff; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq-list summary { cursor: pointer; font-weight: 900; font-size: 17px; padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-family: var(--pix); font-size: 28px; color: var(--green); }
.faq-list details[open] summary::after { content: '\2013'; }
.faq-list p { margin: 0 0 16px; color: var(--muted); }

/* ---------- final ---------- */
.final { position: relative; color: #fff; padding: 100px 0; overflow: hidden; background: var(--night); text-align: center; }
.final-skins { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2vw; pointer-events: none; opacity: .5; }
.final-skins img { width: 80px; height: 160px; object-fit: contain; image-rendering: pixelated; animation: hover2 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); transform-origin: bottom; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final .icon { border-radius: 22px; box-shadow: var(--shadow); }
.final p { max-width: 560px; margin: 0; font-size: 18px; } .final p b { color: var(--mint); }
.final .fine { font-size: 12px; opacity: .7; }
.qr { display: flex; align-items: center; gap: 12px; margin-top: 10px; background: #fff; color: var(--txt); border-radius: 12px; padding: 8px 14px 8px 8px; font-size: 12px; font-weight: 800; max-width: 300px; text-align: left; }
.qr img { width: 80px; height: 80px; }

/* ---------- footer + sticky ---------- */
.foot { background: #071510; color: #9fb8a8; padding: 30px 0 34px; font-size: 13px; }
.foot-in { display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration: underline; }
.sticky { position: fixed; left: 12px; right: 12px; max-width: calc(100vw - 24px); bottom: 12px; z-index: 55; display: none; align-items: center; gap: 12px; background: rgba(14,31,24,.96); color: #fff; border: 2px solid var(--green); border-radius: 14px; padding: 8px 10px; transform: translateY(120%); transition: transform .3s; }
.sticky.show { transform: none; }
.sticky img { border-radius: 10px; }
.sticky span { flex: 1; line-height: 1.15; } .sticky b { display: block; font-size: 14px; } .sticky small { opacity: .7; font-size: 12px; } .sticky i { font-style: normal; }

/* ---------- scroll reveals ---------- */
.rv { opacity: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); transition-delay: var(--d, 0ms); }
.rv-drop { transform: translateY(-14px); }
.rv-pop { transform: translateY(18px) scale(.97); }
.rv.rv-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sec { padding: 56px 0; }
  .nav { display: none; }
  .hero { padding: 44px 0 110px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: auto; margin-top: 10px; }
  .pad-wrap { position: relative; right: auto; top: auto; width: 100%; }
  .pad-wrap .pad { transform: none; animation: none; }
  .hero-skins { display: none; }
  .spin-in, .showcase, .coins-in, .gc, .wm { grid-template-columns: 1fr; }
  .stage { height: 400px; } .fig { width: 160px; height: 320px; margin-left: -80px; }
  .hotbar { grid-template-columns: repeat(7, 1fr); max-width: 100%; }
  .slot-lbl { display: none; }
  .req { grid-template-columns: repeat(2, 1fr); }
  .steps { max-height: 280px; }
  .coins-art { min-height: 320px; }
  .days { margin-top: 150px; }
  .final-skins { display: none; }
  .foot { padding-bottom: 110px; }
  .sticky { display: flex; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .btn .full { display: none; } .btn .short { display: inline; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-cards .stat:last-child { grid-column: 1 / -1; }
  .spin-facts { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .spin-facts li { padding: 8px; }
  .wm-grid { grid-template-columns: 1fr 1fr; }
  .days { gap: 4px; } .days li { padding: 8px 2px; } .days b { font-size: 11px; }
  .hotbar { gap: 4px; padding: 5px; }
  .store span { font-size: 19px; }
  .qr { display: none; }
  h1 { font-size: clamp(36px, 11vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .card { opacity: 1; transform: none; }
}

/* ===== upgrade 2: real 3D character, pose renders, tilt, XP orbs ===== */
.sky { transform: translateX(var(--px, 0)); transition: transform .4s ease-out; }
.pad-wrap .pad { transform: rotateY(calc(-14deg + var(--rx, 0deg))) rotateX(calc(4deg + var(--ry, 0deg))) rotate(2deg); transition: transform .3s ease-out; animation: none; }
.hero-skins { transition: transform .4s ease-out; }
.hero-char { position: absolute; left: -22%; bottom: -36px; width: 250px; height: 380px; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.hero-char canvas { display: block; width: 250px; height: 340px; cursor: grab; }
.hero-char canvas:active { cursor: grabbing; }
.hero-char .hero-pose { display: none; width: 240px; height: auto; filter: drop-shadow(0 16px 10px rgba(0,0,0,.35)); animation: hover2 5s ease-in-out infinite; }
.hero-char.static canvas { display: none; } .hero-char.static .hero-pose { display: block; }
.char-shadow { position: absolute; left: 50%; bottom: 26px; width: 150px; height: 24px; margin-left: -75px; background: rgba(0,0,0,.35); filter: blur(8px); border-radius: 50%; z-index: -1; }
.nametag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.45); color: #fff; font: 700 13px var(--numf); padding: 5px 10px; white-space: nowrap; z-index: 2; letter-spacing: .04em; transition: transform .3s, opacity .3s; }
.hero-char.swap .nametag { animation: tagpop .7s steps(4); }
@keyframes tagpop { 0% { transform: translateX(-50%) scale(1.3); opacity: 0; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }
.hero-char.swap canvas { animation: blink2 .5s steps(2); }
@keyframes blink2 { 50% { filter: brightness(3); } }
.orbs-xp { position: absolute; inset: 0; pointer-events: none; }
.orbs-xp i { position: absolute; width: var(--s); height: var(--s); background: radial-gradient(circle, #DFFF6A 0 35%, #7CF24A 36% 70%, transparent 71%); box-shadow: 0 0 10px 2px rgba(190,255,90,.6); animation: xpf var(--d) ease-in-out var(--dl) infinite; image-rendering: pixelated; }
@keyframes xpf { 0%, 100% { transform: translateY(0) scale(1); opacity: .9; } 50% { transform: translateY(-22px) scale(.85); opacity: .5; } }

/* pose render in cards + floating cards */
.hs .pose { width: 52px; height: 76px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 4px 3px rgba(0,0,0,.3)); }
.thumb .pose { position: relative; z-index: 1; width: 78%; height: 86%; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 10px 8px rgba(0,0,0,.28)); transition: transform .35s cubic-bezier(.3,1.4,.4,1); transform: translateZ(30px); }
.card { perspective: 800px; transform-style: preserve-3d; transition: transform .25s ease-out, border-color .18s, opacity .5s, box-shadow .25s; }
.card.in { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.card:hover { box-shadow: 0 18px 36px rgba(16,35,26,.18); border-color: var(--c); }
.card:hover .thumb .pose { transform: translateZ(40px) scale(1.08) rotate(-3deg); }
.thumb { transform-style: preserve-3d; background: radial-gradient(80% 60% at 50% 70%, color-mix(in srgb, var(--c) 22%, #fff), var(--paper-2) 75%); }
.thumb .glint { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 2; }
.card:hover .thumb .glint { opacity: 1; }
.thumb .fig3 { display: none; }

/* stage: skinview3d */
.stage { height: 480px; cursor: grab; }
.stage canvas { display: block; margin: 0 auto; border-radius: 20px; touch-action: none; }
.stage-fallback { display: block; height: 440px; width: auto; margin: 20px auto 0; filter: drop-shadow(0 20px 14px rgba(0,0,0,.45)); animation: hover2 5s ease-in-out infinite; }
.stage.live .floor { display: none; }
.stage.pop canvas { animation: shot .35s ease-out; }
.poses { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; gap: 4px; background: rgba(0,0,0,.6); border: 2px solid var(--night-3); padding: 4px; }
.poses button { background: transparent; color: #fff; border: 0; padding: 7px 14px; font: 700 11px var(--numf); cursor: pointer; letter-spacing: .06em; }
.poses button[aria-pressed="true"] { background: var(--green); box-shadow: inset 0 -3px 0 var(--green-d); }
.pick img { height: 100%; width: auto; image-rendering: pixelated; }
.final-skins img { width: 110px; height: 160px; object-fit: contain; image-rendering: auto; }

@media (max-width: 900px) {
  .hero-art { display: grid; grid-template-columns: 1fr; }
  .hero-char { position: relative; left: auto; bottom: auto; width: 100%; height: auto; margin: 10px 0 -40px; order: -1; }
  .hero-char .hero-pose { width: 190px; }
  .char-shadow { bottom: 10px; }
  .orbs-xp { display: none; }
  .stage canvas { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero-char .hero-pose, .stage-fallback { animation: none; } }

/* ===== upgrade 3: load-in, pixel edges, micro-interactions ===== */
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.8,.3,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; } .hero-copy > *:nth-child(4) { animation-delay: .24s; } .hero-copy > *:nth-child(5) { animation-delay: .32s; } .hero-copy > *:nth-child(6) { animation-delay: .4s; }
.hero-art { animation: rise .9s .2s cubic-bezier(.2,.8,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.spin::before, .final::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--grass) 0 14px, var(--grass-d) 14px 24px, var(--grass) 24px 38px); z-index: 1; }
.spin::after, .final::after { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 10px; background: repeating-linear-gradient(90deg, var(--dirt) 0 20px, var(--dirt-d) 20px 40px); z-index: 1; }
.features::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--line) 0 16px, transparent 16px 32px); }
.hotbar button[aria-selected="true"] .slot-ico { animation: slotpulse 1.2s ease-in-out infinite; }
@keyframes slotpulse { 50% { transform: scale(1.12); } }
.ticker:hover .tk-row { animation-play-state: paused; }
.stat::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 4px; background: var(--night-3); }
.stat::before { content: ''; position: absolute; left: 12px; bottom: 8px; height: 4px; width: 0; background: var(--mint); z-index: 1; transition: width 1.4s ease-out calc(var(--i) * 120ms); }
.proof.go .stat::before { width: calc(100% - 24px); }
.tabs button { transition: transform .12s, background .15s; } .tabs button:hover { transform: translateY(-2px); }
.btn-grass { position: relative; overflow: hidden; }
.btn-grass::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sheen 4s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.store { position: relative; }
.faq-list details[open] { border-color: var(--green); }
.faq-list summary:hover { color: var(--green-d); }
.flags li { transition: transform .15s; } .flags li:hover { transform: translateY(-2px); border-color: var(--green); }
@media (max-width: 600px) { .sun { top: 14px; right: 6%; width: 44px; height: 44px; } .pill-new { max-width: 100%; white-space: normal; } }

/* ===== upgrade 4: 3D preview modal, scroll-run ===== */
.thumb .b3d { position: absolute; right: 8px; bottom: 20px; z-index: 3; background: var(--night); color: var(--mint); border: 2px solid var(--mint); font: 700 10px var(--numf); padding: 5px 8px; cursor: pointer; letter-spacing: .06em; transition: transform .12s, background .12s; }
.thumb .b3d:hover { background: var(--mint); color: var(--night); transform: translateY(-2px); }
.modal3d { position: fixed; inset: 0; z-index: 90; background: rgba(5,15,10,.9); display: grid; place-items: center; padding: 16px; }
.m3-box { width: min(920px, 100%); background: var(--night-2); border: 3px solid var(--night-3); border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: shot .3s ease-out; }
.m3-stage { position: relative; background: radial-gradient(60% 50% at 50% 60%, rgba(124,242,168,.14), transparent 70%), var(--night); min-height: 460px; cursor: grab; }
.m3-stage canvas { position: absolute; inset: 0; display: block; margin: 0 auto; touch-action: none; }
.m3-stage .poses { bottom: 12px; }
.m3-info { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.m3-info .kicker { margin: 0; }
.m3-info h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.m3-info p { margin: 0; opacity: .8; }
.m3-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.m3-meta span { background: var(--night-3); padding: 6px 10px; border-radius: 8px; font: 700 11px var(--numf); }
.m3-meta .pro { color: var(--gold); } .m3-meta .free { color: var(--mint); }
.m3-nav { display: flex; gap: 8px; margin-top: auto; }
.m3-close { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; cursor: pointer; z-index: 2; }
.m3-info .store { align-self: flex-start; }
@media (max-width: 760px) { .modal3d { grid-template-columns: minmax(0, 1fr); } .m3-box { grid-template-columns: minmax(0, 1fr); max-height: 92vh; max-height: 92dvh; overflow-y: auto; } .m3-stage { min-height: 0; height: clamp(240px, 50vh, 400px); } .m3-info { padding: 20px; } }

/* ===== upgrade 5: search, mini editor, night theme ===== */
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; min-width: 260px; color: var(--muted); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(29,164,98,.15); }
.search input { border: 0; outline: 0; background: transparent; font: 700 15px var(--body); color: var(--txt); width: 100%; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-n { font: 700 10px var(--numf); color: var(--green); white-space: nowrap; }
.editor { background: var(--paper); }
.ed { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ed-left { background: #fff; border: 2px solid var(--line); border-bottom-width: 6px; border-radius: 20px; padding: 18px; }
.ed-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ed-lbl { font: 700 11px var(--numf); color: var(--muted); letter-spacing: .08em; }
.ed-tools { display: flex; gap: 6px; }
.ed-btn { background: var(--paper-2); border: 2px solid var(--line); border-radius: 8px; padding: 6px 10px; font: 700 10px var(--numf); cursor: pointer; color: var(--txt); }
.ed-btn:hover { border-color: var(--green); color: var(--green-d); }
#ed-canvas { width: 100%; max-width: 360px; aspect-ratio: 1; height: auto; display: block; margin: 0 auto; image-rendering: pixelated; background: repeating-conic-gradient(#eef3ef 0 25%, #fff 0 50%) 0 0 / 32px 32px; border: 3px solid var(--night); cursor: crosshair; touch-action: none; }
.ed-palette { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 14px; }
.ed-palette button { aspect-ratio: 1; background: var(--c); border: 3px solid rgba(0,0,0,.15); cursor: pointer; transition: transform .1s; }
.ed-palette button:hover { transform: translateY(-2px); }
.ed-palette button[aria-checked="true"] { border-color: var(--night); outline: 3px solid #fff; outline-offset: -6px; }
.ed-right { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ed-stage { position: relative; width: 100%; max-width: 360px; background: var(--night); border-radius: 20px; border: 3px solid var(--night-3); overflow: hidden; }
.ed-stage canvas { display: block; margin: 0 auto; }
.ed-stage.flash { animation: blink2 .4s steps(2); }
.ed-tag { top: 12px; }
.ed-note { margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.theme { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); cursor: pointer; position: relative; margin-left: auto; flex: none; }
.nav + .theme { margin-left: 0; }
.theme + .btn { margin-left: 0; }
.theme i { position: absolute; inset: 9px; border-radius: 50%; transition: opacity .25s, transform .4s; }
.theme .sunic { background: var(--gold); box-shadow: 0 0 0 3px rgba(255,201,60,.3); }
.theme .moonic { background: transparent; box-shadow: inset -6px -3px 0 0 #E8F0FF; opacity: 0; transform: rotate(-60deg); }
.theme[aria-pressed="true"] .sunic { opacity: 0; transform: rotate(90deg); }
.theme[aria-pressed="true"] .moonic { opacity: 1; transform: none; }
@media (max-width: 900px) { .ed { grid-template-columns: 1fr; } .search { min-width: 0; width: 100%; } .tools { flex-direction: column; align-items: stretch; } }

/* night theme */
[data-theme="dark"] { --paper: #0E1F18; --paper-2: #142B21; --txt: #F2FFF6; --muted: #9FB8A8; --line: #24473A; }
[data-theme="dark"] body { background: var(--paper); color: var(--txt); }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #0B1B3A 0%, #12284F 50%, #1B3A5E 100%); }
[data-theme="dark"] .sun { background: #F4F1E0; box-shadow: 0 0 0 10px rgba(244,241,224,.12), 0 0 60px 20px rgba(244,241,224,.25); }
[data-theme="dark"] .cloud { opacity: .25; }
[data-theme="dark"] .hills { opacity: .35; }
[data-theme="dark"] .micro { color: var(--mint); }
[data-theme="dark"] .card, [data-theme="dark"] .hs, [data-theme="dark"] .wm-tile, [data-theme="dark"] .flags li, [data-theme="dark"] .faq-list details, [data-theme="dark"] .tabs button, [data-theme="dark"] .tab-arrow, [data-theme="dark"] .search, [data-theme="dark"] .ed-left, [data-theme="dark"] .btn-ghost-dark, [data-theme="dark"] .sl-btn, [data-theme="dark"] .gc, [data-theme="dark"] .phases button, [data-theme="dark"] .days li, [data-theme="dark"] .steps li:not(.on), [data-theme="dark"] .qr { background: var(--paper-2); color: var(--txt); border-color: var(--line); }
[data-theme="dark"] .hs b, [data-theme="dark"] .card .body b { color: var(--txt); }
[data-theme="dark"] .thumb { background: radial-gradient(80% 60% at 50% 70%, color-mix(in srgb, var(--c) 30%, var(--paper-2)), var(--paper) 75%); }
[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
[data-theme="dark"] .steps li:hover { background: var(--night-3); }
[data-theme="dark"] .features, [data-theme="dark"] .who, [data-theme="dark"] .coins { background: var(--paper-2); }
[data-theme="dark"] .coins { background: linear-gradient(180deg, var(--paper), #1E2A14); }
[data-theme="dark"] .days li { border-color: #4A3F18; } [data-theme="dark"] .days li.done { background: var(--green); }
[data-theme="dark"] .hotbar { box-shadow: inset 0 0 0 3px #4a4a4a, 0 6px 0 #000; }
[data-theme="dark"] .req { background: #071510; }
[data-theme="dark"] .g-bar { background: var(--paper); }
[data-theme="dark"] .ed-btn { background: var(--paper); }
[data-theme="dark"] .dots button { background: var(--paper-2); border-color: var(--mint); } [data-theme="dark"] .dots button.on { background: var(--mint); }
[data-theme="dark"] .pad { box-shadow: 0 0 0 3px #333, 0 8px 0 rgba(0,0,0,.4), 0 18px 40px rgba(0,0,0,.5); }
[data-theme="dark"] #ed-canvas { background: repeating-conic-gradient(#1a3328 0 25%, #142B21 0 50%) 0 0 / 32px 32px; border-color: var(--mint); }
[data-theme="dark"] .final-skins { opacity: .35; }

/* ===== upgrade 6: hero crew on a grass pedestal + floating category chips ===== */
.hero-art { height: 560px; }
.pad-wrap { right: -4%; top: 0; width: 62%; z-index: 1; }
.crew { position: absolute; left: -6%; bottom: 10px; width: 62%; height: 470px; z-index: 4; display: flex; align-items: flex-end; justify-content: center; }
.hero-char { position: relative; left: auto; bottom: 30px; width: 280px; height: 420px; cursor: pointer; }
.hero-char canvas { width: 280px; height: 380px; }
.hero-char.dragged { cursor: grabbing; }
.hero-char:hover .nametag { transform: translateX(-50%) scale(1.06); }
.toppick { position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); background: var(--gold); color: #000; font: 700 10px var(--numf); padding: 4px 8px; letter-spacing: .08em; box-shadow: 0 3px 0 var(--gold-d); z-index: 3; animation: hover2 4s ease-in-out infinite; }
.crew-side { position: relative; bottom: 60px; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .92; transition: transform .25s, opacity .25s; filter: drop-shadow(0 12px 10px rgba(0,0,0,.35)); }
.crew-side img { width: 120px; height: auto; }
.crew-side b { font: 700 9px var(--numf); background: rgba(0,0,0,.45); color: #fff; padding: 4px 7px; white-space: nowrap; letter-spacing: .04em; }
.crew-side.l { margin-right: -28px; transform: translateY(0) scale(.92); z-index: 1; animation: hover2 6.5s ease-in-out -2s infinite; }
.crew-side.r { margin-left: -28px; transform: translateY(0) scale(.92); z-index: 1; animation: hover2 6.5s ease-in-out -4s infinite; }
.crew-side:hover { opacity: 1; transform: translateY(-8px) scale(.98); z-index: 6; }
.pedestal { position: absolute; left: 50%; bottom: 0; width: 360px; height: 90px; margin-left: -180px; z-index: 0; perspective: 600px; }
.pedestal i { position: absolute; image-rendering: pixelated; }
.pedestal .p-top { left: 0; right: 0; top: 0; height: 60px; background: repeating-linear-gradient(90deg, var(--grass) 0 18px, var(--grass-d) 18px 28px, var(--grass) 28px 44px), var(--grass); transform: rotateX(64deg); transform-origin: 50% 100%; box-shadow: inset 0 0 0 6px rgba(0,0,0,.08); }
.pedestal .p-front { left: 0; right: 0; bottom: 0; height: 34px; background: repeating-linear-gradient(90deg, var(--dirt) 0 22px, var(--dirt-d) 22px 44px); border-top: 6px solid var(--grass-d); }
.pedestal .p-side { display: none; }
.hero-chips { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hchip { position: absolute; pointer-events: auto; background: var(--c); color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 999px; padding: 6px 12px; font: 800 12px var(--body); cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.2); animation: hover2 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); transition: transform .15s, filter .15s; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.hchip:hover { filter: brightness(1.12); transform: translateY(-4px) scale(1.06); }
.hchip:nth-child(1) { left: 2%; top: 6%; } .hchip:nth-child(2) { left: 30%; top: -2%; } .hchip:nth-child(3) { left: 4%; top: 42%; }
.hchip:nth-child(4) { left: 58%; top: 2%; } .hchip:nth-child(5) { right: 2%; top: 20%; } .hchip:nth-child(6) { left: 54%; top: 64%; }
.hchip:nth-child(7) { right: 4%; top: 46%; } .hchip:nth-child(8) { left: 26%; top: 78%; }
.hs1 { left: auto; right: 0; top: auto; bottom: 150px; }
.hs2 { left: auto; right: 10%; bottom: 20px; }
.hs3 { display: none; }
[data-theme="dark"] .crew-side b, [data-theme="dark"] .nametag { background: rgba(0,0,0,.65); }
@media (max-width: 1100px) { .crew { width: 70%; } .crew-side { width: 96px; } .crew-side img { width: 96px; } }
@media (max-width: 900px) {
  .hero-art { height: auto; }
  .crew { position: relative; left: auto; bottom: auto; width: 100%; height: 400px; margin: 0 0 -20px; order: -1; }
  .hero-char { height: 380px; }
  .crew-side { bottom: 40px; width: 84px; } .crew-side img { width: 84px; }
  .pedestal { width: 300px; margin-left: -150px; }
  .hero-chips { display: none; }
  .hs1, .hs2 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hchip, .crew-side, .toppick { animation: none; } }
@media (max-width: 600px) { .crew-side { display: none; } .crew { height: 360px; } .hero-char { height: 340px; } .hero-char .hero-pose { width: 170px; } }
@media (max-width: 900px) { .crew { height: auto; padding-bottom: 54px; margin: 0 0 16px; } .hero-char { height: auto; bottom: 0; } .hero-char.static .toppick, .hero-char.static .nametag { position: static; transform: none; margin: 0 0 6px; } .hero-char.static .toppick { margin-bottom: 4px; } .crew-side { bottom: 20px; } .pedestal { height: 70px; } .pad-wrap { margin-top: 10px; } }
@media (max-width: 900px) { .hero-in { gap: 0; } .hero-art { margin-top: -48px; } }

/* ===== upgrade 7: clean hero composition ===== */
.hero-art { height: 580px; }
.hero-skins { display: none; }
.pad-wrap { right: -2%; top: 0; width: 58%; z-index: 1; }
.pad-wrap .pad { transform: rotateY(calc(-10deg + var(--rx, 0deg))) rotateX(calc(3deg + var(--ry, 0deg))) rotate(1.5deg); }
.crew { left: -4%; bottom: 0; width: 64%; height: 480px; z-index: 4; align-items: flex-end; }
.hero-char { bottom: 34px; width: 260px; height: auto; display: flex; flex-direction: column; align-items: center; }
.hero-char canvas { width: 260px; height: 360px; }
.hero-char .toppick, .hero-char .nametag { position: static; transform: none; margin: 0 0 6px; }
.hero-char .toppick { transform: rotate(-3deg); margin-bottom: 4px; }
.hero-char:hover .nametag { transform: scale(1.05); }
.hero-char.swap .nametag { animation: tagpop2 .7s steps(4); }
@keyframes tagpop2 { 0% { transform: scale(1.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.crew-side { bottom: 54px; width: 104px; opacity: .95; }
.crew-side img { width: 104px; }
.crew-side.l { margin-right: -18px; } .crew-side.r { margin-left: -18px; }
.pedestal { width: 380px; margin-left: -190px; height: 84px; }
.pedestal .p-top { height: 56px; }
.pedestal .p-front { height: 30px; }
.hero-chips { inset: auto 0 auto 0; top: 56px; left: 0; width: 44%; height: 90px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; pointer-events: auto; }
.hchip { position: static; animation: hover2 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.hchip:nth-child(n+6) { display: none; }
.hchip:nth-child(1), .hchip:nth-child(2), .hchip:nth-child(3), .hchip:nth-child(4), .hchip:nth-child(5), .hchip:nth-child(6), .hchip:nth-child(7), .hchip:nth-child(8) { left: auto; right: auto; top: auto; }
.hero-chips::before { content: 'Categories in the app'; flex-basis: 100%; font: 700 10px var(--numf); letter-spacing: .12em; color: rgba(255,255,255,.85); text-shadow: 0 1px 0 rgba(0,0,0,.3); margin-bottom: 2px; }
@media (max-width: 1100px) { .pad-wrap { width: 54%; } .crew { width: 66%; } .hero-chips { width: 42%; } }
@media (max-width: 900px) { .hero-art { height: auto; } .crew { position: relative; left: auto; width: 100%; height: auto; } .hero-chips { display: none; } .hero-char .toppick, .hero-char .nametag { position: static; } .hero-char canvas { display: none; } }
.hero-chips { top: 4px; width: 40%; }
.crew { height: 470px; }
@media (max-width: 900px) { .hero-char .hero-pose { display: block; } }
@media (max-width: 900px) { .pad-wrap { margin-bottom: 48px; } }


/* ===== upgrade 8b: skin-store background behind the hero ===== */
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,40,26,.62) 0%, rgba(10,40,26,.35) 45%, rgba(10,40,26,.15) 100%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(180deg, transparent, rgba(16,35,26,.5)); pointer-events: none; }
.hero .sky, .hero .hills { display: none; }
.hero-in, .motes { position: relative; z-index: 2; }
.ground { z-index: 3; }
.hero-copy .lead { text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-copy .micro { color: var(--mint); }
.hero-chips::before { color: #fff; }
[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(5,18,12,.82) 0%, rgba(5,18,12,.62) 50%, rgba(5,18,12,.5) 100%); }

/* ===== upgrade 9: cleaner right side — straight green-framed iPad, chips under it ===== */
.hero::before { background: linear-gradient(90deg, rgba(8,32,22,.55) 0%, rgba(8,32,22,.3) 45%, rgba(8,32,22,.2) 100%); }
.pad-wrap { right: 0; top: 0; width: 56%; perspective: none; }
.pad-wrap .pad { transform: none; animation: none; }
.hero .pad { background: #0F2B1E; border-radius: 22px; padding: 10px; box-shadow: 0 0 0 3px var(--green), 0 0 0 7px rgba(29,164,98,.25), 0 24px 50px rgba(0,0,0,.45), 0 0 60px rgba(124,242,168,.25); }
.hero .pad img { border-radius: 14px; }
.hero .pad::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 54px; height: 4px; margin-left: -27px; background: rgba(255,255,255,.35); border-radius: 4px; }
.hero .pad { position: relative; }
.hero-chips { top: auto; bottom: 150px; left: auto; right: 0; width: 56%; height: auto; justify-content: center; }
.hero-chips::before { text-align: center; color: var(--mint); }
.crew { left: -6%; width: 50%; bottom: 0; height: 480px; }
.crew-side { width: 92px; } .crew-side img { width: 92px; }
.pedestal { width: 340px; margin-left: -170px; }
@media (max-width: 1100px) { .pad-wrap, .hero-chips { width: 52%; } .crew { width: 54%; } }
@media (max-width: 900px) { .pad-wrap { width: 100%; } .hero-chips { display: none; } .crew { width: 100%; height: auto; } }
.pad-wrap .hero-chips { position: static; width: 100%; margin-top: 16px; bottom: auto; right: auto; }
.pad-wrap { z-index: 3; }

/* ===== upgrade 10: hero right side = one glass showcase panel (no iPad) ===== */
.hero .pad-wrap { display: none; }
.hero-art { height: 600px; }
.crew { left: auto; right: 0; top: 0; bottom: auto; width: 100%; height: 500px; background: rgba(6,34,22,.5); border: 2px solid rgba(124,242,168,.45); border-radius: 26px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; padding: 0 20px; }
.crew::before { content: 'LIVE 3D · TAP TO SPIN'; position: absolute; left: 16px; top: 14px; font: 700 10px var(--numf); letter-spacing: .12em; color: var(--mint); background: rgba(0,0,0,.35); padding: 5px 9px; border-radius: 6px; }
.crew::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(6,34,22,.6)); pointer-events: none; }
.hero-char { bottom: 44px; }
.crew-side { bottom: 64px; width: 100px; z-index: 2; } .crew-side img { width: 100px; }
.pedestal { bottom: 10px; width: 400px; margin-left: -200px; z-index: 1; }
.hero-chips { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: auto; justify-content: center; margin: 0; }
.hero-chips::before { flex-basis: auto; width: 100%; text-align: center; color: var(--mint); }
.hchip:nth-child(n+6) { display: inline-block; }
@media (max-width: 900px) { .crew { height: 440px; padding-bottom: 20px; border-radius: 20px; } .crew-side { display: flex; bottom: 30px; width: 70px; } .crew-side img { width: 70px; } .hero-chips { display: none; } .hero-art { margin-top: 0; } }
@media (max-width: 600px) { .crew-side { display: none; } .crew { height: 400px; } }
@media (max-width: 900px) { .hero-art { height: auto; min-height: 0; } .crew { position: relative; margin-bottom: 0; } .hero { padding-bottom: 120px; } }

/* ===== upgrade 11: clean wallpaper background (gradient + crisp skin pattern + spotlight) ===== */
.hero { background: radial-gradient(60% 70% at 72% 45%, rgba(124,242,168,.22), transparent 70%), radial-gradient(50% 60% at 15% 85%, rgba(29,164,98,.35), transparent 70%), url(images/skin-pattern.png) center top / 420px 420px repeat, linear-gradient(180deg, #0F3D27 0%, #145A38 55%, #1A6D44 100%); }
.hero::before { background: linear-gradient(180deg, rgba(8,28,18,.35), transparent 30%, transparent 70%, rgba(8,28,18,.5)); }
.hero::after { background: none; }
.hero .motes i { opacity: .55; }
[data-theme="dark"] .hero { background: radial-gradient(60% 70% at 72% 45%, rgba(124,242,168,.14), transparent 70%), url(images/skin-pattern.png) center top / 420px 420px repeat, linear-gradient(180deg, #071510 0%, #0E2A1C 60%, #0F3D27 100%); }
[data-theme="dark"] .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 70%, rgba(0,0,0,.45)); }
@media (max-width: 900px) { .hero { background-size: auto, auto, 300px 300px, auto; } [data-theme="dark"] .hero { background-size: auto, 300px 300px, auto; } }

/* ===== upgrade 12: big skin faces at the edges (shop-banner style) ===== */
.hero { background: radial-gradient(55% 65% at 72% 45%, rgba(124,242,168,.18), transparent 70%), url(images/faces-bg.webp) center / cover no-repeat, #146B45; }
.hero::before { background: linear-gradient(90deg, rgba(8,40,26,.5) 0%, rgba(8,40,26,.25) 30%, rgba(8,40,26,.25) 70%, rgba(8,40,26,.5) 100%), linear-gradient(180deg, rgba(8,28,18,.25), transparent 30%, transparent 70%, rgba(8,28,18,.45)); }
[data-theme="dark"] .hero { background: radial-gradient(55% 65% at 72% 45%, rgba(124,242,168,.12), transparent 70%), url(images/faces-bg.webp) center / cover no-repeat, #0E2A1C; }
[data-theme="dark"] .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.45) 50%, rgba(0,0,0,.6)); }
@media (max-width: 900px) { .hero, [data-theme="dark"] .hero { background-image: url(images/faces-bg-sm.webp); background-size: cover; } }

/* ===== upgrade 13: clean store wall with all skins ===== */
.hero { background: radial-gradient(55% 65% at 72% 45%, rgba(124,242,168,.16), transparent 70%), url(images/store-aisle.webp?v=3) center / cover no-repeat, #126045; }
.hero::before { background: linear-gradient(90deg, rgba(6,32,20,.62) 0%, rgba(6,32,20,.38) 40%, rgba(6,32,20,.3) 100%), linear-gradient(180deg, rgba(6,28,18,.3), transparent 30%, transparent 70%, rgba(6,28,18,.5)); }
[data-theme="dark"] .hero { background: radial-gradient(55% 65% at 72% 45%, rgba(124,242,168,.1), transparent 70%), url(images/store-aisle.webp?v=3) center / cover no-repeat, #0E2A1C; }
[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.5) 100%); }
@media (max-width: 900px) { .hero, [data-theme="dark"] .hero { background-image: url(images/store-aisle.webp?v=3); background-size: cover; } }

/* ===== upgrade 14: text-side highlight panel ===== */
.hero-copy { position: relative; padding: 28px 28px 24px; margin-left: -28px; border-radius: 26px; background: linear-gradient(135deg, rgba(6,34,22,.66), rgba(6,34,22,.42)); border: 2px solid rgba(124,242,168,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.05); }
.hero-copy::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 6px; background: var(--mint); border-radius: 0 6px 6px 0; box-shadow: 0 0 16px rgba(124,242,168,.7); }
.hero-copy .lead { text-shadow: none; }
.hero::before { background: linear-gradient(180deg, rgba(6,28,18,.28), transparent 25%, transparent 75%, rgba(6,28,18,.45)); }
[data-theme="dark"] .hero-copy { background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.4)); }
[data-theme="dark"] .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.35) 50%, rgba(0,0,0,.5)); }
@media (max-width: 900px) { .hero-copy { margin-left: 0; padding: 20px 18px 18px; } }


/* ===== upgrade 16: no glass panels, text and crew sit directly on the store ===== */
.hero-copy { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0; margin-left: 0; }
.hero-copy::before { display: none; }
.hero-copy .lead { text-shadow: 0 2px 10px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.6); }
.hero-copy .micro, .chips li { text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.chips li { background: rgba(6,34,22,.7); }
.crew { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; overflow: visible; border-radius: 0; }
.crew::after { display: none; }
.crew::before { left: 50%; transform: translateX(-50%); top: 0; }
.crew-side b, .nametag, .toppick { box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.hero::before { background: linear-gradient(90deg, rgba(6,32,20,.72) 0%, rgba(6,32,20,.5) 45%, rgba(6,32,20,.42) 100%), linear-gradient(180deg, rgba(6,28,18,.35), transparent 30%, transparent 70%, rgba(6,28,18,.55)); }
[data-theme="dark"] .hero-copy { background: none; }
[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.55) 100%); }

/* ===== dark only: theme is fixed to dark, toggle removed ===== */
.theme { display: none; }

/* ===== upgrade 17: phone with the app feed + 6 popular skins on a grass road ===== */
.hero-art { height: 600px; }
.pm-stage { position: absolute; inset: 0; }
.pm-phone { position: absolute; left: 50%; top: 0; width: 250px; height: 500px; margin-left: -125px; background: #0B1712; border-radius: 40px; padding: 10px; box-shadow: 0 0 0 3px #2A3A32, 0 0 0 6px rgba(124,242,168,.18), 0 30px 60px rgba(0,0,0,.5), 0 0 70px rgba(124,242,168,.18); z-index: 1; animation: pmfloat 7s ease-in-out infinite; }
@keyframes pmfloat { 50% { transform: translateY(-8px); } }
.pm-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; background: #0B1712; border-radius: 12px; z-index: 3; }
.pm-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #F4FBF5; display: flex; flex-direction: column; }
.pm-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; background: #1DA462; color: #fff; font: 800 11px var(--body); }
.pm-bat { width: 18px; height: 9px; border: 2px solid #fff; border-radius: 3px; }
.pm-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 12px; background: #1DA462; color: #fff; }
.pm-head b { font: 700 18px var(--pix); }
.pm-coin { background: var(--gold); color: #000; font: 800 10px var(--body); padding: 3px 8px; border-radius: 999px; }
.pm-search { margin: 10px 12px 0; background: #fff; border: 2px solid #D6E7DB; border-radius: 10px; padding: 6px 10px; font: 700 10px var(--body); color: #8AA394; }
.pm-chips { display: flex; gap: 5px; padding: 8px 12px 0; }
.pm-chips i { font: 800 9px var(--body); font-style: normal; color: #fff; background: var(--c); padding: 3px 8px; border-radius: 999px; }
.pm-title { margin: 10px 12px 6px; font: 700 12px var(--pix); color: #10231A; }
.pm-feed { flex: 1; overflow: hidden; padding: 0 10px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 85%, transparent); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: pmscroll 26s linear infinite; }
@keyframes pmscroll { to { transform: translateY(-50%); } }
.pm-card { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #fff; border: 2px solid #D6E7DB; border-radius: 10px; padding: 6px 4px 6px; }
.pm-card img { width: 52px; height: 74px; object-fit: contain; }
.pm-card b { font: 800 8px var(--body); color: #10231A; max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-card em { font: 800 8px var(--body); font-style: normal; color: #fff; background: #1DA462; border-radius: 6px; padding: 2px 10px; }
.pm-road { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 2; }
.pm-road-top { position: absolute; left: 4%; right: 4%; top: 0; height: 88px; background: repeating-linear-gradient(90deg, var(--grass) 0 26px, var(--grass-d) 26px 40px, var(--grass) 40px 64px); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); box-shadow: inset 0 6px 0 rgba(255,255,255,.12); }
.pm-road-side { position: absolute; left: 4%; right: 4%; top: 88px; height: 32px; background: repeating-linear-gradient(90deg, var(--dirt) 0 24px, var(--dirt-d) 24px 48px); border-top: 5px solid var(--grass-d); }
.pm-lineup { position: absolute; left: 0; right: 0; bottom: 64px; height: 260px; z-index: 3; }
.pm-fig { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 100%; animation: pmbob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); transition: filter .2s; }
.pm-fig:hover { filter: brightness(1.15) drop-shadow(0 0 12px rgba(124,242,168,.6)); }
.pm-fig img { height: 100%; width: auto; filter: drop-shadow(0 12px 8px rgba(0,0,0,.45)); }
@keyframes pmbob { 50% { transform: translateY(-6px); } }
.pm-fig.c1, .pm-fig.c2 { height: 220px; z-index: 3; }
.pm-fig.c1 { left: 34%; } .pm-fig.c2 { left: 52%; }
.pm-fig.l1, .pm-fig.r1 { height: 180px; z-index: 2; }
.pm-fig.l1 { left: 18%; } .pm-fig.r1 { left: 68%; }
.pm-fig.l2, .pm-fig.r2 { height: 150px; z-index: 1; }
.pm-fig.l2 { left: 3%; } .pm-fig.r2 { left: 84%; }
.pm-fig.r1 img, .pm-fig.r2 img { transform: scaleX(-1); }                  /* right-hand skins turn toward the phone */
.pm-fig.c1 img, .pm-fig.c2 img { height: 100%; }
.pm-tag { position: absolute; bottom: 100%; margin-bottom: 4px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: rgba(0,0,0,.55); color: #fff; font: 700 8px var(--numf); padding: 3px 6px; letter-spacing: .04em; opacity: 0; transition: opacity .2s; }
.pm-fig.c1 .pm-tag, .pm-fig.c2 .pm-tag, .pm-fig:hover .pm-tag { opacity: 1; }
.pm-shadow { position: absolute; bottom: -6px; left: 15%; right: 15%; height: 12px; background: rgba(0,0,0,.4); filter: blur(5px); border-radius: 50%; z-index: -1; }
@media (max-width: 1100px) { .pm-fig.l2, .pm-fig.r2 { display: none; } .pm-fig.l1 { left: 8%; } .pm-fig.r1 { left: 76%; } }
@media (max-width: 900px) {
  .hero-art { height: 560px; margin-top: 10px; }
  .pm-phone { width: 210px; height: 420px; margin-left: -105px; border-radius: 34px; }
  .pm-screen { border-radius: 26px; }
  .pm-lineup { height: 220px; bottom: 56px; }
  .pm-fig.c1, .pm-fig.c2 { height: 180px; } .pm-fig.c1 { left: 28%; } .pm-fig.c2 { left: 50%; }
  .pm-fig.l1, .pm-fig.r1 { height: 140px; } .pm-fig.l1 { left: 2%; } .pm-fig.r1 { left: 74%; }
  .pm-road { height: 100px; } .pm-road-top { height: 72px; } .pm-road-side { top: 72px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pm-grid, .pm-fig, .pm-phone { animation: none; } }
/* lineup spacing: anchor each figure by its centre */
.pm-fig { translate: -50% 0; }
.pm-lineup { bottom: 58px; height: 220px; }
.pm-fig.c1, .pm-fig.c2 { height: 190px; } .pm-fig.c1 { left: 41%; } .pm-fig.c2 { left: 59%; }
.pm-fig.l1, .pm-fig.r1 { height: 150px; } .pm-fig.l1 { left: 23%; } .pm-fig.r1 { left: 77%; }
.pm-fig.l2, .pm-fig.r2 { height: 124px; } .pm-fig.l2 { left: 7%; } .pm-fig.r2 { left: 93%; }
.pm-phone { top: -10px; }
@media (max-width: 1100px) { .pm-fig.l1 { left: 14%; } .pm-fig.r1 { left: 86%; } }
@media (max-width: 900px) {
  .pm-lineup { bottom: 50px; height: 190px; }
  .pm-fig.c1, .pm-fig.c2 { height: 160px; } .pm-fig.c1 { left: 38%; } .pm-fig.c2 { left: 62%; }
  .pm-fig.l1, .pm-fig.r1 { height: 124px; } .pm-fig.l1 { left: 13%; } .pm-fig.r1 { left: 87%; }
}
.pm-fig.c1 .pm-tag, .pm-fig.c2 .pm-tag { opacity: 0; } .pm-fig:hover .pm-tag { opacity: 1; }

/* ===== upgrade 18: bright green phone, detailed app screen, big characters on a 3D grass platform ===== */
.hero-art { height: 660px; }
.pm-phone { width: 290px; height: 590px; margin-left: -145px; top: -14px; border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #4BE38E 0%, #1DA462 45%, #0F7A45 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 -6px 0 rgba(0,0,0,.18), 0 0 0 3px #0B3D27, 0 30px 60px rgba(0,0,0,.55), 0 0 80px rgba(124,242,168,.35); }
.pm-phone::before, .pm-phone::after { content: ''; position: absolute; width: 4px; background: #0F7A45; border-radius: 3px; }
.pm-phone::before { left: -5px; top: 120px; height: 56px; } .pm-phone::after { right: -5px; top: 150px; height: 80px; }
.pm-notch { top: 17px; background: #071510; }
.pm-screen { border-radius: 38px; background: #F4FBF5; }
.pm-status { padding: 14px 26px 0; }
.pm-head { gap: 10px; justify-content: flex-start; padding: 12px 14px; box-shadow: 0 4px 0 rgba(0,0,0,.08); }
.pm-head b { flex: 1; }
.pm-menu { display: grid; gap: 3px; } .pm-menu i { width: 14px; height: 2px; background: #fff; border-radius: 2px; }
.pm-search { display: flex; align-items: center; gap: 6px; margin: 10px 12px 4px; }
.pm-scroll { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent); }
.pm-track { padding: 0 10px; animation: pmscroll 40s linear infinite; }
.pm-feed { display: none; }
.pm-grid { animation: none; }
.pm-title { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 2px 6px; font: 700 11px var(--pix); color: #10231A; }
.pm-title em { font: 800 8px var(--body); font-style: normal; color: #1DA462; }
.pm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pm-cat { display: flex; flex-direction: column; align-items: center; gap: 2px; background: color-mix(in srgb, var(--c) 18%, #fff); border: 2px solid color-mix(in srgb, var(--c) 45%, #fff); border-radius: 10px; padding: 4px 2px 3px; }
.pm-cat img { width: 24px; height: 34px; object-fit: contain; }
.pm-cat b { font: 800 7px var(--body); color: #10231A; }
.pm-pick { position: relative; display: flex; align-items: center; gap: 2px; margin-top: 10px; padding: 8px 8px 8px 6px; border-radius: 12px; background: linear-gradient(135deg, #1DA462, #0F7A45); color: #fff; box-shadow: 0 4px 0 #0B5A33; }
.pm-pick img { width: 30px; height: 60px; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); image-rendering: pixelated; }
.pm-pick-tag { position: absolute; top: -6px; left: 8px; background: var(--gold); color: #000; font: 700 7px var(--numf); padding: 2px 5px; }
.pm-pick-body { display: flex; flex-direction: column; gap: 2px; margin-left: 6px; min-width: 0; }
.pm-pick-body b { font: 800 10px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-pick-body small { font: 700 8px var(--body); opacity: .85; }
.pm-pick-body em { align-self: flex-start; font: 800 8px var(--body); font-style: normal; background: #fff; color: #0F7A45; border-radius: 6px; padding: 2px 10px; margin-top: 3px; }
.pm-card { position: relative; border-top: 3px solid var(--c); }
.pm-card small { font: 700 7px var(--body); color: #6A8576; }
.pm-badge { position: absolute; top: 4px; right: 4px; font: 700 6px var(--numf); font-style: normal; padding: 2px 4px; border-radius: 4px; }
.pm-badge.free { background: #1DA462; color: #fff; } .pm-badge.pro { background: #10231A; color: var(--gold); }
.pm-tabbar { display: flex; justify-content: space-around; padding: 8px 6px 14px; background: #fff; border-top: 2px solid #D6E7DB; }
.pm-tabbar i { font: 800 8px var(--body); font-style: normal; color: #8AA394; }
.pm-tabbar i.on { color: #1DA462; }
/* platform: 3D grass block */
.pm-road { height: 150px; }
.pm-road-top { left: 2%; right: 2%; height: 100px; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 40%), repeating-linear-gradient(90deg, #6CC04A 0 22px, #4E9E35 22px 34px, #5DAA3A 34px 58px), #5DAA3A; }
.pm-road-side { left: 2%; right: 2%; top: 100px; height: 50px; background: repeating-linear-gradient(90deg, #8B5A2B 0 22px, #6B4420 22px 44px, #7A4E26 44px 62px); border-top: 10px solid #3F8A2A; box-shadow: inset 0 -8px 0 rgba(0,0,0,.25); }
.pm-road-front { position: absolute; left: 2%; right: 2%; top: 100px; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 12px, #5DAA3A 12px 18px, transparent 18px 30px); transform: translateY(8px); }
/* bigger characters */
.pm-lineup { bottom: 92px; height: 280px; }
.pm-fig.c1, .pm-fig.c2 { height: 250px; } .pm-fig.c1 { left: 40%; } .pm-fig.c2 { left: 60%; }
.pm-fig.l1, .pm-fig.r1 { height: 200px; } .pm-fig.l1 { left: 21%; } .pm-fig.r1 { left: 79%; }
.pm-fig.l2, .pm-fig.r2 { height: 165px; } .pm-fig.l2 { left: 5%; } .pm-fig.r2 { left: 95%; }
.pm-fig img { filter: drop-shadow(0 14px 10px rgba(0,0,0,.5)) saturate(1.15); }
@media (max-width: 1100px) { .pm-fig.l1 { left: 12%; } .pm-fig.r1 { left: 88%; } }
@media (max-width: 900px) {
  .hero-art { height: 620px; }
  .pm-phone { width: 240px; height: 490px; margin-left: -120px; border-radius: 40px; }
  .pm-screen { border-radius: 32px; }
  .pm-lineup { bottom: 74px; height: 220px; }
  .pm-fig.c1, .pm-fig.c2 { height: 190px; } .pm-fig.c1 { left: 37%; } .pm-fig.c2 { left: 63%; }
  .pm-fig.l1, .pm-fig.r1 { height: 150px; } .pm-fig.l1 { left: 12%; } .pm-fig.r1 { left: 88%; }
  .pm-road { height: 120px; } .pm-road-top { height: 80px; } .pm-road-side, .pm-road-front { top: 80px; } .pm-road-side { height: 40px; }
}

/* ===== upgrade 19: characters pop out of the phone, standing in tall pixel grass ===== */
.pm-road { display: none; }
.pm-soil { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 2; background: repeating-linear-gradient(90deg, #8B5A2B 0 22px, #6B4420 22px 44px, #7A4E26 44px 62px); border-top: 8px solid #3F8A2A; border-radius: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pm-lineup { bottom: 30px; height: 300px; z-index: 3; }
.pm-fig { animation: pmbob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.pm-fig.c { left: 50%; height: 270px; z-index: 4; }
.pm-fig.l1 { left: 27%; height: 220px; z-index: 3; } .pm-fig.r1 { left: 73%; height: 220px; z-index: 3; }
.pm-fig.l2 { left: 8%; height: 180px; z-index: 2; } .pm-fig.r2 { left: 92%; height: 180px; z-index: 2; }
.pm-fig.c img { height: 100%; }
.pm-fig.c .pm-tag { opacity: 1; }
/* pop-out: start shrunk at the phone screen centre, jump to place */
.pm-stage.popping .pm-fig { animation: pmpop .95s cubic-bezier(.2,1.35,.4,1) both, pmbob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * .22s), calc(1.4s + var(--i) * .22s); }
@keyframes pmpop { 0% { transform: translate(var(--fx, 0), var(--fy, 0)) scale(.15); opacity: 0; } 25% { opacity: 1; } 70% { transform: translate(0, -24px) scale(1.04); } 100% { transform: none; opacity: 1; } }
.pm-stage.popping .pm-phone .pm-screen::after { animation: pmflash 1.8s ease-out; }
.pm-screen::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(124,242,168,.9), transparent 60%); opacity: 0; pointer-events: none; }
@keyframes pmflash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
/* tall pixel grass in front of the legs */
.pm-grass { position: absolute; left: -2%; right: -2%; bottom: 30px; height: 100px; z-index: 5; pointer-events: none; }
.pm-grass i { position: absolute; bottom: 0; width: var(--w); height: var(--h); background: linear-gradient(180deg, var(--c) 0 70%, #2F6E20 100%); box-shadow: inset -2px 0 0 rgba(0,0,0,.18); transform-origin: 50% 100%; animation: pmsway var(--d) ease-in-out infinite; animation-delay: var(--dl); }
.pm-grass::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(180deg, transparent, #3F8A2A); }
@keyframes pmsway { 50% { transform: skewX(-6deg); } }
@media (max-width: 1100px) { .pm-fig.l1 { left: 24%; } .pm-fig.r1 { left: 76%; } }
@media (max-width: 900px) {
  .pm-lineup { bottom: 24px; height: 230px; }
  .pm-fig.c { height: 200px; } .pm-fig.l1, .pm-fig.r1 { height: 150px; } .pm-fig.l2, .pm-fig.r2 { height: 118px; }
  .pm-fig.l1 { left: 28%; } .pm-fig.r1 { left: 72%; } .pm-fig.l2 { left: 9%; } .pm-fig.r2 { left: 91%; }
  .pm-fig.l2, .pm-fig.r2 { display: flex; }
  .pm-grass { height: 80px; bottom: 24px; } .pm-soil { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .pm-grass i, .pm-stage.popping .pm-fig { animation: none; } }
.pm-fig.l2, .pm-fig.r2 { display: flex; }

/* ===== upgrade 20: skins step OUT of the phone screen (no grass); phone sits at the bottom ===== */
.pm-grass, .pm-soil { display: none; }
.hero-art { height: 680px; }
.pm-phone { top: 60px; animation: none; }
/* the five figures live inside the lower screen and lean out; everything below the chin line is clipped */
.pm-lineup { left: 50%; right: auto; width: 460px; margin-left: -230px; bottom: 62px; height: 420px; clip-path: inset(-600px -300px 0 -300px); }
.pm-fig { bottom: -40px; }
.pm-fig.c { left: 50%; height: 330px; }
.pm-fig.l1 { left: 29%; height: 270px; } .pm-fig.r1 { left: 71%; height: 270px; }
.pm-fig.l2 { left: 8%; height: 215px; } .pm-fig.r2 { left: 92%; height: 215px; }
.pm-fig .pm-tag { display: none; }
.pm-fig img { filter: drop-shadow(0 -2px 0 rgba(255,255,255,.08)) drop-shadow(0 16px 14px rgba(0,0,0,.5)) saturate(1.15); }
/* phone bottom frame in front of the feet */
.pm-chin { position: absolute; left: 50%; bottom: 30px; width: 290px; height: 40px; margin-left: -145px; z-index: 6; border-radius: 0 0 46px 46px; background: linear-gradient(145deg, #4BE38E 0%, #1DA462 45%, #0F7A45 100%); box-shadow: inset 0 2px 0 rgba(0,0,0,.35), inset 0 -6px 0 rgba(0,0,0,.18), 0 3px 0 #0B3D27, 0 20px 30px rgba(0,0,0,.45); }
.pm-chin::before { content: ''; position: absolute; left: 9px; right: 9px; top: 0; height: 12px; background: linear-gradient(180deg, rgba(244,251,245,.9), rgba(244,251,245,0)); border-radius: 0 0 8px 8px; }
.pm-chin i { position: absolute; left: 50%; bottom: 12px; width: 70px; height: 5px; margin-left: -35px; border-radius: 4px; background: rgba(255,255,255,.55); }
/* glow where they come out */
.pm-lineup::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 80px; background: radial-gradient(50% 60% at 50% 100%, rgba(124,242,168,.55), transparent 70%); filter: blur(6px); }
/* pop-out rises from inside the screen */
@keyframes pmpop { 0% { transform: translate(var(--fx, 0), 140px) scale(.55); opacity: 0; } 30% { opacity: 1; } 70% { transform: translate(0, -18px) scale(1.03); } 100% { transform: none; opacity: 1; } }
@media (max-width: 1100px) { .pm-fig.l1 { left: 29%; } .pm-fig.r1 { left: 71%; } }
@media (max-width: 900px) {
  .hero-art { height: 580px; }
  .pm-phone { top: 50px; }
  .pm-lineup { width: 340px; margin-left: -170px; bottom: 52px; height: 360px; }
  .pm-fig { bottom: -30px; }
  .pm-fig.c { height: 260px; } .pm-fig.l1, .pm-fig.r1 { height: 205px; } .pm-fig.l2, .pm-fig.r2 { height: 160px; }
  .pm-fig.l1 { left: 29%; } .pm-fig.r1 { left: 71%; } .pm-fig.l2 { left: 8%; } .pm-fig.r2 { left: 92%; }
  .pm-chin { width: 240px; margin-left: -120px; height: 34px; bottom: 26px; border-radius: 0 0 40px 40px; }
}

/* ===== upgrade 21: full bodies, feet standing on the phone's bottom frame ===== */
.pm-lineup { clip-path: none; bottom: 64px; z-index: 7; }
.pm-chin { z-index: 5; }
.pm-fig { bottom: 0; }
.pm-fig.c { height: 300px; } .pm-fig.l1, .pm-fig.r1 { height: 240px; } .pm-fig.l2, .pm-fig.r2 { height: 192px; }
.pm-fig .pm-shadow { display: block; bottom: -4px; height: 10px; background: rgba(0,0,0,.45); }
.pm-lineup::before { bottom: -20px; }
@media (max-width: 900px) {
  .pm-lineup { bottom: 54px; }
  .pm-fig { bottom: 0; }
  .pm-fig.c { height: 235px; } .pm-fig.l1, .pm-fig.r1 { height: 185px; } .pm-fig.l2, .pm-fig.r2 { height: 145px; }
}
.pm-fig::after { content: ""; position: absolute; bottom: -5px; left: 18%; right: 18%; height: 10px; background: rgba(0,0,0,.45); filter: blur(4px); border-radius: 50%; z-index: -1; }

/* ===== upgrade 22: real 3D characters (WebGL) in front of a tilted 3D phone ===== */
.pm-fig canvas.pm-3d { display: block; height: 100%; width: auto; filter: drop-shadow(0 18px 14px rgba(0,0,0,.55)); }
.pm-fig.is3d img { display: none; }
.pm-fig.is3d::after { bottom: 2px; left: 22%; right: 22%; }
/* phone depth: slight backward tilt + visible side/bottom edge */
.pm-stage { perspective: 1400px; }
.pm-phone { transform-origin: 50% 100%; transform: rotateX(5deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 -6px 0 rgba(0,0,0,.18), 7px 9px 0 #0B5A33, 0 0 0 3px #0B3D27, 0 34px 60px rgba(0,0,0,.6), 0 0 90px rgba(124,242,168,.3); }
.pm-chin { box-shadow: inset 0 2px 0 rgba(0,0,0,.35), inset 0 -6px 0 rgba(0,0,0,.18), 7px 9px 0 #0B5A33, 0 22px 34px rgba(0,0,0,.5); }
/* characters overlap the phone's bottom edge (in front of the frame) and its sides */
.pm-lineup { bottom: 18px; width: 520px; margin-left: -260px; }
.pm-fig.l2 { left: 6%; } .pm-fig.l1 { left: 26%; } .pm-fig.c { left: 50%; } .pm-fig.r1 { left: 74%; } .pm-fig.r2 { left: 94%; }
.pm-lineup::before { bottom: 30px; }
@media (max-width: 900px) { .pm-lineup { bottom: 16px; width: 360px; margin-left: -180px; } }

/* ===== upgrade 23: chest-style composition: phone at the bottom, skin cards fanned in an arc above ===== */
.pm-lineup, .pm-chin { display: none !important; }
.hero-art { height: 640px; }
.pm-phone { top: auto; bottom: 56px; width: 230px; height: 460px; margin-left: -115px; border-radius: 40px; transform: none; z-index: 3; }
.pm-screen { border-radius: 32px; }
.arc { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.arc-card { position: absolute; width: 112px; height: 124px; margin: -62px 0 0 -56px; pointer-events: auto; transform: rotate(var(--rot, 0)); transition: transform .25s, filter .25s; }
.arc-card:hover { transform: rotate(var(--rot, 0)) scale(1.1); filter: brightness(1.08); z-index: 3; }
.arc-img { display: grid; place-items: end center; width: 100%; height: 100%; overflow: hidden; border-radius: 18px; border: 4px solid var(--c);
  background: linear-gradient(180deg, #8ED6FF 0 64%, #6CC04A 64% 72%, #8B5A2B 72%); box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 12px 24px rgba(0,0,0,.45), 0 0 22px color-mix(in srgb, var(--c) 55%, transparent); }
.arc-img img { width: 72%; height: auto; margin-bottom: 6px; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); }
.arc-pill { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); white-space: nowrap; background: var(--c); color: #fff; font: 800 11px var(--body); text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 4px 0 rgba(0,0,0,.3); }
/* fly out of the phone, then float */
.arc.go .arc-card { animation: arcfly .9s cubic-bezier(.2,1.3,.4,1) both, arcbob 4s ease-in-out infinite; animation-delay: calc(var(--i) * .1s), calc(1s + var(--i) * .3s); }
@keyframes arcfly { 0% { transform: translate(var(--fx), var(--fy)) scale(.15) rotate(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotate(var(--rot)); opacity: 1; } }
@keyframes arcbob { 0%, 100% { transform: rotate(var(--rot)) translateY(0); } 50% { transform: rotate(var(--rot)) translateY(-7px); } }
.arc.go .arc-card:hover { animation-play-state: paused; }
/* light rays behind the phone */
.arc-glow { position: absolute; left: 50%; bottom: 180px; width: 640px; height: 420px; margin-left: -320px; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124,242,168,.45), transparent), repeating-conic-gradient(from 0deg at 50% 100%, rgba(255,255,255,.08) 0 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 100%, #000, transparent); mask-image: radial-gradient(closest-side at 50% 100%, #000, transparent); animation: arcspin 30s linear infinite; }
@keyframes arcspin { to { filter: hue-rotate(20deg); } }
.arc-cap { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; z-index: 4; font: 800 15px var(--body); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.arc-cap b { color: var(--gold); }
@media (max-width: 900px) {
  .hero-art { height: 560px; }
  .pm-phone { width: 190px; height: 380px; margin-left: -95px; bottom: 46px; border-radius: 34px; }
  .pm-screen { border-radius: 27px; }
  .arc-card { width: 76px; height: 86px; margin: -43px 0 0 -38px; }
  .arc-img { border-radius: 13px; border-width: 3px; }
  .arc-pill { font-size: 8px; padding: 3px 8px; bottom: -9px; }
  .arc-glow { width: 420px; margin-left: -210px; bottom: 140px; height: 320px; }
  .arc-cap { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .arc.go .arc-card, .arc-glow { animation: none; } }
/* arc above the phone: phone scaled down (UI stays proportional) */
.hero-art { height: 690px; }
.pm-phone { transform-origin: 50% 100%; transform: scale(.78); bottom: 52px; }
@media (max-width: 900px) { .hero-art { height: 600px; } .pm-phone { transform: scale(.85); } }
@media (max-width: 900px) { .hero-art { margin-bottom: 56px; } }

/* ===== upgrade 24: phone in landscape (lying like the chest), arc of skins above ===== */
.hero-art { height: 600px; }
.pm-phone { width: 440px; height: 240px; margin-left: -220px; bottom: 52px; transform: none; border-radius: 38px; padding: 9px; }
.pm-phone::before { left: 120px; top: -5px; width: 56px; height: 4px; }
.pm-phone::after { left: 196px; right: auto; top: -5px; width: 80px; height: 4px; }
.pm-notch { top: 50%; left: 15px; width: 20px; height: 64px; margin: -32px 0 0 0; border-radius: 12px; }
.pm-screen { border-radius: 30px; padding-left: 30px; }
.pm-status, .pm-tabbar { display: none; }
.pm-head { padding: 8px 12px 8px 4px; box-shadow: none; margin-left: -30px; padding-left: 34px; }
.pm-head b { flex: 0 0 auto; }
.pm-search { position: absolute; top: 7px; left: 128px; right: 74px; margin: 0; padding: 5px 10px; z-index: 2; }
.pm-scroll { padding-top: 2px; }
.pm-title { margin: 6px 2px 4px; }
.pm-cats { grid-template-columns: repeat(8, 1fr); gap: 4px; }
.pm-pick { margin-top: 8px; }
.pm-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pm-card img { width: 40px; height: 58px; }
@media (max-width: 900px) {
  .hero-art { height: 470px; }
  .pm-phone { width: 320px; height: 176px; margin-left: -160px; bottom: 46px; border-radius: 30px; padding: 7px; transform: none; }
  .pm-phone::before { left: 80px; } .pm-phone::after { left: 146px; }
  .pm-notch { left: 11px; width: 16px; height: 50px; margin-top: -25px; }
  .pm-screen { border-radius: 24px; padding-left: 24px; }
  .pm-head { margin-left: -24px; padding-left: 28px; } .pm-head b { font-size: 14px; }
  .pm-search { left: 98px; right: 62px; top: 6px; font-size: 8px; padding: 4px 8px; }
  .pm-cats { grid-template-columns: repeat(4, 1fr); }
  .pm-grid { grid-template-columns: repeat(3, 1fr); }
}
/* landscape: no left notch strip; screen content fills edge to edge */
.pm-notch { display: none; }
.pm-screen { padding-left: 0; }
.pm-head { margin-left: 0; padding-left: 14px; }
.pm-track { padding: 0 12px; }
@media (max-width: 900px) { .pm-screen { padding-left: 0; } .pm-head { margin-left: 0; padding-left: 12px; } .pm-search { left: 84px; } }
.pm-coin { margin-left: auto; }

/* ===== upgrade 25: landscape phone shows its camera island on the LEFT edge (like a phone lying sideways) ===== */
.pm-notch { display: block; position: absolute; top: 50%; left: 17px; width: 18px; height: 70px; margin: -35px 0 0 0; border-radius: 10px; background: #071510; box-shadow: inset 0 0 0 2px #0B1712; z-index: 4; }
.pm-notch::after { content: ''; position: absolute; left: 50%; top: 12px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #1B2A44; box-shadow: inset 0 0 0 2px #0E1A2E; }
.pm-screen { padding-left: 30px; }
.pm-head { margin-left: -30px; padding-left: 40px; }
.pm-search { left: 140px; }
@media (max-width: 900px) {
  .pm-notch { left: 12px; width: 14px; height: 52px; margin-top: -26px; }
  .pm-notch::after { top: 9px; width: 6px; height: 6px; margin-left: -3px; }
  .pm-screen { padding-left: 22px; } .pm-head { margin-left: -22px; padding-left: 30px; } .pm-search { left: 100px; }
}

/* ===== upgrade 26: phone lies on the LEFT in side view (thin edge only); skins stream out of its screen to the right ===== */
.pm-phone { display: none !important; }
.arc-glow { display: none; }
.hero-art { height: 600px; }
.pm-edge { position: absolute; left: 0; bottom: 120px; width: 360px; height: 18px; z-index: 3; border-radius: 9px;
  background: linear-gradient(180deg, #7CF2A8 0%, #39D27F 22%, #1DA462 55%, #0F7A45 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.25), 0 14px 22px rgba(0,0,0,.55), 0 0 28px rgba(124,242,168,.35); }
.pm-edge::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 14px; border-radius: 50%; background: rgba(0,0,0,.5); filter: blur(7px); }
.e-glass { position: absolute; left: 7px; right: 7px; top: -3px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, #0B1712, #1d3a2c 50%, #0B1712); box-shadow: 0 0 10px rgba(124,242,168,.8); }
.e-btn { position: absolute; top: 5px; height: 7px; border-radius: 3px; background: #0F7A45; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.e-btn.b1 { left: 64px; width: 18px; } .e-btn.b2 { left: 90px; width: 30px; } .e-btn.b3 { left: 128px; width: 30px; }
.e-port { position: absolute; right: 52px; top: 6px; width: 26px; height: 6px; border-radius: 4px; background: #0B3D27; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.e-spk { position: absolute; right: 18px; top: 7px; width: 22px; height: 4px; background: radial-gradient(circle, #0B3D27 1.2px, transparent 1.6px) 0 0 / 5px 4px repeat-x; }
/* light rising from the screen side (facing up) */
.e-beam { position: absolute; left: 12%; right: 12%; bottom: 100%; height: 200px; pointer-events: none;
  background: linear-gradient(0deg, rgba(124,242,168,.55), rgba(124,242,168,0)); clip-path: polygon(6% 100%, 94% 100%, 130% 0, -10% 0); filter: blur(2px); animation: beam 3.2s ease-in-out infinite; }
@keyframes beam { 50% { opacity: .55; } }
/* skins streaming out to the right, growing as they come */
.arc-card { transform: rotate(var(--rot, 0)) scale(var(--s, 1)); }
.arc-card:hover { transform: rotate(var(--rot, 0)) scale(calc(var(--s, 1) * 1.08)); }
@keyframes arcfly { 0% { transform: translate(var(--fx), var(--fy)) scale(.1) rotate(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotate(var(--rot)) scale(var(--s)); opacity: 1; } }
@keyframes arcbob { 0%, 100% { transform: rotate(var(--rot)) scale(var(--s)) translateY(0); } 50% { transform: rotate(var(--rot)) scale(var(--s)) translateY(-7px); } }
.arc.go .arc-card { animation-delay: calc(var(--i) * .16s), calc(1.3s + var(--i) * .3s); }
.arc-cap { left: 0; right: auto; width: 360px; bottom: 60px; }
@media (max-width: 900px) {
  .hero-art { height: 440px; }
  .pm-edge { width: 220px; height: 14px; bottom: 90px; left: 6px; }
  .e-btn.b1 { left: 40px; width: 12px; } .e-btn.b2 { left: 58px; width: 20px; } .e-btn.b3 { left: 84px; width: 20px; }
  .e-port { right: 34px; width: 18px; } .e-spk { right: 10px; width: 16px; }
  .e-beam { height: 140px; }
  .arc-cap { width: 220px; left: 6px; bottom: 40px; font-size: 12px; }
}

.pm-edge { width: 240px; bottom: 110px; left: 0; }
.e-btn.b1 { left: 44px; width: 14px; } .e-btn.b2 { left: 64px; width: 24px; } .e-btn.b3 { left: 94px; width: 24px; }
.e-port { right: 40px; } .arc-cap { width: 240px; bottom: 54px; }
@media (max-width: 900px) { .pm-edge { width: 170px; } .arc-cap { width: 170px; } .e-btn.b1 { left: 30px; } .e-btn.b2 { left: 46px; } .e-btn.b3 { left: 70px; } }


/* ===== upgrade 28: phone unchanged (side-view edge); 5 skins rise OUT of its screen. Left face left, right face right. ===== */
.arc { display: none !important; }
.pm-lineup { display: block !important; left: -30px; right: auto; width: 300px; margin-left: 0; bottom: 128px; height: 360px; z-index: 4; clip-path: inset(-600px -400px 0 -400px); }
.pm-fig { bottom: -34px; }
.pm-fig.l2 { left: 8%; height: 170px; } .pm-fig.l1 { left: 28%; height: 215px; } .pm-fig.c { left: 50%; height: 265px; } .pm-fig.r1 { left: 72%; height: 215px; } .pm-fig.r2 { left: 92%; height: 170px; }
.pm-fig.r1 img, .pm-fig.r2 img { transform: none; }
.pm-fig.l1 img, .pm-fig.l2 img { transform: scaleX(-1); }
.pm-fig .pm-tag { display: none; }
@media (max-width: 900px) {
  .pm-lineup { left: -16px; width: 210px; bottom: 104px; height: 260px; }
  .pm-fig { bottom: -24px; }
  .pm-fig.l2 { height: 118px; } .pm-fig.l1 { height: 150px; } .pm-fig.c { height: 190px; } .pm-fig.r1 { height: 150px; } .pm-fig.r2 { height: 118px; }
}

/* ===== upgrade 29: phone lying flat with visible screen + thicker green body; skins stand ON the screen with legs + shadows ===== */
.pm-edge { width: 320px; height: 24px; bottom: 100px; left: 0; border-radius: 10px; }
.pm-edge .e-glass { display: none; }
/* top face: green bezel + glowing screen, seen in perspective (trapezoid) */
.e-top { position: absolute; left: 0; right: 0; bottom: calc(100% - 4px); height: 78px; clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #2FC074, #1DA462 60%, #158A51); }
.e-scr { position: absolute; left: 4%; right: 4%; top: 6px; bottom: 6px; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  background: radial-gradient(70% 90% at 50% 90%, rgba(124,242,168,.55), transparent 70%), linear-gradient(180deg, #0B2A1C, #0F3D27);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 14px 18% 8px; box-shadow: inset 0 0 18px rgba(124,242,168,.35); }
.e-scr i { background: rgba(244,251,245,.16); border-radius: 3px; border-top: 2px solid rgba(124,242,168,.6); }
.e-btn { top: 7px; height: 8px; } .e-port { top: 8px; } .e-spk { top: 9px; }
.e-beam { bottom: calc(100% + 60px); height: 180px; opacity: .7; }
.pm-edge::after { bottom: -30px; height: 16px; }
/* characters stand on the screen: full body, feet on the glass, shadows */
.pm-lineup { left: -30px; width: 380px; bottom: 140px; height: 380px; clip-path: none; z-index: 4; }
.pm-fig { bottom: 0; }
.pm-fig.c { left: 50%; height: 310px; z-index: 5; }
.pm-fig.l1 { left: 27%; height: 215px; } .pm-fig.r1 { left: 73%; height: 215px; }
.pm-fig.l2 { left: 8%; height: 170px; } .pm-fig.r2 { left: 92%; height: 170px; }
.pm-fig::after { content: ''; position: absolute; bottom: -6px; left: 14%; right: 14%; height: 12px; border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(4px); z-index: -1; }
.arc-cap { width: 320px; bottom: 44px; }
@media (max-width: 900px) {
  .hero-art { height: 470px; }
  .pm-edge { width: 230px; height: 18px; bottom: 80px; }
  .e-top { height: 56px; } .e-scr { padding: 10px 18% 6px; gap: 3px; }
  .pm-lineup { left: -14px; width: 258px; bottom: 108px; height: 300px; }
  .pm-fig.c { height: 225px; } .pm-fig.l1, .pm-fig.r1 { height: 155px; } .pm-fig.l2, .pm-fig.r2 { height: 122px; }
  .arc-cap { width: 230px; bottom: 30px; }
  .e-beam { height: 130px; bottom: calc(100% + 44px); }
}

/* ===== upgrade 30: group centred to the right, more space between skins, bigger skins ===== */
.hero-art { height: 640px; }
.pm-edge { width: 380px; left: calc(50% - 150px); bottom: 100px; }
.pm-lineup { width: 600px; left: calc(50% + 40px - 300px); bottom: 140px; height: 430px; }
.pm-fig.c { left: 50%; height: 360px; }
.pm-fig.l1 { left: 28%; height: 265px; } .pm-fig.r1 { left: 72%; height: 265px; }
.pm-fig.l2 { left: 7%; height: 210px; } .pm-fig.r2 { left: 93%; height: 210px; }
.arc-cap { width: 380px; left: calc(50% - 150px); bottom: 44px; }
@media (max-width: 900px) {
  .hero-art { height: 500px; }
  .pm-edge { width: 260px; left: calc(50% - 130px); }
  .pm-lineup { width: 350px; left: calc(50% - 175px); bottom: 108px; height: 330px; }
  .pm-fig.c { height: 250px; } .pm-fig.l1, .pm-fig.r1 { height: 172px; } .pm-fig.l2, .pm-fig.r2 { height: 135px; }
  .pm-fig.l1 { left: 29%; } .pm-fig.r1 { left: 71%; } .pm-fig.l2 { left: 8%; } .pm-fig.r2 { left: 92%; }
  .arc-cap { width: 260px; left: calc(50% - 130px); }
}

/* ===== upgrade 31: bigger skins, no wave, line-up rotates one place right every 4 s ===== */
.hero-art { height: 680px; }
.pm-lineup { width: 680px; left: calc(50% + 40px - 340px); height: 500px; }
.pm-fig.c { height: 400px; }
.pm-fig.l1, .pm-fig.r1 { height: 300px; } .pm-fig.l1 { left: 29%; } .pm-fig.r1 { left: 71%; }
.pm-fig.l2, .pm-fig.r2 { height: 235px; } .pm-fig.l2 { left: 8%; } .pm-fig.r2 { left: 92%; }
.pm-fig { transition: opacity .25s ease, scale .25s ease; }
.pm-fig.swap { opacity: 0; scale: .86; }
@media (max-width: 900px) {
  .hero-art { height: 540px; }
  .pm-lineup { width: 370px; left: calc(50% - 185px); height: 360px; }
  .pm-fig.c { height: 275px; } .pm-fig.l1, .pm-fig.r1 { height: 190px; } .pm-fig.l2, .pm-fig.r2 { height: 148px; }
}

/* ===== upgrade 32: carousel moves (no fade-swap), sharper 3D, centre hover effect ===== */
.pm-fig.swap { opacity: 1; scale: 1; }
.pm-fig { transition: left .9s cubic-bezier(.45,.05,.25,1), height .9s cubic-bezier(.45,.05,.25,1), opacity .35s ease, filter .3s ease, scale .3s ease; }
.pm-fig.pm-out { opacity: 0; }
.pm-fig.jump { transition: none !important; }
.pm-fig.c { z-index: 6; } .pm-fig.l1, .pm-fig.r1 { z-index: 4; } .pm-fig.l2, .pm-fig.r2 { z-index: 2; }
.pm-fig canvas.pm-3d { image-rendering: auto; }
/* centre hover: green glow, lift, bigger shadow */
.pm-fig.c:hover { scale: 1.06; filter: drop-shadow(0 0 18px rgba(124,242,168,.85)) drop-shadow(0 0 40px rgba(124,242,168,.45)) brightness(1.08); }
.pm-fig.c:hover::after { background: rgba(124,242,168,.55); filter: blur(8px); }
.pm-fig.c::before { content: ''; position: absolute; left: 50%; bottom: -10px; width: 150%; height: 36px; margin-left: -75%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,242,168,.45), transparent); opacity: .55; transition: opacity .3s; z-index: -2; pointer-events: none; }
.pm-fig.c:hover::before { opacity: 1; }
.pm-fig.c:hover .pm-tag { display: block; opacity: 1; }
.pm-fig canvas.pm-3d { height: 100% !important; width: auto !important; }

/* ===== upgrade 33: even spacing, bigger centre, sharper models ===== */
.pm-lineup { width: 820px; left: calc(50% + 60px - 410px); height: 520px; }
.pm-fig.c { left: 50%; height: 420px; }
.pm-fig.l1 { left: 28%; height: 290px; } .pm-fig.r1 { left: 72%; height: 290px; }
.pm-fig.l2 { left: 8%; height: 220px; } .pm-fig.r2 { left: 92%; height: 220px; }
.pm-edge { width: 420px; left: calc(50% + 60px - 210px); }
.arc-cap { width: 420px; left: calc(50% + 60px - 210px); }
@media (max-width: 1300px) { .pm-lineup { width: 700px; left: calc(50% + 40px - 350px); } .pm-edge, .arc-cap { width: 380px; left: calc(50% + 40px - 190px); } }
@media (max-width: 900px) {
  .pm-lineup { width: 380px; left: calc(50% - 190px); }
  .pm-edge, .arc-cap { width: 260px; left: calc(50% - 130px); }
  .pm-fig.c { height: 270px; } .pm-fig.l1, .pm-fig.r1 { height: 180px; } .pm-fig.l2, .pm-fig.r2 { height: 138px; }
  .pm-fig.l1 { left: 29%; } .pm-fig.r1 { left: 71%; } .pm-fig.l2 { left: 8%; } .pm-fig.r2 { left: 92%; }
}
/* even gaps (~26px) between models of different widths; all five fit */
.pm-lineup { width: 760px; left: calc(50% + 45px - 380px); height: 500px; }
.pm-fig.c { left: 50%; height: 380px; }
.pm-fig.l1 { left: 25.3%; height: 260px; } .pm-fig.r1 { left: 74.7%; height: 260px; }
.pm-fig.l2 { left: 6.6%; height: 200px; } .pm-fig.r2 { left: 93.4%; height: 200px; }
.pm-edge, .arc-cap { width: 420px; left: calc(50% + 45px - 210px); }
@media (max-width: 1300px) { .pm-lineup { width: 660px; left: calc(50% + 30px - 330px); } .pm-fig.c { height: 330px; } .pm-fig.l1, .pm-fig.r1 { height: 225px; } .pm-fig.l2, .pm-fig.r2 { height: 172px; } .pm-edge, .arc-cap { width: 360px; left: calc(50% + 30px - 180px); } }
@media (max-width: 900px) { .pm-lineup { width: 380px; left: calc(50% - 190px); } .pm-fig.c { height: 250px; } .pm-fig.l1, .pm-fig.r1 { height: 172px; } .pm-fig.l2, .pm-fig.r2 { height: 132px; } .pm-edge, .arc-cap { width: 260px; left: calc(50% - 130px); } }

/* ===== upgrade 34: clean skins (no green dots), centre spotlight, white App Store button ===== */
.hero .orbs-xp, .hero .motes { display: none !important; }
.pm-lineup::after { content: ''; position: absolute; left: 50%; bottom: 10px; width: 460px; height: 520px; margin-left: -230px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124,242,168,.42), rgba(124,242,168,.12) 55%, transparent 75%),
              repeating-conic-gradient(from -20deg at 50% 100%, rgba(255,255,255,.07) 0 5deg, transparent 5deg 14deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 70%, #000 30%, transparent); mask-image: radial-gradient(closest-side at 50% 70%, #000 30%, transparent);
  animation: spot 4s ease-in-out infinite; }
@keyframes spot { 50% { opacity: .75; } }
.pm-fig { z-index: 1; } .pm-fig.c { z-index: 6; } .pm-fig.l1, .pm-fig.r1 { z-index: 4; } .pm-fig.l2, .pm-fig.r2 { z-index: 2; }
.hero .hero-store { background: #fff; color: #0B1712; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(124,242,168,.35), 0 8px 24px rgba(0,0,0,.35), 0 0 30px rgba(124,242,168,.45); }
.hero .hero-store svg { fill: #0B1712; }
.hero .hero-store small { opacity: .75; }
.hero .hero-store:hover { border-color: var(--mint); box-shadow: 0 0 0 5px rgba(124,242,168,.55), 0 10px 28px rgba(0,0,0,.35), 0 0 40px rgba(124,242,168,.6); }
@media (max-width: 900px) { .pm-lineup::after { width: 300px; height: 340px; margin-left: -150px; } }
@media (prefers-reduced-motion: reduce) { .pm-lineup::after { animation: none; } }


/* ===== upgrade 36: stats + search ticker styled like the app's own UI ===== */
.proof { background: #0E1F18; padding: 46px 0 30px; }
.proof::before { display: none; }
.stat-cards { position: relative; background: #F4FBF5; border: 3px solid #1DA462; border-radius: 26px; padding: 62px 18px 18px; gap: 14px;
  box-shadow: 0 0 0 6px rgba(29,164,98,.18), 0 24px 50px rgba(0,0,0,.45), 0 0 60px rgba(124,242,168,.15); }
.stat-cards::before { content: 'Skins  \00B7  App stats'; position: absolute; left: 0; right: 0; top: 0; height: 46px; padding: 0 20px; border-radius: 22px 22px 0 0;
  background: #1DA462; color: #fff; font: 700 17px var(--pix); line-height: 46px; box-shadow: 0 4px 0 rgba(0,0,0,.08); }
.stat-cards::after { content: 'LIVE'; position: absolute; right: 18px; top: 11px; background: var(--gold); color: #000; font: 800 11px var(--body); padding: 4px 12px; border-radius: 999px; letter-spacing: .06em; }
.stat { --c: #1DA462; background: #fff; border: 2px solid #D6E7DB; border-top: 5px solid var(--c); border-radius: 16px; padding: 18px 16px 22px; color: #10231A; box-shadow: 0 4px 0 #D6E7DB; }
.stat:nth-child(1) { --c: #E8457A; } .stat:nth-child(2) { --c: #8B5CF6; } .stat:nth-child(3) { --c: #2563EB; } .stat:nth-child(4) { --c: #F59E0B; } .stat:nth-child(5) { --c: #06B6D4; }
.stat b { color: #10231A; }
.stat-lbl { color: #5F7568; opacity: 1; }
.stat::after { background: #E6F4EA; }
.stat::before { background: var(--c); }
.stat-ico { width: 36px; height: 36px; right: 14px; top: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.stat-ico i { background: #fff !important; transform: scale(.7); transform-origin: 50% 50%; }
.ic-globe .stat-ico i:nth-child(1) { background: transparent !important; }
.stats-note { color: #9FB8A8; opacity: 1; }
/* search ticker: app search box + coloured pills */
.ticker { background: #0E1F18; border: 0; padding: 14px 16px 22px; gap: 14px; align-items: center; }
.ticker-label { background: #fff; color: #8AA394; border: 3px solid #1DA462; border-radius: 999px; padding: 10px 18px 10px 40px; position: relative; font: 800 13px var(--body); letter-spacing: 0; text-transform: none; box-shadow: 0 0 0 4px rgba(29,164,98,.18); }
.ticker-label .dot { display: none; }
.ticker-label::before { content: ''; position: absolute; left: 15px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border: 3px solid #1DA462; border-radius: 50%; }
.ticker-label::after { content: ''; position: absolute; left: 26px; top: 50%; width: 7px; height: 3px; margin-top: 4px; background: #1DA462; transform: rotate(45deg); border-radius: 2px; }
.ticker-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-row { gap: 10px; padding-right: 10px; align-items: center; }
.tk { border-right: 0; padding: 0; }
.tk b { display: inline-block; --c: #1DA462; background: var(--c); color: #fff; border-radius: 999px; padding: 8px 16px; font: 800 13px var(--body); border: 2px solid rgba(255,255,255,.35); box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.tk:nth-child(6n+1) b { --c: #E8457A; } .tk:nth-child(6n+2) b { --c: #8B5CF6; } .tk:nth-child(6n+3) b { --c: #2563EB; }
.tk:nth-child(6n+4) b { --c: #F59E0B; } .tk:nth-child(6n+5) b { --c: #06B6D4; } .tk:nth-child(6n) b { --c: #10231A; }
@media (max-width: 600px) {
  .stat-cards { padding: 58px 12px 12px; } .stat-cards::before { font-size: 15px; }
  .ticker { flex-direction: column; align-items: stretch; } .ticker-label { align-self: flex-start; }
}
@media (max-width: 600px) {
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-width: 0; padding: 14px 12px 20px; }
  .stat b { font-size: 22px; }
  .stat-ico { width: 26px; height: 26px; right: 10px; top: 10px; }
  .stat-lbl { font-size: 12px; }
}

/* ===== upgrade 37: hero bottom edge in the app's style (clean green band, no grass/dirt) ===== */
.ground { height: 34px; z-index: 3; }
.ground .grass, .ground .dirt { display: none; }
.ground::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #39D27F 0%, #1DA462 55%, #0F7A45 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 -6px 24px rgba(124,242,168,.35); }
.ground::after { content: ''; position: absolute; left: 50%; bottom: 9px; width: 120px; height: 6px; margin-left: -60px; border-radius: 6px; background: rgba(255,255,255,.55); }

/* ===== upgrade 38: stats + search = Minecraft GUI meets the app (inventory window, item slots, XP bars, MC buttons) ===== */
.stat-cards { background: #C6C6C6; border: 0; border-radius: 6px; padding: 64px 18px 20px; gap: 14px;
  box-shadow: inset 4px 4px 0 #FFFFFF, inset -4px -4px 0 #555555, 0 0 0 4px #1E1E1E, 0 18px 40px rgba(0,0,0,.55), 0 0 50px rgba(124,242,168,.15); }
.stat-cards::before { content: 'SKINS \00B7  APP STATS'; height: 46px; line-height: 46px; border-radius: 4px 4px 0 0; padding: 0 22px;
  background: linear-gradient(180deg, #4FBF3A 0%, #3C8527 60%, #2E6B1E 100%); color: #fff; font: 700 15px var(--numf); letter-spacing: .08em; text-shadow: 2px 2px 0 #1E3D12;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.25), 0 3px 0 #1E1E1E; }
.stat-cards::after { content: 'LIVE'; top: 10px; right: 18px; border-radius: 0; padding: 5px 10px; background: #FFC93C; color: #3D2A00; font: 700 11px var(--numf); letter-spacing: .1em;
  box-shadow: inset 2px 2px 0 #FFE89A, inset -2px -2px 0 #C9931A, 0 0 0 2px #1E1E1E; }
/* each stat = inventory slot card */
.stat { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: #8B8B8B; border: 0; border-radius: 2px; padding: 12px 12px 24px; color: #fff; text-align: left;
  box-shadow: inset 3px 3px 0 #373737, inset -3px -3px 0 #FFFFFF; }
.stat b { grid-column: 2; grid-row: 1; color: #fff; font: 700 clamp(22px, 2.1vw, 30px) var(--numf); text-shadow: 3px 3px 0 #3F3F3F; line-height: 1; white-space: nowrap; }
.stat-lbl { grid-column: 2; grid-row: 2; color: #F4F4F4; font: 800 12px var(--body); text-shadow: 1px 1px 0 #3F3F3F; margin-top: 4px; }
/* item slot with an item inside */
.stat-ico { position: static; grid-column: 1; grid-row: 1 / 3; width: 58px; height: 58px; border-radius: 0; background: #8B8B8B center / 40px 40px no-repeat;
  box-shadow: inset 3px 3px 0 #373737, inset -3px -3px 0 #FFFFFF, 0 0 0 2px #1E1E1E; image-rendering: pixelated; }
.stat-ico i { display: none !important; }
.ic-skin .stat-ico { background-image: url(images/skins/129.webp); background-size: auto 46px; }
.ic-player .stat-ico { background-image: url(images/heads/117.png); background-size: 38px 38px; }
.ic-free .stat-ico { background-image: radial-gradient(circle at 50% 50%, #FFE89A 0 6px, #FFC93C 6px 13px, #C9931A 13px 16px, transparent 16.5px); background-size: 40px 40px; }
.ic-pulse .stat-ico { background-image: linear-gradient(#1E1E1E,#1E1E1E), linear-gradient(#1E1E1E,#1E1E1E), radial-gradient(circle, #E8E8E8 0 10px, #B8862F 10px 15px, #6B4A12 15px 17px, transparent 17.5px);
  background-size: 3px 11px, 9px 3px, 40px 40px; background-position: 27.5px 18px, 27.5px 27px, center; }
.ic-globe .stat-ico { background-image: radial-gradient(circle at 38% 40%, #6CC04A 0 5px, transparent 5.5px), radial-gradient(circle at 64% 62%, #6CC04A 0 6px, transparent 6.5px), radial-gradient(circle, #4DC8F0 0 15px, #1E6E9C 15px 17px, transparent 17.5px);
  background-size: 40px 40px; }
/* XP bar under every card */
.stat::after { left: 12px; right: 12px; bottom: 9px; height: 7px; background: #1E1E1E; border-radius: 0; box-shadow: 0 0 0 1px #000; }
.stat::before { left: 13px; bottom: 10px; height: 5px; border-radius: 0; background: repeating-linear-gradient(90deg, #80FF20 0 14px, #4FA80F 14px 16px); }
.proof.go .stat::before { width: calc(100% - 26px); }
.stats-note { color: #9FB8A8; }
/* search ticker: Minecraft text field + Minecraft buttons tinted by category */
.ticker-label { background: #000; color: #A0A0A0; border: 0; border-radius: 0; font: 700 12px var(--numf); letter-spacing: .04em;
  box-shadow: 0 0 0 2px #A0A0A0, 0 0 0 4px #1E1E1E; padding: 11px 16px 11px 40px; }
.ticker-label::before { border-color: #80FF20; border-radius: 0; }
.ticker-label::after { background: #80FF20; }
.tk b { border-radius: 0; border: 0; padding: 8px 16px; font: 700 12px var(--numf); letter-spacing: .03em; text-shadow: 2px 2px 0 rgba(0,0,0,.45);
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.35), inset -3px -3px 0 rgba(0,0,0,.35), 0 0 0 2px #1E1E1E, 0 4px 0 #1E1E1E; }
.tk:nth-child(6n) b { --c: #7B7B7B; }
@media (max-width: 600px) {
  .stat-cards { padding: 60px 10px 14px; gap: 10px; }
  .stat { grid-template-columns: 44px 1fr; column-gap: 8px; padding: 10px 8px 22px; }
  .stat-ico { width: 44px; height: 44px; background-size: 30px 30px; }
  .ic-skin .stat-ico { background-size: auto 34px; } .ic-player .stat-ico { background-size: 28px 28px; }
  .stat b { font-size: 19px; } .stat-lbl { font-size: 11px; }
  .stat-cards::before { font-size: 13px; }
}

/* ===== upgrade 39: remove the green band at the bottom of the hero ===== */
.hero .ground { display: none !important; }

/* ===== upgrade 40: light colour across the whole site (hero, header, stats, ticker) ===== */
.proof, .ticker { background: #EEF7F1; }
.stats-note { color: #4E6B5C; }

/* ===== upgrade 41: shorter hero on desktop (less empty space at the bottom) ===== */
@media (min-width: 901px) { .hero { padding: 48px 0 36px; } .hero-art { height: 600px; } }

/* ===== upgrade 42: white glow highlight around the centre skin ===== */
.pm-fig.c { filter: drop-shadow(0 0 4px rgba(255,255,255,.35)); }
.pm-fig.c:hover { filter: drop-shadow(0 0 10px rgba(255,255,255,.9)) drop-shadow(0 0 30px rgba(124,242,168,.6)) brightness(1.08); }

/* ===== upgrade 43: stats = clean, professional cards (light) ===== */
.stat-cards { background: transparent; box-shadow: none; padding: 0; gap: 18px; border-radius: 0; }
.stat-cards::before, .stat-cards::after { display: none !important; }
.stat { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  background: #fff; border: 1px solid #DDEBE2; border-radius: 18px; padding: 20px 20px; color: #0E2A1C;
  box-shadow: 0 1px 2px rgba(14,42,28,.04), 0 10px 26px rgba(14,42,28,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.stat:hover { transform: translateY(-3px); border-color: #A9DBBC; box-shadow: 0 14px 32px rgba(14,42,28,.12); }
.stat::before, .stat::after { display: none !important; }
.stat b { color: #0E2A1C; font: 700 clamp(22px, 2vw, 28px) var(--numf); text-shadow: none; line-height: 1.05; }
.stat-lbl { color: #5B7467; font: 600 13px var(--body); text-shadow: none; margin-top: 4px; }
.stat-ico { width: 56px; height: 56px; border-radius: 14px; box-shadow: none; background-color: #E7F6EC; image-rendering: pixelated; }
.stats-note { color: #6A8577; margin-top: 18px; }
@media (max-width: 600px) {
  .stat-cards { gap: 10px; }
  .stat { grid-template-columns: 44px 1fr; column-gap: 10px; padding: 14px 12px; border-radius: 14px; }
  .stat-ico { width: 44px; height: 44px; border-radius: 11px; }
  .stat b { font-size: 19px; } .stat-lbl { font-size: 11.5px; }
}

/* ===== upgrade 44: stats cards - equal columns, aligned numbers, crisp line icons ===== */
.stat-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 22px 22px; min-height: 104px; }
.stat b { align-self: end; font: 800 clamp(24px, 2vw, 30px)/1.05 var(--body); letter-spacing: -.01em; white-space: nowrap; }
.stat-lbl { align-self: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.stat-ico { width: 52px; height: 52px; border-radius: 14px; background: #E7F6EC center / 26px 26px no-repeat !important; image-rendering: auto; }
.ic-skin .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='7' rx='1'/%3E%3Crect x='7' y='9' width='10' height='7' rx='1'/%3E%3Cpath d='M7 10H4v5h3M17 10h3v5h-3M9 16v6M15 16v6'/%3E%3C/svg%3E") !important; }
.ic-free .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v9H4v-9'/%3E%3Crect x='2' y='7' width='20' height='5' rx='1'/%3E%3Cpath d='M12 21V7'/%3E%3Cpath d='M12 7H8a2.5 2.5 0 1 1 0-5c3 0 4 5 4 5zM12 7h4a2.5 2.5 0 1 0 0-5c-3 0-4 5-4 5z'/%3E%3C/svg%3E") !important; }
.ic-player .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1'/%3E%3Cpath d='M16 3.5a4 4 0 0 1 0 8M22 21v-1a6 6 0 0 0-4-5.6'/%3E%3C/svg%3E") !important; }
.ic-pulse .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 8L9 4l-3 8H2'/%3E%3C/svg%3E") !important; }
.ic-globe .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 4 10 15 15 0 0 1-4 10 15 15 0 0 1-4-10 15 15 0 0 1 4-10z'/%3E%3C/svg%3E") !important; }
@media (max-width: 1100px) { .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { grid-template-columns: 40px minmax(0,1fr); column-gap: 10px; padding: 14px 12px; min-height: 0; } .stat-ico { width: 40px; height: 40px; background-size: 20px 20px !important; } .stat b { font-size: 20px; } .stat-lbl { white-space: normal; } }
@media (min-width: 601px) { .stat { grid-template-columns: 46px minmax(0,1fr); column-gap: 14px; padding: 20px 16px; } .stat-ico { width: 46px; height: 46px; border-radius: 12px; background-size: 24px 24px !important; } .stat-lbl { font-size: 12.5px; } }

/* ===== upgrade 45: skin cards - clean (no HOT / PRO / FREE / 3D labels, no grass strip), new hover effect ===== */
.card .tag, .card .price, .card .thumb .b3d { display: none !important; }
.thumb::before { display: none; }
.card { border: 1px solid #DDEBE2; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(14,42,28,.04), 0 8px 22px rgba(14,42,28,.06);
  transition: opacity .5s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .3s ease; }
.card.in, .card.in:hover { transform: none; }
.card.in:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 55%, #DDEBE2); box-shadow: 0 22px 40px -12px color-mix(in srgb, var(--c) 45%, transparent), 0 8px 22px rgba(14,42,28,.08); }
.thumb { margin: 8px 8px 0; border-radius: 13px; background: radial-gradient(75% 55% at 50% 72%, color-mix(in srgb, var(--c) 20%, #fff), #F3F8F5 78%); }
.thumb::after { content: ''; position: absolute; left: 50%; bottom: 7%; width: 58%; height: 12px; margin-left: -29%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,42,28,.22), transparent); transition: transform .45s ease, opacity .45s ease; }
.thumb .pose { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card:hover .thumb .pose { transform: translateY(-8px) scale(1.06); }
.card:hover .thumb::after { transform: scale(.82); opacity: .7; }
.thumb .glint { background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; opacity: 1; transition: background-position .8s ease; }
.card:hover .thumb .glint { background-position: -60% 0; }
.body { padding: 12px 14px 14px; }
.body b { font-size: 15px; color: #0E2A1C; }
.body small { color: #6A8577; font-weight: 700; }
.get { display: inline-flex; align-self: flex-start; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: #EEF7F1; color: #1F9D55; font-weight: 800; font-size: 12px; transition: background .3s, color .3s; }
.card:hover .get { background: #1F9D55; color: #fff; }
@media (prefers-reduced-motion: reduce) { .card.in:hover, .card:hover .thumb .pose { transform: none; } }

/* ===== upgrade 46: skins section - no search, new category bar, wider cards (6 per row) ===== */
.skins .wrap { width: min(1400px, calc(100% - 48px)); }
.skins .tools { justify-content: center; margin-bottom: 28px; }
.skins .tabs-wrap { flex: 0 1 auto; max-width: 100%; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #DDEBE2; border-radius: 999px; padding: 6px; box-shadow: 0 8px 22px rgba(14,42,28,.06); }
.skins .tabs { gap: 4px; padding: 0; -webkit-mask-image: none; mask-image: none; }
.skins .tabs::before, .skins .tabs::after, .skins .tabs-wrap::before, .skins .tabs-wrap::after { display: none !important; }
.skins .tabs button { background: transparent; border: 0; box-shadow: none; padding: 9px 18px; border-radius: 999px; color: #4E6B5C; font: 700 14px var(--body); transition: background .25s, color .25s; }
.skins .tabs button:hover { transform: none; background: #EEF7F1; color: #1F9D55; }
.skins .tabs button[aria-selected="true"] { background: linear-gradient(180deg, #2BC06A, #1F9D55); color: #fff; box-shadow: 0 6px 14px rgba(31,157,85,.3); }
.skins .tab-arrow { width: 36px; height: 36px; border: 0; background: #EEF7F1; color: #1F9D55; box-shadow: none; }
.skins .tab-arrow:disabled { opacity: .35; }
.skins .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
#more { background: #fff; border: 1px solid #CFE3D7; box-shadow: 0 6px 16px rgba(14,42,28,.06); border-radius: 999px; color: #1F9D55; font: 800 15px var(--body); padding: 12px 26px; }
#more:hover { background: #EEF7F1; }
@media (max-width: 1100px) { .skins .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .skins .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .skins .tabs-wrap { width: 100%; } }
@media (max-width: 399px) {
  .skins .grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== upgrade 47: skin cards show the skin straight from the front, centred; hover swaps to the walking pose ===== */
.thumb { display: block; }
.thumb .front, .thumb .pose { position: absolute; left: 50%; bottom: 9%; height: 82%; width: auto; max-width: 86%; object-fit: contain; transform: translateX(-50%); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.thumb .front { image-rendering: pixelated; opacity: 1; }
.thumb .pose { opacity: 0; transform: translateX(-50%) scale(.94); }
.card:hover .thumb .front { opacity: 0; transform: translateX(-50%) scale(.94); }
.card:hover .thumb .pose { opacity: 1; transform: translateX(-50%) translateY(-6px) scale(1.04); }

/* ===== upgrade 48: 3D view section - light, clean theme (matches the skins grid) ===== */
.spin { background: linear-gradient(180deg, #F3FAF6 0%, #E9F5EE 100%); color: #0E2A1C; }
.spin::before, .spin::after, .spin .orbs { display: none !important; }
.spin .kicker { color: #1F9D55; }
.spin h2, .spin h2.h-outline { color: #0E2A1C; -webkit-text-stroke: 0; text-shadow: none; }
.spin .sub, .spin .sub.light { color: #4E6B5C; }
.spin-facts li { background: #fff; border: 1px solid #DDEBE2; border-radius: 16px; padding: 16px; box-shadow: 0 8px 22px rgba(14,42,28,.06); }
.spin-facts b { color: #1F9D55; font: 800 20px var(--body); }
.spin-facts span { color: #5B7467; opacity: 1; font-weight: 600; font-size: 12.5px; }
.pick { width: 60px; height: 76px; border-radius: 14px; border: 1px solid #DDEBE2; background: #fff; box-shadow: 0 4px 12px rgba(14,42,28,.06); }
.pick.on, .pick:hover { border-color: #1F9D55; box-shadow: 0 0 0 3px rgba(31,157,85,.18), 0 8px 18px rgba(14,42,28,.1); }
.spin .store { background: #0E2A1C; color: #fff; border-color: #0E2A1C; }
.spin .store svg { fill: #fff; }
.stage { background: radial-gradient(60% 45% at 50% 62%, rgba(31,157,85,.16), transparent 70%), #fff; border: 1px solid #DDEBE2; border-radius: 24px; box-shadow: 0 24px 50px -18px rgba(14,42,28,.25); }
.stage canvas { border-radius: 24px; }
.stage::after { content: ''; position: absolute; left: 50%; bottom: 62px; width: 46%; height: 18px; margin-left: -23%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,42,28,.22), transparent); pointer-events: none; }
.poses { background: #F1F7F3; border: 1px solid #DDEBE2; border-radius: 999px; padding: 4px; }
.poses button { color: #4E6B5C; border-radius: 999px; font: 700 13px var(--body); letter-spacing: 0; padding: 7px 16px; }
.poses button[aria-pressed="true"] { background: #1F9D55; color: #fff; box-shadow: 0 4px 10px rgba(31,157,85,.3); }
.stage-bar { background: #fff; border: 1px solid #DDEBE2; border-radius: 16px; color: #0E2A1C; box-shadow: 0 8px 22px rgba(14,42,28,.06); }
.stage-bar b { font: 800 17px var(--body); }
.hint { color: #5B7467; opacity: 1; }
.hint i { border-color: #1F9D55; } .hint i::after { background: #1F9D55; }
.spin-picks { margin-bottom: 28px; gap: 10px; } .pick { overflow: hidden; } .pick img { max-height: 100%; }

/* ===== upgrade 49: 3D section - aligned columns, compact fact cards, tidy picker, framed stage ===== */
.spin-in { grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: center; }
.spin-copy h2 { margin-bottom: 14px; }
.spin-copy .sub { max-width: 520px; margin-bottom: 24px; }
.spin-facts { gap: 12px; margin-bottom: 26px; max-width: 560px; }
.spin-facts li { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.spin-facts b { margin: 0; line-height: 1.1; }
.spin-facts span { line-height: 1.35; }
.spin-picks { display: grid; grid-template-columns: repeat(8, 58px); gap: 10px; margin-bottom: 28px; }
.pick { width: 58px; height: 74px; padding: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pick img { height: 100%; max-height: 62px; width: auto; object-fit: contain; }
.spin-stage { gap: 12px; }
.stage { max-width: 460px; width: 460px; height: 500px; border: 1px solid #DDEBE2 !important; outline: 0; overflow: hidden; }
.stage canvas { margin: 0 auto; }
.stage .poses { bottom: 18px; }
.stage::after { bottom: 74px; }
.stage-bar { max-width: 460px; width: 460px; padding: 12px 18px; }
@media (max-width: 1100px) { .spin-in { grid-template-columns: 1fr; gap: 36px; } .spin-stage { align-items: center; } }
@media (max-width: 600px) { .spin-picks { grid-template-columns: repeat(4, 58px); } .stage, .stage-bar { width: 100%; } .spin-facts { grid-template-columns: 1fr 1fr 1fr; } .spin-facts li { padding: 10px; } }

/* ===== upgrade 50: "Inside the app" - clean tab bar with labels + aligned showcase ===== */
.features { background: #F3FAF6; }
.features .wrap > h2, .features .wrap > .kicker, .features .wrap > .sub { text-align: center; margin-left: auto; margin-right: auto; }
.features .wrap > .sub { max-width: 620px; }
.hotbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1000px; margin: 26px auto 44px; padding: 8px; background: #fff; border: 1px solid #DDEBE2; border-radius: 999px; box-shadow: 0 10px 26px rgba(14,42,28,.07); }
.hotbar button { aspect-ratio: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: transparent; border: 0; border-radius: 999px; box-shadow: none; outline: 0 !important; color: #29473A; transition: background .25s, color .25s, transform .2s; }
.hotbar button:hover { transform: none; background: #EEF7F1; }
.hotbar button[aria-selected="true"] { background: #1F9D55; color: #fff; box-shadow: 0 8px 18px rgba(31,157,85,.3); }
.hotbar small { display: none; }
.hotbar .slot-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #0E2A1C; overflow: hidden; }
.hotbar .slot-ico i { transform: scale(.62); transform-origin: 50% 50%; }
.hotbar button[aria-selected="true"] .slot-ico { animation: none; background: #0B3A22; }
.hotbar .slot-lbl { position: static; transform: none; opacity: 1; background: none; border: 0; padding: 0; color: inherit; font: 700 14px var(--body); letter-spacing: 0; text-transform: capitalize; }
.showcase { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; }
.show-copy { background: #fff; border: 1px solid #DDEBE2; border-radius: 22px; padding: 32px; box-shadow: 0 14px 34px rgba(14,42,28,.07); }
.show-copy .kicker { color: #1F9D55; margin-bottom: 10px; }
.show-copy h3 { font-size: clamp(24px, 2.2vw, 30px); color: #0E2A1C; margin-bottom: 12px; }
.show-copy p { color: #4E6B5C; font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.show-pad .pad { background: #0E1A14; border-radius: 28px; padding: 12px; box-shadow: 0 0 0 1px #24342C, 0 30px 60px -20px rgba(14,42,28,.45); }
.show-pad .pad img { border-radius: 18px; }
.show-nav { gap: 16px; }
.show-nav .sl-btn { width: 40px; height: 40px; background: #fff; border: 1px solid #CFE3D7; box-shadow: 0 4px 12px rgba(14,42,28,.08); color: #1F9D55; }
.dots { gap: 6px; align-items: center; }
.dots button { width: 8px; height: 8px; border: 0; border-radius: 999px; background: #C5DCCD; transition: width .3s, background .3s; }
.dots button.on { width: 26px; background: #1F9D55; }
@media (max-width: 900px) {
  .hotbar { border-radius: 22px; } .hotbar button { padding: 5px 12px 5px 5px; } .hotbar .slot-lbl { display: inline; font-size: 13px; }
  .showcase { grid-template-columns: 1fr; gap: 28px; } .show-copy { padding: 22px; }
}
@media (min-width: 901px) { .hotbar { flex-wrap: nowrap; width: max-content; max-width: 100%; gap: 4px; } .hotbar button { padding: 6px 14px 6px 6px; white-space: nowrap; } }
.features .wrap > .sub { max-width: 760px; }
.hotbar { flex-wrap: nowrap !important; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hotbar::-webkit-scrollbar { display: none; }
.hotbar button { flex: none; white-space: nowrap; }
@media (max-width: 1150px) { .hotbar button { padding: 5px 10px 5px 5px; gap: 7px; } .hotbar .slot-lbl { font-size: 13px; } .hotbar .slot-ico { width: 30px; height: 30px; } }
@media (max-width: 900px) { .hotbar { justify-content: flex-start; border-radius: 999px; } }

/* ===== upgrade 51: How it works - screenshot fills its frame (blurred backdrop), clean light step panel ===== */
.gc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: #fff; border: 1px solid #DDEBE2; border-radius: 26px; box-shadow: 0 24px 50px -18px rgba(14,42,28,.22); }
.gc-shot { position: relative; padding: 0; background: #0E2A1C; overflow: hidden; min-height: 560px; }
.screen-frame { position: absolute; inset: 0; width: auto; padding: 28px; border: 0; background: none; box-shadow: none; display: flex; align-items: center; justify-content: center; }
.screen-frame::before { content: ''; position: absolute; inset: -40px; background: var(--shot, none) center / cover no-repeat; filter: blur(28px) saturate(1.2) brightness(.8); transform: scale(1.1); transition: background-image .4s; }
.screen-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,28,.15), rgba(14,42,28,.45)); }
.screen-frame img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; background: none; border-radius: 18px; box-shadow: 0 0 0 6px rgba(255,255,255,.9), 0 26px 50px rgba(0,0,0,.45); }
.fr-arrow { z-index: 2; width: 42px; height: 42px; border: 0; background: rgba(255,255,255,.92); color: #0E2A1C; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.fr-zoom { z-index: 2; border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.92); color: #0E2A1C; font: 700 11px var(--body); letter-spacing: 0; }
.gc-info { padding: 28px; gap: 14px; }
.screen-step { font: 800 13px var(--body); color: #1F9D55; letter-spacing: .04em; text-transform: uppercase; }
.phases { background: #F1F7F3; border-radius: 999px; padding: 4px; gap: 4px; }
.phases button { justify-content: center; background: transparent; border: 0; border-radius: 999px; padding: 9px 10px; font: 700 12.5px var(--body); color: #4E6B5C; letter-spacing: 0; text-transform: none; }
.phases button i { display: none; }
.phases button.on { background: #fff; color: #1F9D55; box-shadow: 0 3px 10px rgba(14,42,28,.1); }
.steps { gap: 8px; max-height: 380px; padding-right: 6px; }
.steps li { border: 1px solid #E1EDE5 !important; border-radius: 14px; padding: 10px 12px; background: #fff !important; color: #0E2A1C !important; box-shadow: none; align-items: center; }
.steps li:hover { background: #F5FAF7 !important; }
.steps li.ph, .steps li.ph.on { background: none !important; border: 0 !important; padding: 10px 2px 0; color: #6A8577 !important; font: 800 11px var(--body); letter-spacing: .08em; }
.steps li.ph.on { color: #1F9D55 !important; }
.steps .n { width: 32px; height: 32px; border-radius: 10px; background: #EEF7F1; color: #1F9D55; box-shadow: none; font: 800 14px var(--body); }
.steps li.done .n { background: #D7F0E0; color: #1F9D55; }
.steps li.on { border-color: #1F9D55 !important; background: #F1FAF4 !important; box-shadow: 0 0 0 3px rgba(31,157,85,.12); }
.steps li.on .n { background: #1F9D55; color: #fff; box-shadow: none; }
.steps b { font: 700 15px var(--body); color: #0E2A1C; }
.steps li.on p { color: #4E6B5C; }
.g-bar { height: 6px; border: 0; border-radius: 999px; background: #E6F1EA; }
.g-bar i { background: #1F9D55; border-radius: 999px; }
@media (max-width: 900px) { .gc { grid-template-columns: 1fr; } .gc-shot { min-height: 420px; } .screen-frame { padding: 18px; } }

/* ===== upgrade 52: countries - donut chart + ranked bars + fact cards ===== */
.wx { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; background: #fff; border: 1px solid #DDEBE2; border-radius: 26px; padding: 36px 40px; box-shadow: 0 20px 44px -18px rgba(14,42,28,.2); }
.wx-chart { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.wx-chart svg { width: 100%; height: 100%; overflow: visible; }
.wx-chart circle { transition: stroke-dasharray 1s cubic-bezier(.2,.8,.2,1); }
.wm:not(.fill) .wx-chart circle { stroke-dasharray: 0 999 !important; }
.wx-chart circle:hover { stroke-width: 32; }
.wx-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.wx-mid b { font: 800 44px/1 var(--body); color: #0E2A1C; }
.wx-mid span { color: #5B7467; font-weight: 700; font-size: 14px; margin-top: 4px; }
.wx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wx-list li { display: grid; grid-template-columns: 34px 42px 150px minmax(0, 1fr) 64px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; transition: background .2s; }
.wx-list li:hover { background: #F3FAF6; }
.wx-rank { font: 800 14px var(--body); color: #8AA597; }
.wx-list .flag { width: 42px; height: 28px; font-size: 11px; }
.wx-name { font: 700 15px var(--body); color: #0E2A1C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-bar { height: 10px; border-radius: 999px; background: #EEF5F0; overflow: hidden; }
.wx-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--c); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.wm.fill .wx-bar i { width: var(--w); }
.wx-list li:last-child .wx-bar i { background: #B9CCC0; }
.wx-list b { font: 800 16px var(--body); color: #0E2A1C; text-align: right; }
.wx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.wx-facts div { background: #fff; border: 1px solid #DDEBE2; border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 22px rgba(14,42,28,.06); }
.wx-facts b { display: block; font: 800 26px/1.1 var(--body); color: #1F9D55; }
.wx-facts span { display: block; margin-top: 4px; color: #5B7467; font-weight: 600; font-size: 13px; }
.wx-also { margin: 30px 0 12px; font: 800 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #6A8577; }
.flags { gap: 10px; }
.flags li { background: #fff; border: 1px solid #DDEBE2; border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 700; color: #0E2A1C; box-shadow: 0 4px 12px rgba(14,42,28,.05); }
@media (max-width: 1000px) { .wx { grid-template-columns: 1fr; padding: 26px 18px; gap: 26px; } .wx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wx-chart { width: 240px; height: 240px; } .wx-list li { grid-template-columns: 26px 36px minmax(0, 1fr) 54px; gap: 8px; padding: 8px 6px; } .wx-bar { grid-column: 2 / -1; grid-row: 2; } .wx-list .flag { width: 36px; height: 24px; } }
#countries.wm { display: block !important; grid-template-columns: none; }

/* ===== upgrade 53: countries - simple and short (chart + list only) ===== */
.wx-facts, .wx-also, #flags { display: none !important; }
.wx { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 26px 32px; }
.wx-chart { width: 220px; height: 220px; }
.wx-mid b { font-size: 34px; }
.wx-list { gap: 4px; }
.wx-list li { padding: 6px 12px; }
@media (max-width: 1000px) { .wx { grid-template-columns: 1fr; } }

/* ===== upgrade 54: final section top edge - clean glowing line instead of grass/dirt ===== */
.final { border-radius: 40px 40px 0 0; }
.final::after { display: none !important; }
.final::before { top: 0; left: 10%; right: 10%; height: 3px; border-radius: 999px; background: linear-gradient(90deg, transparent, #2BC06A 30%, #7CF2A8 50%, #2BC06A 70%, transparent) !important; box-shadow: 0 0 18px 2px rgba(124,242,168,.45); }

/* ===== upgrade 55: hero skins - no focus box; side skins show a pointer (click = move to centre) ===== */
.pm-fig, .pm-fig:focus { outline: none !important; }
.pm-fig:focus-visible { outline: 2px solid rgba(124,242,168,.7) !important; outline-offset: 4px; border-radius: 12px; }
.pm-fig:not(.c) { cursor: pointer; }
.pm-fig:not(.c):hover { filter: brightness(1.12) drop-shadow(0 0 6px rgba(255,255,255,.35)); }

/* ===== upgrade 56: final CTA - skins row sits below the content (no overlap with the QR card) ===== */
.final { display: flex; flex-direction: column; align-items: center; padding: 90px 0 0; }
.final .final-in { order: 1; }
.final .final-skins { order: 2; position: relative; inset: auto; margin-top: 46px; width: 100%; opacity: .9; gap: 1.6vw; padding-bottom: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.final .final-skins img { width: 96px; height: 140px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.final .qr { margin-top: 14px; border-radius: 16px; padding: 10px 18px 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.final .qr img { width: 78px; height: 78px; }
.final::before { display: none !important; }
.final { border-radius: 0 !important; }

/* ===== upgrade 57: hero fills the first screen (below the header) ===== */
@media (min-width: 901px) {
  .hero { min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); display: flex; align-items: center; padding: 32px 0; box-sizing: border-box; }
  .hero > .wrap.hero-in { flex: none; }
}

/* ===== upgrade 58: scroll progress bar sits on the bottom edge of the header ===== */
.xpbar { top: var(--hdr, 66px); height: 3px; background: transparent; }
.xpbar i { background: linear-gradient(90deg, #1F9D55, #7CF2A8); box-shadow: 0 0 8px rgba(124,242,168,.6); border-radius: 0 999px 999px 0; }

/* ===== upgrade 59: thin section divider (soft line, fades at both ends) used between the light sections ===== */
.features::before, .editor::before, .how::before, .who::before, .faq::before {
  content: ''; position: absolute; top: 0; left: 50%; width: min(1100px, calc(100% - 48px)); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #CFE3D7 18%, #A9D9BB 50%, #CFE3D7 82%, transparent); pointer-events: none; z-index: 1; }

.ic-eye .stat-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important; }

/* ===== upgrade 60: site audit - consistent centred section heads, light editor + requirements, cleaner coin days ===== */
.skins .wrap > .kicker, .skins .wrap > h2, .skins .wrap > .sub,
.editor .wrap > .kicker, .editor .wrap > h2, .editor .wrap > .sub,
.how .wrap > .kicker, .how .wrap > h2, .how .wrap > .sub,
.who .wrap > .kicker, .who .wrap > h2, .who .wrap > .sub,
.faq .wrap > .kicker, .faq .wrap > h2, .faq .wrap > .sub { text-align: center; margin-left: auto; margin-right: auto; }
.skins .wrap > .sub, .editor .wrap > .sub, .how .wrap > .sub, .who .wrap > .sub { max-width: 680px; }
.how .wrap > h2 { max-width: 900px; }
.sec .wrap > .sub { margin-bottom: 34px; }
/* editor: light cards */
.ed { gap: 40px; align-items: stretch; }
.ed-left { border: 1px solid #DDEBE2; border-radius: 22px; padding: 22px; box-shadow: 0 14px 34px rgba(14,42,28,.07); }
.ed-lbl { font: 800 12px var(--body); color: #1F9D55; letter-spacing: .06em; text-transform: uppercase; }
.ed-btn { background: #F1F7F3; border: 1px solid #DDEBE2; border-radius: 999px; padding: 7px 14px; font: 700 12.5px var(--body); color: #29473A; }
.ed-btn:hover { background: #E3F3E9; border-color: #A9D9BB; color: #1F9D55; }
#ed-canvas { border-radius: 14px; border: 1px solid #DDEBE2 !important; }
.ed-palette { gap: 8px; }
.ed-palette button { border-radius: 10px; border: 2px solid rgba(14,42,28,.08); }
.ed-palette button[aria-checked="true"] { border-color: #1F9D55; outline: 0; box-shadow: 0 0 0 3px rgba(31,157,85,.25); }
.ed-right { justify-content: center; }
.ed-stage { max-width: 380px; background: radial-gradient(60% 45% at 50% 60%, rgba(31,157,85,.16), transparent 70%), #fff; border: 1px solid #DDEBE2; border-radius: 22px; box-shadow: 0 20px 44px -18px rgba(14,42,28,.25); }
.ed-tag { background: #1F9D55 !important; color: #fff !important; border-radius: 999px; }
.ed-note { color: #5B7467; font-size: 13.5px; }
/* "What you need": white card */
.req { background: #fff; color: #0E2A1C; border: 1px solid #DDEBE2; border-radius: 22px; padding: 24px 28px; box-shadow: 0 14px 34px rgba(14,42,28,.07); gap: 0 28px; }
.req-title { font: 800 18px var(--body); color: #1F9D55; }
.req div { border-top: 1px solid #E6F0EA; padding: 12px 0; }
.req dt { color: #6A8577; opacity: 1; }
.req dd { color: #0E2A1C; }
/* coin days: rounded cards */
.days { gap: 10px; }
.days li { border: 1px solid #F0DFA6; border-radius: 16px; padding: 12px 6px; box-shadow: 0 8px 18px rgba(201,147,26,.12); }
.days small { font: 800 11px var(--body); letter-spacing: .04em; text-transform: uppercase; }
.days b { font: 800 14px var(--body); }
.days li.done { background: linear-gradient(180deg, #2BC06A, #1F9D55); border-color: #1F9D55; box-shadow: 0 10px 20px rgba(31,157,85,.3); }

/* ===== upgrade 61: feature tabs - clean line icons (green on light green, white when active) ===== */
.hotbar .slot-ico { position: relative; background: #E7F6EC !important; width: 36px; height: 36px; }
.hotbar .slot-ico i { display: none !important; }
.hotbar .slot-ico::after { content: ''; position: absolute; inset: 9px; background: #1F9D55; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.hotbar button[aria-selected="true"] .slot-ico { background: rgba(255,255,255,.22) !important; }
.hotbar button[aria-selected="true"] .slot-ico::after { background: #fff; }
.hotbar .ico-skin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.hotbar .ico-brush { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.4 2.6a2 2 0 0 1 2.9 2.9L12 14.8l-3.6.8.8-3.6z'/%3E%3Cpath d='M7 16c-2 0-3 1.5-3 3.5V21h1.5C7.5 21 9 20 9 18'/%3E%3C/svg%3E"); }
.hotbar .ico-fresh { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 4.6L18.5 9l-4.6 1.9L12 15.5l-1.9-4.6L5.5 9l4.6-1.4z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.hotbar .ico-cube { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l9 5v10l-9 5-9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E"); }
.hotbar .ico-search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); }
.hotbar .ico-rotate { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E"); }
.hotbar .ico-coin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 9.5c-.5-1-1.5-1.5-2.5-1.5-1.4 0-2.5.8-2.5 2s1.1 1.6 2.5 2 2.5.8 2.5 2-1.1 2-2.5 2c-1 0-2-.5-2.5-1.5M12 6.5v1.5M12 16v1.5'/%3E%3C/svg%3E"); }

/* ===== upgrade 62: How it works - sharper shots, slide-in animation, gentle float ===== */
.screen-frame img { image-rendering: auto; will-change: transform, opacity; animation: shotfloat 6s ease-in-out infinite; }
.screen-frame img.pop { animation: shotin .6s cubic-bezier(.2,.8,.2,1) both, shotfloat 6s ease-in-out .6s infinite; }
.screen-frame img.pop-l { animation: shotin-l .6s cubic-bezier(.2,.8,.2,1) both, shotfloat 6s ease-in-out .6s infinite; }
@keyframes shotin { from { opacity: 0; transform: translateX(40px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shotin-l { from { opacity: 0; transform: translateX(-40px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shotfloat { 50% { transform: translateY(-6px); } }
.screen-frame::before { transition: background-image .5s ease; }
@media (prefers-reduced-motion: reduce) { .screen-frame img, .screen-frame img.pop, .screen-frame img.pop-l { animation: none; } }

/* ===== upgrade 63: responsive pass ===== */
.pm-stage { transition: transform .3s ease; }
@media (max-width: 1200px) { .stat-lbl { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; } }
.nav a { padding: 8px 4px; }
.stat-lbl { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.3; }
/* header button always on the right when the nav is hidden */
.top .bar > .btn { margin-left: auto; }
.top .nav + .btn { margin-left: 18px; }
@media (max-width: 900px) { .top .nav + .btn { margin-left: auto; } }
/* stats on tablets: 3 on top, 2 centred below */
@media (min-width: 601px) and (max-width: 1100px) {
  .stat-cards { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .stat-cards .stat { grid-column: span 2; }
  .stat-cards .stat:nth-child(4) { grid-column: 2 / 4; }
  .stat-cards .stat:nth-child(5) { grid-column: 4 / 6; }
}
/* phones: 2 per row, last one centred */
@media (max-width: 600px) { .stat-cards .stat:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); } }

/* ===== upgrade 64: How it works - stepper dots + big animated step card ===== */
.gc-info { gap: 18px; justify-content: center; }
/* stepper: numbered dots on a line that fills up to the current step */
.steps { position: relative; display: flex !important; justify-content: space-between; align-items: center; gap: 0; max-height: none !important; overflow: visible !important; padding: 6px 2px !important; }
.steps::before, .steps::after { content: ''; position: absolute; left: 18px; right: 18px; top: 50%; height: 4px; margin-top: -2px; border-radius: 999px; background: #E3EFE7; }
.steps::after { right: auto; width: calc((100% - 36px) * var(--pf, 0)); background: linear-gradient(90deg, #2BC06A, #1F9D55); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.steps li.ph { display: none !important; }
.steps li { position: relative; z-index: 1; display: block !important; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important; }
.steps li .st { display: none; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #6A8577; font: 800 13px var(--body); box-shadow: 0 0 0 2px #DDEBE2; transition: transform .3s, background .3s, color .3s, box-shadow .3s; }
.steps li:hover .n { box-shadow: 0 0 0 2px #1F9D55; color: #1F9D55; }
.steps li.done .n { background: #D7F0E0; color: #1F9D55; box-shadow: 0 0 0 2px #B6E2C6; }
.steps li.on .n { background: #1F9D55; color: #fff; transform: scale(1.18); box-shadow: 0 0 0 5px rgba(31,157,85,.18), 0 6px 14px rgba(31,157,85,.35); }
/* big step card */
.step-detail { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, #F3FBF6, #fff); border: 1px solid #DDEBE2; border-radius: 20px; padding: 22px 24px; min-height: 150px; }
.sd-num { flex: none; font: 800 54px/0.9 var(--body); color: transparent; -webkit-text-stroke: 2px #1F9D55; letter-spacing: -.02em; }
.sd-phase { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #E3F5EA; color: #1F9D55; font: 800 11px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.step-detail h3 { margin: 10px 0 6px; font: 800 22px/1.2 var(--body); color: #0E2A1C; }
.step-detail p { margin: 0; color: #4E6B5C; font-size: 15px; line-height: 1.55; }
.step-detail.in .sd-num { animation: sdnum .55s cubic-bezier(.2,.8,.2,1) both; }
.step-detail.in .sd-phase { animation: sdup .45s .05s cubic-bezier(.2,.8,.2,1) both; }
.step-detail.in h3 { animation: sdup .45s .12s cubic-bezier(.2,.8,.2,1) both; }
.step-detail.in p { animation: sdup .45s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sdnum { from { opacity: 0; transform: translateY(18px) scale(.8); } }
@keyframes sdup { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 600px) { .steps li, .steps .n { width: 24px; height: 24px; } .steps .n { font-size: 10px; } .sd-num { font-size: 40px; } .step-detail { padding: 16px; gap: 12px; } .step-detail h3 { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .step-detail.in * { animation: none !important; } }

/* ===== upgrade 65: How it works - click-driven steps, button press ripple, directional card animation ===== */
.g-bar i { transition: width .6s cubic-bezier(.2,.8,.2,1); }
.guide .sl-btn, .fr-arrow { position: relative; overflow: visible; transition: transform .15s ease, background .2s, box-shadow .2s, opacity .2s; }
.guide .sl-btn:hover:not(:disabled) { background: #1F9D55; color: #fff; box-shadow: 0 6px 16px rgba(31,157,85,.35); }
.guide .sl-btn:active { transform: scale(.9); }
.fr-arrow:active { transform: translateY(-50%) scale(.9); }
.guide .sl-btn:disabled { opacity: .35; cursor: default; }
.guide .sl-btn.tap::after, .fr-arrow.tap::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,157,85,.55); animation: tapring .55s ease-out; pointer-events: none; }
@keyframes tapring { to { box-shadow: 0 0 0 16px rgba(31,157,85,0); } }
.steps li { cursor: pointer; }
.steps li:active .n { transform: scale(.88); }
.step-detail.in { animation: sdcard .5s cubic-bezier(.2,.8,.2,1) both; }
.step-detail.in.from-l { animation-name: sdcard-l; }
@keyframes sdcard { from { opacity: 0; transform: translateX(26px); } }
@keyframes sdcard-l { from { opacity: 0; transform: translateX(-26px); } }
.screen-frame img { max-height: calc(100% - 8px); }
.fr-arrow { position: absolute !important; }

/* ===== upgrade 66: How it works - video-player style screenshot (story segments, play/pause, control bar) ===== */
.screen-frame { padding: 40px 28px 78px !important; }
.fr-zoom { display: none !important; }
.vp { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vp > * { pointer-events: auto; }
.vp-segs { position: absolute; left: 20px; right: 20px; top: 16px; display: flex; gap: 5px; pointer-events: none; }
.vp-segs i { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; }
.vp-segs i b { display: block; height: 100%; width: 0; border-radius: 999px; background: #fff; }
.vp-segs i.done b { width: 100%; background: rgba(255,255,255,.95); }
.vp-segs i.cur { background: rgba(255,255,255,.5); }
.playing .vp-segs i.cur b { animation: segfill var(--pd, 4s) linear forwards; }
@keyframes segfill { to { width: 100%; } }
.vp-big { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -50px 0 0 -43px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,.94); box-shadow: 0 0 0 10px rgba(255,255,255,.22), 0 18px 40px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s; animation: vpulse 2.2s ease-in-out infinite; }
.vp-big svg { width: 34px; height: 34px; margin-left: 5px; fill: #1F9D55; }
.vp-big:hover { transform: scale(1.08); }
.vp-big:active { transform: scale(.92); }
.vp-big .i-pause { display: none; }
.playing .vp-big { opacity: 0; transform: scale(.5); pointer-events: none; animation: none; }
@keyframes vpulse { 50% { box-shadow: 0 0 0 20px rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.35); } }
.vp-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(10,24,17,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: zoom-in; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.vp-play { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #1F9D55; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .2s; }
.vp-play:hover { background: #2BC06A; }
.vp-play:active { transform: scale(.86); }
.vp-play svg { width: 16px; height: 16px; fill: #fff; grid-area: 1 / 1; }
.vp-play .i-play { margin-left: 2px; }
.vp-play .i-pause, .playing .vp-play .i-play { display: none; }
.playing .vp-play .i-pause { display: block; }
.vp-step { flex: none; font: 800 13px var(--body); color: #8FE3B1; }
.vp-title { flex: 1; min-width: 0; font: 700 14px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-hint { flex: none; font: 600 12px var(--body); opacity: .65; }
.fr-arrow { margin-top: -20px; }
@media (max-width: 600px) { .vp-hint { display: none; } .vp-big { width: 68px; height: 68px; margin: -40px 0 0 -34px; } .vp-big svg { width: 26px; height: 26px; } .screen-frame { padding: 34px 16px 70px !important; } }
@media (prefers-reduced-motion: reduce) { .vp-big { animation: none; } }

/* ===== upgrade 67: How it works - every screen acts out its step (touch dot taps the button / ring on the message + zoom) ===== */
.tap-dot, .tap-ring { position: absolute; left: var(--tx, 50%); top: var(--ty, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; opacity: 0; pointer-events: none !important; z-index: 2; }
.tap-dot { background: rgba(255,255,255,.72); box-shadow: 0 0 0 3px rgba(14,42,28,.6), 0 10px 22px rgba(0,0,0,.35); }
.tap-ring { border: 3px solid #7CF2A8; }
.screen-frame.demo:not(.look) .tap-dot { animation: tapmove 3.8s cubic-bezier(.3,.7,.2,1) .4s both; }
.screen-frame.demo:not(.look) .tap-ring { animation: tapburst .9s ease-out 1.62s both; }
.screen-frame.demo.look .tap-ring { border-color: #FFD34D; animation: lookring 1.3s ease-out .8s 3 both; }
@keyframes tapmove {
  0% { opacity: 0; transform: translate(110px, 130px); }
  12% { opacity: 1; }
  30% { transform: translate(0, 0) scale(1); }
  34% { transform: scale(.7); }
  40% { transform: scale(1); }
  86% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes tapburst { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes lookring { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes tapzoom { from { transform: none; } to { transform: scale(1.12); } }
.screen-frame.demo img.pop { animation: shotin .6s cubic-bezier(.2,.8,.2,1) both, tapzoom 1.5s cubic-bezier(.3,.7,.2,1) 1.75s forwards; }
.screen-frame.demo img.pop-l { animation: shotin-l .6s cubic-bezier(.2,.8,.2,1) both, tapzoom 1.5s cubic-bezier(.3,.7,.2,1) 1.75s forwards; }
@media (prefers-reduced-motion: reduce) { .tap-dot, .tap-ring { display: none; } }

.screen-frame.touched .vp-big { opacity: 0; transform: scale(.5); pointer-events: none; animation: none; }

/* ===== upgrade 69: How it works - live HTML phone demo (built screens, acted out step by step) ===== */
.gc-shot.has-sim { background: radial-gradient(70% 60% at 50% 45%, #FFFFFF, #E3F3EA 75%) !important; min-height: 600px; }
.gc-shot.has-sim .screen-frame { display: none !important; }
.sim-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34px 20px 80px; }
.sim-stage .vp { position: absolute; inset: 0; }
.sim-stage .vp-segs i { background: rgba(31,157,85,.16); }
.sim-stage .vp-segs i b, .sim-stage .vp-segs i.done b { background: #1F9D55; }
.sim-stage .vp-segs i.cur { background: rgba(31,157,85,.3); }
.sim-stage .vp-hint, .sim-stage .tap-dot, .sim-stage .tap-ring { display: none !important; }
.sim-stage .vp-bar { cursor: default; }
.sim-stage .fr-arrow { position: absolute !important; top: 50%; z-index: 7; background: #fff; color: #0E2A1C; box-shadow: 0 6px 16px rgba(14,42,28,.15); }

.sim-dev { position: relative; flex: none; width: 270px; height: 550px; padding: 10px; border-radius: 40px; background: #101A15; box-shadow: 0 0 0 2px #2C3B33, 0 34px 70px -24px rgba(14,42,28,.55);
  transform: scale(var(--k, 1)); transition: width .6s cubic-bezier(.3,.7,.2,1), height .6s cubic-bezier(.3,.7,.2,1), transform .6s; }
.sim-dev[data-scene="game"], .sim-dev[data-scene="dress"] { width: 580px; height: 290px; border-radius: 36px; }
.sim-dev::before { content: ''; position: absolute; left: 50%; top: 16px; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: #000; z-index: 9; transition: opacity .3s; }
.sim-dev[data-scene="game"]::before, .sim-dev[data-scene="dress"]::before { opacity: 0; }
.sim-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; font-family: var(--body); }
.sc { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.sim-dev[data-scene="app"] .sc-app, .sim-dev[data-scene="game"] .sc-game, .sim-dev[data-scene="dress"] .sc-dress { opacity: 1; visibility: visible; }
[data-t] { transition: transform .12s ease, filter .12s ease; }
.pressed { transform: scale(.92) !important; filter: brightness(.88); }
i.grass, .ic.grass { display: block; background:
  radial-gradient(circle at 25% 15%, #4C9E33 0 8%, transparent 9%), radial-gradient(circle at 70% 22%, #4C9E33 0 7%, transparent 8%),
  radial-gradient(circle at 35% 70%, #6E4524 0 8%, transparent 9%), radial-gradient(circle at 75% 80%, #A9773F 0 8%, transparent 9%),
  linear-gradient(#67C24A 0 32%, #3E8E2A 32% 38%, #8B5A2B 38%); }

/* --- app screen --- */
.sc-app { background: #F4F7F5; color: #0E2A1C; }
.ap-top { height: 58px; padding: 26px 14px 0; background: #1F9D55; color: #fff; display: flex; justify-content: space-between; align-items: center; font: 700 11px var(--numf); }
.ap-coins { background: #FFC93C; color: #5A3D00; border-radius: 999px; padding: 3px 8px; font-size: 9px; }
.ap-card { margin: 10px 12px 8px; height: 150px; border-radius: 14px; background: #fff; border: 1px solid #D8EBDD; display: grid; place-items: center; }
.ap-card img { height: 134px; animation: apfloat 3s ease-in-out infinite; }
@keyframes apfloat { 50% { transform: translateY(-5px); } }
.ap-name { margin: 0 14px; font: 800 14px var(--body); }
.ap-meta { margin: 2px 14px 8px; color: #F5A623; font-size: 11px; } .ap-meta span { color: #6A8577; }
.ap-thumbs { display: flex; gap: 6px; margin: 0 12px 10px; }
.ap-thumbs i { flex: 1; height: 44px; border-radius: 9px; background: #fff; border: 1px solid #DDEBE2; display: grid; place-items: center; overflow: hidden; }
.ap-thumbs i.on { border: 2px solid #1F9D55; } .ap-thumbs img { height: 38px; }
.ap-btn { display: flex; align-items: center; justify-content: center; margin: 0 12px 7px; height: 32px; border-radius: 9px; font: 700 11px var(--numf); }
.ap-export { background: #1F9D55; color: #fff; box-shadow: 0 3px 0 #157A40; } .ap-fav { background: #E5ECE8; color: #29473A; }
.ap-lines i { display: block; height: 6px; margin: 7px 14px; border-radius: 3px; background: #DCE5DF; } .ap-lines i:nth-child(2n) { width: 68%; }
.ap-dim { position: absolute; inset: 0; background: rgba(0,0,0,.38); opacity: 0; transition: opacity .3s; }
.s-pop .ap-dim, .s-share .ap-dim { opacity: 1; }
.ap-pop { position: absolute; left: 20px; right: 20px; top: 196px; background: #fff; border-radius: 14px; padding: 10px 10px 6px; box-shadow: 0 16px 34px rgba(0,0,0,.3); transform: scale(.8); opacity: 0; transition: transform .32s cubic-bezier(.2,.9,.3,1.25), opacity .25s; }
.s-pop .ap-pop { transform: none; opacity: 1; }
.ap-pop-h { display: flex; justify-content: space-between; font: 700 10px var(--numf); margin: 2px 4px 8px; } .ap-pop-h span { color: #999; }
.ap-row { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 8px; font: 700 10px var(--numf); }
.ap-row:first-of-type { outline: 2px solid #E53935; outline-offset: -2px; }
.ap-row + .ap-row { border-top: 1px solid #EEE; }
.ap-row i { width: 16px; height: 16px; border-radius: 3px; } .ap-row i.gal { background: linear-gradient(135deg, #8EC5FF, #3D7BD8); }
.ap-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #F2F2F7; border-radius: 18px 18px 0 0; padding: 14px 12px 16px; transform: translateY(105%); transition: transform .42s cubic-bezier(.2,.8,.2,1); }
.s-share .ap-sheet { transform: none; }
.sh-file { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #DADADF; }
.sh-file i.grass { width: 34px; height: 34px; border-radius: 6px; } .sh-file b { display: block; font-size: 12px; color: #111; } .sh-file small { color: #8A8A8E; font-size: 10px; }
.sh-apps { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid #DADADF; }
.sh-apps span, .sh-acts span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: #222; font-weight: 600; }
.sh-apps span[data-t] .ic { outline: 2px solid #E53935; outline-offset: 2px; }
.ic { width: 42px; height: 42px; border-radius: 11px; }
.ic.airdrop { background: radial-gradient(circle at 50% 62%, #fff 0 3px, transparent 4px), radial-gradient(circle at 50% 62%, transparent 0 8px, #fff 9px 11px, transparent 12px), radial-gradient(circle at 50% 62%, transparent 0 14px, rgba(255,255,255,.8) 15px 17px, transparent 18px), linear-gradient(#35B5FF, #0A6CFF); }
.ic.msg { background: radial-gradient(ellipse 14px 11px at 50% 46%, #fff 96%, transparent 100%), linear-gradient(#5BF675, #0CBD2A); }
.ic.mail { background: linear-gradient(150deg, transparent 47%, rgba(255,255,255,.95) 48% 52%, transparent 53%) 50% 40% / 26px 16px no-repeat, linear-gradient(210deg, transparent 47%, rgba(255,255,255,.95) 48% 52%, transparent 53%) 50% 40% / 26px 16px no-repeat, linear-gradient(#fff, #fff) 50% 55% / 26px 18px no-repeat, linear-gradient(#1E97F3, #1166DC); }
.sh-acts { display: flex; justify-content: space-around; padding-top: 12px; }
.sh-acts i { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; color: #333; }

/* --- game home screen (stylised) --- */
.sc-game { background: linear-gradient(#7FC3FF, #CBE8FF 62%); }
.gm-cloud { position: absolute; height: 14px; background: #fff; opacity: .9; } .gm-cloud.c1 { left: 40px; top: 30px; width: 70px; } .gm-cloud.c2 { right: 60px; top: 56px; width: 50px; }
.gm-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 10px, transparent 10px 20px),
  linear-gradient(#5DBB3F 0 16%, #3E8E2A 16% 22%, #8B5A2B 22% 60%, #6E4524 60%); }
.gm-title { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font: 700 30px var(--pix); color: #ECECEC; letter-spacing: .08em; text-shadow: 0 3px 0 #555, 0 6px 0 #2A2A2A; }
.gm-menu { position: absolute; left: 50%; top: 84px; width: 168px; margin-left: -84px; display: grid; gap: 6px; transition: transform .5s; }
.gm-b { display: block; text-align: center; font: 700 9.5px var(--numf); padding: 7px 0; background: #D3D3D3; color: #303030; box-shadow: inset 0 -3px 0 #8C8C8C, 0 0 0 2px #1E1E1E; }
.gm-b.play { background: #3C8527; color: #fff; box-shadow: inset 0 -3px 0 #275A18, 0 0 0 2px #1E1E1E; }
.gm-dress { position: absolute; right: 16px; bottom: 14px; width: 108px; outline: 2px solid #E53935; outline-offset: 3px; }
.gm-hero { position: absolute; right: 30px; bottom: 50px; height: 120px; opacity: 0; transform: translateY(16px) scale(.85); transition: opacity .5s, transform .5s cubic-bezier(.2,.9,.3,1.3); filter: drop-shadow(0 8px 8px rgba(0,0,0,.3)); }
.s-hero .gm-hero { opacity: 1; transform: none; }
.s-hero .gm-dress { outline: 0; }
.gm-spark { position: absolute; width: 10px; height: 10px; background: #FFD34D; opacity: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.gm-spark.s1 { right: 140px; bottom: 150px; } .gm-spark.s2 { right: 24px; bottom: 170px; } .gm-spark.s3 { right: 120px; bottom: 70px; }
.s-party .gm-spark { animation: spark 1.2s ease-in-out infinite; } .s-party .gm-spark.s2 { animation-delay: .3s; } .s-party .gm-spark.s3 { animation-delay: .6s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(45deg); } }

/* --- dressing room (stylised) --- */
.sc-dress { background: #2A2A2A; display: grid; grid-template-columns: 50px 1fr 180px; color: #E6E6E6; }
.dr-side { background: #1B1B1B; display: flex; flex-direction: column; gap: 8px; padding: 34px 8px 8px; }
.dr-side i { height: 32px; border-radius: 4px; background: #3A3A3A; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #CFCFCF; }
.dr-side i.on { background: #3C8527; color: #fff; }
.dr-side svg { width: 18px; height: 18px; fill: #E6E6E6; }
.dr-skins { outline: 2px solid #E53935; outline-offset: 1px; }
.s-list .dr-side i.on { background: #3A3A3A; } .s-list .dr-skins { background: #3C8527 !important; outline: 0; }
.dr-list { position: relative; padding: 30px 12px 10px; font: 700 8.5px var(--numf); overflow: hidden; }
.dr-list small { display: block; color: #BDBDBD; margin-bottom: 5px; }
.dr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .dr-grid i { height: 44px; background: #3A3A3A; border: 2px solid #4A4A4A; }
.dr-pane { position: absolute; inset: 30px 12px 10px; background: #2A2A2A; opacity: 0; transform: translateX(14px); transition: opacity .35s, transform .35s; }
.s-list .dr-pane { opacity: 1; transform: none; } .s-list .dr-char { opacity: 0; }
.dr-row { display: flex; gap: 6px; margin-bottom: 10px; }
.dr-row i { width: 44px; height: 52px; background: #3A3A3A; border: 2px solid #555; display: grid; place-items: center; overflow: hidden; }
.dr-row img { height: 48px; }
.dr-mine { outline: 2px solid #E53935; outline-offset: 1px; }
.s-sel .dr-mine { outline: 0; border-color: #7CF2A8 !important; box-shadow: 0 0 0 2px #3C8527; }
.dr-prev { position: relative; background: radial-gradient(circle at 50% 58%, #4E6B4E, #232E23); overflow: hidden; }
.dr-prev img { position: absolute; left: 50%; bottom: 46px; height: 160px; transform: translateX(-50%); transition: opacity .4s, transform .45s cubic-bezier(.2,.9,.3,1.2); filter: drop-shadow(0 8px 6px rgba(0,0,0,.4)); }
.dr-new { opacity: 0; transform: translateX(-50%) scale(.85) !important; }
.s-sel .dr-new { opacity: 1; transform: translateX(-50%) !important; } .s-sel .dr-default { opacity: 0; }
.dr-equip { position: absolute; left: 14px; right: 14px; bottom: 12px; text-align: center; padding: 7px 0; font: 700 9.5px var(--numf); background: #D3D3D3; color: #303030; box-shadow: inset 0 -3px 0 #8C8C8C, 0 0 0 2px #1E1E1E; }
.s-sel:not(.s-eq) .dr-equip { outline: 2px solid #E53935; outline-offset: 3px; }
.dr-equip .e2, .s-eq .dr-equip .e1 { display: none; } .s-eq .dr-equip .e2 { display: inline; } .s-eq .dr-equip { background: #3C8527; color: #fff; box-shadow: inset 0 -3px 0 #275A18, 0 0 0 2px #1E1E1E; }

/* --- toast --- */
.sim-toast { position: absolute; left: 50%; top: 12px; z-index: 8; min-width: 58%; max-width: 88%; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(18,18,18,.9); color: #fff; font: 700 9.5px var(--numf); border: 2px solid #555; transform: translate(-50%, -160%); transition: transform .42s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.has-toast .sim-toast { transform: translate(-50%, 0); }
.t-ic { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #7CF2A8; border-right-color: transparent; animation: tspin .8s linear infinite; }
.t-ok .t-ic, .t-saved .t-ic { border: 0; background: #3C8527; animation: none; position: relative; }
.t-ok .t-ic::after, .t-saved .t-ic::after { content: '\2713'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 9px; }
@keyframes tspin { to { transform: rotate(360deg); } }
.t-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #7CF2A8; }
.t-start .t-bar { animation: tbar 2.2s ease-in-out forwards; } .t-ok .t-bar, .t-saved .t-bar { width: 100%; }
@keyframes tbar { to { width: 92%; } }

/* --- touch dot + rings --- */
.sim-dot, .sim-ring { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; opacity: 0; pointer-events: none; z-index: 8; }
.sim-dot { background: rgba(255,255,255,.78); box-shadow: 0 0 0 3px rgba(14,42,28,.6), 0 10px 22px rgba(0,0,0,.3); }
.sim-dot.go { animation: simtap 1.7s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes simtap { 0% { opacity: 0; transform: translate(80px, 110px); } 15% { opacity: 1; } 45% { transform: translate(0, 0) scale(1); } 52% { transform: scale(.68); } 60% { transform: scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }
.sim-ring { border: 3px solid #2BC06A; }
.sim-ring.burst { animation: tapburst .8s ease-out forwards; }
.sim-ring.look { border-radius: 12px; border-color: #FFC93C; animation: simlook 1.1s ease-out 2 forwards; }
@keyframes simlook { 0% { opacity: 1; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.18); } }
@media (max-width: 900px) { .gc-shot.has-sim { min-height: 520px; } }
@media (max-width: 600px) { .gc-shot.has-sim { min-height: 480px; } .sim-stage { padding: 30px 8px 74px; } }
@media (prefers-reduced-motion: reduce) { .sim-dot, .sim-ring { display: none; } .ap-card img { animation: none; } }
.sim-stage.touched .vp-big { opacity: 0; transform: scale(.5); pointer-events: none; animation: none; }
@media (max-width: 900px) { .hotbar { flex-wrap: wrap !important; justify-content: center; width: auto; overflow: visible; border-radius: 24px; } .hotbar button { padding: 5px 12px 5px 5px; } }
@media (max-width: 600px) {
  .hotbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotbar button { justify-content: flex-start; white-space: normal; text-align: left; }
  .hotbar .slot-lbl { min-width: 0; white-space: normal; }
  .hotbar button:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
}

/* ===== upgrade 70: How it works = one centred phone video (no step list) ===== */
.guide .gc { grid-template-columns: 1fr !important; max-width: 920px; margin: 0 auto; border-radius: 30px; }
.guide .gc-info { display: none !important; }
.gc-shot.has-sim { min-height: 660px; border-radius: 30px; }
.sim-stage { padding: 40px 70px 96px; }
.sim-stage .vp-bar { left: 50%; right: auto; width: min(560px, calc(100% - 32px)); transform: translateX(-50%); bottom: 18px; padding: 8px 18px 8px 8px; }
.sim-stage .vp-title { display: flex; flex-direction: column; line-height: 1.25; white-space: normal; }
.sim-stage .vp-title b { font: 800 14px var(--body); }
.sim-stage .vp-title small { font: 500 12px var(--body); opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-stage .vp-segs { left: 50%; right: auto; width: min(560px, calc(100% - 40px)); transform: translateX(-50%); top: 18px; }
.sim-stage .fr-arrow { width: 46px; height: 46px; }
.sim-stage .fr-arrow.prev { left: 18px; } .sim-stage .fr-arrow.next { right: 18px; }
.how .req { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .gc-shot.has-sim { min-height: 560px; } .sim-stage { padding: 36px 54px 96px; } }
@media (max-width: 600px) { .gc-shot.has-sim { min-height: 520px; } .sim-stage { padding: 34px 10px 92px; } .sim-stage .fr-arrow { width: 38px; height: 38px; } .sim-stage .fr-arrow.prev { left: 6px; } .sim-stage .fr-arrow.next { right: 6px; } }

/* ===== upgrade 71: phone video polish - real rotate-to-landscape, gentle float, floor shadow ===== */
.sim-dev { animation: devfloat 6s ease-in-out infinite; }
@keyframes devfloat { 50% { translate: 0 -8px; } }
.sim-dev.turn-l, .sim-dev.turn-p { transition: none !important; }
.sim-dev.turn-l { animation: turnL .72s cubic-bezier(.3,.7,.2,1), devfloat 6s ease-in-out infinite; }
.sim-dev.turn-p { animation: turnP .72s cubic-bezier(.3,.7,.2,1), devfloat 6s ease-in-out infinite; }
@keyframes turnL { from { transform: scale(var(--k, 1)) rotate(90deg); } to { transform: scale(var(--k, 1)) rotate(0deg); } }
@keyframes turnP { from { transform: scale(var(--k, 1)) rotate(-90deg); } to { transform: scale(var(--k, 1)) rotate(0deg); } }
.sim-stage::after { content: ''; position: absolute; left: 50%; bottom: 84px; width: 46%; max-width: 420px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(14,42,28,.22), transparent); pointer-events: none; animation: floorsh 6s ease-in-out infinite; }
@keyframes floorsh { 50% { transform: translateX(-50%) scaleX(.9); opacity: .75; } }
.sim-screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 32%); pointer-events: none; z-index: 9; }
@media (prefers-reduced-motion: reduce) { .sim-dev, .sim-stage::after { animation: none !important; } }
.sim-dev.turn-l .sc, .sim-dev.turn-p .sc { transition: none !important; }
.sim-stage::after { display: none; }
.sim-dev::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -36px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,42,28,.25), transparent); pointer-events: none; }
.gm-title { top: 46px; font-size: 28px; } .gm-menu { top: 98px; }

/* ===== upgrade 72: How it works = normal step cards with the real screenshots ===== */
#guide.as-grid .gc { display: none !important; }
.sg { max-width: 1180px; margin: 0 auto; }
.sg-phase { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; }
.sg-phase:first-child { margin-top: 6px; }
.sg-pn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1F9D55; color: #fff; font: 800 15px var(--body); box-shadow: 0 6px 14px rgba(31,157,85,.3); }
.sg-phase h3 { margin: 0; font: 800 20px var(--body); color: #0E2A1C; }
.sg-phase small { color: #6A8577; font: 700 13px var(--body); padding: 3px 10px; border-radius: 999px; background: #E7F5EC; }
.sg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sg-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid #DDEBE2; border-radius: 20px; background: #fff; overflow: hidden; cursor: zoom-in; font: inherit; color: inherit;
  box-shadow: 0 10px 26px rgba(14,42,28,.07); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s, opacity .6s, translate .6s cubic-bezier(.2,.8,.2,1); }
.sg-card:not(.in) { opacity: 0; translate: 0 24px; }
.sg-card.in { transition-delay: 0s, 0s, 0s, var(--d), var(--d); }
.sg-card:hover { transform: translateY(-6px); border-color: #A9D9BB; box-shadow: 0 22px 40px -14px rgba(14,42,28,.28); }
.sg-shot { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #0E2A1C; }
.sg-shot::before { content: ''; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(18px) brightness(.85) saturate(1.1); transform: scale(1.1); }
.sg-shot img { position: relative; max-width: 92%; max-height: 90%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 14px 30px rgba(0,0,0,.35); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sg-card:hover .sg-shot img { transform: scale(1.05); }
.sg-zoom { position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: #0E2A1C; font: 700 11.5px var(--body); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.sg-card:hover .sg-zoom { opacity: 1; transform: none; }
.sg-body { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 18px; }
.sg-n { flex: none; font: 800 26px/1 var(--body); color: transparent; -webkit-text-stroke: 1.6px #1F9D55; }
.sg-tx strong { display: block; font: 800 15.5px/1.25 var(--body); color: #0E2A1C; margin-bottom: 4px; }
.sg-tx small { display: block; font: 500 13px/1.45 var(--body); color: #5B7467; }
@media (max-width: 1100px) { .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sg-body { padding: 12px; gap: 8px; } .sg-n { font-size: 20px; } .sg-tx strong { font-size: 14px; } .sg-tx small { font-size: 12px; } }
@media (max-width: 420px) { .sg-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sg-card:not(.in) { opacity: 1; translate: none; } }
.sg-shot img { position: absolute; inset: 0; margin: auto; max-width: 90%; max-height: 86%; }

/* ===== upgrade 73: How it works = one connected timeline (equal cards joined by a line) ===== */
.tl { max-width: 1180px; margin: 0 auto; }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-count { color: #5B7467; font: 600 14px var(--body); } .tl-count b { color: #1F9D55; font-weight: 800; }
.tl-nav { display: flex; gap: 10px; }
.tl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #CFE3D7; background: #fff; color: #1F9D55; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px rgba(14,42,28,.08); transition: background .2s, color .2s, transform .15s, opacity .2s; }
.tl-btn:hover:not(:disabled) { background: #1F9D55; color: #fff; } .tl-btn:active { transform: scale(.9); } .tl-btn:disabled { opacity: .35; cursor: default; }
.tl-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 22px; cursor: grab; outline: 0; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.drag { cursor: grabbing; scroll-snap-type: none; } .tl-track.drag .tl-card { pointer-events: none; }
.tl-card { position: relative; flex: 0 0 286px; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: zoom-in; }
/* the connecting line: each card draws its own piece through its dot, so all 11 join into one line */
.tl-card::before { content: ''; position: absolute; top: 19px; left: -12px; right: -12px; height: 4px; background: #DCEBE2; z-index: 0; transition: background .4s; }
.tl-card:first-child::before { left: 50%; } .tl-card:last-child::before { right: 50%; }
.tl-card.passed::before { background: linear-gradient(90deg, #2BC06A, #1F9D55); }
.tl-dot { position: relative; z-index: 1; align-self: center; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1F9D55; font: 800 16px var(--body); box-shadow: 0 0 0 3px #CFE3D7; margin-bottom: 18px; transition: background .3s, color .3s, box-shadow .3s, transform .3s; }
.tl-card.passed .tl-dot { background: #1F9D55; color: #fff; box-shadow: 0 0 0 4px rgba(31,157,85,.2), 0 6px 14px rgba(31,157,85,.35); }
.tl-card:hover .tl-dot { transform: scale(1.1); }
.tl-shot { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px 18px 0 0; overflow: hidden; background: #0E2A1C; }
.tl-shot::before { content: ''; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(18px) brightness(.85); transform: scale(1.1); }
.tl-shot img { position: absolute; inset: 0; margin: auto; max-width: 90%; max-height: 86%; border-radius: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 12px 26px rgba(0,0,0,.35); transition: transform .5s cubic-bezier(.2,.8,.2,1); user-select: none; }
.tl-card:hover .tl-shot img { transform: scale(1.05); }
.tl-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 18px; background: #fff; border: 1px solid #DDEBE2; border-top: 0; border-radius: 0 0 18px 18px; box-shadow: 0 12px 26px rgba(14,42,28,.07); transition: box-shadow .3s; }
.tl-card:hover .tl-body { box-shadow: 0 18px 34px -10px rgba(14,42,28,.22); }
.tl-body small { color: #1F9D55; font: 800 11px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.tl-body strong { font: 800 16px/1.25 var(--body); color: #0E2A1C; }
.tl-body > span { font: 500 13.5px/1.5 var(--body); color: #5B7467; }
.tl-bar { height: 5px; border-radius: 999px; background: #E3EFE7; overflow: hidden; margin: 0 4px; }
.tl-bar i { display: block; height: 100%; width: 8%; border-radius: 999px; background: linear-gradient(90deg, #2BC06A, #1F9D55); transition: width .2s linear; }
/* entrance: cards slide in one after another */
.tl-card { opacity: 0; translate: 40px 0; transition: opacity .6s, translate .7s cubic-bezier(.2,.8,.2,1); }
.tl-in .tl-card { opacity: 1; translate: 0 0; }
.tl-in .tl-card:nth-child(2) { transition-delay: .08s; } .tl-in .tl-card:nth-child(3) { transition-delay: .16s; } .tl-in .tl-card:nth-child(4) { transition-delay: .24s; } .tl-in .tl-card:nth-child(5) { transition-delay: .32s; }
@media (max-width: 600px) { .tl-card { flex-basis: 78vw; } .tl-count { font-size: 12.5px; } .tl-btn { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .tl-card { opacity: 1; translate: none; } }
.tl-track { position: relative; scroll-padding-left: 4px; }

/* ===== upgrade 74: steps = plain grid, 5 + 5 + 1 centred (no slider); line joins the cards in each row ===== */
.tl-head, .tl-bar { display: none !important; }
.tl-track { flex-wrap: wrap; justify-content: center; overflow: visible; cursor: default; gap: 34px 20px; padding: 6px 0 0; scroll-snap-type: none; }
.tl-card { flex: 0 0 calc((100% - 80px) / 5); }
.tl-card:nth-child(5n)::before { right: 50%; }
.tl-card:nth-child(5n + 1)::before { left: 50%; }
.tl-card:last-child::before { display: none; }
.tl-card::before { left: -10px; right: -10px; }
/* the line and dots fill green one by one when the section comes into view */
.tl-card::before, .tl-dot { transition-delay: calc(var(--i, 0) * 110ms) !important; }
.tl-in .tl-card::before { background: linear-gradient(90deg, #2BC06A, #1F9D55); }
.tl-in .tl-dot { background: #1F9D55; color: #fff; box-shadow: 0 0 0 4px rgba(31,157,85,.2), 0 6px 14px rgba(31,157,85,.35); }
.tl-in .tl-card { transition-delay: calc(var(--i, 0) * 70ms) !important; }
.tl-body strong { font-size: 15px; } .tl-body > span { font-size: 13px; }
@media (max-width: 1100px) {
  .tl-card { flex-basis: calc((100% - 40px) / 3); }
  .tl-card::before { display: none; }
}
@media (max-width: 600px) { .tl-card { flex-basis: 100%; } .tl-track { gap: 26px; } }

/* overflow guard (kept from upgrade 75) */
html, body { overflow-x: clip; }

/* ===== upgrade 76: How it works - 5 cards per row, grid uses the full width ===== */
.how .wrap { width: min(1400px, calc(100% - 48px)); }
.sg { max-width: none; width: 100%; }
.sg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1200px) { .sg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sg-grid { grid-template-columns: 1fr; } }
@media (min-width: 1201px) { .sg-grid .sg-card:nth-child(5n+1):last-child { grid-column: 3; } }

/* ===== upgrade 77: more space between step cards + animated connector line from each card's centre to the next card ===== */
.how .wrap { width: min(1480px, calc(100% - 48px)); }
.sg-grid { column-gap: 40px; row-gap: 30px; }
.sg-card { overflow: visible; position: relative; }
.sg-shot { border-radius: 20px 20px 0 0; }
.sg-card::after { content: ''; position: absolute; top: 50%; left: 100%; width: 40px; height: 4px; margin-top: -2px; border-radius: 999px; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(90deg, #1F9D55 0 9px, transparent 9px 15px) 0 0 / 30px 100%; opacity: 0; transition: opacity .4s; animation: sgflow .9s linear infinite; }
.sg-card.in::after { opacity: 1; transition-delay: calc(var(--d, 0ms) + .5s); }
@keyframes sgflow { to { background-position: 30px 0; } }
.sg-card:nth-child(5n)::after, .sg-card:last-child::after { display: none; }
@media (max-width: 1200px) { .sg-card::after { display: none; } .sg-grid { column-gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .sg-card::after { animation: none; } }

/* ===== upgrade 78: step cards - sharp screenshots on a clean background (no blur), taller image area, solid connected line ===== */
.sg-shot { aspect-ratio: 1 / 1; background: radial-gradient(85% 70% at 50% 40%, #FFFFFF, #E4F1E9) !important; }
.sg-shot::before { display: none !important; }
.sg-shot img { max-width: 88%; max-height: 90%; border-radius: 12px; box-shadow: 0 0 0 1px rgba(14,42,28,.12), 0 14px 28px -8px rgba(14,42,28,.35); image-rendering: auto; }
.sg-card:hover .sg-shot img { transform: scale(1.03); }
/* connector: one solid line from card to card, with a light pulse running along it */
.sg-card::after { height: 4px; margin-top: -2px; left: 100%; width: 40px; border-radius: 0;
  background: linear-gradient(90deg, transparent 0 30%, rgba(255,255,255,.95) 50%, transparent 70%) -40px 0 / 40px 100% no-repeat, #1F9D55;
  box-shadow: 0 0 8px rgba(31,157,85,.45); animation: sgpulse 1.6s linear infinite; }
@keyframes sgpulse { to { background-position: 40px 0, 0 0; } }
.sg-card::before { content: ''; position: absolute; top: 50%; right: -46px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #1F9D55; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #A9D9BB; z-index: 3; opacity: 0; transition: opacity .4s; }
.sg-card.in::before { opacity: 1; transition-delay: calc(var(--d, 0ms) + .5s); }
.sg-card:nth-child(5n)::before, .sg-card:last-child::before { display: none; }
@media (max-width: 1200px) { .sg-card::before { display: none; } }

/* ===== upgrade 79: connector line clearly visible - solid green line + arrow head inside the gap, glowing bead runs along it ===== */
.sg-card::after { left: 100%; width: 32px; margin-left: 2px; height: 4px; margin-top: -2px; border-radius: 999px; z-index: 4;
  background: radial-gradient(circle at center, #E6FFEF 0 2px, rgba(124,242,168,.9) 3px, transparent 6px) -12px 50% / 12px 12px no-repeat, #1F9D55;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 2px 6px rgba(31,157,85,.35); animation: sgbead 1.4s linear infinite; }
@keyframes sgbead { to { background-position: 34px 50%, 0 0; } }
.sg-card::before { right: -40px; width: 10px; height: 14px; margin-top: -7px; border-radius: 0; background: #1F9D55; box-shadow: none; z-index: 4;
  clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ===== upgrade 80: row-to-row link (05 -> 06) ===== */
.sg-grid { position: relative; }
.sg-links { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 3; }
.sg-link { fill: none; stroke: #1F9D55; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(31,157,85,.35)); }
.sg-link-run { fill: none; stroke: #E6FFEF; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 40; animation: sglinkrun 1.6s linear infinite; }
.sg-link-head { fill: #1F9D55; }
@keyframes sglinkrun { to { stroke-dashoffset: -46; } }
@media (prefers-reduced-motion: reduce) { .sg-link-run { animation: none; } }
@media (min-width: 1201px) { .sg-grid { row-gap: 64px; } }
/* arrow heads removed: plain lines that touch both cards */
.sg-card::before { display: none !important; }
.sg-link-head { display: none; }
.sg-card::after { width: 40px; margin-left: 0; border-radius: 0; }

/* lines stay still (no running animation) */
.sg-card::after { animation: none !important; background: #1F9D55 !important; }
.sg-link-run { display: none; }
/* ===== upgrade 81: all connector lines removed ===== */
.sg-card::after, .sg-card::before, .sg-links { display: none !important; }
@media (min-width: 1201px) { .sg-grid { row-gap: 30px; } }
/* ===== upgrade 82: blurred copy of each screenshot behind it again (sharp screenshot on top) ===== */
.sg-grid .sg-shot::before { display: block !important; content: ''; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(16px) brightness(.9) saturate(1.15); transform: scale(1.1); }
.sg-grid .sg-shot { background: #0E2A1C !important; }
.sg-grid .sg-shot img { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 14px 30px rgba(0,0,0,.35); }

/* hero 3D canvases are now drawn at their real size: keep them sharp while they sit still */
.pm-fig canvas.pm-3d { image-rendering: auto; }

/* ===== upgrade 83: hero line-up fills the width on tablets / phones (bigger skins, no big empty sides or top) ===== */
@media (max-width: 1100px) {
  .hero-art { height: 470px !important; min-height: 0 !important; }
  .pm-lineup { width: min(680px, 96vw) !important; left: 50% !important; margin-left: calc(min(680px, 96vw) / -2) !important; }
  .pm-fig.c { height: 340px !important; } .pm-fig.l1, .pm-fig.r1 { height: 240px !important; } .pm-fig.l2, .pm-fig.r2 { height: 180px !important; }
  .pm-edge, .arc-cap { width: min(460px, 72vw) !important; left: 50% !important; margin-left: calc(min(460px, 72vw) / -2) !important; }
}
@media (max-width: 600px) {
  .hero-art { height: 380px !important; }
  .pm-fig.c { height: 260px !important; } .pm-fig.l1, .pm-fig.r1 { height: 185px !important; } .pm-fig.l2, .pm-fig.r2 { height: 140px !important; }
}

/* ===== upgrade 84: tablets / phones - hero content centred, line-up right under it ===== */
@media (max-width: 1100px) {
  .hero-in { display: flex !important; flex-direction: column; align-items: center; }
  .hero-copy { text-align: center; margin: 0 auto !important; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
  .hero-copy h1 { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-copy .chips { justify-content: center; }
  .hero-copy .pill-new { align-self: center; }
  .hero-art { width: 100%; margin-top: 0 !important; }
}
@media (max-width: 600px) { .hero-copy .cta-row { flex-direction: column; align-items: center; } }
@media (max-width: 1100px) { .ed { grid-template-columns: minmax(0, 1fr) !important; } .ed-left, .ed-right { min-width: 0; } #ed-canvas { max-width: 100%; height: auto; } }
@media (max-width: 600px) { .ed-left { padding: 16px; } .ed-palette { grid-template-columns: repeat(6, 1fr); } }

/* ===== upgrade 85: when sections stack into one column, centre their content ===== */
@media (max-width: 1100px) {
  .spin-copy, .coins-copy, .show-copy { text-align: center; display: flex; flex-direction: column; align-items: center; margin-left: auto; margin-right: auto; max-width: 680px; }
  .spin-copy .sub, .coins-copy .sub, .show-copy p { margin-left: auto; margin-right: auto; }
  .spin-facts { width: 100%; max-width: 600px; }
  .spin-facts li { text-align: left; }
  .spin-picks { justify-content: center; }
  .spin-stage { margin: 0 auto; }
  .coins-in { grid-template-columns: minmax(0, 1fr) !important; }
  .coins-art { width: 100%; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 1100px) { .coins-copy { order: -1; } .hero { min-height: 0 !important; display: block !important; padding: 48px 0 40px !important; } }
/* ===== upgrade 86: readable minimum text size (12px) for small labels ===== */
.card .body small, .body small { font-size: 12px !important; }
.req dt { font-size: 12px !important; }
.stat-lbl { font-size: max(12px, 0.8rem) !important; }
.wx-list .flag, .flags .flag { font-size: 11.5px; }

/* ===== upgrade 87: hero skins - 3D at every width, no focus box, more room under the skins on tablets / phones ===== */
.pm-fig:focus, .pm-fig:focus-visible { outline: none !important; box-shadow: none !important; }
.pm-fig.is3d img { display: none !important; }
@media (max-width: 1100px) {
  .hero { padding-bottom: 76px !important; }
  .hero .arc-cap { bottom: -6px !important; }
}
@media (max-width: 600px) { .hero { padding-bottom: 64px !important; } .hero-art { height: 400px !important; } }

/* ===== upgrade 88: tall desktop screens - hero content fills the height (bigger 3D skins, sits a touch above centre) ===== */
@media (min-width: 1301px) and (min-height: 820px) {
  .hero { padding: 20px 0 60px !important; }
  .hero-art { height: 680px !important; }
  .pm-lineup { width: 860px !important; left: calc(50% + 45px - 430px) !important; height: 560px !important; }
  .pm-fig.c { height: 440px !important; }
  .pm-fig.l1, .pm-fig.r1 { height: 300px !important; }
  .pm-fig.l2, .pm-fig.r2 { height: 230px !important; }
  .pm-edge, .arc-cap { width: 470px !important; left: calc(50% + 45px - 235px) !important; }
}
.hero-copy { position: relative; z-index: 4; }

/* ===== upgrade 89: stage lighting - background and 3D skins read as one lit scene ===== */
.hero.hero::before { background:
  radial-gradient(ellipse 75% 80% at 62% 52%, transparent 35%, rgba(2,12,8,.55) 100%),
  linear-gradient(90deg, rgba(4,22,14,.82) 0%, rgba(4,22,14,.62) 42%, rgba(4,22,14,.5) 100%),
  linear-gradient(180deg, rgba(3,16,10,.35), transparent 30%, transparent 70%, rgba(3,16,10,.6)) !important; }
.pm-stage { overflow: visible; }
.pm-stage::before { content: ''; position: absolute; left: calc(50% + 45px); bottom: 10px; width: 1000px; height: 820px; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 30% 9% at 50% 91%, rgba(150,255,190,.6), rgba(60,200,120,.25) 45%, transparent 75%),
    radial-gradient(ellipse 40% 46% at 50% 62%, rgba(70,210,130,.32), transparent 72%),
    conic-gradient(from 154deg at 50% -4%, transparent 0deg, rgba(200,255,220,.11) 7deg, transparent 13deg, rgba(200,255,220,.07) 20deg, transparent 26deg, rgba(200,255,220,.11) 33deg, transparent 39deg, rgba(200,255,220,.07) 46deg, transparent 52deg);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 55%, #000 55%, transparent 100%);
  mix-blend-mode: screen; animation: stagelight 5s ease-in-out infinite; }
@keyframes stagelight { 50% { opacity: .78; } }
.pm-lineup, .pm-edge, .arc-cap { z-index: 1; }
/* soft green rim light on every skin so they sit in the light */
.pm-fig { filter: drop-shadow(0 0 10px rgba(124,242,168,.22)); }
.pm-fig.c { filter: drop-shadow(0 0 4px rgba(255,255,255,.35)) drop-shadow(0 0 16px rgba(124,242,168,.32)); }
@media (max-width: 1100px) { .pm-stage::before { left: 50%; width: 760px; height: 620px; } }
@media (prefers-reduced-motion: reduce) { .pm-stage::before { animation: none; } }

/* ===== upgrade 90: desktop hero uses the full width evenly - text on the left, skins on the right, equal outer margins ===== */
@media (min-width: 1101px) {
  .hero > .wrap.hero-in { width: min(1560px, calc(100% - 140px)) !important; max-width: none !important; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important; column-gap: 48px; }
  .hero-copy { max-width: 620px; }
}
@media (min-width: 1101px) {
  .hero > .wrap.hero-in, .top > .wrap.bar { width: min(1400px, calc(100% - 120px)) !important; max-width: none !important; }
}

/* ===== upgrade 91: character-select stage - glowing pads under every skin, spinning ring under the centre, arc depth (no phone) ===== */
.pm-edge { display: none !important; }
.pm-fig { transition: left .9s cubic-bezier(.45,.05,.25,1), height .9s cubic-bezier(.45,.05,.25,1), margin-bottom .9s cubic-bezier(.45,.05,.25,1), opacity .35s ease, filter .3s ease, scale .3s ease !important; }
/* depth: the side skins stand further back (higher up), the centre one in front */
.pm-fig.l2, .pm-fig.r2 { margin-bottom: 54px; }
.pm-fig.l1, .pm-fig.r1 { margin-bottom: 26px; }
.pm-fig.c { margin-bottom: 0; }
/* glowing pad under every skin */
.pm-fig::after { content: '' !important; position: absolute; left: 50% !important; right: auto !important; bottom: -14px !important; width: 96%; height: 15%; max-height: 40px; transform: translateX(-50%); border-radius: 50%; filter: none !important; z-index: -1;
  background: radial-gradient(closest-side, rgba(170,255,205,.7), rgba(60,200,120,.38) 55%, rgba(20,110,60,.12) 80%, transparent 100%) !important;
  border: 2px solid rgba(124,242,168,.75); box-shadow: 0 0 16px rgba(124,242,168,.55), inset 0 0 12px rgba(124,242,168,.45); transition: width .9s, opacity .3s; }
.pm-fig.l2::after, .pm-fig.r2::after { opacity: .7; }
/* centre: bigger, brighter pad + a dashed ring that slowly turns on the floor */
.pm-fig.c::after { width: 120%; max-height: 52px; bottom: -20px !important; border-color: rgba(190,255,215,.95); box-shadow: 0 0 26px rgba(124,242,168,.8), inset 0 0 18px rgba(124,242,168,.6); }
.pm-fig.c::before { content: '' !important; position: absolute; left: 50% !important; bottom: -64px !important; width: 150% !important; aspect-ratio: 1; height: auto !important; margin-left: 0 !important; border-radius: 50% !important; background: none !important;
  border: 3px dashed rgba(124,242,168,.7); opacity: .9 !important; z-index: -2; pointer-events: none;
  transform: translateX(-50%) scaleY(.2) rotate(0deg); transform-origin: 50% 50%; animation: padspin 14s linear infinite; }
@keyframes padspin { to { transform: translateX(-50%) scaleY(.2) rotate(360deg); } }
/* one soft light floor under the whole group */
.pm-lineup::before { content: ''; position: absolute; left: 50%; bottom: -46px; width: 112%; height: 120px; transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(60,200,120,.32), rgba(20,110,60,.12) 60%, transparent 100%); }
.hero .arc-cap { bottom: 6px !important; }
@media (prefers-reduced-motion: reduce) { .pm-fig.c::before { animation: none; } }
.hero .arc-cap { bottom: 44px !important; }
@media (max-width: 1100px) { .hero .arc-cap { bottom: 10px !important; } }

/* ===== upgrade 92: pads fixed - smaller, sit at the feet, no overlap; centre gets a ripple ring on the floor (no floating ring) ===== */
.pm-fig::after { width: 66% !important; height: 13% !important; max-height: 30px !important; bottom: -8px !important; border-width: 2px !important; }
.pm-fig.c::after { width: 82% !important; height: 13% !important; max-height: 40px !important; bottom: -12px !important; }
.pm-fig.c::before { content: '' !important; position: absolute; left: 50% !important; bottom: -12px !important; width: 82% !important; height: 13% !important; max-height: 40px; aspect-ratio: auto !important; margin: 0 !important;
  border: 2px solid rgba(170,255,205,.9) !important; border-radius: 50% !important; background: none !important; z-index: -1; pointer-events: none;
  transform: translateX(-50%) scale(1); transform-origin: 50% 50%; animation: padripple 2.6s cubic-bezier(.2,.7,.3,1) infinite !important; opacity: 0; }
@keyframes padripple { 0% { transform: translateX(-50%) scale(.85); opacity: .9; } 100% { transform: translateX(-50%) scale(1.6); opacity: 0; } }
.pm-lineup::before { bottom: -30px; height: 90px; }
@media (prefers-reduced-motion: reduce) { .pm-fig.c::before { animation: none !important; opacity: 0; } }

/* ===== upgrade 93: cooler stage - light pillars, turning light rays behind the centre, XP orbs, Minecraft name tag ===== */
/* light pillar rising from every side pad */
.pm-fig:not(.c)::before { content: '' !important; position: absolute; left: 50% !important; bottom: -4px !important; width: 58% !important; height: 78% !important; margin: 0 !important; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  background: linear-gradient(0deg, rgba(124,242,168,.34), rgba(124,242,168,.10) 55%, transparent) !important; opacity: .9 !important; z-index: -1; pointer-events: none; filter: blur(2px); }
/* slowly turning light rays behind the centre skin */
.pm-stage::after { content: ''; position: absolute; left: calc(50% + 45px); bottom: 70px; width: 560px; height: 560px; margin-left: -280px; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(190,255,215,.13) 0deg 6deg, transparent 6deg 22deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 78%); mask-image: radial-gradient(closest-side, #000 20%, transparent 78%);
  animation: raysturn 40s linear infinite; mix-blend-mode: screen; }
@keyframes raysturn { to { transform: rotate(360deg); } }
/* XP orbs */
.xp-orbs { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.xp-orbs i { position: absolute; bottom: 4%; width: var(--s); height: var(--s); background: radial-gradient(circle, #FFFFFF 0 30%, #FFE680 32% 62%, transparent 66%); box-shadow: 0 0 10px 2px rgba(255,230,140,.45);
  opacity: 0; animation: xprise var(--d) ease-in var(--dl) infinite; image-rendering: pixelated; }
@keyframes xprise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translate(var(--x), -320px) scale(1); opacity: 0; } }
/* Minecraft-style name tag above the centre skin */
.pm-fig .pm-tag { display: block !important; position: absolute; left: 50%; top: -34px; transform: translateX(-50%) translateY(6px); white-space: nowrap; padding: 4px 10px 5px;
  background: rgba(0,0,0,.55); color: #fff; font: 700 13px var(--numf); letter-spacing: .02em; text-shadow: 2px 2px 0 #3F3F3F; border-radius: 0; opacity: 0 !important; transition: opacity .35s, transform .35s; pointer-events: none; z-index: 3; }
.pm-fig.c .pm-tag { opacity: 1 !important; transform: translateX(-50%) translateY(0); transition-delay: .5s; }
@media (max-width: 1100px) { .pm-stage::after { left: 50%; width: 420px; height: 420px; margin-left: -210px; bottom: 40px; } .xp-orbs i { animation-name: xprise-s; } }
@keyframes xprise-s { 0% { transform: translate(0,0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--x), -220px) scale(1); opacity: 0; } }
@media (max-width: 600px) { .pm-fig .pm-tag { font-size: 11px; top: -28px; } }
@media (prefers-reduced-motion: reduce) { .pm-stage::after, .xp-orbs i { animation: none; } .xp-orbs { display: none; } }

/* ===== upgrade 94: every skin stands on its own Minecraft grass block (no green rings) ===== */
.pm-fig::after { content: '' !important; left: 50% !important; right: auto !important; width: 62% !important; height: 14% !important; max-height: none !important; bottom: -11% !important;
  transform: translateX(-50%); border: 0 !important; border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important;
  clip-path: polygon(9% 0, 91% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.10) 0 8%, transparent 8% 16%) 0 0 / 100% 30% no-repeat,
    linear-gradient(180deg, #8BE05A 0 30%, #5DAA3A 30% 42%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 6%, transparent 6% 12%, rgba(0,0,0,.12) 12% 18%, transparent 18% 25%),
    linear-gradient(180deg, transparent 42%, #9A6534 42% 70%, #7A4E27 70%) !important;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,.45)) !important; z-index: -1; transition: width .9s; }
.pm-fig.c::after { width: 74% !important; filter: drop-shadow(0 0 14px rgba(124,242,168,.55)) drop-shadow(0 12px 10px rgba(0,0,0,.45)) !important; }
.pm-fig.l2::after, .pm-fig.r2::after { opacity: .9 !important; }
.pm-fig.c::before { display: none !important; animation: none !important; }
.pm-fig:not(.c)::before { opacity: .55 !important; }
.pm-lineup::before { display: none; }
.pm-fig::after { height: 22% !important; bottom: -17% !important; width: 66% !important; }
.pm-fig.c::after { width: 76% !important; }

/* ===== upgrade 95: no grass blocks / green under the skins - just a soft shadow at the feet ===== */
.pm-fig::after { content: '' !important; left: 50% !important; right: auto !important; width: 60% !important; height: 14px !important; max-height: none !important; bottom: -6px !important;
  transform: translateX(-50%); clip-path: none !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.25) 60%, transparent 100%) !important; filter: blur(2px) !important; opacity: 1 !important; }
.pm-fig.c::after { width: 66% !important; height: 16px !important; filter: blur(2px) !important; }
.pm-fig:not(.c)::before { display: none !important; }

/* ===== upgrade 96: skin cards - extra details (rank, category, Free/PRO, spec line, 3D button) in the card text ===== */
.card .body { gap: 6px; }
.cd-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cd-top i { font: 800 11px/1 var(--body); font-style: normal; padding: 5px 8px; border-radius: 999px; letter-spacing: .02em; }
.cd-rank { background: #0E2A1C; color: #7CF2A8; }
.cd-cat { background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 70%, #0E2A1C); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); }
.cd-price.free { background: #E3F5EA; color: #1F9D55; }
.cd-price.pro { background: #FFF3CC; color: #8A6200; }
.card .body b { margin-top: 2px; }
.card .body small.cd-meta { color: #6A8577; font-weight: 600; }
.cd-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.cd-actions .get { margin-top: 0 !important; }
.cd-3d { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 999px; border: 1px solid #CFE3D7; background: #fff; color: #0E2A1C; font: 800 12px var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cd-3d::before { content: ''; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cd-3d:hover { background: #0E2A1C; color: #7CF2A8; border-color: #0E2A1C; }
@media (max-width: 600px) { .cd-top i { font-size: 10.5px; padding: 4px 7px; } .cd-actions { flex-wrap: wrap; } }

/* ===== upgrade 98: featured-skin card + popular-data chips in the hero ===== */
.pm-fig .pm-tag { display: none !important; }
.hero .arc-cap { display: none !important; }
.pm-info { position: absolute; left: calc(50% + 45px); bottom: 6px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 12px; min-width: 300px; max-width: 92%;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.95); color: #0E2A1C; box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(124,242,168,.4); }
.pm-info img { flex: none; height: 64px; width: auto; padding: 4px 8px; border-radius: 12px; background: color-mix(in srgb, var(--c) 18%, #F2F8F4); image-rendering: pixelated; }
.pi-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pi-body b { font: 800 16px/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-body small { color: #6A8577; font: 600 12px var(--body); }
.pm-info.in { animation: piin .5s cubic-bezier(.2,.8,.2,1); }
@keyframes piin { from { opacity: 0; transform: translate(-50%, 10px); } }
.pm-chip { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px;
  background: rgba(10,30,20,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(124,242,168,.35); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.35); animation: chipfloat 5s ease-in-out infinite; }
.pm-chip .pc-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #1F9D55; font-size: 17px; }
.pm-chip b { display: block; font: 800 16px/1.1 var(--body); color: #7CF2A8; }
.pm-chip small { display: block; font: 600 11.5px var(--body); color: #CFE9DA; }
.pm-chip.l { left: 4%; top: 16%; }
.pm-chip.r { right: 2%; top: 30%; animation-delay: -2.5s; }
@keyframes chipfloat { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .pm-info { left: 50%; bottom: -6px; } .pm-chip.l { left: 2%; top: 4%; } .pm-chip.r { right: 2%; top: 4%; } }
@media (max-width: 600px) { .pm-chip { padding: 6px 10px 6px 6px; } .pm-chip .pc-ico { width: 26px; height: 26px; font-size: 13px; } .pm-chip b { font-size: 13px; } .pm-chip small { font-size: 10px; } .pm-info { min-width: 0; width: 92%; } .pm-info img { height: 52px; } .pi-body b { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .pm-chip { animation: none; } }
@media (min-width: 1101px) { .pm-chip.l { left: 6%; top: 4%; } .pm-chip.r { right: 4%; top: 12%; } }

/* ===== upgrade 99: three skin cards under the line-up (neighbour - featured - neighbour) ===== */
.pm-info { display: flex; align-items: flex-end; gap: 12px; padding: 0 !important; background: none !important; box-shadow: none !important; min-width: 0 !important; width: max-content; max-width: 104%; }
.pi-card { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px; background: rgba(255,255,255,.95); color: #0E2A1C; box-shadow: 0 16px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(124,242,168,.35); min-width: 0; }
.pi-card img { flex: none; height: 64px; width: auto; padding: 4px 8px; border-radius: 12px; background: color-mix(in srgb, var(--c) 18%, #F2F8F4); image-rendering: pixelated; }
.pi-card.main { padding: 11px 18px 11px 11px; box-shadow: 0 20px 44px rgba(0,0,0,.45), 0 0 0 2px rgba(124,242,168,.8), 0 0 24px rgba(124,242,168,.35); }
.pi-card.main img { height: 76px; }
.pi-card.side { opacity: .88; transform: scale(.92); transform-origin: 50% 100%; }
.pi-card.side .pi-body b { font-size: 14px; max-width: 150px; }
.pi-card.side .cd-top i { font-size: 10px; padding: 4px 7px; }
.pi-card .pi-body b { max-width: 210px; }
.pm-info.in .pi-card { animation: piin2 .5s cubic-bezier(.2,.8,.2,1) both; }
.pm-info.in .pi-card:nth-child(2) { animation-delay: .06s; } .pm-info.in .pi-card:nth-child(3) { animation-delay: .12s; }
@keyframes piin2 { from { opacity: 0; translate: 0 12px; } }
.pm-info.in { animation: none !important; }
@media (max-width: 760px) { .pi-card.side { display: none; } }

/* ===== upgrade 100: cards spread around the skins - neighbours top-left / top-right, featured centred below, data chips beside it ===== */
.pm-side { position: absolute; z-index: 6; top: 0; }
.pm-side.l { left: 2%; } .pm-side.r { right: 0; }
.pm-side .pi-card.side { transform: none; opacity: .95; animation: chipfloat 5s ease-in-out infinite; }
.pm-side.r .pi-card.side { animation-delay: -2.5s; }
.pm-side.in .pi-card { animation: piin2 .5s cubic-bezier(.2,.8,.2,1) both, chipfloat 5s ease-in-out .5s infinite; }
.pm-info.in .pi-card { animation: piin2 .5s cubic-bezier(.2,.8,.2,1) both; }
@media (min-width: 1101px) {
  .pm-chip { animation: none; }
  .pm-chip.l { left: auto !important; right: calc(50% - 45px + 200px); top: auto !important; bottom: 22px; }
  .pm-chip.r { right: auto !important; left: calc(50% + 45px + 200px); top: auto !important; bottom: 22px; }
}
@media (max-width: 1100px) { .pm-side { display: none; } }
.pm-chip small, .pm-chip b { white-space: nowrap; }

/* ===== upgrade 101: hero skin cards = picture + trending rank + name only; data chips removed ===== */
.pm-chip { display: none !important; }
.pi-card { gap: 12px; padding: 8px 16px 8px 8px !important; border-radius: 16px; }
.pi-card img { background: #EAF5EE !important; }
.pi-rank { align-self: flex-start; font: 800 11px/1 var(--body); font-style: normal; padding: 5px 9px; border-radius: 999px; background: #0E2A1C; color: #7CF2A8; letter-spacing: .02em; }
.pi-card .pi-body { gap: 6px; }
.pi-card .pi-body b { font-size: 15px; }
.pi-card.main .pi-body b { font-size: 17px; }
.pi-card.main .pi-rank { background: #1F9D55; color: #fff; }

/* grid skin cards: no PRO / Free label */
.card .cd-price { display: none !important; }
.card .cd-cat { display: none !important; }

/* ===== upgrade 102: cards for the two outer skins, bottom-left / bottom-right beside the centre card ===== */
.pm-side.l2, .pm-side.r2 { top: auto; bottom: 14px; }
.pm-side.l2 { left: auto; right: calc(50% - 45px + 150px); }
.pm-side.r2 { right: auto; left: calc(50% + 45px + 150px); }
.pm-side.l2 .pi-card.side, .pm-side.r2 .pi-card.side { animation-delay: -1.2s; }
.pm-side.l2 .pi-card .pi-body b, .pm-side.r2 .pi-card .pi-body b { max-width: 130px; }
.pm-side.l2 .pi-card .pi-body b, .pm-side.r2 .pi-card .pi-body b { max-width: none; }
/* outer cards: far edges, raised (staggered, not in one line); never truncate names */
.pm-side { width: max-content; }
.pm-side.l2 { right: auto !important; left: 0 !important; bottom: 92px !important; }
.pm-side.r2 { left: auto !important; right: -2% !important; bottom: 92px !important; }
.pm-side.l { left: 6% !important; } .pm-side.r { right: 4% !important; }
/* featured card on the right side; outer-right card takes the bottom-middle spot */
@media (min-width: 1101px) {
  .pm-info { left: auto !important; right: -3% !important; bottom: 92px !important; transform: none !important; }
  .pm-side.r2 { right: auto !important; left: calc(50% + 45px) !important; bottom: 10px !important; transform: translateX(-50%); }
}
@media (min-width: 1101px) { .pm-info { top: 25% !important; bottom: auto !important; right: -13% !important; } }

@media (min-width: 1101px) { .pm-info.beside { right: auto !important; top: 34% !important; bottom: auto !important; transform: none !important; } }
.pm-info.beside .pi-card.main { padding: 8px 12px 8px 8px !important; }
.pm-info.beside .pi-card.main img { height: 58px; }
.pm-info.beside .pi-card.main .pi-body b { font-size: 14px; max-width: 120px; white-space: normal; }
@media (min-width: 1101px) { .pm-side.r2 { left: calc(50% - 10px) !important; } }
@media (min-width: 1101px) { .pm-info:not(.beside) { opacity: 0 !important; visibility: hidden; } }

/* ===== upgrade 105: hero skin cards in a dark glass style (app-tile picture, bold name, grey rank line) ===== */
.hero .pi-card { flex-direction: row; align-items: center; gap: 12px; padding: 9px 18px 9px 9px !important; border-radius: 16px !important;
  background: rgba(18,22,20,.78) !important; border: 1px solid rgba(255,255,255,.14); color: #fff !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px rgba(0,0,0,.45) !important; }
.hero .pi-card img { height: 46px !important; width: 46px !important; object-fit: contain; padding: 4px !important; border-radius: 12px !important;
  background: linear-gradient(160deg, color-mix(in srgb, #7CF2A8 35%, #1E3A2B), #13261C) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.hero .pi-card .pi-body { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero .pi-card .pi-body b { font: 800 15px/1.2 var(--body) !important; color: #fff !important; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .pi-card .pi-rank { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; color: #A9B4AE !important; font: 600 13px/1.2 var(--body) !important; letter-spacing: 0; }
.hero .pi-card.main { border-color: rgba(124,242,168,.55); box-shadow: 0 16px 34px rgba(0,0,0,.5), 0 0 22px rgba(124,242,168,.25) !important; }
.hero .pi-card.main img { height: 54px !important; width: 54px !important; }
.hero .pi-card.main .pi-body b { font-size: 16px !important; }
.hero .pi-card.main .pi-rank { color: #7CF2A8 !important; }
.pm-info.beside .pi-card.main .pi-body b { max-width: 170px; white-space: nowrap; }
.hero .pi-card { border: 1.5px solid rgba(255,255,255,.55) !important; }
.hero .pi-card.main { border: 2px solid rgba(255,255,255,.9) !important; box-shadow: 0 16px 34px rgba(0,0,0,.5), 0 0 18px rgba(255,255,255,.18) !important; }
.hero .pi-card { background: linear-gradient(160deg, rgba(255,255,255,.26), rgba(255,255,255,.12)) !important; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.hero .pi-card .pi-rank { color: #DDE7E1 !important; }
.hero .pi-card .pi-body b { text-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* ===== upgrade 106: daily rewards - app-style reward card (big shining coin + streak bar) instead of the plain chest ===== */
.coins-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: 0 !important; padding: 10px 0; }
.chest { display: none !important; }
.reward { position: relative; display: flex; align-items: center; gap: 20px; width: min(460px, 100%); padding: 20px 26px 20px 20px; border-radius: 24px;
  background: linear-gradient(150deg, #FFFFFF, #FFF6D6); border: 1px solid #F2DFA3; box-shadow: 0 24px 50px -16px rgba(201,147,26,.45), 0 2px 0 #fff inset; }
.rw-coin { flex: none; position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFF3B0 0 18%, #FFD34D 40%, #E0A21E 72%, #B47A12 100%);
  box-shadow: inset 0 -6px 0 rgba(150,95,10,.45), inset 0 0 0 6px rgba(255,236,150,.55), 0 10px 24px rgba(201,147,26,.5); animation: rwspin 3.6s ease-in-out infinite; }
.rw-coin span { font: 700 40px/1 var(--pix); color: #9A6410; text-shadow: 0 2px 0 rgba(255,240,170,.8); }
.rw-coin::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,90,.55), transparent); z-index: -1; animation: rwglow 2.4s ease-in-out infinite; }
@keyframes rwspin { 0%, 100% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(180deg) translateY(-6px); } }
@keyframes rwglow { 50% { opacity: .5; transform: scale(1.12); } }
.rw-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.rw-body small { font: 800 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: #B8860B; }
.rw-body b { font: 800 30px/1.05 var(--body); color: #3D2A00; }
.rw-bar { margin-top: 8px; height: 10px; border-radius: 999px; background: #F3E4B5; overflow: hidden; }
.rw-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2BC06A, #1F9D55); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
.coins.go .rw-bar i { width: 14.3%; }
.rw-step { font: 600 12.5px var(--body); color: #8A6A2A; }
.days { margin: 0 !important; }
@media (max-width: 420px) {
  .coins-copy { min-width: 0; max-width: 100%; }
  .days { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
}
.coin-rain { pointer-events: none; }
@media (max-width: 600px) { .reward { gap: 14px; padding: 16px; } .rw-coin { width: 70px; height: 70px; } .rw-coin span { font-size: 30px; } .rw-body b { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .rw-coin, .rw-coin::after { animation: none; } }
.coins-art { position: relative; } .coin-rain { z-index: 0; } .reward, .days { position: relative; z-index: 2; }

/* ===== upgrade 108: walkthrough screens drawn in HTML/CSS (no screenshots) ===== */
.dmx { position: relative; width: 100%; height: 100%; overflow: hidden; font-family: var(--body); }
:where(#demo) .pressed { filter: brightness(.82); transform: scale(.96); transition: transform .12s, filter .12s; }
:where(#demo) .gb { position: relative; display: inline-block; width: 46px; height: 46px; border-radius: 9px; overflow: hidden; flex: none;
  background: linear-gradient(#5DBB3A 0 34%, #3F8A2A 34% 42%, #8B5A2B 42%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
:where(#demo) .gb i { position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 18%, rgba(0,0,0,.18) 18% 30%, transparent 30% 58%, rgba(0,0,0,.14) 58% 70%, transparent 70%) 0 60% / 100% 14% no-repeat,
  linear-gradient(90deg, rgba(255,255,255,.12) 0 14%, transparent 14% 44%, rgba(0,0,0,.18) 44% 56%, transparent 56% 84%, rgba(255,255,255,.1) 84%) 0 82% / 100% 14% no-repeat,
  linear-gradient(90deg, transparent 10%, #3F8A2A 10% 22%, transparent 22% 64%, #3F8A2A 64% 76%, transparent 76%) 0 38% / 100% 10% no-repeat; }
:where(#demo) .gb.sm { width: 34px; height: 34px; border-radius: 7px; }

/* --- the app (iOS) --- */
.dmx.app { background: #F4FAF5; color: #13301F; display: flex; flex-direction: column; }
.ap-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 4px; font-size: 15px; background: linear-gradient(180deg, #2BC06A, #1F9D55); color: #fff; }
.ap-status span { display: flex; gap: 3px; align-items: flex-end; }
.ap-status span i { width: 4px; background: #fff; border-radius: 1px; height: 6px; } .ap-status span i:nth-child(2) { height: 9px; } .ap-status span i:nth-child(3) { height: 12px; }
.ap-status em { width: 24px; height: 11px; border: 2px solid #fff; border-radius: 4px; margin-left: 6px; box-shadow: inset -8px 0 0 #fff; }
.ap-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 14px; background: linear-gradient(180deg, #1F9D55, #1B8E4C); color: #fff; }
.ap-bar b { font: 700 18px var(--pix); } .ap-back { display: flex; align-items: center; font-weight: 700; font-size: 14px; } .ap-back svg { width: 18px; height: 18px; }
.ap-coins { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 13px; background: rgba(0,0,0,.18); padding: 4px 10px; border-radius: 999px; }
.ap-coins i, .dr-top em i { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3B0, #FFC93D 50%, #D99A16); }
.ap-body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.ap-hero { position: relative; height: 34%; min-height: 160px; border-radius: 20px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #FFFFFF, #DDF1E1 70%); border: 1px solid #D6ECD9; }
.ap-hero img { height: 88%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.25)); animation: apfloat 3s ease-in-out infinite; }
@keyframes apfloat { 50% { transform: translateY(-6px); } }
.ap-pro { position: absolute; top: 12px; right: 12px; background: linear-gradient(180deg, #FFD34D, #E0A21E); color: #5A3B00; font: 800 11px var(--body); padding: 3px 9px; border-radius: 999px; }
.ap-meta { display: flex; justify-content: space-between; align-items: center; }
.ap-meta b { font: 800 20px var(--body); display: block; } .ap-meta small { color: #E0A21E; font-size: 13px; } .ap-meta em { color: #5A7263; font-style: normal; }
.ap-tag { background: #E3F5E8; color: #1F9D55; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.ap-views { display: flex; gap: 10px; justify-content: center; }
.ap-views span { width: 64px; height: 64px; border-radius: 14px; background: #fff; border: 2px solid #E0EDE3; display: grid; place-items: center; }
.ap-views span.on { border-color: #2BC06A; } .ap-views img { height: 52px; }
.ap-export { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; height: 52px; border-radius: 14px; color: #fff; font: 800 18px var(--body);
  background: linear-gradient(180deg, #2BC06A, #1F9D55); box-shadow: 0 4px 0 #17733F; }
.ap-export svg { width: 20px; height: 20px; }
.ap-fav { display: flex; align-items: center; justify-content: center; gap: 6px; color: #5A7263; font-weight: 700; font-size: 14px; } .ap-fav svg { width: 17px; height: 17px; }
.ap-desc { margin: 0; color: #6B8274; font-size: 13.5px; line-height: 1.5; }
.ap-dim { position: absolute; inset: 0; background: rgba(10,20,14,.45); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ap-pop { position: absolute; left: 22px; right: 22px; top: 40%; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.3); opacity: 0; transform: scale(.85); }
.ap-pop-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .ap-pop-h b { font: 700 17px var(--pix); } .ap-pop-h span { font-size: 22px; color: #8AA394; }
.ap-opt { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 2px solid #E6F0E8; margin-top: 8px; }
.ap-opt:first-of-type { border-color: #2BC06A; background: #F1FBF4; }
.ap-opt b { display: block; font-size: 15px; } .ap-opt small { color: #6B8274; font-size: 12px; }
.ap-gal { width: 34px; height: 34px; border-radius: 8px; background: conic-gradient(#FF6B6B, #FFD34D, #2BC06A, #4DA3FF, #B36BFF, #FF6B6B); flex: none; }
.dmx.app.s2 .ap-dim, .dmx.app.s3 .ap-dim { opacity: 1; }
.dmx.app.s2 .ap-pop { opacity: 1; transform: none; }
@keyframes appop { from { opacity: 0; transform: scale(.8); } }
.ios-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #F2F2F7; border-radius: 22px 22px 0 0; padding: 8px 14px 30px; transform: translateY(105%); box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.dmx.app.s3 .ios-sheet { transform: none; }
@keyframes apsheet { from { transform: translateY(105%); } }
.ios-grab { display: block; width: 38px; height: 5px; border-radius: 3px; background: #C7C7CC; margin: 0 auto 12px; }
.ios-file { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid #E0E0E5; }
.ios-file b { display: block; font-size: 15px; } .ios-file small { color: #8E8E93; font-size: 12.5px; } .ios-file span { flex: 1; }
.ios-file em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: #E5E5EA; display: grid; place-items: center; color: #8E8E93; font-size: 18px; }
.ios-apps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 0 14px; border-bottom: 1px solid #E0E0E5; }
.ios-apps span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #3A3A3C; border-radius: 14px; padding: 2px 0; }
:where(#demo) .ia { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
:where(#demo) .ia.air { background: radial-gradient(circle, #fff 0 14%, #1E90FF 15% 26%, #fff 27% 36%, #1E90FF 37% 48%, #fff 49% 56%, #1E90FF 57%); }
:where(#demo) .ia.msg { background: linear-gradient(#5BF675, #0CBE2A); } :where(#demo) .ia.msg::after { content: ""; width: 34px; height: 26px; border-radius: 50%; background: #fff; }
:where(#demo) .ia.mail { background: linear-gradient(#1AC7FF, #0F6FE6); } :where(#demo) .ia.mail::after { content: ""; width: 34px; height: 24px; border-radius: 3px; background: linear-gradient(155deg, transparent 47%, #0F6FE6 48% 52%, transparent 53%), linear-gradient(205deg, transparent 47%, #0F6FE6 48% 52%, transparent 53%), #fff; }
:where(#demo) .ia.mc .gb { width: 58px; height: 58px; border-radius: 0; }
.ios-acts { display: flex; flex-direction: column; margin-top: 12px; background: #fff; border-radius: 12px; }
.ios-acts span { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: 14px; border-bottom: 1px solid #EFEFF4; }
.ios-acts span:last-child { border: 0; } .ios-acts i { width: 18px; height: 18px; border: 2px solid #3A3A3C; border-radius: 4px; }

/* --- the game --- */
.dmx.game { color: #fff; font-family: var(--pix); }
.gw-sky { position: absolute; inset: 0; background: linear-gradient(#7EC8FF, #B9E4FF 55%, #E6F6FF); }
.gw-sky .sun { position: absolute; right: 12%; top: 9%; width: 44px; height: 44px; background: #FFF1A8; box-shadow: 0 0 0 8px rgba(255,241,168,.35); }
:where(#demo) .cl { position: absolute; height: 18px; background: #fff; box-shadow: 16px -12px 0 -2px #fff, 34px 0 0 #fff; opacity: .95; animation: clmove 24s linear infinite alternate; }
:where(#demo) .cl.c1 { width: 60px; top: 12%; left: 8%; } :where(#demo) .cl.c2 { width: 80px; top: 24%; left: 46%; animation-duration: 32s; } :where(#demo) .cl.c3 { width: 50px; top: 8%; left: 70%; animation-duration: 28s; }
@keyframes clmove { from { transform: translateX(-30px); } to { transform: translateX(60px); } }
.gw-hills { position: absolute; left: 0; right: 0; bottom: 30%; height: 22%; background:
  linear-gradient(#5DAA3A, #3F8A2A) 0 100% / 100% 40% no-repeat,
  linear-gradient(#69B844, #4C9A32) 8% 100% / 26% 100% no-repeat, linear-gradient(#69B844, #4C9A32) 70% 100% / 34% 75% no-repeat, linear-gradient(#5FAE3D, #44912E) 40% 100% / 20% 60% no-repeat; }
.gw-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background:
  linear-gradient(#5DBB3A 0 18px, #3F8A2A 18px 24px, transparent 24px),
  repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 24px, transparent 24px 48px),
  repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 24px, transparent 24px 48px), #8B5A2B; }
.gw-tree { position: absolute; bottom: 30%; width: 26px; height: 90px; background: #6B4420; }
.gw-tree::before { content: ""; position: absolute; left: -40px; right: -40px; top: -70px; height: 90px; background: #E9A6D8; box-shadow: inset 0 -14px 0 #D48BC3, inset 20px 0 0 #F2BFE4; }
.gw-tree.t1 { left: 8%; } .gw-tree.t2 { right: 9%; height: 70px; }
:where(#demo) .mb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; height: 40px; min-width: 120px; font: 700 17px var(--pix); color: #fff; box-sizing: border-box;
  background: #8D8D8D; border: 3px solid #1E1E1E; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.35); text-shadow: 0 2px 0 rgba(0,0,0,.45); }
:where(#demo) .mb.g { background: #3C8527; } :where(#demo) .mb.p { background: #7B4CE0; } :where(#demo) .mb svg { width: 20px; height: 20px; }
:where(#demo) .mb.sq { min-width: 40px; width: 40px; padding: 0; background: #E0A21E; } :where(#demo) .mb.sm { min-width: 0; font-size: 15px; }
.gt-logo { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); font: 700 64px/1 var(--pix); letter-spacing: .04em; color: #E8E8E8; text-align: center;
  text-shadow: 0 4px 0 #4A4A4A, 0 8px 0 #2A2A2A, 0 12px 18px rgba(0,0,0,.35); white-space: nowrap; }
.gt-logo small { display: block; font-size: 15px; letter-spacing: .25em; color: #FFE34D; text-shadow: 0 2px 0 #6B4420; margin-top: 10px; }
.gt-menu { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: 260px; }
.gt-menu .mb { width: 100%; }
.gt-left { position: absolute; left: 3%; bottom: 6%; display: flex; gap: 8px; }
:where(#demo) .mb.dr { position: absolute; right: 3%; bottom: 6%; background: #3C8527; }
.gt-ver { position: absolute; right: 2%; top: 3%; font-size: 13px; color: rgba(255,255,255,.85); }
.gw-me { position: absolute; right: 22%; bottom: 20%; height: 40%; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
:where(#demo) .toast { position: absolute; left: 50%; top: 4%; transform: translate(-50%, -160%); display: flex; align-items: center; gap: 12px; padding: 10px 18px; min-width: 360px; box-sizing: border-box;
  background: rgba(24,28,26,.92); border: 3px solid #1E1E1E; box-shadow: inset 0 2px 0 rgba(255,255,255,.12); font-size: 16px; z-index: 3; white-space: nowrap; }
:where(#demo) .toast.imp { flex-direction: column; align-items: stretch; gap: 8px; }
:where(#demo) .toast.imp i { height: 10px; background: #3A443E; } :where(#demo) .toast.imp em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2BC06A, #7FE08A); }
.dm-tk { width: 26px; height: 26px; display: grid; place-items: center; background: #3C8527; flex: none; } .dm-tk svg { width: 18px; height: 18px; color: #fff; }
.dmx.s4 .toast.imp, .dmx.s5 .toast.ok:not(.sv), .dmx.s10 .toast.sv { transform: translate(-50%, 0); transition: transform .5s cubic-bezier(.2,.8,.2,1) .35s; }
.dmx.s4 .gt-menu, .dmx.s4 .gt-left, .dmx.s4 .mb.dr { filter: grayscale(.6) brightness(.8); }
@keyframes tkpop { 0% { transform: translate(-50%, -160%); } 70% { transform: translate(-50%, 8%); } 100% { transform: translate(-50%, 0); } }
@keyframes mepop { from { opacity: 0; transform: translateY(30px) scale(.6); } }

/* dressing room + skin list */
.dmx.dress .gw-sky { filter: brightness(.5) saturate(.8); } .dmx.dress .gw-ground, .dmx.dress .gw-hills, .dmx.dress .gw-tree { filter: brightness(.45); }
.dr-top { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 70px; background: #48494A; border-bottom: 3px solid #1E1E1E; font-size: 17px; z-index: 2; }
.dr-top svg { width: 20px; height: 20px; } .dr-top b { flex: 1; } .dr-top em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 15px; background: #2A2B2C; padding: 4px 12px; }
.dr-side { position: absolute; left: 0; top: 44px; bottom: 0; width: 58px; background: #313233; border-right: 3px solid #1E1E1E; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; z-index: 2; }
.dr-side span { width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; color: #CFCFCF; background: #48494A; border: 2px solid #1E1E1E; box-sizing: border-box; }
.dr-side span.on { background: #3C8527; color: #fff; } .dr-side svg { width: 22px; height: 22px; }
.dr-side span.sk { color: #FFE34D; }
.dr-stage { position: absolute; left: 58px; right: 0; top: 60px; height: 52%; display: flex; justify-content: center; align-items: flex-end; gap: 4%; }
.dr-stage img { height: 70%; filter: drop-shadow(0 8px 6px rgba(0,0,0,.5)); } .dr-stage img.me { height: 96%; } .dr-stage img.o { opacity: .55; }
.dr-cur { position: absolute; left: 58px; right: 0; top: calc(60px + 54%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dr-cur small { font: 600 14px var(--body); background: rgba(0,0,0,.6); padding: 4px 12px; }
.sl-col { position: absolute; left: 70px; top: 56px; bottom: 12px; width: 52%; display: flex; flex-direction: column; gap: 10px; z-index: 1; }
.sl-row { background: rgba(30,30,30,.82); border: 3px solid #1E1E1E; padding: 8px 10px; flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.sl-row small { font: 700 13px var(--body); color: #CFCFCF; } .sl-row.new small { color: #7FE08A; }
.sl-row > div { display: flex; gap: 8px; flex: 1; min-height: 0; }
.sl-row span { position: relative; height: 100%; max-height: 92px; aspect-ratio: 3 / 4; background: #48494A; border: 2px solid #1E1E1E; display: grid; place-items: center; box-sizing: border-box; }
.sl-row span img { height: 86%; }
.sl-row span.me { border-color: #7FE08A; } .sl-row span.me.on { background: #3C8527; box-shadow: 0 0 0 3px #fff; }
.sl-row span.me i { position: absolute; top: -8px; right: -8px; font: 700 10px var(--body); font-style: normal; background: #FFE34D; color: #3D2A00; padding: 1px 5px; }
@keyframes slglow { 50% { box-shadow: 0 0 0 4px rgba(127,224,138,.6); } }
.sl-prev { position: absolute; right: 2%; top: 56px; bottom: 12px; width: 38%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; z-index: 1; }
.sl-prev img { height: 52%; min-height: 0; filter: drop-shadow(0 8px 6px rgba(0,0,0,.5)); }
.sl-info { width: 100%; box-sizing: border-box; background: rgba(30,30,30,.88); border: 3px solid #1E1E1E; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.sl-info b { font-size: 17px; } .sl-info small { font: 600 12.5px var(--body); color: #CFCFCF; }
.sl-info .eq { width: 100%; margin-top: 6px; }
.dmx.s8 .sl-info .eq { filter: grayscale(1) brightness(.7); }

/* ===== upgrade 109: How it works player - same layout as the Verity install demo (toggle, ‹ device ›, caption, numbered steps), skins green theme ===== */
.demo { --g1: #2BC06A; --g2: #1F9D55; max-width: 1180px; margin: 34px auto 56px; padding: 34px 24px 30px; border-radius: 28px; outline: none;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0, #EEF8EF 60%, #E3F3E5 100%); border: 1px solid #D6ECD9; box-shadow: 0 30px 60px -30px rgba(31,157,85,.35); }
.dm-tabs { display: flex; width: max-content; margin: 0 auto 22px; padding: 5px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid #D6ECD9; box-shadow: 0 6px 16px -10px rgba(0,0,0,.25); }
.dm-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer; padding: 8px 22px; border-radius: 999px; font: 800 14px var(--body); color: #4C6B55; transition: background .25s, color .25s; }
.dm-tabs button svg { width: 18px; height: 18px; }
.dm-tabs button.on { background: linear-gradient(180deg, var(--g1), var(--g2)); color: #fff; box-shadow: 0 6px 14px -6px rgba(31,157,85,.7); }

.dm-stage { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 56px); min-height: 500px; }
.dm-nav, .dm-play { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; border: 1px solid #D6ECD9; background: #fff; color: #1F6B3D;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); transition: transform .15s, border-color .2s, color .2s; }
.dm-nav:hover, .dm-play:hover { transform: translateY(-2px); border-color: var(--g1); color: var(--g2); }
.dm-nav svg { width: 22px; height: 22px; }
.dm-play { width: 40px; height: 40px; color: #fff; border: 0; background: linear-gradient(180deg, var(--g1), var(--g2)); box-shadow: 0 3px 0 #17733F; }
.dm-play:hover { color: #fff; } .dm-play svg { width: 16px; height: 16px; }
.dm-play .i-play, .demo.paused .dm-play .i-pause { display: none; }
.demo.paused .dm-play .i-play { display: block; }

/* the device: one frame. iPhone turns between portrait and landscape; iPad is always landscape */
.dm-dev { position: relative; display: grid; place-items: center; transition: opacity .22s, transform .22s; }
.dm-dev.swap { opacity: 0; transform: scale(.94); }
.dm-body { position: relative; box-sizing: border-box; background: #0B0F0D; box-shadow: 0 0 0 1px #2F3A33, 0 0 0 4px #C9D3CC, 0 34px 60px -22px rgba(12,40,20,.55);
  transition: width .7s cubic-bezier(.6,.05,.25,1), height .7s cubic-bezier(.6,.05,.25,1); }
.dm-dev.phone.p .dm-body { width: 236px; height: 486px; border-radius: 40px; padding: 11px; }
.dm-dev.phone.l .dm-body { width: 640px; height: 311px; border-radius: 40px; padding: 11px; }
.dm-dev.ipad .dm-body { width: min(660px, 60vw); height: auto; aspect-ratio: 4 / 3; border-radius: 32px; padding: 18px; }
.dm-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.dm-dev.ipad .dm-screen { border-radius: 14px; }
.dm-notch { position: absolute; z-index: 3; background: #000; border-radius: 999px; transition: all .7s cubic-bezier(.6,.05,.25,1); }
.dm-dev.phone.p .dm-notch { width: 70px; height: 20px; top: 19px; left: 50%; transform: translateX(-50%); }
.dm-dev.phone.l .dm-notch { width: 20px; height: 70px; left: 19px; top: 50%; transform: translateY(-50%); }
.dm-dev.ipad .dm-notch { width: 7px; height: 7px; top: 6px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle at 40% 40%, #3a4a6a, #0a0a12 70%); }
.dm-home { position: absolute; z-index: 3; left: 50%; bottom: 17px; width: 80px; height: 4px; transform: translateX(-50%); border-radius: 999px; background: rgba(255,255,255,.55); }
.dm-dev.phone.l .dm-home { bottom: 15px; width: 110px; }
.dm-dev.ipad .dm-home { bottom: 24px; width: 110px; }
/* side buttons */
.dm-keys { position: absolute; background: #9AA39D; border-radius: 3px; transition: all .7s; }
.dm-dev.phone.p .dm-keys { left: -6px; top: 110px; width: 3px; height: 46px; box-shadow: 0 60px 0 #9AA39D; }
.dm-dev.phone.l .dm-keys { left: 110px; top: auto; bottom: -6px; width: 46px; height: 3px; box-shadow: 60px 0 0 #9AA39D; }
.dm-dev.ipad .dm-keys { top: -6px; right: 70px; left: auto; width: 46px; height: 3px; box-shadow: -64px 0 0 #9AA39D; }

/* scenes */
.dm-scenes { position: absolute; inset: 0; }
.dm-scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.dm-scene.on { opacity: 1; visibility: visible; transition: opacity .45s; z-index: 1; }
.dm-screen [data-tap] { cursor: pointer; }

/* iPad: the app uses its wide two-column layout (big picture left, details right) */
.dm-dev.ipad .dmx.app .ap-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 28px; row-gap: 14px; padding: 22px 28px; }
.dm-dev.ipad .dmx.app .ap-hero { grid-column: 1; grid-row: 1 / span 5; height: auto; min-height: 0; }
.dm-dev.ipad .dmx.app .ap-hero img { height: 80%; }
.dm-dev.ipad .dmx.app .ap-meta, .dm-dev.ipad .dmx.app .ap-views, .dm-dev.ipad .dmx.app .ap-export, .dm-dev.ipad .dmx.app .ap-fav, .dm-dev.ipad .dmx.app .ap-desc { grid-column: 2; }
.dm-dev.ipad .dmx.app .ap-views { justify-content: flex-start; }
.dm-dev.ipad .dmx.app .ap-status { padding: 12px 24px 4px; }
.dm-dev.ipad .dmx.app .ap-pop { left: 50%; right: auto; width: 440px; top: 34%; margin-left: -220px; }
.dm-dev.ipad .dmx.app .ios-sheet { left: 50%; right: auto; width: 460px; margin-left: -230px; bottom: 8%; border-radius: 22px; padding-bottom: 16px; }
.dm-dev.ipad .dmx.app.s3 .ios-sheet { transform: none; }
@keyframes apsheet { from { transform: translateY(130%); } }

/* finger: slides in, presses twice, ring */
.dm-finger { position: absolute; z-index: 6; width: 0; height: 0; pointer-events: none; }
.dm-finger svg { position: absolute; width: 34px; left: -9px; top: -3px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); transform-origin: 30% 10%; }
.dm-finger .dm-ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #FFE34D; background: rgba(255,227,77,.3); opacity: 0; }
.dm-finger.off { opacity: 0; transition: opacity .2s; }
.dm-finger.tap svg { animation: dmin .9s cubic-bezier(.2,.8,.2,1) both, dmpress .5s ease-in-out .95s 2 both; }
.dm-finger.tap .dm-ring { animation: dmring .9s ease-out 1.05s 2; }
.dm-finger.still .dm-ring { opacity: 1; }
@keyframes dmin { from { opacity: 0; transform: translate(60px, 70px) rotate(12deg); } to { opacity: 1; transform: none; } }
@keyframes dmpress { 50% { transform: scale(.82) translateY(3px); } }
@keyframes dmring { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes dmload { to { width: 100%; } }

/* caption + numbered steps under the device */
.dm-cap { display: flex; gap: 16px; align-items: flex-start; max-width: 760px; margin: 30px auto 0; min-height: 96px; }
.dm-cap.in { animation: dmcap .45s ease both; }
@keyframes dmcap { from { opacity: 0; transform: translateY(8px); } }
.dm-num { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(180deg, var(--g1), var(--g2)); color: #fff; font: 700 22px var(--numf); box-shadow: 0 4px 0 #17733F; }
.dm-title { margin: 0 0 6px; font: 800 clamp(19px, 1.6vw, 24px)/1.2 var(--body); color: #13301F; }
.dm-text { margin: 0; font: 600 15.5px/1.55 var(--body); color: #5A7263; }
.dm-hint { margin: 6px 0 0; font: 700 12.5px var(--body); letter-spacing: .02em; color: var(--g2); }
.dm-ctl { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.dm-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.dm-steps button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #CFE5D4; background: #fff; color: #6B8274; font: 800 13.5px var(--body); cursor: pointer; transition: all .2s; }
.dm-steps button.done { color: var(--g2); border-color: #9FD6AF; background: #EAF7EE; }
.dm-steps button.on { background: linear-gradient(180deg, var(--g1), var(--g2)); border-color: var(--g2); color: #fff; box-shadow: 0 0 0 4px rgba(43,192,106,.2); }
.dm-steps button:hover { border-color: var(--g1); }
.dm-cta { display: none; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.dm-cta p { margin: 0; font: 800 15px var(--body); color: #13301F; }
.demo.at-end .dm-cta { display: flex; animation: dmcap .5s ease both; }

@media (max-width: 900px) {
  .dm-stage { min-height: 0; gap: 10px; }
  .dm-nav { width: 40px; height: 40px; }
  .dm-dev.phone.l .dm-body { width: min(480px, 64vw); height: auto; aspect-ratio: 640 / 311; }
  .dm-dev.ipad .dm-body { width: min(560px, 70vw); padding: 12px; border-radius: 24px; }
}
@media (max-width: 640px) {
  .demo { padding: 22px 12px 22px; }
  .dm-stage { position: relative; }
  .dm-nav { position: absolute; z-index: 7; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; }
  .dm-nav:hover { transform: translateY(-50%); }
  .dm-nav.prev { left: -4px; } .dm-nav.next { right: -4px; }
  .dm-dev.phone.p .dm-body { width: 200px; height: 412px; border-radius: 34px; padding: 9px; }
  .dm-dev.phone.l .dm-body, .dm-dev.ipad .dm-body { width: calc(100vw - 48px); }
  .dm-dev.ipad .dm-body { padding: 9px; border-radius: 18px; }
  .dm-screen { border-radius: 26px; } .dm-dev.ipad .dm-screen { border-radius: 10px; }
  .dm-dev.phone.l .dm-notch { width: 12px; height: 48px; left: 12px; }
  .dm-dev.ipad .dm-home { bottom: 14px; }
  .dm-finger svg { width: 26px; }
  .dm-cap { margin-top: 22px; gap: 12px; } .dm-num { width: 40px; height: 40px; font-size: 18px; }
  .dm-steps button { width: 30px; height: 30px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dm-body, .dm-scene, .dm-notch, .dm-keys { transition: none; } .dm-cap.in { animation: none; } }

/* ===== upgrade 110: Minecraft steps = real screenshots (blurred fill + exact picture + tap spot), app graphics fixes ===== */
.dmx.real { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; container-type: size; }
.rl-blur { position: absolute; inset: -24px; background: center / cover no-repeat; filter: blur(16px) brightness(.5); }
.rl-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: var(--ar); width: min(100cqw, calc(100cqh * var(--ar))); }
.rl-box img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; }
.rl-hot { position: absolute; border-radius: 3px; }
.dm-scene.play .rl-box { animation: rlin .5s ease both; }
@keyframes rlin { from { opacity: .4; transform: translate(-50%, -50%) scale(1.03); } }
/* app: skin picture always fits its card; the share sheet file icon keeps its square shape */
.ap-hero img { position: absolute; left: 0; right: 0; top: 6%; width: 100%; height: 88%; object-fit: contain; }
.ios-file span { flex: none; }
.ios-file > span:not(.gb) { flex: 1; min-width: 0; }
.ap-views img { height: 52px; width: auto; object-fit: contain; }

/* ===== upgrade 111: game steps drawn in HTML over an animated pixel-art world (Verity style, no screenshots) ===== */
.dmx.game { background: #6FB4F0; }
.mc-bg { position: absolute; inset: -4% -10%; z-index: 0; background: url(images/how/mc-bg.png?v=1) center 60% / cover no-repeat; image-rendering: pixelated;
  animation: mcpan 20s ease-in-out infinite alternate; }
@keyframes mcpan { from { transform: translateX(-5%); } to { transform: translateX(5%); } }
.mc-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 42% 60% at 50% 50%, rgba(0,0,0,.28), transparent 75%); }
.dmx.game > *:not(.mc-bg):not(.mc-shade) { z-index: 1; }
.dmx.dress .mc-bg { filter: brightness(.42) saturate(.8) blur(2px); }
.dmx.dress .mc-shade { background: rgba(0,0,0,.2); }
.dmx.title .gt-logo { top: 8%; font: 700 74px/1 'Silkscreen', var(--pix); letter-spacing: .02em; color: transparent; text-shadow: none;
  background: linear-gradient(180deg, #f2f2f2 0%, #cfcfcf 45%, #a8a8a8 55%, #8e8e8e 100%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(2px 2px 0 #5b5b5b) drop-shadow(2px 2px 0 #3c3c3c) drop-shadow(2px 2px 0 #1e1e1e) drop-shadow(0 0 3px rgba(0,0,0,.9)); }
.dmx.title .gt-logo small { display: block; margin-top: 10px; font: 700 15px var(--pix); letter-spacing: .28em; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #FFE14D; color: #FFE14D; filter: none; text-shadow: 2px 2px 0 #3a3000; }
.dmx.title .gt-menu { top: 41%; width: 280px; gap: 9px; }
.dmx.game .mb { background: #C6C6C6; color: #303030; text-shadow: none; border: 3px solid #1D1D1D; box-shadow: inset 0 -4px 0 #8B8B8B, inset 0 3px 0 #fff; }
.dmx.game .mb.g { background: #3C8527; color: #fff; box-shadow: inset 0 -4px 0 #2A5E1B, inset 0 3px 0 #6DBB4F; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.dmx.game .mb.p { background: #7350F0; color: #fff; box-shadow: inset 0 -4px 0 #4D33B8, inset 0 3px 0 #9A80FF; }
.dmx.title .gt-left { flex-direction: column; align-items: flex-start; bottom: 6%; }
.dmx.title .mb.sm { height: 34px; padding: 0 14px; font-size: 14px; }
.dmx.title .mb.dr { right: 3%; bottom: 7%; }
.dmx.title .gt-ver { top: auto; bottom: 2%; right: 2.5%; text-shadow: 1px 1px 0 #000; }
.dmx.game .toast { transform: translate(-50%, 0); top: 3%; font: 700 15px var(--body); background: rgba(20,20,20,.92); border: 2px solid #555; }
.dm-scene.play .dmx.game .toast { animation: tkpop .6s ease .5s both; }
.gt-me { position: absolute; right: 21%; bottom: 14%; height: 44%; display: flex; flex-direction: column; align-items: center; }
.gt-me span { font: 700 13px var(--pix); color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; margin-bottom: 4px; white-space: nowrap; }
.gt-me img { height: 100%; min-height: 0; flex: 1; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
.dm-scene.play .gt-me { animation: mepop .8s cubic-bezier(.2,.9,.3,1.4) .3s both; }
.gt-me::after { content: ""; position: absolute; inset: -10% -30%; background: radial-gradient(circle, rgba(255,240,150,.55), transparent 60%); z-index: -1; opacity: 0; }
.dm-scene.play .gt-me::after { animation: meglow 1.6s ease .5s both; }
@keyframes meglow { 30% { opacity: 1; } 100% { opacity: 0; } }
/* step number badge: plain bold digits */
.dm-num { font: 800 22px var(--body); }

/* ===== upgrade 112: iOS action rows, bright menu buttons, smaller camera island + safe area, smoother screen changes ===== */
.ios-acts { gap: 0; }
.ios-acts span { padding: 12px 14px; font-size: 15px; color: #1C1C1E; }
.ios-acts svg { width: 20px; height: 20px; color: #1C1C1E; flex: none; }
.ios-acts i { display: none; }
/* step 4: buttons keep their real colours while the import runs */
.dmx.s4 .gt-menu, .dmx.s4 .gt-left, .dmx.s4 .mb.dr { filter: none; }
.dmx.title .gt-logo { top: 15%; font-size: 66px; }
.dmx.title .gt-menu { top: 46%; width: 270px; gap: 8px; }
.dmx.title .gt-menu .mb { height: 38px; }
.dmx.game .toast { top: 2.5%; padding: 7px 16px; min-width: 300px; font-size: 14px; }
.dmx.game .toast.imp { gap: 6px; } .dmx.game .toast.imp i { height: 8px; }
/* iPhone: smaller Dynamic Island, wider landscape phone */
.dm-dev.phone.p .dm-notch { width: 58px; height: 16px; top: 18px; }
.dm-dev.phone.l .dm-notch { width: 15px; height: 52px; left: 17px; }
.dm-dev.phone.l .dm-body { width: 720px; height: 340px; }
/* landscape safe area: game UI keeps clear of the island, like iOS does */
.dm-dev.phone.l .dmx.dress .dr-side { left: 44px; }
.dm-dev.phone.l .dmx.dress .dr-top { padding-left: 114px; }
.dm-dev.phone.l .dmx.dress .dr-stage, .dm-dev.phone.l .dmx.dress .dr-cur { left: 102px; }
.dm-dev.phone.l .dmx.dress .sl-col { left: 114px; width: 48%; }
.dm-dev.phone.l .dmx.title .gt-left { left: 7%; }
/* screens slide in like real navigation */
.dm-scene { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; }
.dm-scene.on { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.dm-scene:not(.on) { pointer-events: none; }
.dm-scene.play { animation: scin .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes scin { from { opacity: 0; translate: 6% 0; } to { opacity: 1; translate: 0 0; } }
.demo.back .dm-scene.play { animation-name: scinb; }
@keyframes scinb { from { opacity: 0; translate: -6% 0; } to { opacity: 1; translate: 0 0; } }
.dm-screen [data-tap] { transition: transform .12s, filter .12s; }
.dm-screen [data-tap]:hover { filter: brightness(1.08); }
@media (max-width: 900px) { .dm-dev.phone.l .dm-body { width: min(560px, 72vw); height: auto; aspect-ratio: 720 / 340; } }
@media (max-width: 640px) { .dm-dev.phone.l .dm-body { width: calc(100vw - 48px); } .dm-dev.phone.l .dm-notch { width: 11px; height: 40px; left: 12px; } }
@media (prefers-reduced-motion: reduce) { .dm-scene.play { animation: none; } }

/* ===== upgrade 113: smooth background pan (pre-scaled image, GPU layer, gentle linear drift) ===== */
.mc-bg { inset: -4% -8%; background-image: url(images/how/mc-bg-hd.webp?v=1); image-rendering: auto; will-change: transform; backface-visibility: hidden;
  transform: translate3d(0, 0, 0); animation: mcpan2 30s linear infinite alternate; }
@keyframes mcpan2 { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .mc-bg { animation: none; } }

/* ===== upgrade 114: the finger taps once per step ===== */
.dm-finger.tap svg { animation: dmin .9s cubic-bezier(.2,.8,.2,1) both, dmpress .45s ease-in-out 1.05s 1 both; }
.dm-finger.tap .dm-ring { animation: dmring .8s ease-out 1.15s 1 both; }

/* ===== upgrade 115: "show" steps - the finger points up at the message / result with a soft pulsing ring ===== */
.dm-finger.point svg { animation: dmin .9s cubic-bezier(.2,.8,.2,1) both, dmnod 1.4s ease-in-out 1s infinite; }
.dm-finger.point .dm-ring { animation: dmring 1.4s ease-out 1s infinite; }
@keyframes dmnod { 50% { transform: translateY(-5px); } }

/* ===== upgrade 116: no black gaps - screens fade/zoom in place (no sideways slide), screen behind uses the scene colour; slimmer real-iPad bezel ===== */
.dm-screen { background: #F4FAF5; }
.dm-dev.l .dm-screen { background: #8FC8F5; }
.dm-scene.play, .demo.back .dm-scene.play { animation: scfade .45s ease both; }
@keyframes scfade { from { opacity: 0; } to { opacity: 1; } }
.dm-scene { transform-origin: 0 0; }
.dm-dev.ipad .dm-body { padding: 12px; border-radius: 28px; background: #16191A;
  box-shadow: 0 0 0 1.5px #3A4045, 0 0 0 4px #D5DADD, 0 0 0 5px #AEB5BA, 0 34px 60px -22px rgba(12,40,20,.5); }
.dm-dev.ipad .dm-screen { border-radius: 16px; }
.dm-dev.ipad .dm-home { display: none; }
.dm-dev.ipad .dm-notch { top: 3px; width: 6px; height: 6px; }

/* ===== upgrade 117: iPad - share sheet fully hidden until step 3, no grey bar (old .ap-fav rule), light silver iPad frame ===== */
.dmx.app .ap-fav { background: none; color: #5A7263; padding: 4px 0; }
.dmx.app .ios-sheet { visibility: hidden; }
.dmx.app.s3 .ios-sheet { visibility: visible; }
.dm-dev.ipad .dmx.app .ios-sheet { transform: translateY(160%); }
.dm-dev.ipad .dmx.app.s3 .ios-sheet { transform: none; }
.dm-dev.ipad .dm-body { background: linear-gradient(145deg, #FBFCFC, #E4E8EA); padding: 14px;
  box-shadow: 0 0 0 1.5px #C3CACE, 0 0 0 4px #E9EDEF, 0 0 0 5px #B7BEC3, 0 34px 60px -22px rgba(12,40,20,.4); }
.dm-dev.ipad .dm-notch { background: radial-gradient(circle at 40% 40%, #5a6a8a, #1a1a22 70%); }
.dm-dev.ipad .dm-keys { background: #C3CACE; box-shadow: -64px 0 0 #C3CACE; }
.dm-dev.ipad .dm-screen { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ===== upgrade 118: real iPad Pro look - thin even black glass bezel inside a space-grey aluminium edge ===== */
.dm-dev.ipad .dm-body { background: #0E1012; padding: 13px; border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 0 0 2px #5A6066, 0 0 0 3.5px #8D949A, 0 0 0 4.5px #3E4348, 0 30px 60px -20px rgba(12,40,20,.45), 0 10px 22px -12px rgba(0,0,0,.35); }
.dm-dev.ipad .dm-screen { border-radius: 18px; box-shadow: none; }
.dm-dev.ipad .dm-notch { top: 4px; width: 6px; height: 6px; background: radial-gradient(circle at 40% 40%, #4a5a7a, #050508 70%); box-shadow: 0 0 0 1px #1d2024; }
.dm-dev.ipad .dm-keys { top: -7px; right: 64px; width: 42px; height: 3px; border-radius: 3px 3px 0 0; background: #6E757B; box-shadow: -58px 0 0 #6E757B; }

/* ===== upgrade 119: the old site-wide .pad rule drew a second black frame around the demo iPad - reset it here ===== */
.dm-dev.ipad { background: none; }

/* ===== upgrade 120: numbered step buttons + pause row removed (side arrows, swipe and tapping the screen still move between steps) ===== */
.dm-ctl { display: none; }

/* ===== upgrade 121: no iPad/iPhone toggle - one device, picked from the visitor's own device (iPad -> iPad, everyone else -> iPhone) ===== */
.dm-tabs { display: none; }

/* ===== upgrade 122: step caption centred under the device (number on top, text centred) ===== */
.dm-cap { flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 640px; }
.dm-cap > div { display: flex; flex-direction: column; align-items: center; }

/* ===== upgrade 123: real-iPad fixes - no stuck focus ring on the arrows, visible import bar, skin tiles sized in pixels (Safari) ===== */
.dm-nav:focus { outline: none; }
.dm-nav:focus:not(:focus-visible) { border-color: #D6ECD9; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.dm-nav:focus-visible { outline: 3px solid rgba(43,192,106,.45); outline-offset: 2px; }
@media (hover: none) { .dm-nav:hover { transform: none; border-color: #D6ECD9; color: #1F6B3D; } }
/* step 4: Minecraft's import bar fills while it imports (no finger - nothing to tap here) */
.dmx.s4 .toast.imp { min-width: 380px; }
.dmx.s4 .toast.imp em { width: 8%; }
.dm-scene.play .dmx.s4 .toast.imp em { animation: dmload 2.6s cubic-bezier(.3,.6,.4,1) .7s forwards; }
/* skin list: fixed tile size so iPad Safari can't stretch the pictures */
.sl-row > div { flex: none; height: auto; }
.sl-row span { flex: none; width: 66px; height: 88px; max-height: none; aspect-ratio: auto; }
.sl-row span img { width: auto; height: 76px; max-height: 76px; max-width: 100%; object-fit: contain; }
.sl-row { flex: 1 1 0; min-height: 0; overflow: hidden; justify-content: flex-start; }
.dm-dev.ipad .sl-row span { width: 78px; height: 104px; } .dm-dev.ipad .sl-row span img { height: 92px; max-height: 92px; }
.sl-prev img { height: 52%; width: auto; max-width: 100%; object-fit: contain; }
.dr-stage img { width: auto; object-fit: contain; }
@media (max-width: 900px) { .dm-dev.ipad .dm-body { width: min(520px, 62vw); } }
.dm-dev.phone .sl-row { padding: 5px 8px; gap: 3px; }
.dm-dev.phone .sl-row span { width: 48px; height: 62px; } .dm-dev.phone .sl-row span img { height: 54px; max-height: 54px; }

/* ===== upgrade 124: phone width - bigger device, arrows under it (not on the screen), bottom "Get" bar hidden while the walkthrough is on screen ===== */
body.demo-on .sticky.show { transform: translateY(160%); pointer-events: none; }
@media (max-width: 640px) {
  .demo { padding: 18px 8px 20px; margin-left: -8px; margin-right: -8px; border-radius: 22px; }
  .dm-stage { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "dev dev" "prev next"; justify-items: center; row-gap: 14px; }
  .dm-stage .dm-dev { grid-area: dev; }
  .dm-nav { position: static; transform: none; width: 44px; height: 44px; }
  .dm-nav:hover { transform: none; }
  .dm-nav.prev { grid-area: prev; justify-self: end; margin-right: 10px; } .dm-nav.next { grid-area: next; justify-self: start; margin-left: 10px; }
  .dm-dev.phone.p .dm-body { width: 228px; height: 470px; border-radius: 38px; padding: 10px; }
  .dm-dev.phone.l .dm-body, .dm-dev.ipad .dm-body { width: calc(100vw - 28px); max-width: 520px; }
  .dm-dev.phone.l .dm-body { padding: 8px; border-radius: 30px; }
  .dm-dev.phone.l .dm-screen { border-radius: 23px; }
  .dm-cap { margin-top: 16px; }
}

/* ===== upgrade 125: phone width - no green card behind the walkthrough, the device sits straight on the page ===== */
@media (max-width: 640px) {
  .demo { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 8px 0 12px; margin-left: 0; margin-right: 0; }
}

/* ===== upgrade 126: thinner iPhone bezel and edge ===== */
.dm-dev.phone .dm-body { padding: 6px; box-shadow: 0 0 0 1px #2F3A33, 0 0 0 2.5px #C9D3CC, 0 30px 56px -22px rgba(12,40,20,.5); }
.dm-dev.phone.p .dm-body, .dm-dev.phone.l .dm-body { padding: 6px; }
.dm-dev.phone .dm-screen { border-radius: 34px; }
.dm-dev.phone.l .dm-notch { left: 13px; }
.dm-dev.phone.p .dm-notch { top: 13px; }
@media (max-width: 640px) { .dm-dev.phone .dm-body, .dm-dev.phone.l .dm-body { padding: 5px; } .dm-dev.phone .dm-screen { border-radius: 28px; } .dm-dev.phone.l .dm-screen { border-radius: 25px; } .dm-dev.phone.l .dm-notch { left: 10px; } }

/* ===== upgrade 127: sidebar icons centred (SVG), step 10 character stands beside the menu (never over it) ===== */
.dr-side span { display: flex; align-items: center; justify-content: center; padding: 0; line-height: 0; }
.dr-side svg { width: 22px; height: 22px; display: block; }
.gt-me { right: auto; left: calc(50% + 165px); bottom: 12%; height: 38%; max-height: 300px; }
.dm-dev.phone .gt-me { height: 40%; bottom: 14%; }

/* ===== upgrade 128: old screenshot card grid hidden (the animated walkthrough replaces it); list/preview and step-10 overlaps fixed ===== */
#guide { display: none !important; }
.sl-col { width: auto; right: calc(38% + 16px); }
.sl-prev { width: 36%; }
.dm-dev.phone .gt-me { bottom: 24%; height: 34%; }

/* ===== upgrade 129: Violet Voyager figure (pixel art, crisp), step 4 toast clear of the logo on iPhone ===== */
.dm-screen img[src*="voyager"] { image-rendering: pixelated; }
.ap-hero img[src*="voyager"] { top: 8%; height: 84%; }
.dm-dev.phone .dmx.title .gt-logo { top: 19%; font-size: 60px; }
.dm-dev.phone .dmx.title .gt-menu { top: 49%; }

/* ===== upgrade 130: Features slider dots - same look, 32px tap area on touch screens ===== */
#show-dots button { position: relative; }
#show-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); }

/* ===== upgrade 131: very small phones (<=360px) - country names wrap instead of being cut, walkthrough download button fits ===== */
.dm-cta .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 360px) {
  .wx-name { white-space: normal; overflow: visible; text-overflow: clip; font-size: 13px; line-height: 1.2; }
  .wx-list li { gap: 6px; padding: 8px 4px; }
  .dm-cta .btn { font-size: 17px; padding: 13px 18px; }
}
@media (max-width: 360px) { .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.2; } }

/* ===== upgrade 132: round arrow / icon buttons - Safari (iPad/iPhone) adds its own button padding & appearance; reset so the icon sits dead centre ===== */
.dm-nav, .dm-play, .sl-btn, .fr-arrow, #show-prev, #show-next, #m3-prev, #m3-next {
  -webkit-appearance: none; appearance: none; padding: 0; margin: 0; line-height: 0; text-align: center;
  -webkit-tap-highlight-color: transparent; }
.dm-nav svg, .sl-btn svg, .fr-arrow svg { display: block; margin: 0; flex: none; }
.dm-stage > .dm-nav { align-self: center; }

/* ===== upgrade 133: bottom floating "Skins for Minecraft PE · Free · Get" bar removed on every screen ===== */
/* (upgrade 133 removed it; owner 30 Nov 2026 wants a Verity-style bar back on phones, see end of file) */

/* upgrade 25 (v2): category bar = ONE row that scrolls sideways (arrows + thin scrollbar + mouse wheel) */
.skins .tabs-wrap { flex: 1 1 100%; width: 100%; border-radius: 26px; }
.skins .tabs { flex-wrap: nowrap; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 0; }
.skins .tabs::-webkit-scrollbar { display: none; }   /* no scrollbar line: arrows, swipe and mouse wheel move the bar */
.skins .tabs button { flex: none; }

/* upgrade 26: scroll walker (one skin walks along the bottom of the screen) */
.walker { position: fixed; left: 0; bottom: 0; z-index: 45; pointer-events: none; opacity: 0; transition: opacity .6s; will-change: transform; }
.walker.on { opacity: 1; }
.walker canvas { display: block; position: relative; }
.walker-shadow { position: absolute; left: 50%; bottom: 3px; width: 40%; height: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.42), transparent); }
.walker-say { position: absolute; bottom: calc(100% - 6px); left: 50%; transform: translate(-30%, 6px) scale(.7); transform-origin: 20% 100%; opacity: 0; white-space: nowrap; background: #fff; color: #10301F; font: 800 13px/1 var(--body, system-ui); padding: 9px 12px; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: opacity .25s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.walker-say::after { content: ""; position: absolute; top: 100%; left: 24%; border: 7px solid transparent; border-top-color: #fff; }
.walker.say-left .walker-say { transform: translate(-70%, 6px) scale(.7); transform-origin: 80% 100%; }
.walker.say-left .walker-say::after { left: auto; right: 24%; }
.walker.saying .walker-say { opacity: 1; transform: translate(-30%, 0) scale(1); }
.walker.say-left.saying .walker-say { transform: translate(-70%, 0) scale(1); }
.walker.puff canvas { animation: walkerPuff .45s ease; }
@keyframes walkerPuff { 0% { transform: scale(1); filter: none; } 35% { transform: scale(.82, 1.12); filter: brightness(2.2) saturate(0); } 100% { transform: scale(1); filter: none; } }
.walker-dust { position: fixed; bottom: 4px; z-index: 44; width: 6px; height: 6px; background: #C9D8CF; pointer-events: none; animation: walkerDust .65s ease-out forwards; }
@keyframes walkerDust { from { opacity: .9; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--dx, 10px), -16px) scale(.3); } }
@media (max-width: 699px) { .walker-say { font-size: 11px; padding: 7px 9px; } }
@media print { .walker, .walker-dust { display: none; } }

/* upgrade 28: no browser scrollbar (the page still scrolls; the top XP bar shows progress) */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
@media (max-width: 699px) { .walker, .walker-dust { display: none !important; } }   /* phones: no walker */

/* upgrade 29b: hero pill rolls through app facts */
.pn-roll { display: inline-grid; overflow: hidden; vertical-align: middle; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.pn-item { grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(115%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.pn-item.on { transform: none; opacity: 1; }
.pn-item.out { transform: translateY(-115%); opacity: 0; }
.pill-new b { display: inline-block; min-width: 44px; text-align: center; transition: transform .18s ease-in; }
.pill-new b.flip { transform: rotateX(90deg); }
@media (max-width: 600px) { .pn-roll { flex: 1; min-width: 0; } .pn-item { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .pn-item:not(.on) { display: none; } }

/* upgrade 30: WCAG AA text contrast (QA sweep 30 Nov 2026). Same colours, a little darker where text sat below 4.5:1 */
.stats-note, .stats-note .js-updated { color: #4E6B5C !important; }
.req dt, .card .body small.cd-meta { color: #4E6B5C; }
.wx-rank { color: #5C7A6B; }
.days small { color: #8A6410; }
.get, .kicker, .req-title, .ed-lbl { color: #15803D; }
#more.btn { color: #15803D; }
.card:hover .get { background: #15803D; color: #fff; }
.poses button[aria-pressed="true"], .poses button.on, .nametag, .slot-lbl { background: #15803D; }
/* ticker chips: category colours, darkened so white text stays readable */
.tk b { background: color-mix(in srgb, var(--c) 66%, #000); }
.hotbar button[aria-selected="true"] { background: #15803D !important; border-color: #15803D !important; }
.kicker:not(.light) { color: #12703A !important; }
.nametag { background: #15803D !important; }
.ap-meta b { color: #9A5C00 !important; }
.ap-meta small { color: #8A6410 !important; } .ap-tag { color: #3E5C4D !important; } .ap-desc { color: #4E6B5C !important; } .ap-pop-h span { color: #5C7A6B !important; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 3px solid #7CF2A8; outline-offset: 3px; border-radius: 6px; }
/* upgrade 31: tap targets + minimum text size on phones (QA sweep 30 Nov 2026) */
.foot .links a { display: inline-block; padding: 5px 2px; }
.cd-rank { font-size: 12px !important; }
i.flag { font-size: 12px !important; }
.pill-new b { font-size: 12px; }
#who .sub { color: #4E6B5C; }
/* upgrade 32: one smooth headline size from tablet to 4K (no jump down at 1301px) */
@media (min-width: 601px) { .hero-copy h1 { font-size: clamp(48px, calc(5vw + 12px), 88px); } }
@media (min-width: 861px) and (max-width: 1179px) { .skins .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; } }   /* 3 per row: cards stay near 280px, no giant cards */

/* upgrade 33: Trending + New added tabs, list title above the skin cards */
.sortbar { display: flex; justify-content: center; margin: 6px 0 16px; }
.list-title { margin: 0; font-size: 15px; color: #4E6B5C; text-align: center; }
.list-title b { color: #10231A; font-weight: 800; }
.skins .tabs button.tab-trend, .skins .tabs button.tab-new { display: inline-flex; align-items: center; gap: 6px; }
.skins .tabs button.tab-trend svg { color: #E8590C; } .skins .tabs button.tab-new svg { color: #D4A00B; }
.skins .tabs button[aria-selected="true"] svg { color: #fff; }

/* upgrade 34: phone stats = clean 2x2 tiles (icon on top, big number, short label) + one wide tile at the bottom */
@media (max-width: 600px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .stat-cards .stat { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto; justify-items: start; text-align: left;
    row-gap: 6px; padding: 14px 14px 16px !important; min-height: 0 !important; width: auto !important; justify-self: stretch !important; }
  .stat-cards .stat .stat-ico { width: 40px !important; height: 40px !important; border-radius: 11px !important; background-size: 22px 22px !important; grid-row: 1; grid-column: 1; }
  .stat-cards .stat b { grid-row: 2; grid-column: 1; align-self: start; font-size: 22px !important; }
  .stat-cards .stat .stat-lbl { grid-row: 3; grid-column: 1; font-size: 13px !important; line-height: 1.3; }
  .stat-cards .stat:nth-child(5) { grid-column: 1 / -1 !important; grid-template-columns: 40px minmax(0, 1fr) !important; grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 2px; align-items: center; }
  .stat-cards .stat:nth-child(5) .stat-ico { grid-row: 1 / 3; }
  .stat-cards .stat:nth-child(5) b, .stat-cards .stat:nth-child(5) .stat-lbl { grid-column: 2; }
  .stat-cards .stat:nth-child(5) b { grid-row: 1; } .stat-cards .stat:nth-child(5) .stat-lbl { grid-row: 2; }
}
/* phones: no "Players search for" label and no stats footnote (cleaner, owner 30 Nov 2026) */
@media (max-width: 600px) { .ticker-label, .stats-note { display: none !important; } }
/* phones: no arrow buttons on the category bar, more room for the tabs (swipe to scroll) */
@media (max-width: 600px) { .skins .tabs-wrap .tab-arrow { display: none !important; } .skins .tabs-wrap { padding: 5px !important; } }
.skins .sortbar { display: none !important; }   /* no "Most popular skins · 233 skins" line (owner, 30 Nov 2026) */
/* phones: category bar uses the full width, the selected pill is never clipped, swipe glides smoothly */
@media (max-width: 600px) {
  .skins .tools { margin-left: -12px; margin-right: -12px; }
  .skins .tabs-wrap { width: 100% !important; padding: 5px 4px !important; }
  .skins .tabs { padding: 3px 6px !important; scroll-snap-type: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .skins .tabs button { scroll-snap-align: none; padding: 9px 16px; }
}

/* upgrade 35: easy-to-read labels (owner 30 Nov 2026): feature names keep their own capitals ("Now on iPad", not "Now On IPad") */
.hotbar .slot-lbl { text-transform: none !important; }
/* card buttons: "Get skin" fills the row, "3D" sits beside it; never overlap, wrap to two rows on very narrow cards */
#grid .cd-actions { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
#grid .cd-actions .get { flex: 1 1 auto; justify-content: center; white-space: nowrap; min-width: 0; }
#grid .cd-actions .cd-3d { flex: 0 1 auto; justify-content: center; }
#grid .cd-actions .get:only-child, #grid .card .cd-actions .cd-3d:first-child { flex: 1 1 100%; }

/* upgrade 36: "Popular skins by type" (SEO: real skin names per category, static HTML from tools/build-seo.py) */
.bytype .bt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.bt-card { background: #fff; border: 1px solid #DDEBE2; border-top: 4px solid var(--c, #1F9D55); border-radius: 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(14,42,28,.05); }
.bt-card h3 { font: 800 18px var(--body); margin: 0 0 10px; color: #10231A; letter-spacing: 0; }
.bt-list { margin: 0 0 14px; padding-left: 20px; color: #3E5C4D; font-size: 14px; line-height: 1.7; flex: 1; }
.bt-go { align-self: flex-start; font: 800 14px var(--body); color: #12703A; text-decoration: none; padding: 8px 0; }
.bt-go:hover { text-decoration: underline; }
@media (max-width: 1100px) { .bytype .bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bytype .bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bt-card { padding: 14px 12px 10px; } .bt-card h3 { font-size: 15px; } .bt-list { font-size: 13px; padding-left: 16px; line-height: 1.6; } .bt-go { font-size: 13px; } }
/* bottom skins row: room above the floating figures so the side-fade mask never cuts their heads */
.final .final-skins { padding-top: 22px; margin-top: 24px; }
.guide-link { margin: 6px 0 0; text-align: center; } .guide-link a { font-weight: 800; color: #12703A; }
.foot .types-links { line-height: 1.9; }
.type-page { text-align: center; margin: 18px 0 0; } .type-page a { font-weight: 800; color: #12703A; }
/* search strip words that name a skin type link to that type's page (SEO, 30 Nov 2026) */
a.tk { text-decoration: none; color: inherit; }
a.tk b { transition: transform .15s ease-out, filter .15s; }
@media (hover: hover) and (pointer: fine) { a.tk:hover b { transform: translateY(-2px); filter: brightness(1.15); } }
a.tk:focus-visible { outline: 3px solid #80FF20; outline-offset: 2px; }
/* 3D popup: previous / next skin buttons on the left and right of the skin (owner 30 Nov 2026) */
.m3-stage .m3-nav { position: absolute; inset: 50% 0 auto 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 12px; margin: 0; pointer-events: none; z-index: 3; }
.m3-stage .m3-nav .sl-btn { pointer-events: auto; }
/* small phones (owner 30 Nov 2026): country rows and "What you need" laid out cleanly */
@media (max-width: 600px) {
  .wx-list li { grid-template-columns: 24px auto minmax(0, 1fr) auto; column-gap: 10px; }
  .wx-list .flag { width: auto; min-width: 40px; }
  .wx-name { white-space: normal; line-height: 1.2; }
}
@media (max-width: 480px) {
  .req { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .req > div:not(.req-title) { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .req dd { margin: 0; }
}
.tag { font-size: 11px; }   /* min readable size (QA 30 Nov 2026) */
/* phones (owner 30 Nov 2026): one skin card per row, picture left, text + buttons right */
@media (max-width: 480px) {
  .skins .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .skins .card { flex-direction: row; align-items: stretch; }
  .skins .card .thumb { flex: 0 0 120px; width: 120px; height: auto; min-height: 150px; aspect-ratio: auto; margin: 8px 0 8px 8px; border-radius: 12px; }
  .skins .card .thumb img.front { max-height: 130px; width: auto; }
  .skins .card .body { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 12px 12px 12px 14px; }
}
/* demo phone turns with a GPU transform, not a width/height animation (was laggy on phones, owner 30 Nov 2026) */
.dm-body { transition: none; will-change: transform; }
.dm-dev.turn-l .dm-body { animation: dmturnl .6s cubic-bezier(.2,.8,.2,1) both; }
.dm-dev.turn-p .dm-body { animation: dmturnp .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dmturnl { from { transform: rotate(-90deg) scale(.6); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes dmturnp { from { transform: rotate(90deg) scale(.6); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dm-dev.turn-l .dm-body, .dm-dev.turn-p .dm-body { animation: none; } }
/* import progress bar grows with transform, not width (no layout per frame) */
.dmx.s4 .toast.imp em { width: 100%; transform-origin: 0 50%; transform: scaleX(.08); }
.dm-scene.play .dmx.s4 .toast.imp em { animation: dmloadx 2.6s cubic-bezier(.3,.6,.4,1) .7s forwards; }
@keyframes dmloadx { to { transform: scaleX(1); } }

/* demo smoothness (owner 30 Nov 2026, round 2) */
/* 1. only the step on screen animates; hidden steps and an off-screen demo do no work */
.dm-scene:not(.on), .dm-scene:not(.on) *, .demo.idle .dm-scene * { animation-play-state: paused !important; }
/* 2. Dressing Room background: no live blur on a moving picture; a still, darkened picture looks the same */
.dmx.dress .mc-bg { filter: none; animation: none; transform: none; }
.dmx.dress .mc-bg::after { content: ""; position: absolute; inset: 0; background: rgba(6, 12, 8, .6); }
/* 3. the step coming in gets its own GPU layer while it moves */
.dm-scene.on.play { will-change: transform, opacity; }
.dm-screen { contain: paint; }

/* bottom download bar on phones, Verity style (owner 30 Nov 2026). Desktop has none. The page gets bottom space so the bar never hides text. */
.sticky.sb { display: none; }
@media (max-width: 900px) {
  .sticky.sb { display: flex; left: 0; right: 0; bottom: 0; max-width: none; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0;
    background: rgba(10,20,15,.97); padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); gap: 12px; box-shadow: 0 -10px 30px rgba(0,0,0,.25);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .sticky.sb.show { transform: none; }
  body.demo-on .sticky.sb.show, body.modal-open .sticky.sb.show { transform: translateY(110%); pointer-events: none; }
  .sticky.sb img { border-radius: 10px; flex: none; }
  .sticky.sb > span { flex: 1; min-width: 0; line-height: 1.2; }
  .sticky.sb b { display: block; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky.sb > span small { display: block; font-size: 12px; color: #A9C9B6; opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-get { flex: none; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0E1F18; text-decoration: none; border-radius: 10px; padding: 8px 14px; font: 900 14px var(--body); line-height: 1.05; }
  .sb-get small { display: block; font: 700 10px var(--body); color: #4E6B5C; }
  .sb-get:active { transform: scale(.97); }
  body { padding-bottom: 76px; }
}
@media (max-width: 360px) { .sticky.sb { padding-left: 12px; padding-right: 12px; gap: 10px; } .sticky.sb b { font-size: 14px; } .sb-get { padding: 8px 10px; } }

/* final "Ready for a new look?" App Store button stands out: green glow ring that gently breathes (owner 30 Nov 2026) */
.cta-glow { position: relative; isolation: isolate; box-shadow: 0 0 0 3px #2BC06A, 0 0 0 7px rgba(43,192,106,.28), 0 14px 34px rgba(0,0,0,.45); transition: transform .18s ease-out, box-shadow .18s; }
.cta-glow::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(43,192,106,.55); animation: ctaglow 2.2s ease-out infinite; z-index: -1; pointer-events: none; }
@keyframes ctaglow { 0% { box-shadow: 0 0 0 0 rgba(43,192,106,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(43,192,106,0); } }
@media (hover: hover) and (pointer: fine) { .cta-glow:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 3px #7CF2A8, 0 0 0 8px rgba(124,242,168,.3), 0 18px 40px rgba(0,0,0,.5); } }
.cta-glow:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .cta-glow::after { animation: none; } }
.sticky.sb b { font-family: "Pixelify Sans", var(--body); font-size: 17px; }
/* space for the bottom bar lives inside the dark footer, not as a light strip under it */
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .foot { padding-bottom: 34px; }   /* old 110 px space for the removed bar is no longer needed */
  body.final-on .sticky.sb.show { transform: translateY(110%); pointer-events: none; }
}

/* ===== final section redesign (owner 30 Nov 2026): one card, text + button left, top skins on a grass block right ===== */
@media (max-width: 900px) {
#download.fx-sec { display: block; padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(70% 60% at 80% 30%, rgba(43,192,106,.22), transparent 70%), #0B1A13; text-align: left; border-radius: 0 !important; }
#download .fx-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; max-width: 1080px; margin: 0 auto;
  background: linear-gradient(160deg, #17382A, #0F2619 60%); border: 1px solid rgba(124,242,168,.18); border-radius: 28px; padding: clamp(28px, 4vw, 52px); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
#download .fx-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: repeating-linear-gradient(90deg, #5DBB3F 0 12px, #4AA22F 12px 24px, #6FCF4A 24px 36px, #55B238 36px 48px); box-shadow: 0 6px 0 #7A5230; }
#download .fx-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 10px; }
#download .fx-kicker { margin: 0; font: 700 12px var(--numf); letter-spacing: .14em; text-transform: uppercase; color: #7CF2A8; }
#download .fx-h { margin: 0; font: 700 clamp(34px, 5vw, 56px)/1.02 "Pixelify Sans", var(--body); color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.35); }
#download .fx-h span { color: #7CF2A8; display: inline-block; }
#download .fx-lead { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.5; color: #CFE6D8; }
#download .fx-points { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
#download .fx-points li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #E2F3E9; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
#download .fx-points b { color: #7CF2A8; font-weight: 900; } #download .fx-points i { font-style: normal; }
#download .fx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
#download .fx-cta .qr { margin: 0; }
#download .fx-fine { margin: 0; font-size: 12px; color: #8FB09D; max-width: 460px; }
#download .fx-art { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 300px; }
#download .fx-icon { position: absolute; top: 6px; right: 6px; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 28px rgba(0,0,0,.45); transform: rotate(6deg); }
#download .final-skins { position: relative; inset: auto; order: 0; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 0; padding: 0; width: 100%; opacity: 1; z-index: 1; }
#download .final-skins img { width: auto; height: 170px; margin: 0 -10px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 10px 8px rgba(0,0,0,.45)); animation: fxbob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
#download .final-skins img:nth-child(3) { height: 210px; z-index: 2; }
#download .final-skins img:nth-child(2), #download .final-skins img:nth-child(4) { height: 188px; z-index: 1; }
@keyframes fxbob { 50% { transform: translateY(-6px); } }
#download .fx-ground { width: 92%; height: 22px; margin-top: -6px; border-radius: 4px;
  background: linear-gradient(#5DBB3F 0 35%, #7A5230 35%); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 14px 24px rgba(0,0,0,.35); }
#download .orbs { display: none; }
#download .fx-old, #download .fx-old-skins { display: none; }
}
@media (min-width: 901px) { #download .fx-new { display: none; } }
@media (max-width: 900px) {
  #download .fx-card { grid-template-columns: minmax(0, 1fr); gap: 8px; text-align: center; padding: 26px 20px 28px; }
  #download .fx-art { order: -1; min-height: 0; padding-top: 14px; }
  #download .fx-icon { width: 56px; height: 56px; top: 10px; right: 4px; border-radius: 14px; }
  #download .final-skins img { height: 120px; margin: 0 -8px; }
  #download .final-skins img:nth-child(3) { height: 148px; }
  #download .final-skins img:nth-child(2), #download .final-skins img:nth-child(4) { height: 134px; }
  #download .fx-copy { align-items: center; padding-top: 6px; }
  #download .fx-points { justify-content: center; }
  #download .fx-cta { justify-content: center; }
  #download .fx-cta .qr { display: none; }
  #download .fx-lead { font-size: 16px; }
}
@media (max-width: 380px) { #download .final-skins img:nth-child(1), #download .final-skins img:nth-child(5) { display: none; } }
@media (prefers-reduced-motion: reduce) { #download .final-skins img { animation: none; } }
#download .fx-card::before { display: none; }   /* owner: no grass strip on top of the card */
@media (max-width: 900px) { .sb-get small { font-size: 11px; } }
/* hero heading on wide screens: the text column is ~470-620 px, so size the words to fit 2 lines
   ("Scariest skins" / "for Minecraft PE") instead of 4-5 (owner 30 Nov 2026) */
@media (min-width: 1100px) { .hero-copy h1 { font-size: min(4.4vw, 68px); white-space: nowrap; } }
