/* ============ miskit.store · premium touch ============
   Press: quick ease-out squeeze (scale depends on size). Release: physical spring with a small overshoot.
   A soft glass highlight blooms from the exact touch point. Driven by touch.js (.is-pressed / --px --py). */
:root{
  --spring-release:linear(0, 0.029, 0.102, 0.202, 0.315, 0.43, 0.541, 0.643, 0.733, 0.81, 0.873, 0.924, 0.963, 0.992, 1.013, 1.026, 1.034, 1.038, 1.038, 1.036, 1.033, 1.029, 1.025, 1.02, 1.016, 1.012, 1.009, 1.006, 1.004, 1.002, 1.001, 1, 0.999, 0.999, 1);
  --spring-pop:linear(0, 0.03, 0.105, 0.211, 0.332, 0.457, 0.579, 0.691, 0.79, 0.874, 0.942, 0.995, 1.033, 1.059, 1.075, 1.082, 1.083, 1.079, 1.071, 1.062, 1.052, 1.041, 1.031, 1.022, 1.015, 1.008, 1.003, 0.999, 0.996, 0.994, 0.993, 0.993, 0.993, 0.994, 1);
  --press-in:cubic-bezier(0.23,1,0.32,1);
  --touch-glow:rgba(255,255,255,.42);
}
@supports not (transition-timing-function:linear(0,1)){:root{--spring-release:cubic-bezier(.34,1.3,.64,1);--spring-pop:cubic-bezier(.34,1.56,.64,1)}}
html[data-theme=night]{--touch-glow:rgba(255,206,160,.28)}

/* everything pressable releases on the spring */
:is(.card,.orow,.game .gi,.btn,.chip,.opt,.go,.theme-btn,.avatar,.bottomnav a,.copy button,.qty button,.x,.trust div,.stat,.faq summary,.sec-h .link,.logo){
  transition:transform 560ms var(--spring-release),box-shadow 300ms ease,background-color 300ms ease,color 300ms ease!important}
/* pressing: fast, firm squeeze; big surfaces move less than small controls */
.is-pressed:is(.card,.orow){transform:scale(.975)!important;transition:transform 160ms var(--press-in),box-shadow 200ms ease!important}
.is-pressed:is(.btn,.opt,.trust div,.stat,.sec-h .link){transform:scale(.96)!important;transition:transform 120ms var(--press-in)!important}
.is-pressed:is(.chip,.go,.theme-btn,.avatar,.copy button,.qty button,.x,.logo){transform:scale(.9)!important;transition:transform 110ms var(--press-in)!important}
.game.is-pressed .gi{transform:scale(.92)!important;transition:transform 130ms var(--press-in)!important}
.bottomnav a.is-pressed{transform:scale(.9)!important;transition:transform 110ms var(--press-in)!important}
.faq summary.is-pressed{transform:scale(.985)!important;transition:transform 120ms var(--press-in)!important}
.is-pressed:is(.card,.orow){box-shadow:var(--lg-rim),0 6px 14px -12px rgba(0,0,0,.5)!important}

/* light that blooms from the finger and fades slowly after release */
:is(.card,.orow,.btn,.chip,.opt,.trust div,.game .gi){position:relative}
:is(.card,.orow,.btn,.chip,.opt,.trust div)::before,.game .gi::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;opacity:0;
  background:radial-gradient(160px circle at var(--px,50%) var(--py,50%),var(--touch-glow),transparent 62%);
  transition:opacity 620ms ease}
:is(.card,.orow,.btn,.chip,.opt,.trust div).is-pressed::before,.game.is-pressed .gi::before{opacity:1;transition:opacity 90ms ease}
.btn-p{--touch-glow:rgba(255,255,255,.28)}

/* selected states pop on a spring */
.opt.on:after{animation:popSpring 520ms var(--spring-pop) both!important}
@keyframes popSpring{from{transform:scale(.4);opacity:0}}
.chip.on,.game.on .gi{animation:selectPulse 520ms var(--spring-pop)}
@keyframes selectPulse{0%{transform:scale(.94)}100%{transform:scale(1)}}
.qty b.bump{animation:bump 420ms var(--spring-pop)}
@keyframes bump{0%{transform:translateY(-6px) scale(.8);opacity:.3}}
.copy button.ok{animation:selectPulse 480ms var(--spring-pop)}

/* toggle knobs travel on the spring */
.sw2 i:after,.sw i:after{transition:transform 520ms var(--spring-pop),background 200ms ease!important}
.sw2 input:active+i:after{width:26px}

/* dock: one white bubble that glides to the chosen tab */
.bottomnav{position:fixed}
.bottomnav .bn-pill{position:absolute;top:7px;left:0;height:calc(100% - 14px);border-radius:999px;pointer-events:none;z-index:0;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.88));box-shadow:inset 0 -1px 0 rgba(34,46,110,.1),0 8px 18px -8px rgba(0,0,0,.4);
  transition:transform 560ms var(--spring-release),width 560ms var(--spring-release),opacity 200ms ease}
