@font-face{font-family:Pretendard;src:url(/fonts/Pretendard-Regular.woff) format("woff");font-weight:400;font-display:swap}@font-face{font-family:CookieRun;src:url(/fonts/CookieRun-Regular.woff) format("woff");font-weight:400;font-display:swap}:root{--safe-area-top: 0px;--safe-area-bottom: 0px;--bg: #120a1f;--bg2: #1d1033;--gold: #ffd75e;--text: #efe6ff;--dim: #9c8fb8;--t-common: #9aa7b8;--t-rare: #4da3ff;--t-epic: #b06bff;--t-legend: #ffb43d;--t-myth: #ff5ec4}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{font-family:Pretendard,system-ui,sans-serif;background:radial-gradient(ellipse at 50% 0%,var(--bg2) 0%,var(--bg) 70%);color:var(--text);overflow:hidden;-webkit-user-select:none;user-select:none;min-height:100svh}#game-ui{position:relative;min-height:100svh;padding:calc(10px + var(--safe-area-top)) 16px calc(16px + var(--safe-area-bottom));display:flex;flex-direction:column}.hud{display:flex;justify-content:space-between;align-items:center;gap:8px}.pill{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:none;background:#ffffff14;color:var(--text);font-size:15px;font-weight:700;font-family:inherit}.pill.gold{color:var(--gold)}.pill.ghost{background:#ffffff0f;color:var(--dim)}.ic{width:16px;height:16px;fill:currentColor}.home{flex:1;display:flex;flex-direction:column;align-items:center;padding-top:18px}.logo{font-size:40px;font-weight:900;letter-spacing:2px;background:linear-gradient(180deg,#fff,var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}.tagline{color:var(--dim);font-size:13px;margin-top:6px}.hammer-box{margin:20px 0 8px;padding:14px 18px;width:100%;border-radius:16px;background:#ffffff0f;display:flex;align-items:center;gap:10px}.hammer-lv{font-weight:800;font-size:15px}.hammer-dmg{color:var(--dim);font-size:13px;flex:1}.up-btn{padding:9px 16px;border-radius:12px;border:none;font-family:inherit;font-weight:800;font-size:14px;background:linear-gradient(180deg,#ffe27a,#f0a92c);color:#3a2400}.up-btn.no{background:#ffffff1a;color:var(--dim)}.offers{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.offer{border:none;border-radius:14px;padding:10px 8px;font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:3px;font-weight:800;font-size:13px;color:var(--text);background:#ffffff12}.offer small{font-size:11px;font-weight:700;color:var(--dim)}.offer small.cta{font-size:10px;color:#b98bff;text-decoration:underline}.offer.off,.offer.on{opacity:.5}.offer.on small{color:var(--gold)}.offer.hot{background:linear-gradient(135deg,#3a2a12,#6b4a12);color:var(--gold);box-shadow:0 0 14px #ffd75e47;animation:offerGlow 1.8s ease-in-out infinite}.offer.hot small{color:var(--gold)}.offer.ad{background:linear-gradient(135deg,#24123a,#4a1f6b);color:#e6c8ff}.offer.ad small{color:#b98bff}.offer.vein{grid-column:1 / -1;background:linear-gradient(135deg,#7a4a05,#ffcf45 55%,#7a4a05);color:#2a1800;font-size:15px;animation:veinPulse 1.1s ease-in-out infinite}.offer.vein small{color:#5a3a00;font-weight:900}@keyframes veinPulse{0%,to{box-shadow:0 0 12px #ffcf4580}50%{box-shadow:0 0 28px #ffcf45f2}}.coupon{width:100%;border:none;border-radius:12px;padding:10px;margin-bottom:4px;font-family:inherit;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#24123a,#4a1f6b);color:#e6c8ff}.coupon small{font-size:12px;color:#b98bff}.coupon.on{background:#ffd75e29;color:var(--gold)}@keyframes offerGlow{0%,to{box-shadow:0 0 10px #ffd75e33}50%{box-shadow:0 0 20px #ffd75e73}}.rock-grid{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.rock-card{border:none;border-radius:18px;padding:16px 10px 12px;background:#ffffff12;color:var(--text);font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:6px}.rock-card.locked{opacity:.45}.rock-name{font-weight:800;font-size:14px}.rock-odds{font-size:11px;color:var(--dim)}.rock-price{font-weight:900;color:var(--gold);font-size:15px}.rock-price.no{color:var(--dim)}.rock-emo,.rock-big{background-repeat:no-repeat;background-position:center;background-size:contain;filter:drop-shadow(0 6px 14px rgba(0,0,0,.55))}.rock-emo{width:68px;height:68px}.rock-emo.r-stone,.rock-big.r-stone{background-image:url(/img/rock_stone.png)}.rock-emo.r-crystal,.rock-big.r-crystal{background-image:url(/img/rock_crystal.png)}.rock-emo.r-meteor,.rock-big.r-meteor{background-image:url(/img/rock_meteor.png)}.rock-emo.r-void,.rock-big.r-void{background-image:url(/img/rock_void.png)}.rock-emo.r-coal,.rock-big.r-coal{background-image:url(/img/rock_coal.png)}.rock-emo.r-glacier,.rock-big.r-glacier{background-image:url(/img/rock_glacier.png)}.rock-emo.r-magma,.rock-big.r-magma{background-image:url(/img/rock_magma.png)}.rock-emo.r-nebula,.rock-big.r-nebula{background-image:url(/img/rock_nebula.png)}.big-demo{width:150px;height:150px;margin:6px 0;animation:bob 2.2s ease-in-out infinite}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-9px)}}.crack{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}.hp-bar{width:82%;height:12px;border-radius:999px;background:#ffffff1a;overflow:hidden}.hp-fill{height:100%;background:linear-gradient(90deg,#ff6b6b,var(--gold));transition:width .12s ease-out}.rock-stage{position:relative;width:260px;height:260px;display:grid;place-items:center}.rock-big{width:220px;height:220px;position:relative}.rock-big:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;border-radius:inherit;background:linear-gradient(72deg,transparent 47%,rgba(0,0,0,.8) 48%,transparent 50%),linear-gradient(-40deg,transparent 45%,rgba(0,0,0,.7) 46%,transparent 49%),linear-gradient(15deg,transparent 55%,rgba(0,0,0,.6) 56%,transparent 58%)}.rock-big.crk-1:after{opacity:.35}.rock-big.crk-2:after{opacity:.6}.rock-big.crk-3:after{opacity:.82}.rock-big.crk-4:after{opacity:1;filter:drop-shadow(0 0 6px rgba(255,215,94,.6))}.fx-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.hint{color:var(--dim);font-size:14px;letter-spacing:1px;animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.shard{position:absolute;width:9px;height:9px;border-radius:2px;background:#cbb9e6;animation:fly .62s ease-out forwards}.shard.crit{background:var(--gold);width:12px;height:12px;box-shadow:0 0 10px var(--gold)}@keyframes fly{to{transform:translate(var(--dx),var(--dy)) rotate(var(--rot));opacity:0}}.pop{position:absolute;top:30%;font-weight:900;font-size:22px;color:var(--gold);text-shadow:0 2px 8px rgba(0,0,0,.7);animation:rise .85s ease-out forwards;pointer-events:none}.pop.crit{font-size:30px;color:#fff;text-shadow:0 0 14px var(--gold)}@keyframes rise{to{transform:translateY(-70px);opacity:0}}.shake{animation:sh .16s ease-out}.shake-hard{animation:shh .26s ease-out}@keyframes sh{25%{transform:translate(-5px,2px)}50%{transform:translate(4px,-3px)}75%{transform:translate(-3px,1px)}}@keyframes shh{20%{transform:translate(-11px,5px) scale(1.05)}45%{transform:translate(10px,-7px) scale(.96)}70%{transform:translate(-7px,3px) scale(1.03)}}.flash{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:60;animation:fl .5s ease-out forwards}@keyframes fl{0%{opacity:.95}to{opacity:0}}.reward{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.burst{position:absolute;width:420px;height:420px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 62%);animation:bst .8s ease-out}@keyframes bst{0%{transform:scale(.2);opacity:1}to{transform:scale(1.25);opacity:0}}.got{color:var(--dim);font-size:14px}.gem-big{width:190px;height:190px;animation:gemin .55s cubic-bezier(.2,1.6,.4,1)}.gem-sm{width:34px;height:34px}@keyframes gemin{0%{transform:scale(.2) rotate(-25deg);opacity:0}}.g-common{background-image:url(/img/gem_common.png)}.g-rare{background-image:url(/img/gem_rare.png)}.g-epic{background-image:url(/img/gem_epic.png)}.g-legend{background-image:url(/img/gem_legend.png)}.g-myth{background-image:url(/img/gem_myth.png)}@keyframes spin{to{transform:rotate(360deg)}}.tier-name{font-size:30px;font-weight:900;letter-spacing:1px}.tier-common .tier-name{color:var(--t-common)}.tier-rare .tier-name{color:var(--t-rare)}.tier-epic .tier-name{color:var(--t-epic)}.tier-legend .tier-name{color:var(--t-legend)}.tier-myth .tier-name{color:var(--t-myth);text-shadow:0 0 22px var(--t-myth)}.reward-gold{display:flex;align-items:center;gap:6px;font-size:24px;font-weight:900;color:var(--gold)}.big-btn{width:82%;max-width:320px;padding:15px;border:none;border-radius:16px;font-size:17px;font-weight:900;letter-spacing:.5px;font-family:inherit;background:#ffffff1f;color:var(--text)}.big-btn.claim{background:linear-gradient(180deg,#ffe27a,#f0a92c);color:#3a2400}.big-btn.ad{background:linear-gradient(180deg,#8be36f,#38a83a);color:#06280a}.big-btn.prestige-cta{margin:14px 0 4px;width:100%;max-width:none;font-size:15px}.offline{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.offline-title{font-size:26px;font-weight:900;margin:0}.offline-drill{width:130px;height:130px;margin:4px 0;background:url(/img/hammer.png) center/contain no-repeat;animation:bob 2.2s ease-in-out infinite}.offline-label{color:var(--dim);font-size:14px;margin:0}.offline .reward-gold{margin-bottom:14px}.text-btn{background:none;border:none;color:var(--dim);font-size:14px;padding:8px;text-decoration:underline;font-family:inherit}.collection{flex:1;display:flex;flex-direction:column;gap:10px;padding-top:14px}.sec-title{font-size:22px;font-weight:900}.stat-row{display:flex;justify-content:space-between;color:var(--dim);font-size:13px;margin-bottom:6px}.stat-row b{color:var(--text)}.col-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#ffffff0f}.col-row.dim{opacity:.4}.col-name{flex:1;font-weight:700}.col-cnt{font-weight:900;color:var(--gold)}.ad-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000e0;display:grid;place-items:center;z-index:80}.ad-box{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.ad-tag{font-size:12px;letter-spacing:3px;color:var(--dim)}.ad-spin,.ota-spinner{width:42px;height:42px;border:4px solid rgba(255,255,255,.2);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}.ad-msg{color:var(--text);font-size:14px}#ota-loading{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);display:grid;place-items:center;z-index:90}#demo-banner{position:fixed;top:8px;left:50%;transform:translate(-50%);z-index:70;color:var(--dim);font-size:12px}@keyframes glowpulse{0%,to{filter:drop-shadow(0 0 18px rgba(255,215,94,.7))}50%{filter:drop-shadow(0 0 40px rgba(255,94,196,.95))}}.onboard .steps{list-style:none;margin:14px 0 20px;padding:0;display:flex;flex-direction:column;gap:9px}.onboard .steps li{color:var(--dim);font-size:14px}.onboard{justify-content:center;text-align:center;align-items:center}.hud-btns{display:flex;gap:6px}.home-stat{display:flex;justify-content:space-between;width:100%;color:var(--dim);font-size:13px;margin-bottom:6px}.home-stat b{color:var(--text)}.depth{width:100%;margin-top:14px}.depth-title{font-size:13px;font-weight:800;color:var(--gold);letter-spacing:1px}.locked-depth{display:flex;justify-content:space-between;align-items:center;padding:14px;border-radius:14px;background:#ffffff0a;border:1px dashed rgba(255,255,255,.14)}.depth-need{font-size:12px;color:var(--dim)}.rock-min{font-size:10px;font-weight:800;padding:2px 7px;border-radius:999px;background:#ffffff1a}.rock-min.t-common{color:var(--t-common)}.rock-min.t-rare{color:var(--t-rare);background:#4da3ff29}.rock-min.t-epic{color:var(--t-epic);background:#b06bff2e}.rock-min.t-legend{color:var(--t-legend);background:#ffb43d2e}.up-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#ffffff0f;margin-bottom:8px}.up-info{flex:1;display:flex;flex-direction:column}.up-info small{color:var(--dim);font-size:11px}.up-val{text-align:right;display:flex;flex-direction:column;font-weight:900;color:var(--gold);font-size:15px}.up-val small{color:var(--dim);font-weight:600;font-size:10px}.gem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 14px}.gem-cell{aspect-ratio:1;border-radius:14px;background:#ffffff0f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px}.gem-cell.empty{background:#ffffff08}.gem-cell .q{color:var(--dim);font-size:20px;font-weight:900;opacity:.5}.gem-nm{font-size:9px;color:var(--text);text-align:center;line-height:1.1}.gem-ct{font-size:9px;color:var(--gold);font-weight:800}.gem-cell.t-legend{box-shadow:inset 0 0 16px #ffb43d40}.gem-cell.t-myth{box-shadow:inset 0 0 18px #ff5ec459}.new-tag{position:absolute;top:16%;padding:5px 16px;border-radius:999px;background:linear-gradient(90deg,#ff5ec4,#ffd75e);color:#2a0016;font-weight:900;font-size:13px;letter-spacing:1px;animation:bob 1.1s ease-in-out infinite}.tier-sub{color:var(--dim);font-size:13px;margin-top:-6px}.auto-tag{color:var(--t-rare);font-size:12px;font-weight:700}.gem-big,.gem-sm{background-repeat:no-repeat;background-position:center;background-size:contain}.gi-quartz{background-image:url(/img/gem_quartz.png)}.gi-agate{background-image:url(/img/gem_agate.png)}.gi-jasper{background-image:url(/img/gem_jasper.png)}.gi-onyx{background-image:url(/img/gem_onyx.png)}.gi-sapphire{background-image:url(/img/gem_sapphire.png)}.gi-aquamarine{background-image:url(/img/gem_aquamarine.png)}.gi-topaz{background-image:url(/img/gem_topaz.png)}.gi-peridot{background-image:url(/img/gem_peridot.png)}.gi-amethyst{background-image:url(/img/gem_amethyst.png)}.gi-emerald{background-image:url(/img/gem_emerald.png)}.gi-ruby{background-image:url(/img/gem_ruby.png)}.gi-tanzanite{background-image:url(/img/gem_tanzanite.png)}.gi-diamond{background-image:url(/img/gem_diamond.png)}.gi-starstone{background-image:url(/img/gem_starstone.png)}.gi-sunfire{background-image:url(/img/gem_sunfire.png)}.gi-moondrop{background-image:url(/img/gem_moondrop.png)}.gi-prism{background-image:url(/img/gem_prism.png)}.gi-eclipse{background-image:url(/img/gem_eclipse.png)}.gi-genesis{background-image:url(/img/gem_genesis.png)}.gi-singularity{background-image:url(/img/gem_singularity.png)}.gem-big.gi-myth,.gi-singularity,.gi-genesis,.gi-prism,.gi-eclipse{filter:drop-shadow(0 0 26px rgba(255,94,196,.75))}.gi-diamond,.gi-starstone,.gi-sunfire,.gi-moondrop{filter:drop-shadow(0 0 20px rgba(255,180,61,.65))}
