@font-face{font-family:Onest;src:url('/fonts/Onest.ttf') format('truetype');font-display:swap;font-weight:100 900}@font-face{font-family:Nunito;src:url('/fonts/Nunito.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{color-scheme:dark;--bg:#130d23;--text:#f7f2ff;--muted:#9c8cb7;--line:#352a48;--violet:#a77fff;--card:#21172f}*{box-sizing:border-box}body{margin:0;background:#0c0816;color:var(--text);font-family:Onest,sans-serif;font-size:14px}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}a{text-decoration:none;color:inherit}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #d3b5ff;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-shell{max-width:480px;min-height:100dvh;margin:auto;background:radial-gradient(ellipse 100% 40% at 50% 18%,#31204a77,transparent 70%),var(--bg);position:relative;overflow-x:clip;padding:0 22px 108px}.header{height:90px;display:flex;align-items:center;justify-content:space-between}.brand{font-family:Nunito,sans-serif;font-weight:900;font-size:28px;letter-spacing:-1.1px;display:flex;gap:10px;align-items:center}.brand-mark{width:29px;height:36px;display:inline-flex;color:#b794ff}.brand-mark svg{width:29px;height:36px;fill:#8153c9;stroke:#dac8ff;stroke-width:1.2}.brand-dot{font-size:15px;color:#b58af4;margin:-17px 0 0 -7px}.header-actions{display:flex;align-items:center;gap:16px}.icon-button{background:none;color:#9c89b8;padding:2px;display:grid;place-items:center}.icon-button svg{width:22px;height:22px}.avatar{height:38px;width:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#5f497f,#322048);border:1px solid #b692db88;font-size:16px;font-weight:600;position:relative}.avatar span{position:absolute;bottom:0;right:0;width:9px;height:9px;border-radius:50%;background:#b4e7c4;border:2px solid var(--bg)}.page-head{margin:15px 0 22px;display:flex;align-items:end;justify-content:space-between}h1{font-family:Nunito,sans-serif;font-size:34px;line-height:1.07;margin:8px 0;font-weight:900;letter-spacing:-.6px}h2,h3,p{margin:0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.2px;color:#a894c0;text-transform:uppercase}.balance{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid #51356399;border-radius:18px;background:linear-gradient(115deg,#38254470,#21172f88)}.balance-label{color:#b9a7ca;font-size:11px;display:block;margin-bottom:7px}.balance-number{display:flex;align-items:center;gap:8px;font-size:24px;letter-spacing:-.5px;font-weight:700}.coin{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid #e3c397;color:#f8dbb1;background:linear-gradient(145deg,#a67742,#704a2c);border-radius:50%;font-weight:500;font-size:16px;flex-shrink:0}.balance-gram{text-align:right;color:#a38caf;font-size:12px}.balance-gram b{display:block;margin-bottom:6px;color:#e0ccea;font-weight:500;font-size:13px}.small-arrow{font-size:20px;color:#b19bc7}.hero-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 0}.hero-heading h2{font-family:Nunito,sans-serif;font-weight:800;font-size:21px}.tag{border:1px solid #584274;background:#37244c66;border-radius:7px;padding:4px 9px;font-size:10px;color:#c7a4f0}.crystal-view{position:relative;height:340px;margin:0 -22px;isolation:isolate}.crystal-view:before{content:'';position:absolute;z-index:-1;inset:35px 30px 12px;background:radial-gradient(ellipse,#7540a431,transparent 65%);filter:blur(10px)}.crystal-view canvas{width:100%;height:100%;display:block;touch-action:pan-y}.orbit-label{position:absolute;font-size:10px;color:#c5acd8;left:24px;bottom:20px;display:flex;gap:6px;align-items:center}.orbit-label svg{height:13px;width:13px}.hero-message{text-align:center;margin:-4px 0 21px;color:#b8a0c8;font-size:11px}.hero-message b{font-weight:500;color:#dec5f2}.growth-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:10px}.growth-line span{color:#b6a3c7}.growth-line strong{font-size:14px;font-weight:600;color:#e0cbf8}.progress-track{height:7px;background:#30243e;border-radius:20px;overflow:hidden}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#8051c9,#c195ff);border-radius:inherit;box-shadow:0 0 10px #bb87fd44;transition:width 3.8s cubic-bezier(.4,0,.2,1)}.growth-detail{display:flex;justify-content:space-between;color:#8f7caa;font-size:10px;margin-top:9px}.primary{width:100%;display:flex;gap:10px;align-items:center;justify-content:center;font-size:14px;font-weight:650;padding:17px 12px;border-radius:14px;background:linear-gradient(105deg,#8960cc,#a777e7);box-shadow:inset 0 1px 0 #cba6fc77,0 8px 22px #7851bc22;color:white;transition:filter .2s,transform .2s}.primary:hover:not(:disabled){filter:brightness(1.1)}.primary:active:not(:disabled){transform:scale(.985)}.primary svg{width:19px;height:19px}.ad-button{margin-top:21px}.button-note{text-align:center;font-size:10px;color:#9481a7;margin-top:10px}.promo-row{margin-top:26px;padding:15px;border:1px solid #3c2c4f;border-radius:14px;background:#23182f;display:flex;align-items:center;gap:12px}.promo-icon{height:41px;width:41px;border-radius:11px;background:#432951;color:#dbb4ec;display:grid;place-items:center}.promo-row h3{font-weight:600;font-size:12px;margin-bottom:4px}.promo-row p{font-size:10px;color:#a68bb9}.promo-row>button{margin-left:auto;background:none;color:#dbc8e9;font-size:20px}.section{margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.section-head h2{font-size:16px;font-weight:600}.section-head span{color:#947eab;font-size:11px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);background:#181024eb;backdrop-filter:blur(20px);border-top:1px solid #392745;display:grid;grid-template-columns:repeat(5,1fr);padding:16px 8px max(16px,env(safe-area-inset-bottom));z-index:10}.nav-link{display:flex;flex-direction:column;gap:7px;align-items:center;color:#8a789e;font-size:10px;position:relative}.nav-link svg{height:22px;width:22px}.nav-link.active{color:#d7b6ff}.nav-link.active:before{content:'';position:absolute;top:-17px;background:#b58bf0;height:2px;width:24px;border-radius:10px}.nav-link.active svg{stroke-width:2}.page-sub{font-size:12px;line-height:1.65;color:#a68ebc;margin-bottom:22px}.card{padding:20px;border:1px solid #42304f;border-radius:18px;background:linear-gradient(145deg,#2a1c38,#20162b)}.card h2{font-size:19px;margin-bottom:8px}.card p{font-size:12px;line-height:1.65;color:#b69bc8}.empty-crystal{position:relative;height:230px;margin:-5px 0 0}.ready-details{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.ready-details .coin{margin-right:6px}.price{font-size:22px;font-weight:700;display:flex;gap:6px;align-items:center}.rarity{color:#c3a4db;font-size:11px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:13px}.catalog-card{padding:16px 12px 18px;border:1px solid #3e2b50;border-radius:16px;background:linear-gradient(160deg,#32203f77,#21162d)}.gem-mini{width:72px;height:86px;display:block;margin:12px auto 18px;filter:drop-shadow(0 0 14px #965fe055);stroke:#dfc7fb;stroke-width:.7;fill:#9362c3}.gem-mini.pink{fill:#c582b6;stroke:#ffdbf2}.gem-mini.blue{fill:#6b9fbf;stroke:#bee3ff}.catalog-card h3{font-size:12px;font-weight:650;margin-bottom:6px}.catalog-card p{font-size:10px;color:#9c83b1;margin-bottom:13px}.catalog-card strong{font-size:12px;font-weight:500;color:#d6bbe4}.task-row{display:flex;align-items:center;gap:13px;margin-top:12px;padding:16px;border:1px solid #42304f;border-radius:15px;background:#23182f}.task-art{height:44px;width:44px;border-radius:12px;background:#483050;display:grid;place-items:center;color:#ceb2e8}.task-copy{flex:1}.task-copy h3{font-size:12px;font-weight:550;margin:0 0 5px}.task-copy span{font-size:10px;color:#aa8cbd}.task-row button{font-size:10px;background:#503565;border:1px solid #71508c;padding:7px 10px;border-radius:8px;color:#e7cafb}.task-row button:disabled{background:none;border-color:#483250;color:#9c87ab}.ref-hero{text-align:center;padding:25px 20px}.ref-sigil{font-size:53px;color:#dbbaff;margin-bottom:9px;text-shadow:0 0 45px #a35db555}.ref-hero h2{font-family:Nunito;font-weight:900;font-size:25px;margin-bottom:10px}.ref-hero p{font-size:12px}.metric-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:15px 0}.metric{padding:18px;border:1px solid #42304f;background:#21172e;border-radius:15px}.metric strong{font-size:25px;font-weight:600;display:block;margin-bottom:7px}.metric span{font-size:10px;color:#a389b8}.invite{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#170e24;padding:13px;border:1px solid #493253;border-radius:11px;font-size:10px;color:#b8a0ca;margin:18px 0}.invite code{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:inherit}.invite button{background:none;color:#d1a7fb}.wallet-total{padding:25px;text-align:center}.wallet-total .balance-number{justify-content:center;font-size:38px;margin:12px 0}.wallet-total>span{font-size:12px;color:#ad95be}.wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:22px}.secondary{background:#392247;border:1px solid #604176;border-radius:11px;padding:13px;color:#d9b8ee;font-size:12px}.activity-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid #36243f}.activity-row h3{font-size:12px;font-weight:500;margin-bottom:5px}.activity-row p{font-size:10px;color:#8e759f}.activity-row b{font-size:13px;font-weight:500;color:#d6b3ec}.demo-pill{border:1px solid #574061;padding:4px 8px;border-radius:6px;letter-spacing:1px;color:#a790b9;font-size:8px}.toast{position:fixed;left:50%;transform:translate(-50%,15px);bottom:104px;max-width:390px;width:max-content;max-width:calc(100% - 40px);background:#473150;border:1px solid #9d6bb7;color:#f6e5fd;padding:12px 18px;border-radius:12px;z-index:30;opacity:0;pointer-events:none;transition:.2s;font-size:12px;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{padding:28px 24px;background:#281933;border:1px solid #6d4782;border-radius:22px;color:#f7ecff;width:calc(100% - 36px);max-width:395px;box-shadow:0 30px 100px #0007}dialog::backdrop{background:#090411bb;backdrop-filter:blur(8px)}.close-dialog{position:absolute;right:14px;top:10px;font-size:26px;color:#bc9acb;background:none}dialog h2{font-family:Nunito;font-size:26px;margin:12px 0}.dialog-icon{font-size:40px;text-align:center;color:#cbb2fa;margin:12px 0}.dialog-text{font-size:12px;color:#bca0c8;line-height:1.6;margin:12px 0 20px}.demo-ad{border:1px solid #6e4683;background:radial-gradient(ellipse,#74438355,#3f244d33);border-radius:18px;height:140px;display:grid;place-items:center;margin:18px 0;font-family:Nunito;font-size:24px;color:#ecd7fd}.form-input{display:block;margin:10px 0 16px;padding:14px;width:100%;border:1px solid #704585;border-radius:10px;background:#1a1023;color:white}.demo-settings{display:flex;flex-direction:column;gap:10px}.fallback-crystal{height:100%;width:100%}.busy-note{color:#dbbaff}.empty-note{padding:25px;text-align:center;color:#9f84b0;font-size:12px}.footer-note{text-align:center;font-size:9px;color:#715b83;margin:25px 0 8px}@media(min-width:600px){.app-shell{border-left:1px solid #281933;border-right:1px solid #281933;box-shadow:0 0 130px #6b3ea412}.header{height:94px}}@media(max-width:360px){.app-shell{padding:0 16px 100px}.header{height:78px}.brand{font-size:25px}.crystal-view{height:305px;margin:0 -16px}.catalog{gap:8px}.nav-link{font-size:9px}.hero-heading{margin-top:21px}}@media(prefers-reduced-motion:reduce){.primary,.toast{transition:none}}

/* Home uses the phone's available height; the 3D scene takes the flexible row. */
.app-shell.is-home{height:100dvh;min-height:0;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px);padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
.is-home .header{height:60px;flex:0 0 60px}
.is-home #content{flex:1;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto auto;gap:7px;padding-bottom:9px}
.is-home .balance{padding:11px 15px;border-radius:15px}.is-home .balance-label{margin-bottom:4px;font-size:10px}.is-home .balance-number{font-size:22px}.is-home .balance-gram{font-size:10px}.is-home .balance-gram b{font-size:12px;margin-bottom:3px}
.is-home .hero-heading{margin:3px 0 0;min-width:0}.is-home .hero-heading h2{font-size:18px}.is-home .tag{font-size:9px;padding:3px 8px}
.is-home .crystal-view{height:auto;min-height:0;margin:0 -22px}.is-home .orbit-label{bottom:6px;font-size:9px;left:24px}.is-home .hero-message,.is-home .footer-note{display:none}
.is-home .growth-line{margin-bottom:7px;font-size:11px}.is-home .growth-line strong{font-size:12px}.is-home .progress-track{height:6px}.is-home .growth-detail{margin-top:6px;font-size:9px}
.is-home .ad-button{margin:1px 0 0;min-height:48px;padding:12px;font-size:13px}.is-home .button-note{margin:0;font-size:9px;line-height:14px}
.home-adsgram{display:flex;align-items:center;gap:10px;min-height:60px;text-align:left;border:1px solid #493052;border-radius:14px;padding:10px 12px;background:linear-gradient(115deg,#2a1b38,#20152c);width:100%}
.adsgram-logo{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#42c6f1,#158cca);color:white}.adsgram-logo svg{width:22px;height:22px;stroke-width:1.4}
.adsgram-copy{min-width:0;flex:1}.adsgram-copy strong{display:block;font-size:12px;font-weight:600;white-space:nowrap}.adsgram-copy small{display:block;font-size:9px;color:#aa8dbb;margin-top:4px}
.adsgram-reward{display:flex;align-items:center;gap:9px;white-space:nowrap}.adsgram-reward strong{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600}.adsgram-reward .coin{width:19px;height:19px;font-size:12px}.adsgram-reward small{font-size:10px;color:#b398c7}.adsgram-chevron{font-size:22px;color:#c2a4d5;margin-left:2px}
.is-home .bottom-nav{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));min-height:65px}.is-home .nav-link{gap:5px}.is-home .nav-link.active:before{top:-13px}
@media(max-height:680px){.is-home .header{height:53px;flex-basis:53px}.is-home #content{gap:5px;padding-bottom:5px}.is-home .balance{padding:8px 12px}.is-home .balance-number{font-size:20px}.is-home .balance-label{font-size:9px}.is-home .hero-heading h2{font-size:16px}.is-home .ad-button{min-height:44px;padding:10px}.home-adsgram{min-height:55px;padding:8px 10px}.is-home .brand{font-size:25px}.is-home .brand-mark,.is-home .brand-mark svg{width:25px;height:31px}.is-home .avatar{width:33px;height:33px}}
@media(max-width:360px){.is-home .crystal-view{margin:0 -16px}.home-adsgram{gap:8px}.adsgram-reward{gap:7px}.adsgram-copy strong{font-size:11px}.is-home .orbit-label{left:18px}}
