@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:200 1000;src:url(/fonts/nunito-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:200 1000;src:url(/fonts/nunito-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:200 1000;src:url(/fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Mongolian';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/noto-sans-mongolian.woff2) format('woff2')}
:root{
  --bg:#FFF6EC; --bg2:#FFEBD9; --surface:#FFFFFF; --ink:#3A2A4A; --muted:#6E5F7A; --line:#F1E4D8;
  --coral:#FF7A59; --coral-ink:#B4421F; --coral-soft:#FFE3D3;
  --mint:#5FCFAE; --mint-soft:#DDF6EE; --butter:#FFD66B; --butter-soft:#FFF3C9;
  --lilac:#A893F0; --lilac-soft:#ECE6FF; --sky:#79BEFF; --sky-soft:#E1F0FF; --pink:#FF8FBE; --pink-soft:#FFE4F0;
  --success:#2F9E73; --danger:#D94F4F;
  --r-s:14px; --r-m:22px; --r-l:30px; --r-xl:40px;
  --sh-1:0 2px 0 rgba(58,42,74,.06),0 6px 16px -8px rgba(58,42,74,.18);
  --sh-2:0 4px 0 rgba(58,42,74,.08),0 14px 30px -14px rgba(58,42,74,.30);
  --sh-press:0 1px 0 rgba(58,42,74,.08),0 3px 8px -6px rgba(58,42,74,.25);
  --ease-out:cubic-bezier(.23,1,.32,1); --ease-io:cubic-bezier(.77,0,.175,1); --ease-drawer:cubic-bezier(.32,.72,0,1);
  --font:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
  --safe-t:env(safe-area-inset-top,0px); --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;height:100%}
body{font-family:var(--font);background:var(--bg);color:var(--ink);min-height:100dvh;overflow-x:hidden;font-weight:700;-webkit-font-smoothing:antialiased;overscroll-behavior:none}
button,a,[role=button]{touch-action:manipulation;font:inherit;color:inherit}
button{border:0;background:none;cursor:pointer;-webkit-user-select:none;user-select:none}
input{font:inherit;font-size:16px;color:var(--ink);caret-color:var(--coral)}
img{display:block;max-width:100%;-webkit-user-drag:none;user-select:none}
::selection{background:var(--coral-soft)}
:focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:12px}
h1,h2,h3{text-wrap:balance;letter-spacing:-.01em;font-weight:900}
p{text-wrap:pretty}
.num{font-variant-numeric:tabular-nums}
[hidden]{display:none!important}

/* app shell */
#app{min-height:100dvh;position:relative;max-width:1180px;margin:0 auto}
.screen{min-height:100dvh;padding:calc(12px + var(--safe-t)) 16px calc(24px + var(--safe-b));animation:enter .32s var(--ease-out)}
@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.sky{position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#FFF6EC 0%,#FFEFE0 60%,#FFE6D2 100%)}
.sky img{position:absolute;inset:auto 0 0 0;width:100%;height:62%;object-fit:cover;object-position:center bottom;opacity:.9;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 26px;border-radius:999px;font-weight:900;font-size:19px;background:var(--coral);color:#fff;box-shadow:0 5px 0 #D9573A,0 14px 24px -12px rgba(217,87,58,.6);transition:transform .14s var(--ease-out),box-shadow .14s var(--ease-out)}
.btn:active{transform:translateY(4px) scale(.98);box-shadow:0 1px 0 #D9573A,0 6px 12px -8px rgba(217,87,58,.6)}
.btn.mint{background:var(--mint);box-shadow:0 5px 0 #3FAE8D,0 14px 24px -12px rgba(63,174,141,.6)}
.btn.mint:active{box-shadow:0 1px 0 #3FAE8D}
.btn.ghost{background:var(--surface);color:var(--ink);box-shadow:0 4px 0 var(--line),var(--sh-1)}
.btn.ghost:active{box-shadow:0 1px 0 var(--line)}
.btn.small{min-height:44px;font-size:16px;padding:0 18px}
.btn[disabled]{opacity:.55;pointer-events:none}
.btn.wide{width:100%}
.icon-btn{width:52px;height:52px;border-radius:18px;background:var(--surface);display:grid;place-items:center;box-shadow:0 4px 0 var(--line),var(--sh-1);transition:transform .12s var(--ease-out)}
.icon-btn:active{transform:translateY(3px) scale(.96);box-shadow:0 1px 0 var(--line)}
.icon-btn svg{width:26px;height:26px}
svg.i{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* top bar */
.topbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.topbar .grow{flex:1;min-width:0}
.kid-chip{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:999px;padding:5px 16px 5px 5px;box-shadow:var(--sh-1);min-width:0;max-width:100%}
.kid-chip img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:var(--bg2)}
.kid-chip b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pill{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border-radius:999px;padding:8px 14px;box-shadow:var(--sh-1);font-weight:900;font-size:17px}
.pill .star{width:22px;height:22px}

/* hero / pet */
.hero{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;background:var(--surface);border-radius:var(--r-l);padding:14px 16px;box-shadow:var(--sh-2);margin-bottom:18px;position:relative;overflow:hidden}
.hero .pet{width:104px;height:104px;position:relative}
.hero .pet img{width:100%;height:100%;object-fit:contain;animation:bob 3.2s ease-in-out infinite;transform-origin:50% 90%}
@keyframes bob{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.02,.99)}}
.hero h2{font-size:21px;line-height:1.15}
.hero p{color:var(--muted);font-size:15px;margin-top:4px}
.meter{height:12px;border-radius:99px;background:var(--bg2);margin-top:10px;overflow:hidden}
.meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--butter),var(--coral));transition:transform .6s var(--ease-out);transform-origin:left}
.week{display:flex;gap:6px;margin-top:10px}
.week span{width:22px;height:22px;border-radius:50%;background:var(--bg2);display:grid;place-items:center}
.week span.on{background:var(--butter)}
.week span.on::after{content:"";width:8px;height:8px;border-radius:50%;background:#F2A33A}

/* band tabs */
.tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 10px;margin:0 -2px 6px;scroll-snap-type:x mandatory}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;scroll-snap-align:start;padding:10px 16px;border-radius:999px;background:var(--surface);box-shadow:var(--sh-1);font-weight:900;font-size:16px;white-space:nowrap;transition:background-color .2s,color .2s,transform .12s var(--ease-out)}
.tab small{display:block;font-size:12px;font-weight:800;color:var(--muted)}
.tab[aria-selected=true]{background:var(--ink);color:#fff}
.tab[aria-selected=true] small{color:#E8DDF2}
.tab:active{transform:scale(.96)}

.sect-title{display:flex;align-items:baseline;justify-content:space-between;margin:18px 2px 10px}
.sect-title h3{font-size:20px}
.sect-title span{color:var(--muted);font-size:14px}

/* game grid */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:620px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:980px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
.tile{position:relative;border-radius:var(--r-m);padding:12px 12px 14px;text-align:left;background:var(--surface);box-shadow:0 5px 0 var(--tile-d,#F0DCCB),var(--sh-1);transition:transform .14s var(--ease-out),box-shadow .14s var(--ease-out);display:flex;flex-direction:column;gap:8px;min-width:0}
.tile:active{transform:translateY(4px) scale(.98);box-shadow:0 1px 0 var(--tile-d,#F0DCCB)}
.tile .art{aspect-ratio:1/1;border-radius:18px;background:var(--tile-bg,var(--bg2));display:grid;place-items:center;overflow:hidden;position:relative}
.tile .art img{width:86%;height:86%;object-fit:contain;transition:transform .3s var(--ease-out)}
.tile .art .glyph{font-size:56px;font-weight:900;color:var(--tile-ink,var(--ink))}
.tile b{font-size:17px;line-height:1.15;overflow-wrap:anywhere}
.tile small{font-size:13px;color:var(--muted);font-weight:800;line-height:1.25}
.tile .stars{position:absolute;top:18px;left:18px;display:flex;gap:2px}
.tile .stars svg{width:16px;height:16px}
.tile .lock{position:absolute;top:18px;right:18px;width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:var(--sh-1)}
.tile .lock svg{width:18px;height:18px}
.tile .free{position:absolute;top:18px;right:18px;background:var(--mint);color:#fff;font-size:12px;padding:4px 9px;border-radius:99px}
@media (hover:hover) and (pointer:fine){.tile:hover .art img{transform:scale(1.05) rotate(-2deg)}.btn:hover{filter:brightness(1.04)}}

.c-coral{--tile-bg:var(--coral-soft);--tile-d:#F8CDB8;--tile-ink:var(--coral-ink)}
.c-mint{--tile-bg:var(--mint-soft);--tile-d:#BDEBDC;--tile-ink:#21785D}
.c-butter{--tile-bg:var(--butter-soft);--tile-d:#F6E2A0;--tile-ink:#8A6110}
.c-lilac{--tile-bg:var(--lilac-soft);--tile-d:#D8CDFB;--tile-ink:#5B45B8}
.c-sky{--tile-bg:var(--sky-soft);--tile-d:#C6E0FB;--tile-ink:#2B6CB0}
.c-pink{--tile-bg:var(--pink-soft);--tile-d:#F9CBE0;--tile-ink:#B03A72}

/* bottom nav */
.nav{position:sticky;bottom:calc(10px + var(--safe-b));margin:22px auto 0;display:flex;justify-content:space-around;background:rgba(255,255,255,.96);border-radius:26px;padding:8px;box-shadow:var(--sh-2);max-width:520px;z-index:5}
.nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;font-weight:900;padding:6px 4px;border-radius:18px;color:var(--muted);min-height:56px;transition:background-color .2s,color .2s}
.nav button[aria-current=page]{background:var(--coral-soft);color:var(--coral-ink)}
.nav svg{width:26px;height:26px}

/* game stage */
.game{position:fixed;inset:0;z-index:20;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:var(--g-bg,var(--bg));display:flex;flex-direction:column;padding:calc(10px + var(--safe-t)) 14px calc(14px + var(--safe-b));animation:enter .28s var(--ease-out)}
.game-top{display:flex;align-items:center;gap:10px;max-width:1100px;width:100%;margin:0 auto}
.game-top h2{flex:1;font-size:19px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dots{display:flex;gap:6px}
.dots i{width:14px;height:14px;border-radius:50%;background:rgba(58,42,74,.12);transition:background-color .3s,transform .3s var(--ease-out)}
.dots i.on{background:var(--butter);transform:scale(1.15)}
.stage{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;max-width:1100px;width:100%;margin:0 auto;min-height:0;touch-action:manipulation}
.prompt{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:999px;padding:6px 18px 6px 6px;box-shadow:var(--sh-1);font-size:17px;max-width:100%}
.prompt .say{width:46px;height:46px;border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center;flex:none}
.prompt .say svg{width:22px;height:22px}
.prompt span{min-width:0}

.cards{display:grid;gap:12px;width:100%;align-content:start;align-items:start;max-width:760px;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr))}
.card{aspect-ratio:1/1;border-radius:24px;background:var(--surface);box-shadow:0 5px 0 #EADBCD,var(--sh-1);display:grid;place-items:center;position:relative;overflow:hidden;transition:transform .16s var(--ease-out),box-shadow .16s var(--ease-out),opacity .3s}
.card:active{transform:translateY(4px) scale(.97);box-shadow:0 1px 0 #EADBCD}
.card img{width:88%;height:88%;object-fit:contain;pointer-events:none}
.card .big{font-size:clamp(44px,13vw,88px);font-weight:900;line-height:1}
.card.has-lbl img{width:68%;height:68%;margin-top:-16%}
.card .lbl{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:clamp(14px,3.6vw,19px);font-weight:900}
.card.ok{background:var(--mint-soft);box-shadow:0 5px 0 #A9E3CF}
.card.no{animation:shake .4s var(--ease-out)}
.card.dim{opacity:.35}
.card.pop{animation:pop .5s var(--ease-out)}
@keyframes pop{0%{transform:scale(1)}35%{transform:scale(1.12) rotate(-3deg)}70%{transform:scale(.97) rotate(1deg)}100%{transform:scale(1)}}
@keyframes shake{0%,100%{transform:none}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
.wiggle{animation:wig 1.6s ease-in-out infinite}
@keyframes wig{0%,100%{transform:rotate(0)}10%{transform:rotate(-4deg)}20%{transform:rotate(4deg)}30%{transform:rotate(0)}}

.choices{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.choice{min-width:76px;height:76px;padding:0 18px;border-radius:24px;background:var(--surface);font-size:34px;font-weight:900;box-shadow:0 5px 0 #EADBCD,var(--sh-1);transition:transform .14s var(--ease-out)}
.choice:active{transform:translateY(4px) scale(.97)}
.choice.ok{background:var(--mint);color:#fff;box-shadow:0 5px 0 #3FAE8D}
.choice.no{animation:shake .4s var(--ease-out)}

/* celebration */
.celebrate{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:rgba(58,42,74,.35);padding:16px;animation:fade .2s var(--ease-out)}
@keyframes fade{from{opacity:0}to{opacity:1}}
.celebrate .box{background:var(--surface);border-radius:var(--r-xl);padding:20px 22px 24px;text-align:center;max-width:380px;width:100%;box-shadow:var(--sh-2);animation:rise .45s var(--ease-out)}
@keyframes rise{from{opacity:0;transform:translateY(24px) scale(.95)}to{opacity:1;transform:none}}
.celebrate img.m{width:180px;height:180px;object-fit:contain;margin:-70px auto 0}
.celebrate h2{font-size:28px;margin-top:4px}
.celebrate .got{display:flex;justify-content:center;gap:8px;margin:12px 0 16px}
.celebrate .got svg{width:44px;height:44px;animation:starIn .5s var(--ease-out) both}
.celebrate .got svg:nth-child(2){animation-delay:.12s}.celebrate .got svg:nth-child(3){animation-delay:.24s}
@keyframes starIn{from{opacity:0;transform:scale(.4) rotate(-40deg)}to{opacity:1;transform:none}}
.celebrate .sticker{display:flex;align-items:center;gap:10px;justify-content:center;background:var(--butter-soft);border-radius:18px;padding:8px 12px;margin:0 0 16px;font-size:15px}
.celebrate .sticker img{width:52px;height:52px;border-radius:14px;object-fit:cover}
.celebrate .row{display:flex;gap:10px}
.celebrate .row .btn{flex:1;padding:0 12px}
.confetti{position:fixed;inset:0;pointer-events:none;z-index:41;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:12px;height:16px;border-radius:4px;animation:fall linear forwards}
@keyframes fall{to{transform:translate3d(var(--dx),110vh,0) rotate(var(--rot))}}

/* sheets */
.scrim{position:fixed;inset:0;background:rgba(58,42,74,.38);z-index:50;opacity:0;transition:opacity .25s var(--ease-out)}
.scrim.on{opacity:1}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:51;background:var(--surface);border-radius:30px 30px 0 0;padding:10px 18px calc(22px + var(--safe-b));max-height:92dvh;overflow:auto;transform:translateY(100%);transition:transform .4s var(--ease-drawer);max-width:620px;margin:0 auto;box-shadow:0 -10px 40px -20px rgba(58,42,74,.4)}
.sheet.on{transform:none}
.sheet .grab{width:48px;height:6px;border-radius:9px;background:var(--line);margin:0 auto 12px}
.sheet h2{font-size:24px;margin-bottom:6px}
.sheet p.sub{color:var(--muted);font-size:15px;margin-bottom:14px;font-weight:700}
@media (min-width:700px){.sheet{bottom:auto;top:50%;border-radius:30px;transform:translateY(-40%) scale(.96);opacity:0;transition:transform .3s var(--ease-out),opacity .3s var(--ease-out);left:16px;right:16px}.sheet.on{transform:translateY(-50%);opacity:1}.sheet .grab{display:none}}

.field{display:block;margin-bottom:12px}
.field span{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}
.field input{width:100%;height:54px;border-radius:16px;border:2px solid var(--line);padding:0 16px;background:#FFFCF8;transition:border-color .15s}
.field input:focus{outline:none;border-color:var(--coral)}
.err{color:var(--danger);font-size:14px;margin:-4px 0 10px;min-height:18px}
.note{font-size:13px;color:var(--muted);line-height:1.45;font-weight:700}

.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.keypad button{height:58px;border-radius:16px;background:var(--bg);font-size:24px;font-weight:900;box-shadow:0 3px 0 var(--line)}
.keypad button:active{transform:translateY(2px)}
.gate-q{font-size:20px;text-align:center;margin:6px 0;line-height:1.3}
.gate-a{height:56px;border-radius:16px;background:var(--bg);display:grid;place-items:center;font-size:30px;letter-spacing:.1em}

.plans{display:grid;gap:10px;margin:8px 0 12px}
.plan{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;text-align:left;border-radius:20px;padding:14px 16px;border:2.5px solid var(--line);background:#FFFCF8;transition:border-color .15s,background-color .15s}
.plan[aria-checked=true]{border-color:var(--coral);background:var(--coral-soft)}
.plan b{font-size:18px}
.plan .p{font-size:20px;font-weight:900;font-variant-numeric:tabular-nums;text-align:right}
.plan small{color:var(--muted);font-size:13px;grid-column:1/-1}
.plan .tag{display:inline-block;background:var(--mint);color:#fff;border-radius:99px;font-size:12px;padding:2px 8px;margin-left:6px;vertical-align:2px}
.perks{display:grid;gap:8px;margin:8px 0 14px}
.perks li{list-style:none;display:flex;gap:10px;align-items:flex-start;font-size:15px}
.perks li svg{width:22px;height:22px;flex:none;color:var(--success)}

.list{display:grid;gap:10px}
.row-item{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:18px;padding:10px 12px;min-height:60px}
.row-item img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--surface)}
.row-item .t{flex:1;min-width:0}
.row-item .t b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row-item .t small{color:var(--muted);font-size:13px}
.seg{display:flex;gap:6px;flex-wrap:wrap}
.seg button{padding:10px 14px;border-radius:14px;background:var(--bg);font-weight:900;font-size:15px;min-height:44px}
.seg button[aria-pressed=true]{background:var(--ink);color:#fff}

.avatars{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.avatars button{aspect-ratio:1/1;border-radius:20px;background:var(--bg);display:grid;place-items:center;border:3px solid transparent;transition:border-color .15s,transform .12s}
.avatars button[aria-pressed=true]{border-color:var(--coral);background:var(--coral-soft)}
.avatars img{width:80%;height:80%;object-fit:contain}
.bands{display:grid;gap:10px;margin-bottom:14px}
.bands button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:20px;background:var(--bg);border:3px solid transparent;min-height:64px}
.bands button[aria-pressed=true]{border-color:var(--coral);background:var(--coral-soft)}
.bands b{font-size:18px;display:block}.bands small{color:var(--muted);font-size:14px}

/* welcome */
.welcome{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(20px + var(--safe-t)) 20px calc(28px + var(--safe-b));gap:10px}
.welcome .m{width:min(300px,70vw);aspect-ratio:1;object-fit:contain;animation:bob 3.2s ease-in-out infinite}
.welcome h1{font-size:clamp(34px,9vw,54px);line-height:1}
.welcome h1 span{color:var(--coral)}
.welcome p{color:var(--muted);font-size:18px;max-width:420px}
.welcome .acts{display:grid;gap:10px;width:100%;max-width:360px;margin-top:10px}
.who{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:12px 0}
.who button{width:132px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border-radius:26px;background:var(--surface);box-shadow:var(--sh-2);transition:transform .14s var(--ease-out)}
.who button:active{transform:scale(.96)}
.who img{width:92px;height:92px;object-fit:contain}
.who b{font-size:17px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* album */
.album{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (min-width:620px){.album{grid-template-columns:repeat(6,minmax(0,1fr))}}
.stk{aspect-ratio:1;border-radius:22px;background:var(--surface);box-shadow:var(--sh-1);display:grid;place-items:center;position:relative;overflow:hidden}
.stk img{width:82%;height:82%;object-fit:contain}
.stk.off{background:rgba(255,255,255,.5);box-shadow:none;border:2.5px dashed #E7D6C6}
.stk.off img{filter:grayscale(1) brightness(1.2);opacity:.25}

/* toast */
.toast{position:fixed;left:50%;bottom:calc(96px + var(--safe-b));transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:16px;font-size:15px;z-index:70;opacity:0;transition:opacity .2s var(--ease-out),transform .25s var(--ease-out);max-width:calc(100% - 32px);text-align:center}
.toast.on{opacity:1;transform:translate(-50%,0)}

/* skeleton */
.sk{background:linear-gradient(90deg,#F6E9DC 0%,#FBF3EA 50%,#F6E9DC 100%);background-size:200% 100%;animation:sh 1.4s linear infinite;border-radius:18px}
@keyframes sh{to{background-position:-200% 0}}

/* game specific */
.playfield{position:relative;width:100%;flex:1;min-height:300px;border-radius:30px;overflow:hidden;touch-action:none}
.bubble{position:absolute;border-radius:50%;display:grid;place-items:center;will-change:transform;box-shadow:inset -8px -10px 18px rgba(0,0,0,.08),inset 8px 10px 14px rgba(255,255,255,.7)}
.bubble::after{content:"";position:absolute;width:26%;height:18%;top:18%;left:22%;border-radius:50%;background:rgba(255,255,255,.75);transform:rotate(-30deg)}
.burst{position:absolute;pointer-events:none;width:12px;height:12px;border-radius:50%;animation:burst .6s var(--ease-out) forwards}
@keyframes burst{to{transform:translate(var(--bx),var(--by)) scale(.2);opacity:0}}
.xylo{display:flex;gap:8px;align-items:center;justify-content:center;width:100%;max-width:760px;height:min(56vh,420px)}
.xylo button{flex:1;border-radius:18px;box-shadow:0 6px 0 rgba(0,0,0,.12),inset 0 -10px 0 rgba(0,0,0,.08);position:relative;transition:transform .1s var(--ease-out)}
.xylo button::before,.xylo button::after{content:"";position:absolute;left:50%;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:rgba(255,255,255,.7)}
.xylo button::before{top:10px}.xylo button::after{bottom:16px}
.xylo button.hit{transform:translateY(5px) scale(.98)}
.xylo button.next{outline:4px solid #fff;outline-offset:3px;animation:wig 1.2s ease-in-out infinite}
.trace-wrap{position:relative;width:min(88vw,420px);aspect-ratio:1;border-radius:32px;background:var(--surface);box-shadow:var(--sh-2);overflow:hidden;touch-action:none}
.trace-wrap canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
.meter.big{height:16px;width:min(88vw,420px);background:rgba(58,42,74,.08)}
.drag{touch-action:none;cursor:grab}
.slotrow{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.slot{width:58px;height:66px;border-radius:16px;background:rgba(58,42,74,.06);border:3px dashed rgba(58,42,74,.18);display:grid;place-items:center;font-size:32px;font-weight:900}
.slot.fill{background:var(--surface);border:3px solid var(--mint);animation:pop .35s var(--ease-out)}
.tiles{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;max-width:520px}
.ltile{width:58px;height:62px;border-radius:16px;background:var(--surface);box-shadow:0 5px 0 #EADBCD,var(--sh-1);font-size:30px;font-weight:900;transition:transform .12s var(--ease-out),opacity .2s}
.ltile:active{transform:translateY(4px)}
.ltile.used{opacity:.25;pointer-events:none}
.board{display:grid;gap:4px;padding:8px;border-radius:24px;background:#CDEFD9;box-shadow:var(--sh-2);width:min(92vw,420px);aspect-ratio:1}
.cell{border-radius:12px;background:#E9F8EE;position:relative;display:grid;place-items:center}
.cell.rock{background:#D7CBBE}
.cell img{width:92%;height:92%;object-fit:contain;transition:transform .3s var(--ease-io)}
.cell.path{background:#FFF0B8}
.prog{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;min-height:52px;max-width:520px}
.prog span{width:44px;height:44px;border-radius:14px;background:var(--surface);display:grid;place-items:center;box-shadow:var(--sh-1)}
.prog span svg{width:24px;height:24px}
.arrows{display:flex;gap:8px}
.arrows button{width:62px;height:62px;border-radius:20px;background:var(--sky);color:#fff;box-shadow:0 5px 0 #4E98DB;display:grid;place-items:center}
.arrows button:active{transform:translateY(4px);box-shadow:0 1px 0 #4E98DB}
.arrows svg{width:30px;height:30px;stroke-width:3.4}
.mscript{font-family:'Noto Sans Mongolian',serif;writing-mode:vertical-lr;text-orientation:upright}
.basket{flex:1;min-height:120px;border-radius:26px;display:grid;place-items:end center;padding-bottom:10px;font-size:16px;font-weight:900;color:#fff;border:4px dashed rgba(255,255,255,.7);transition:transform .15s var(--ease-out)}
.basket.hot{transform:scale(1.05)}
.ball{width:62px;height:62px;border-radius:50%;box-shadow:inset -6px -8px 12px rgba(0,0,0,.12),inset 6px 8px 10px rgba(255,255,255,.6),0 6px 12px -6px rgba(0,0,0,.3);touch-action:none;position:relative;z-index:2}
.palette{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.palette button{width:48px;height:48px;border-radius:50%;border:4px solid #fff;box-shadow:var(--sh-1);transition:transform .12s var(--ease-out)}
.palette button[aria-pressed=true]{transform:scale(1.18);box-shadow:0 0 0 3px var(--ink)}
.colorpage{width:min(92vw,460px);aspect-ratio:1;background:#fff;border-radius:28px;box-shadow:var(--sh-2)}
.colorpage path,.colorpage circle,.colorpage rect,.colorpage ellipse,.colorpage polygon{stroke:#3A2A4A;stroke-width:3;stroke-linejoin:round;cursor:pointer;transition:fill .25s}
.hidefield{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(92vw,520px)}
.spot{aspect-ratio:1;border-radius:26px;background:rgba(255,255,255,.7);position:relative;overflow:visible;box-shadow:var(--sh-1)}
.spot img.cover{width:100%;height:100%;object-fit:contain;transition:transform .35s var(--ease-out)}
.spot img.who{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain;opacity:0;transform:translateY(30%) scale(.8);transition:opacity .3s,transform .4s var(--ease-out)}
.spot.open img.cover{transform:translateY(-34%) scale(.9)}
.spot.open img.who{opacity:1;transform:none}
.maze{touch-action:none;width:min(92vw,440px);aspect-ratio:1;background:#fff;border-radius:26px;box-shadow:var(--sh-2)}
.night{--g-bg:linear-gradient(180deg,#2E2650 0%,#4A3F7A 100%);color:#fff}
.night .game-top h2{color:#fff}
.night .icon-btn{color:var(--ink);box-shadow:0 4px 0 rgba(0,0,0,.25)}
.twinkle{position:absolute;width:10px;height:10px;border-radius:50%;background:#FFE9A6;box-shadow:0 0 12px #FFE9A6;animation:tw 2.4s ease-in-out infinite}
@keyframes tw{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}

.footer{margin:28px 0 8px;text-align:center;font-size:13px;color:var(--muted)}
.footer a{color:var(--muted);text-underline-offset:3px}

@media (min-width:900px){
  .home-cols{display:grid;grid-template-columns:340px 1fr;gap:24px;align-items:start}
  .home-cols .side{position:sticky;top:16px}
  .hero{grid-template-columns:1fr;text-align:center;justify-items:center;padding:20px}
  .hero .pet{width:200px;height:200px}
  .nav{position:fixed;left:50%;transform:translateX(-50%);width:520px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* polish */
.bubble-say{display:inline-block;background:var(--butter-soft);color:#6B4E00;border-radius:16px 16px 16px 4px;padding:6px 12px;font-size:14px;font-weight:900;margin-bottom:6px;animation:rise .5s var(--ease-out) .3s both}
@media (min-width:900px){.bubble-say{border-radius:16px}}
.stagger>.tile{animation:tileIn .45s var(--ease-out) both;animation-delay:calc(var(--i,0) * 40ms)}
@keyframes tileIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.celebrate img.hop{animation:hop 1.1s var(--ease-out) .1s both}
@keyframes hop{0%{transform:translateY(30px) scale(.8);opacity:0}40%{transform:translateY(-14px) scale(1.04);opacity:1}65%{transform:translateY(0) scale(.98,1.02)}100%{transform:none}}
.chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:14px}
.chips span{background:rgba(255,255,255,.85);border-radius:99px;padding:6px 12px;font-size:13px;font-weight:900;color:var(--muted);box-shadow:var(--sh-1)}
.card.ok{animation:okPop .45s var(--ease-out)}
@keyframes okPop{0%{transform:scale(1)}40%{transform:scale(1.08)}100%{transform:scale(1)}}
/* pricing (parent zone) */
.cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px;margin:4px 0 14px;background:#FFFCF8;border-radius:18px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--line)}
.cmp th,.cmp td{padding:9px 8px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-weight:700}
.cmp thead th{font-size:14px;font-weight:900}
.cmp tbody th{font-weight:900;color:var(--muted);width:24%}
.cmp .fam{background:var(--coral-soft)}
.cmp thead .fam{color:var(--coral-ink)}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:0}
.plan:nth-child(2){border-color:var(--mint);box-shadow:0 6px 18px -10px rgba(47,158,115,.6)}
.plan:nth-child(2)[aria-checked=true]{border-color:var(--coral)}
.note.trial{background:var(--mint-soft);border-radius:14px;padding:10px 12px;margin:0 0 12px;color:var(--ink)}
.gift{margin-top:18px;padding:14px;border-radius:20px;background:var(--butter-soft)}
.gift b{font-size:17px}.gift-row{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 4px}