html[data-theme=night] .bottomnav .bn-pill{background:linear-gradient(180deg,#fffaf5,#f1e2d4)}
.bottomnav.has-pill a{position:relative;z-index:1;background:none!important;box-shadow:none!important}
.bottomnav.has-pill a.on{color:var(--ink)!important}
html[data-theme=night] .bottomnav.has-pill a.on{color:#24160f!important}
.bottomnav.has-pill a .i{transition:transform 560ms var(--spring-pop)}
.bottomnav.has-pill a.on .i{transform:translateY(-1px) scale(1.08)}

/* the theme button turns as it switches */
.theme-btn .i{transition:transform 700ms var(--spring-pop)}
.theme-btn.spin .i{transform:rotate(180deg) scale(.9)}

@media(prefers-reduced-motion:reduce){
  .is-pressed{transform:none!important}
  .bottomnav .bn-pill{transition:opacity 200ms ease}
  .chip.on,.game.on .gi,.qty b.bump,.copy button.ok,.opt.on:after{animation:none!important}
}

/* ---------- payment logos ---------- */
.plogo{display:block;height:16px;width:auto;flex:none}
.proof .pay em{display:inline-flex;align-items:center;gap:6px}
.proof .pay em .plogo{height:16px}
.proof .pay em[title="UPI"] .plogo{height:13px}
.pm .lg .plogo{height:20px}
.pm .lg-upi .plogo{height:13px;color:#4a4a4a}

/* ---------- small screens: more air ---------- */
@media (max-width:520px){
  /* hero search: Browse becomes a round arrow so the placeholder fits */
  .hero-search{padding:5px 5px 5px 14px}
  .hero-search .btn{width:44px;padding:0!important;justify-content:center;font-size:0;gap:0}
  .hero-search .btn .i{width:20px;height:20px;margin:0}
  .hero-search input{font-size:15.5px}
  .hero2 .hero-sub{font-size:14.5px;padding:0 6px}
  .pp-img{border-width:4px!important}
}
@media (max-width:400px){
  /* payment method boxes: drop the second line so names don't wrap */
  .opts .pm small{display:none}
  .opts .pm{gap:8px}
  .pm .lg{width:32px;height:32px;border-radius:11px}
  .proof{gap:6px 10px;font-size:13px}
  .strip>div{padding:10px;gap:10px}
}

/* game tag with the game's icon on product cards */
.plat.ptag{gap:6px;padding-left:3px;max-width:100%;min-width:0}
.plat.ptag img{width:18px;height:18px;border-radius:5px;object-fit:cover;flex:none}
.plat.ptag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* game logo in the catalog heading and the game chip */
#shopTitle{display:flex;align-items:center;gap:10px}
#shopTitle .gico{width:34px;height:34px;border-radius:10px;object-fit:cover;flex:none;box-shadow:0 6px 14px -6px rgba(0,0,0,.5)}
.chip .gico{width:20px;height:20px;border-radius:6px;object-fit:cover;flex:none;margin-left:-6px}
.chip.game-clear,.chip.q-clear{display:inline-flex;align-items:center;gap:6px}
#count{white-space:nowrap}

/* ---------- game dropdown (catalog filters) ---------- */
.gdd-btn{display:inline-flex;align-items:center;gap:7px;flex:none;padding-left:6px}
.gdd-btn .gico{margin-left:0}
.gdd-all{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(0,0,0,.06)}
html[data-theme=night] .gdd-all{background:rgba(255,226,200,.1)}
.gdd-t{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gdd-chev{transform:rotate(90deg);transition:transform .22s cubic-bezier(.23,1,.32,1);opacity:.7}
.gdd-btn.open .gdd-chev{transform:rotate(-90deg)}
.gdd-menu{position:fixed;z-index:120;overflow:auto;overscroll-behavior:contain;padding:8px;border-radius:22px;
  background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.9);box-shadow:0 24px 50px -20px rgba(40,30,80,.45);
  opacity:0;transform:translateY(-6px) scale(.96);transition:opacity .18s cubic-bezier(.23,1,.32,1),transform .22s cubic-bezier(.23,1,.32,1);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.gdd-menu.in{opacity:1;transform:none}
.gdd-menu.closing{opacity:0;transform:translateY(-4px) scale(.98);transition-duration:.12s}
html[data-theme=night] .gdd-menu{background:rgba(32,21,15,.97);border-color:rgba(255,226,200,.14);box-shadow:0 26px 54px -18px rgba(0,0,0,.85)}
.gdd-menu .hs-o{outline:none}
.gdd-menu .hs-o:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,140,60,.55)}
.gdd-menu .gdd-ok{color:#e8590c;flex:none}
html[data-theme=night] .gdd-menu .gdd-ok{color:#ffa45c}
.gdd-menu .hs-img img{width:100%;height:100%;object-fit:cover}
@media (prefers-reduced-motion:reduce){.gdd-menu,.gdd-chev{transition:none}}
