*{box-sizing:border-box} :root{color-scheme:dark;font-family:Inter,Segoe UI,Arial,sans-serif;color:#f4f5f7;background:#0b0e14}body{margin:0;background:radial-gradient(ellipse at 50% 0,#202b31 0,transparent 65%),#0b0e14;min-height:100vh}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #c6f46b;outline-offset:3px}.app{max-width:960px;margin:auto;padding:26px 28px 110px}header{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-size:30px;display:flex;gap:10px;align-items:center;color:#cbf785;text-decoration:none}.brand span{font-size:19px;font-weight:900;letter-spacing:2px;color:#fff}.brand small{display:block;font-size:8px;letter-spacing:1.6px;color:#88959e;margin-top:5px}.wallet{background:#252b27;border:1px solid #3d4833;border-radius:22px;padding:10px 16px;font-size:14px}.demo{font-size:10px;letter-spacing:1px;color:#c9f28a;border-bottom:1px solid #272e36;padding:22px 0 17px;margin-bottom:25px}.demo span{font-size:11px;letter-spacing:0;color:#8f9ba7;margin-left:12px}.eyebrow{color:#c5f17c;font-size:10px;font-weight:800;letter-spacing:2px}h1{font-size:36px;letter-spacing:-1.3px;margin:8px 0 10px}h2{font-size:20px;margin:0 0 14px}p{color:#a5afbc;line-height:1.7;font-size:14px}.topline{display:flex;align-items:center;justify-content:space-between;gap:18px}.badge{border:1px solid #353f32;color:#bfe987;padding:7px 11px;border-radius:20px;font-size:11px;white-space:nowrap}.workbench{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin-top:25px}.stage{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:360px;border:1px solid #334035;border-radius:24px;background:radial-gradient(circle at 50% 43%,#3e52344d,transparent 62%),#151b21;overflow:hidden}.stage:before{content:"";position:absolute;width:255px;height:255px;border:1px solid #9acd6430;border-radius:50%;box-shadow:0 0 0 24px #a0d65b05,0 0 0 50px #a0d65b04}.egg{position:relative;width:120px;height:158px;border-radius:50% 50% 45% 45% / 65% 65% 35% 35%;background:radial-gradient(ellipse at 32% 27%,#f0ffcf 0,#c1e488 25%,#6d9d43 65%,#2b4a24 100%);box-shadow:inset -15px -10px 20px #162b3a60,0 25px 35px #0008;transform:rotate(-9deg);margin:25px 0 35px}.egg:after{content:"✦";position:absolute;font-size:54px;left:40px;top:57px;color:#233d2770}.stage-label{z-index:1;color:#bbd797;letter-spacing:3px;font-size:10px;margin-bottom:15px}.stage small{z-index:1;color:#88998b;font-size:11px}.stage.cracking .egg{animation:shake .18s infinite}.panel{border:1px solid #2b333e;background:#161c24;border-radius:24px;padding:24px}label{display:block;color:#96a2b1;font-size:11px;margin:12px 0 8px}select,input{width:100%;background:#10151c;border:1px solid #343e4b;border-radius:12px;padding:12px;color:#fff}select{margin-bottom:10px}.cost{display:flex;justify-content:space-between;border-top:1px solid #2c343e;padding:18px 0;margin-top:10px;color:#aab3bf;font-size:13px}.cost b{color:#fff}.primary,.secondary{width:100%;padding:15px;border:0;border-radius:12px;font-weight:800}.primary{color:#17230e;background:#c6f277;box-shadow:0 6px 25px #b8f46715}.secondary{background:#252e38;margin-top:10px}.hint{font-size:11px;text-align:center;margin:12px 0 0;color:#83909d;line-height:1.6}.section{margin-top:30px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-heading h2{margin:0}.section-heading span{color:#84909e;font-size:11px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{padding:16px;border:1px solid #2c3542;border-radius:16px;background:#151b23;min-width:0}.avatar{display:grid;place-items:center;height:72px;font-size:44px;background:radial-gradient(circle,#b9e97112,transparent 75%);margin-bottom:8px}.card h3{font-size:13px;margin:10px 0 5px;overflow-wrap:anywhere}.card small{font-size:10px;color:#8997a7}.rarity{font-size:9px;color:var(--rarity,#bec7ce);font-weight:800;letter-spacing:1px;text-transform:uppercase}.stat{font-size:12px;color:#bfc9d2;display:flex;justify-content:space-between;margin-top:12px}.sell{width:100%;margin-top:12px;border:1px solid #3a4432;border-radius:9px;background:#243020;color:#c3ee8b;padding:9px;font-size:11px}.chance{color:#c4ed8e}.footer{font-size:10px;color:#74818e;line-height:1.6;margin-top:25px}.footer a,.help a{color:#c3e893}nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;background:#1a212cf0;backdrop-filter:blur(18px);border:1px solid #38424d;border-radius:20px;padding:7px;gap:5px;z-index:5;box-shadow:0 15px 40px #0008}nav button{background:none;border:0;border-radius:13px;padding:10px 22px;font-size:20px;color:#81909e}nav button span{display:block;font-size:10px;margin-top:5px}nav .active{color:#cefa93;background:#35432d}.empty{padding:50px 20px;border:1px dashed #3a4652;border-radius:20px;text-align:center;color:#8f9cab}.toolbar{display:flex;gap:12px;margin:20px 0}.toolbar>*{flex:1}.progress{height:8px;border-radius:8px;background:#29333d;margin:18px 0}.progress i{display:block;height:100%;background:#c5f277;border-radius:8px}.help{max-width:650px}.help li{color:#aab6c1;line-height:1.9;font-size:14px;margin-bottom:10px}.help code{color:#cbef92}dialog{width:min(390px,90vw);border:1px solid #506143;border-radius:24px;background:#182020;color:white;padding:26px;text-align:center}dialog::backdrop{background:#05080dcc;backdrop-filter:blur(8px)}dialog .avatar{height:130px;font-size:80px}dialog h2{margin:10px 0}dialog p{font-size:12px}#toast{position:fixed;top:20px;left:50%;transform:translate(-50%,-130px);transition:transform .25s;z-index:30;padding:14px 22px;background:#d0f8a0;color:#1d2b11;border-radius:12px;font-size:13px;box-shadow:0 10px 25px #0005}#toast.show{transform:translate(-50%,0)}@keyframes shake{0%,100%{transform:rotate(-13deg)}50%{transform:rotate(10deg)}}@media(max-width:650px){.app{padding:20px 16px 100px}.demo span{display:block;margin:7px 0 0}h1{font-size:30px}.workbench{grid-template-columns:1fr;gap:14px;margin-top:18px}.stage{min-height:245px}.egg{width:95px;height:125px;margin:14px 0 25px}.egg:after{font-size:44px;left:30px;top:40px}.stage:before{width:170px;height:170px}.panel{padding:18px}.grid{grid-template-columns:repeat(2,1fr)}nav{bottom:12px;width:calc(100% - 32px);max-width:470px;justify-content:space-around}nav button{flex:1;padding:9px 8px}.topline .badge{font-size:10px}.toolbar{flex-direction:column}.card{padding:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
