/* Gyanshala coins: the wallet and the coins that fly into it (gs-coins.js). */
.gsc{display:inline-block; width:26px; height:26px; flex:none; border-radius:50%;
  background:url(/assets/ui/coin-v1.svg) center/contain no-repeat;
  filter:drop-shadow(0 2px 2px rgba(110,70,0,.35))}
/* Flying coins spin edge-on as they travel (scale composes with the flight's transform). */
.gsc.fly{position:fixed; z-index:100; pointer-events:none; width:30px; height:30px; margin:-4px 0 0 -4px;
  animation:gsspin .42s linear infinite}
@keyframes gsspin{0%,100%{scale:1 1} 50%{scale:.14 1}}
.gsw{position:relative; overflow:hidden; display:inline-flex; align-items:center; gap:7px; padding:4px 14px 4px 4px; border-radius:999px; text-decoration:none;
  background:linear-gradient(180deg,#FFF8D6 0%,#FFE07A 55%,#F7C531 100%); color:#5A3600; font-weight:800; font-size:16px; line-height:1;
  box-shadow:0 0 0 2px #D99A00 inset, 0 0 0 3.5px #FFF3B8 inset, 0 5px 12px -5px rgba(120,80,0,.7); text-shadow:0 1px 0 #FFF6CF;
  font-variant-numeric:tabular-nums}
/* a band of light sweeps across the wallet every few seconds */
.gsw::after{content:''; position:absolute; top:0; bottom:0; left:-60%; width:40%; pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent); transform:skewX(-20deg);
  animation:gsshine 3.6s ease-in-out infinite}
@keyframes gsshine{0%,70%{left:-60%} 100%{left:130%}}
.gsw b{min-width:1.4em; text-align:right}
.gsw.float{position:fixed; z-index:50; top:calc(8px + env(safe-area-inset-top,0px)); left:50%; transform:translateX(-50%)}
.gsw.bump{animation:gsbump .32s cubic-bezier(.22,1,.36,1) 1}
.gsw.float.bump{animation:gsbumpf .32s cubic-bezier(.22,1,.36,1) 1}
.gsplus{position:fixed; z-index:101; pointer-events:none; font-weight:800; font-size:26px; color:#F2A900;
  -webkit-text-stroke:1px #8A5400; text-shadow:0 2px 0 #fff, 0 0 10px #FFE58A}
@keyframes gsbump{50%{transform:scale(1.18)}}
@keyframes gsbumpf{50%{transform:translateX(-50%) scale(1.18)}}
@media (prefers-reduced-motion:reduce){ .gsw.bump,.gsw.float.bump,.gsw::after,.gsc.fly{animation:none} }
/* Older pages (gs-stars.js) have their own fixed header: the wallet sits bottom-left there. */
.gs-old .gsw.float{top:auto; bottom:calc(12px + env(safe-area-inset-bottom,0px)); left:12px; transform:none; z-index:9999}
.gs-old .gsw.float.bump{animation:gsbump .32s cubic-bezier(.22,1,.36,1) 1}
.gs-old .gsc.fly,.gs-old .gsplus{z-index:10000}
