/* Ifycoin v1.7 shared UX layer: responsive balance, side drawer, coin icon, mining scenes */
.ify-header-balance{display:inline-flex;flex-direction:column;justify-content:center;gap:1px;min-width:128px;padding:7px 11px;border-radius:12px;text-decoration:none!important;line-height:1.08;white-space:nowrap;position:relative;z-index:40}
.ify-header-balance small{font-size:9px;letter-spacing:.11em;text-transform:uppercase;opacity:.7}.ify-header-balance b{font-size:12px;letter-spacing:-.01em}.ify-header-balance:hover{transform:translateY(-1px)}
.theme-nebula .ify-header-balance{background:rgba(88,255,193,.08);border:1px solid rgba(88,255,193,.22);box-shadow:0 0 24px rgba(48,232,166,.08)}
.theme-electric .ify-header-balance{background:rgba(255,228,70,.08);border:1px solid rgba(255,228,70,.34);box-shadow:0 0 18px rgba(255,228,70,.16)}
.theme-rgbled .ify-header-balance{background:#07070b;border:1px solid #7dffdf;box-shadow:-2px 0 #ff3dad,2px 0 #45e8ff,0 0 18px rgba(139,100,255,.24)}
.theme-minecraft .ify-header-balance{border-radius:2px;border:3px solid #101010;background:#d9b45a;color:#12100c;box-shadow:4px 4px 0 #171717}
.theme-hacker .ify-header-balance{border-radius:0;border:1px solid currentColor;background:#050505;color:#fff;font-family:ui-monospace,Consolas,monospace}
.theme-arctic .ify-header-balance{background:rgba(76,201,255,.07);border:1px solid rgba(91,212,255,.25);box-shadow:inset 0 0 18px rgba(71,193,255,.05)}
.theme-solar .ify-header-balance{background:rgba(255,151,55,.09);border:1px solid rgba(255,160,68,.28);box-shadow:0 0 20px rgba(255,105,20,.09)}
.forge-sidebar .ify-header-balance{width:calc(100% - 24px);margin:10px 12px 8px;box-sizing:border-box}

.ify-home-coin-icon{display:block;width:68%;height:68%;max-width:116px;max-height:116px;object-fit:contain;margin:auto;filter:drop-shadow(0 0 12px rgba(255,255,255,.25));animation:ifyIconFloat 3.2s ease-in-out infinite}
.ify-home-coin-text{display:inline-grid;place-items:center;line-height:1}
.theme-minecraft .ify-home-coin-icon{border-radius:0;image-rendering:pixelated;filter:drop-shadow(5px 5px 0 rgba(0,0,0,.35));animation:ifyPixelBob 1.5s steps(4,end) infinite}
.theme-hacker .ify-home-coin-icon{filter:grayscale(1) contrast(1.35) drop-shadow(0 0 7px #fff);animation:ifyGlitchIcon 1.8s steps(2,end) infinite}
.theme-rgbled .ify-home-coin-icon{animation:ifyRgbSpin 4.5s linear infinite;filter:drop-shadow(0 0 10px #20e6ff) drop-shadow(0 0 17px #ff3fa8)}
.theme-electric .ify-home-coin-icon{animation:ifyElectricIcon 1.8s ease-in-out infinite;filter:drop-shadow(0 0 16px #ffe12b)}
@keyframes ifyIconFloat{50%{transform:translateY(-7px) scale(1.035)}}
@keyframes ifyPixelBob{50%{transform:translate(0,-6px)}}
@keyframes ifyGlitchIcon{0%,90%,100%{transform:none}92%{transform:translateX(-3px) skewX(7deg)}96%{transform:translateX(3px) skewX(-8deg)}}
@keyframes ifyRgbSpin{to{transform:rotateY(360deg)}}
@keyframes ifyElectricIcon{0%,100%{transform:scale(1);filter:drop-shadow(0 0 9px #ffe12b)}50%{transform:scale(1.08);filter:drop-shadow(0 0 25px #fff06b)}}

/* Real mining scene shared geometry */
.ify-mining-scene{height:170px;max-width:520px;margin:22px auto 18px;position:relative;overflow:hidden;border-radius:18px;isolation:isolate;transform:translateZ(0)}
.ify-mining-scene .mine-sky{position:absolute;inset:0 0 38% 0;overflow:hidden}.ify-mining-scene .mine-sky i{position:absolute;width:64px;height:23px;border-radius:40px;opacity:.52;animation:mineCloudDrift 7s linear infinite}.ify-mining-scene .mine-sky i:nth-child(1){left:-60px;top:25px}.ify-mining-scene .mine-sky i:nth-child(2){left:35%;top:12px;animation-duration:9s;animation-delay:-3s}.ify-mining-scene .mine-sky i:nth-child(3){left:78%;top:46px;animation-duration:6.4s;animation-delay:-1s}
.ify-mining-scene .mine-source{position:absolute;left:26px;bottom:26px;width:120px;height:66px;border-radius:55% 55% 14px 14px;display:grid;place-items:center;font-size:9px;font-weight:900;letter-spacing:.08em;z-index:3}.ify-mining-scene .mine-source:before,.ify-mining-scene .mine-source:after{content:"";position:absolute;border-radius:50%;width:55px;height:45px;top:-20px}.ify-mining-scene .mine-source:before{left:6px}.ify-mining-scene .mine-source:after{right:5px;width:65px;height:52px;top:-27px}.ify-mining-scene .mine-source span{position:relative;z-index:2;margin-top:12px}
.ify-mining-scene .mine-ground{position:absolute;left:0;right:0;bottom:0;height:35px;display:flex;overflow:hidden;z-index:1}.ify-mining-scene .mine-ground i{flex:1;border-right:1px solid rgba(255,255,255,.08)}
.ify-mining-scene .mine-miner{position:absolute;left:58%;bottom:31px;width:50px;height:83px;z-index:6;transform-origin:50% 100%;animation:minerBodyBob .62s ease-in-out infinite alternate}.ify-mining-scene .miner-head{position:absolute;width:29px;height:29px;border-radius:50%;top:0;left:10px;border:3px solid currentColor;box-sizing:border-box}.ify-mining-scene .miner-head:before{content:"";position:absolute;width:36px;height:9px;left:-7px;top:-5px;border-radius:6px 6px 2px 2px;background:currentColor}.ify-mining-scene .miner-body{position:absolute;left:16px;top:30px;width:18px;height:31px;border-radius:6px 6px 3px 3px;background:currentColor}.ify-mining-scene .miner-arm{position:absolute;left:22px;top:37px;width:35px;height:8px;border-radius:8px;background:currentColor;transform:rotate(-22deg);transform-origin:0 50%}.ify-mining-scene .miner-leg{position:absolute;top:58px;width:8px;height:28px;background:currentColor;border-radius:4px}.ify-mining-scene .miner-leg.a{left:14px;transform:rotate(8deg)}.ify-mining-scene .miner-leg.b{left:29px;transform:rotate(-8deg)}
.ify-mining-scene .mine-tool{position:absolute;left:calc(58% + 42px);bottom:74px;z-index:8;transform-origin:8px 34px;animation:mineToolSwing .78s cubic-bezier(.5,.05,.42,.92) infinite}.ify-mining-scene .mine-tool span{display:block;font-size:38px;line-height:1;font-weight:900}.ify-mining-scene .mine-impact{position:absolute;left:46%;bottom:48px;width:34px;height:34px;z-index:8}.ify-mining-scene .mine-impact i{position:absolute;left:15px;top:14px;width:4px;height:14px;background:currentColor;transform-origin:50% 18px;animation:impactFlash .78s ease-out infinite}.ify-mining-scene .mine-impact i:nth-child(2){transform:rotate(70deg);animation-delay:.08s}.ify-mining-scene .mine-impact i:nth-child(3){transform:rotate(-70deg);animation-delay:.14s}
.ify-mining-scene .mine-coin{position:absolute;left:31%;bottom:53px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:8px;font-weight:950;z-index:5;opacity:0;animation:coinExtract 2.1s ease-out infinite}.ify-mining-scene .mc2{animation-delay:.68s}.ify-mining-scene .mc3{animation-delay:1.36s}
.ify-mining-scene.idle .mine-tool,.ify-mining-scene.idle .mine-miner,.ify-mining-scene.idle .mine-coin,.ify-mining-scene.idle .mine-impact i{animation-play-state:paused}.ify-mining-scene.idle .mine-coin{opacity:.2}.ify-mining-scene.idle{filter:saturate(.55);opacity:.78}
@keyframes mineToolSwing{0%,100%{transform:rotate(-28deg)}48%{transform:rotate(28deg)}56%{transform:rotate(20deg)}}
@keyframes minerBodyBob{to{transform:translateY(2px) rotate(-1deg)}}
@keyframes coinExtract{0%,28%{opacity:0;transform:translate(0,12px) scale(.55) rotate(0)}40%{opacity:1}72%{opacity:1;transform:translate(72px,-64px) scale(1.02) rotate(260deg)}100%{opacity:0;transform:translate(118px,-82px) scale(.6) rotate(420deg)}}
@keyframes impactFlash{0%,38%{opacity:0;scale:.3}48%{opacity:1;scale:1}72%,100%{opacity:0;scale:1.3}}
@keyframes mineCloudDrift{to{transform:translateX(560px)}}

/* Theme-specific mining worlds */
.theme-nebula .ify-mining-scene{background:radial-gradient(circle at 22% 40%,rgba(83,255,196,.18),transparent 26%),linear-gradient(180deg,rgba(11,31,39,.86),rgba(7,20,27,.96));border:1px solid rgba(79,255,190,.16);color:#79ffd0;box-shadow:inset 0 0 50px rgba(62,238,177,.05)}.theme-nebula .mine-sky i{background:rgba(205,255,241,.16);box-shadow:28px 4px 0 rgba(205,255,241,.11)}.theme-nebula .mine-source,.theme-nebula .mine-source:before,.theme-nebula .mine-source:after{background:#173e3e}.theme-nebula .mine-ground{background:linear-gradient(#123b35,#0d2828)}.theme-nebula .mine-coin{background:radial-gradient(circle at 34% 26%,#eafff7,#65efb9 48%,#178d65);color:#05281a;box-shadow:0 0 16px #56efb1}
.theme-solar .ify-mining-scene{background:radial-gradient(circle at 20% 60%,rgba(255,116,28,.26),transparent 28%),linear-gradient(#21100b,#0d0808);border:1px solid rgba(255,139,53,.3);color:#ffb66b}.theme-solar .mine-sky i{background:rgba(255,160,70,.09)}.theme-solar .mine-source,.theme-solar .mine-source:before,.theme-solar .mine-source:after{background:linear-gradient(145deg,#683016,#2d140d)}.theme-solar .mine-ground{background:repeating-linear-gradient(90deg,#3f1d11 0 45px,#29110c 45px 90px)}.theme-solar .mine-coin{background:radial-gradient(circle at 35% 25%,#fff7c4,#ff9e37 48%,#a33c10);color:#2b0e04;box-shadow:0 0 19px #ff7a1a}.forge-session-output{text-align:center;margin:4px 0 10px}.forge-session-output small{display:block;opacity:.65}.forge-session-output strong{font-size:22px}
.theme-arctic .ify-mining-scene{background:linear-gradient(180deg,rgba(11,37,58,.9),rgba(6,20,35,.96));border:1px solid rgba(84,209,255,.23);color:#83ddff}.theme-arctic .mine-sky i{background:rgba(185,239,255,.14)}.theme-arctic .mine-source,.theme-arctic .mine-source:before,.theme-arctic .mine-source:after{background:linear-gradient(145deg,#4da4c7,#153b56);clip-path:polygon(10% 100%,0 48%,28% 25%,38% 0,59% 31%,80% 15%,100% 55%,90% 100%)}.theme-arctic .mine-ground{background:repeating-linear-gradient(115deg,#123e59 0 36px,#0b2a42 36px 70px)}.theme-arctic .mine-coin{background:#c8f5ff;color:#07324a;border:2px solid #66d7ff;box-shadow:0 0 20px #56d8ff}
.theme-electric .ify-mining-scene{background:radial-gradient(circle at 23% 50%,rgba(255,230,50,.18),transparent 26%),linear-gradient(#151713,#080a08);border:1px solid rgba(255,227,44,.32);color:#ffe74f;box-shadow:inset 0 0 40px rgba(255,230,42,.05)}.theme-electric .mine-sky i{height:2px;border-radius:0;background:#ffed55;box-shadow:0 0 9px #ffed55;transform:skewX(-35deg)}.theme-electric .mine-source,.theme-electric .mine-source:before,.theme-electric .mine-source:after{background:linear-gradient(145deg,#555126,#242414);box-shadow:0 0 17px rgba(255,231,66,.22)}.theme-electric .mine-ground{background:repeating-linear-gradient(90deg,#1f2016 0 48px,#10120d 48px 96px)}.theme-electric .mine-coin{background:#fff05c;color:#191a0a;box-shadow:0 0 22px #ffe51f}.theme-electric .mine-impact{filter:drop-shadow(0 0 8px #fff25a)}
.theme-rgbled .ify-mining-scene{background-color:#07070b;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:12px 12px;border:2px solid transparent;border-image:linear-gradient(90deg,#ff3caa,#7c57ff,#25eaff,#55ff8c,#ffe23d) 1;color:#9dfcff}.theme-rgbled .mine-source,.theme-rgbled .mine-source:before,.theme-rgbled .mine-source:after{border-radius:0;background:#14131d;box-shadow:inset 0 0 0 2px #ff3daa,0 0 12px #26ddff}.theme-rgbled .mine-ground{background:repeating-linear-gradient(90deg,#16151e 0 35px,#29223a 35px 70px)}.theme-rgbled .mine-coin{background:linear-gradient(135deg,#ff4bb3,#705cff,#22ebff,#5cff8d);color:#06060a;box-shadow:0 0 16px #ff43b1}.theme-rgbled .mine-tool{filter:drop-shadow(0 0 8px #ff4eb7)}
.theme-minecraft .ify-mining-scene{border-radius:0;background:#7ec7e9;border:4px solid #151515;color:#181818;box-shadow:6px 6px 0 #151515;image-rendering:pixelated}.theme-minecraft .mine-sky i{border-radius:0;background:#fff;box-shadow:20px 0 #fff,40px 8px #fff}.theme-minecraft .mine-source,.theme-minecraft .mine-source:before,.theme-minecraft .mine-source:after{border-radius:0;background:#777;box-shadow:inset 0 0 0 4px #4a4a4a}.theme-minecraft .mine-ground{height:39px;background:repeating-linear-gradient(90deg,#67431e 0 54px,#4d3217 54px 108px);border-top:9px solid #559a31}.theme-minecraft .mine-miner,.theme-minecraft .mine-tool{animation-timing-function:steps(3,end)}.theme-minecraft .mine-coin{border-radius:2px;background:#e7c33d;color:#17130a;box-shadow:4px 4px 0 #694f0d;animation-timing-function:steps(8,end)}
.theme-hacker .ify-mining-scene{border-radius:0;background:#020202;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:18px 18px;border:1px solid #eee;color:#f2f2f2;font-family:ui-monospace,Consolas,monospace}.theme-hacker .mine-sky i{height:1px;border-radius:0;background:#fff}.theme-hacker .mine-source,.theme-hacker .mine-source:before,.theme-hacker .mine-source:after{border-radius:0;background:#080808;border:1px dashed #fff}.theme-hacker .mine-ground{background:repeating-linear-gradient(90deg,#080808 0 45px,#171717 45px 46px)}.theme-hacker .mine-coin{background:#fff;color:#000;border:1px solid #fff;box-shadow:0 0 8px #fff}.theme-hacker .mine-tool span{font-size:22px}.theme-hacker .mine-impact i{height:9px}.theme-hacker .mine-miner{animation:minerHack .35s steps(2,end) infinite alternate}@keyframes minerHack{to{transform:translate(2px,1px)}}

/* Responsive animated side drawer. Loaded after every theme, so it replaces old dropdown menus. */
.ify-drawer-close,.ify-drawer-overlay{display:none}
@media(max-width:900px){
  body.nav-open{overflow:hidden}.nav-toggle{display:grid!important;place-items:center;position:relative;z-index:10002;flex:0 0 auto}
  .ify-header-balance{margin-left:auto;min-width:0;padding:6px 8px}.ify-header-balance small{display:none}.ify-header-balance b{font-size:10px}.ify-header-balance #headerBalance{font-size:11px}
  .forge-sidebar .ify-header-balance{position:fixed;top:9px;right:58px;width:auto;margin:0;z-index:10003}.menu-side-left .forge-sidebar .ify-header-balance{right:58px}
  header .ify-mobile-drawer,.forge-sidebar .ify-mobile-drawer{display:flex!important;position:fixed!important;top:0!important;bottom:0!important;height:100dvh!important;width:min(84vw,350px)!important;max-width:350px!important;z-index:10001!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:76px 20px 28px!important;overflow-y:auto!important;box-sizing:border-box!important;visibility:visible!important;opacity:1!important;transition:transform .42s cubic-bezier(.2,.84,.26,1)!important}
  body.menu-side-left header .ify-mobile-drawer,body.menu-side-left .forge-sidebar .ify-mobile-drawer{left:0!important;right:auto!important;transform:translateX(-105%)!important}
  body.menu-side-right header .ify-mobile-drawer,body.menu-side-right .forge-sidebar .ify-mobile-drawer{right:0!important;left:auto!important;transform:translateX(105%)!important}
  body.nav-open.menu-side-left header .ify-mobile-drawer,body.nav-open.menu-side-left .forge-sidebar .ify-mobile-drawer,body.nav-open.menu-side-right header .ify-mobile-drawer,body.nav-open.menu-side-right .forge-sidebar .ify-mobile-drawer{transform:translateX(0)!important}
  .ify-mobile-drawer>a{display:block!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px 13px!important}
  .ify-drawer-close{display:grid;place-items:center;position:absolute;right:14px;top:14px;width:42px;height:42px;padding:0;border:0;background:transparent;color:inherit;font-size:32px;cursor:pointer;z-index:2}
  .menu-side-right .ify-drawer-close{right:auto;left:14px}
  .ify-drawer-overlay{display:block;position:fixed;inset:0;border:0;padding:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px);z-index:10000;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
  body.nav-open .ify-drawer-overlay{opacity:1;visibility:visible}
  .theme-nebula .ify-mobile-drawer{background:radial-gradient(circle at 30% 15%,rgba(69,234,168,.16),transparent 30%),#08151b!important;border-right:1px solid rgba(91,255,198,.28);box-shadow:18px 0 55px rgba(0,0,0,.5)}.theme-nebula.menu-side-right .ify-mobile-drawer{border-right:0;border-left:1px solid rgba(91,255,198,.28)}
  .theme-electric .ify-mobile-drawer{background:linear-gradient(160deg,#15170c,#070807)!important;border-right:2px solid #ffe64c;box-shadow:18px 0 55px rgba(255,226,41,.12);animation:drawerVoltage 1.4s ease-in-out infinite alternate}.theme-electric.menu-side-right .ify-mobile-drawer{border-right:0;border-left:2px solid #ffe64c}@keyframes drawerVoltage{to{box-shadow:18px 0 62px rgba(255,226,41,.25)}}
  .theme-rgbled .ify-mobile-drawer{background:#07070b!important;border-right:3px solid transparent;border-image:linear-gradient(#ff42ad,#7a5cff,#26e8ff,#5cff8f,#ffe23e) 1;box-shadow:15px 0 40px rgba(126,86,255,.2)}.theme-rgbled.menu-side-right .ify-mobile-drawer{border-right:0;border-left:3px solid transparent;border-image:linear-gradient(#ff42ad,#7a5cff,#26e8ff,#5cff8f,#ffe23e) 1}
  .theme-minecraft .ify-mobile-drawer{background:#c8a85e!important;border:5px solid #171717!important;box-shadow:9px 0 0 #171717;transition-timing-function:steps(7,end)!important}.theme-minecraft .ify-mobile-drawer>a{border:3px solid #161616!important;border-radius:0!important;background:#dfc477!important;color:#171717!important;box-shadow:3px 3px 0 #171717}.theme-minecraft.menu-side-right .ify-mobile-drawer{box-shadow:-9px 0 0 #171717}
  .theme-hacker .ify-mobile-drawer{background:#020202!important;color:#fff!important;border-right:1px solid #fff;box-shadow:14px 0 0 rgba(255,255,255,.05);transition-timing-function:steps(9,end)!important}.theme-hacker.menu-side-right .ify-mobile-drawer{border-right:0;border-left:1px solid #fff}.theme-hacker .ify-mobile-drawer:before{content:"MENU // IFY";position:absolute;top:25px;left:20px;font:12px ui-monospace,monospace;letter-spacing:.15em}
  .theme-arctic .ify-mobile-drawer{background-color:#071826!important;background-image:linear-gradient(rgba(80,207,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(80,207,255,.06) 1px,transparent 1px);background-size:24px 24px;border-right:1px solid rgba(86,215,255,.34);box-shadow:16px 0 50px rgba(35,174,230,.12)}.theme-arctic.menu-side-right .ify-mobile-drawer{border-right:0;border-left:1px solid rgba(86,215,255,.34)}
  .theme-solar .ify-mobile-drawer{background:linear-gradient(160deg,#25120b,#0b0707)!important;border-right:2px solid #ff9141;box-shadow:17px 0 55px rgba(255,97,23,.13)}.theme-solar.menu-side-right .ify-mobile-drawer{border-right:0;border-left:2px solid #ff9141}
  .ify-mining-scene{height:150px;margin:18px auto 14px}.ify-mining-scene .mine-source{left:14px;transform:scale(.86);transform-origin:left bottom}.ify-mining-scene .mine-miner{left:61%;transform:scale(.86);transform-origin:center bottom}.ify-mining-scene .mine-tool{left:calc(61% + 34px)}
}
@media(max-width:520px){.ify-header-balance b{font-size:9px}.ify-header-balance{padding:5px 6px}.ify-mining-scene{height:136px}.ify-mining-scene .mine-source{left:4px;transform:scale(.72)}.ify-mining-scene .mine-miner{left:62%;transform:scale(.74);transform-origin:center bottom}.ify-mining-scene .mine-tool{left:calc(62% + 26px);bottom:64px}.ify-mining-scene .mine-coin{left:27%}}

/* v1.7.1: miner now strikes an ore vein below the ground line instead of swinging in open air */
.ify-mining-scene .mine-ground{z-index:2;height:39px}
.ify-mining-scene .mine-source{bottom:31px}
.ify-mining-scene .mine-miner{left:57%;bottom:36px;z-index:7}
.ify-mining-scene .miner-arm{left:20px;top:38px;width:29px;transform:rotate(28deg);transform-origin:2px 50%;animation:minerArmStrike .78s cubic-bezier(.5,.05,.42,.92) infinite}
.ify-mining-scene .mine-pit{position:absolute;left:calc(57% + 38px);bottom:-3px;width:112px;height:47px;z-index:4;border-radius:52% 52% 12px 12px/34% 34% 12px 12px;background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.72));border:2px solid currentColor;border-bottom-width:4px;box-sizing:border-box;overflow:hidden;box-shadow:inset 0 8px 17px rgba(0,0,0,.55)}
.ify-mining-scene .mine-pit:before{content:"";position:absolute;left:10px;right:10px;top:-6px;height:13px;border-radius:50%;background:rgba(0,0,0,.78);box-shadow:inset 0 -2px 0 rgba(255,255,255,.08)}
.ify-mining-scene .mine-vein{position:absolute;left:42px;top:17px;width:36px;height:22px;display:grid;place-items:center;border-radius:50%;font-style:normal;font-size:8px;font-weight:1000;letter-spacing:.05em;background:currentColor;color:#081018;box-shadow:0 0 12px currentColor;animation:orePulse 1.15s ease-in-out infinite}
.ify-mining-scene .mine-crack{position:absolute;width:2px;height:20px;background:currentColor;opacity:.46;top:13px;left:35px;transform:rotate(38deg)}
.ify-mining-scene .mine-crack.b{left:82px;transform:rotate(-42deg);height:17px;top:19px}
.ify-mining-scene .mine-tool{position:absolute;left:calc(57% + 28px);bottom:57px;width:72px;height:72px;z-index:9;transform-origin:9px 11px;animation:mineToolGroundStrike .78s cubic-bezier(.54,.01,.35,.98) infinite;pointer-events:none}
.ify-mining-scene .mine-tool .tool-handle{position:absolute;left:9px;top:8px;width:5px;height:64px;border-radius:4px;background:currentColor;box-shadow:0 0 4px rgba(255,255,255,.12)}
.ify-mining-scene .mine-tool .tool-head{position:absolute;left:-9px;top:5px;width:39px;height:7px;border-radius:55% 55% 3px 3px;background:currentColor;transform:rotate(-5deg)}
.ify-mining-scene .mine-tool span{position:absolute;left:-8px;top:-14px;display:grid;place-items:center;width:27px;height:20px;font-size:12px;line-height:1;font-weight:1000;opacity:.8}
.ify-mining-scene .mine-impact{position:absolute;left:calc(57% + 91px);bottom:9px;width:38px;height:29px;z-index:10;transform:rotate(-8deg)}
.ify-mining-scene .mine-impact i{position:absolute;left:17px;top:7px;width:3px;height:13px;background:currentColor;transform-origin:50% 14px;animation:impactGroundFlash .78s ease-out infinite}
.ify-mining-scene .mine-impact i:nth-child(2){transform:rotate(58deg);animation-delay:.035s}.ify-mining-scene .mine-impact i:nth-child(3){transform:rotate(-58deg);animation-delay:.065s}.ify-mining-scene .mine-impact i:nth-child(4){transform:rotate(92deg);animation-delay:.09s}
.ify-mining-scene .mine-coin{left:calc(57% + 86px);bottom:22px;z-index:6;animation-name:coinFromGround}
.ify-mining-scene.idle .mine-tool,.ify-mining-scene.idle .miner-arm,.ify-mining-scene.idle .mine-vein,.ify-mining-scene.idle .mine-coin,.ify-mining-scene.idle .mine-impact i{animation-play-state:paused}
@keyframes mineToolGroundStrike{0%,100%{transform:rotate(-62deg)}43%{transform:rotate(12deg)}49%{transform:rotate(17deg)}59%{transform:rotate(8deg)}72%{transform:rotate(-28deg)}}
@keyframes minerArmStrike{0%,100%{transform:rotate(-22deg)}43%,58%{transform:rotate(34deg)}72%{transform:rotate(5deg)}}
@keyframes impactGroundFlash{0%,40%{opacity:0;scale:.25}47%{opacity:1;scale:1}67%,100%{opacity:0;scale:1.45}}
@keyframes orePulse{50%{transform:scale(1.12);filter:brightness(1.3)}}
@keyframes coinFromGround{0%,43%{opacity:0;transform:translate(0,14px) scale(.48) rotate(0)}51%{opacity:1}76%{opacity:1;transform:translate(-42px,-72px) scale(1.02) rotate(250deg)}100%{opacity:0;transform:translate(-74px,-105px) scale(.58) rotate(430deg)}}
.theme-minecraft .mine-pit{border-radius:0;border:4px solid #151515;background:#3f2b18;box-shadow:inset 0 7px 0 #24170d}.theme-minecraft .mine-pit:before{border-radius:0;background:#2b1d10}.theme-minecraft .mine-vein{border-radius:2px;background:#e7c33d;color:#17130a;box-shadow:3px 3px 0 #694f0d;animation-timing-function:steps(4,end)}
.theme-hacker .mine-pit{border-radius:0;border:1px solid #fff;background:#000;box-shadow:inset 0 0 0 1px #333}.theme-hacker .mine-pit:before{border-radius:0;background:#080808;border-bottom:1px dashed #fff}.theme-hacker .mine-vein{border-radius:0;background:#fff;color:#000;box-shadow:none;animation-timing-function:steps(2,end)}.theme-hacker .mine-tool .tool-head,.theme-hacker .mine-tool .tool-handle{border-radius:0}
.theme-electric .mine-pit{box-shadow:inset 0 8px 17px rgba(0,0,0,.65),0 0 12px rgba(255,231,66,.18)}.theme-electric .mine-vein{background:#fff05c;color:#151705;box-shadow:0 0 18px #ffe31f}
.theme-rgbled .mine-pit{border-image:linear-gradient(90deg,#ff3caa,#25eaff,#55ff8c) 1}.theme-rgbled .mine-vein{background:linear-gradient(135deg,#ff4bb3,#705cff,#22ebff,#5cff8d);color:#06060a;box-shadow:0 0 14px #25eaff}
.theme-arctic .mine-vein{background:#c8f5ff;color:#07324a;box-shadow:0 0 17px #56d8ff}.theme-solar .mine-vein{background:#ffb45e;color:#2b0e04;box-shadow:0 0 17px #ff7a1a}.theme-nebula .mine-vein{background:#86ffd6;color:#05281a;box-shadow:0 0 17px #56efb1}
@media(max-width:760px){.ify-mining-scene .mine-miner{left:54%}.ify-mining-scene .mine-tool{left:calc(54% + 28px)}.ify-mining-scene .mine-pit{left:calc(54% + 38px)}.ify-mining-scene .mine-impact{left:calc(54% + 91px)}.ify-mining-scene .mine-coin{left:calc(54% + 86px)}}
@media(max-width:520px){.ify-mining-scene .mine-miner{left:50%;bottom:34px}.ify-mining-scene .mine-tool{left:calc(50% + 26px);bottom:53px;transform:scale(.9);transform-origin:9px 11px}.ify-mining-scene .mine-pit{left:calc(50% + 34px);width:96px}.ify-mining-scene .mine-impact{left:calc(50% + 81px);bottom:8px}.ify-mining-scene .mine-coin{left:calc(50% + 76px)}}
