.map-studio{--ink: #153d2c;--lime: #d9fa75;--line: #dce4d8;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#f6f7f2;min-height:100dvh;font-size:14px}.map-studio *{box-sizing:border-box}.map-studio button,.map-studio input,.map-studio textarea,.map-studio select{font:inherit}.map-studio button,.map-studio a{cursor:pointer}.map-studio button:disabled{opacity:.48;cursor:wait}.map-studio button:focus-visible,.map-studio a:focus-visible,.map-studio input:focus-visible,.map-studio textarea:focus-visible,.map-studio select:focus-visible{outline:3px solid #72a542;outline-offset:3px}.map-studio button{border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:#fff;color:var(--ink)}.map-studio a{color:inherit}.studio-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:3}.studio-brand{font-size:26px;font-weight:750;letter-spacing:-1.5px;text-decoration:none}.studio-brand span{font-size:14px;letter-spacing:0;font-weight:400;color:#718175;margin-left:12px}.studio-header nav{display:flex;align-items:center;gap:14px}.studio-header .wallet-pill{background:var(--ink);color:#fff;border:0;border-radius:28px;font-weight:600}.wallet-pill .wallet-plus{color:var(--lime);margin-left:12px}.studio-header .account-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:1px solid var(--line);border-radius:50%}.studio-primary{background:var(--lime)!important;border-color:transparent!important;color:#173d2b!important;font-weight:650!important}.studio-loading{padding:100px;text-align:center}.studio-onboarding{max-width:1260px;margin:auto;padding:70px 50px;display:grid;grid-template-columns:1.15fr 1fr;gap:95px;align-items:center}.studio-kicker,.studio-onboarding h1{font-size:clamp(40px,5.5vw,72px);font-weight:500;line-height:1.05;letter-spacing:-4px;margin:26px 0}.onboarding-intro{font-size:21px;line-height:1.6;max-width:380px;color:#607164}.studio-onboarding>section>p:last-child{font-size:12px;line-height:1.8;color:#698071}.signin-card{padding:36px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 70px #14372808}.signin-card h2{font-size:26px;line-height:1.2;letter-spacing:-.7px;margin:24px 0 14px}.signin-card p{color:#65746a;line-height:1.7}.trial-badge{background:#e8f4d2;border:1px solid #d6e5bd;padding:7px 10px;font-size:10px;letter-spacing:1.4px;border-radius:5px}.signin-card label{display:block;font-size:12px;font-weight:600;margin:22px 0 8px}.signin-card input{width:100%;padding:14px;border:1px solid #cbd8cc;border-radius:8px;background:#fbfcf9}.signin-card .studio-primary{width:100%;margin-top:22px;padding:16px}.fine-print{font-size:11px;line-height:1.7;color:#6c7a70}.trial-note{font-size:12px}.text-button{background:none!important;border:0!important;padding-left:0!important;text-decoration:underline;font-size:12px!important}.onboarding-art{position:relative;height:220px;overflow:hidden;margin:20px -20px 12px;perspective:500px}.onboarding-art div{position:absolute;background:#315b3c;width:240px;height:180px;left:40px;top:30px;transform:rotateX(62deg) rotate(-34deg);border-radius:30% 48% 18% 38%;box-shadow:0 24px #254730,0 40px #1d3526}.onboarding-art div:nth-child(2){background:#83a46e;width:160px;height:140px;left:100px;top:40px;box-shadow:0 18px #50764a}.onboarding-art div:nth-child(3){background:#dbefb9;width:85px;height:65px;left:142px;top:33px;box-shadow:0 18px #9abc7b}.studio-workspace{height:calc(100dvh - 72px);min-height:520px;display:grid;grid-template-columns:240px 1fr}.studio-sidebar{border-right:1px solid var(--line);background:#fafbf7;padding:20px 16px;overflow:auto;position:relative}.new-map{width:100%;margin-bottom:20px}.project-list{display:flex;flex-direction:column;gap:6px}.project-list button{text-align:left;background:transparent;border-color:transparent;display:flex;gap:10px;line-height:1.4;padding:12px}.project-list button.selected{background:#e9efdf;border-color:#dce4cf}.project-list>p{font-size:12px;line-height:1.7;color:#768575;padding:12px}.credits-panel{padding:0 6px}.credits-panel>p{font-size:12px;line-height:1.7;color:#657665}.credit-pack{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:10px;padding:17px 12px!important}.credit-pack:hover{background:var(--lime)}.credit-pack-savings{display:block;margin-top:5px;color:#4c6c50;font-size:12px}.studio-canvas-area{position:relative;overflow:hidden;min-width:0;background:#e8efdf}.studio-viewport{position:absolute;inset:0}.studio-viewport canvas{display:block;width:100%;height:100%;touch-action:none}.empty-world{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px 35px 280px;background:radial-gradient(ellipse at 50% 30%,#f6f9ec,#e8efdf 80%)}.empty-world h1{font-size:36px;letter-spacing:-1.5px;line-height:1.2;margin:15px 0}.empty-world>p{color:#74856c;text-align:center}.prompt-samples{display:flex;gap:9px;max-width:770px;margin-top:23px}.prompt-samples button{flex:1;text-align:left;font-size:11px;line-height:1.65;padding:14px;border-color:#d7e2cc;background:#f9fcf6b3}.composer-download{display:flex;justify-content:center;margin-bottom:14px}.map-studio .export-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:16px 32px;background:var(--lime);border:1px solid #c4e85c;border-radius:18px;color:var(--ink);font-size:17px;font-weight:700;box-shadow:0 6px 24px #153d2c30;white-space:nowrap}.map-studio .export-button:hover:not(:disabled){background:#e4ff94;box-shadow:0 8px 28px #153d2c40}.viewport-tools{position:absolute;right:22px;top:20px;bottom:auto;display:flex;align-items:center;gap:12px}.viewport-tools button{font-size:11px}.studio-composer{position:absolute;bottom:24px;left:50%;transform:translate(-50%);width:min(780px,calc(100% - 48px));z-index:2}.studio-composer form{background:#fffffff5;border-radius:22px;border:1px solid #d8e1d1;box-shadow:0 12px 40px #38552c15;overflow:hidden;padding:18px 20px 14px}.studio-composer label{display:block;font-size:15px;color:var(--ink);font-weight:600;margin:0}.studio-composer textarea{width:100%;border:0;background:none;resize:none;min-height:54px;max-height:150px;outline:none;line-height:1.6;color:#23472f}.studio-composer textarea::placeholder{color:#9aa792}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:8px}.composer-bottom>span{font-size:12px;line-height:1.5;color:#7a876f;max-width:55%}.composer-bottom button{font-size:12px;white-space:nowrap}.studio-error{background:#fff2ed!important;border-color:#e7b7a6!important;color:#963820!important;padding:10px;border-radius:8px}.busy-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#75a943;margin-right:8px;animation:studio-pulse 1.3s infinite}.viewport-error{position:absolute;top:30%;left:15%;right:15%;background:#fff;padding:20px;z-index:1}@keyframes studio-pulse{50%{opacity:.25}}@media(max-width:900px){.studio-onboarding{gap:35px;padding:45px 25px}.studio-workspace{grid-template-columns:220px 1fr}.studio-header{padding:0 16px}.studio-brand span{display:none}.prompt-samples{flex-direction:column}.prompt-samples button:nth-child(3){display:none}.empty-world h1{font-size:27px}.studio-composer{width:calc(100% - 26px)}}@media(max-width:640px){.studio-onboarding{display:flex;flex-direction:column;padding:30px 20px}.studio-onboarding h1{font-size:47px;letter-spacing:-2px}.onboarding-art{display:none}.signin-card{width:100%;padding:25px}.studio-workspace{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 72px)}.studio-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:10px;display:flex;align-items:center;gap:10px;max-height:85px}.new-map{width:auto;flex:0 0 auto;margin:0}.project-list{flex-direction:row;overflow:auto;scrollbar-width:thin;margin-top:0}.project-list button{min-width:160px;padding:7px}.credit-pack{max-width:350px}.studio-canvas-area{height:calc(100dvh - 142px);min-height:480px}.empty-world{padding:30px 25px 260px}.empty-world h1{font-size:28px}.studio-header{height:62px}.studio-composer form{padding:14px}.composer-bottom{align-items:flex-start;flex-direction:row}.composer-bottom>span{max-width:100%}.composer-bottom button{margin-left:auto}.viewport-tools{top:12px;right:12px}.prompt-samples{margin-top:12px}.prompt-samples button{padding:10px}}.composer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.map-studio .selection-chip{border:0;border-radius:20px;background:#edf3e4;font-size:11px;padding:5px 10px;white-space:nowrap}.composer-status,.operation-progress{font-size:12px;line-height:1.5;margin:0}.composer-status{margin-top:8px}.studio-error button,.composer-status button{float:right;border:0;background:none;padding:0 4px}.studio-dialog{color:var(--ink);background:#fbfcf8;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:26px;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 100px #173d2b26}.studio-dialog::backdrop{background:#102d2466;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.6px}.map-studio .dialog-close{border:0;border-radius:50%;font-size:24px;padding:0;width:32px;height:32px;background:transparent}.studio-dialog .credits-panel{padding:0}.studio-dialog .credit-pack{border-radius:14px;padding:18px!important}.account-actions{display:flex;flex-direction:column;gap:16px;padding-top:16px}.account-actions>p{margin:0;color:#657665;overflow-wrap:anywhere}.account-links{display:flex;gap:16px;color:#657665;font-size:12px}@media(max-width:640px){.studio-header nav{gap:8px}.studio-header .wallet-pill{font-size:12px;padding:10px 12px}.wallet-pill .wallet-plus{margin-left:6px}.studio-composer{bottom:14px}.composer-heading{align-items:flex-start}.studio-composer label{font-size:14px}.composer-bottom{align-items:center}.project-list button{min-width:130px;white-space:nowrap}}.studio-credit-live{position:absolute;z-index:2;top:76px;right:24px;width:252px;pointer-events:none}.studio-credit-card{padding:18px;border:1px solid #ffffffb3;border-radius:20px;background:#fafcf6f2;box-shadow:0 8px 32px #183b2814,0 1px 3px #183b2808;backdrop-filter:blur(16px);pointer-events:auto;animation:credit-arrive .3s ease-out both}.credit-card-heading{display:flex;align-items:center;gap:10px}.credit-card-heading>div{min-width:0;flex:1}.credit-activity-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e8f2da;color:#3d6b39}.is-settled .credit-activity-icon{background:var(--lime)}.credit-activity-icon svg{width:20px;height:20px}.credit-orbit{width:15px;height:15px;border:1.5px solid #70945440;border-top-color:#52733d;border-radius:50%;animation:credit-turn 1.4s linear infinite}.credit-card-title{margin:0;font-size:13px;font-weight:600;line-height:1.4}.credit-card-project{margin:3px 0 0;font-size:11px;color:#697767;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-studio .credit-card-dismiss{align-self:flex-start;border:0;padding:0;background:transparent;width:24px;height:24px;flex:0 0 24px;border-radius:50%;font-size:19px;color:#74816f;margin:-5px -5px 0 0}.credit-card-dismiss:hover{background:#e8edde}.credit-card-note{margin:14px 0;color:#66765f;font-size:12px;line-height:1.5}.credit-progress-track{height:3px;border-radius:4px;overflow:hidden;background:#e5ecd9}.credit-progress-track span{display:block;width:35%;height:100%;border-radius:inherit;background:#91b559;animation:credit-working 2.4s ease-in-out infinite}.credit-usage{display:flex;align-items:baseline;gap:7px;margin:18px 0 16px}.credit-usage strong{font-size:30px;font-weight:500;letter-spacing:-1.2px;line-height:1;font-variant-numeric:tabular-nums}.credit-usage span{color:#697767;font-size:11px}.credit-card-balance{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dde5d6;padding-top:12px;gap:10px;font-size:11px;color:#697767}.credit-card-balance strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.wallet-amount{display:inline-block;font-variant-numeric:tabular-nums}.wallet-settled{animation:credit-settle .7s ease-out both}@keyframes credit-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes credit-turn{to{transform:rotate(360deg)}}@keyframes credit-working{0%{transform:translate(-110%)}to{transform:translate(390%)}}@keyframes credit-settle{35%{color:var(--lime)}}@media(max-width:640px){.studio-credit-live{top:58px;right:12px;width:222px}.studio-credit-card{padding:14px;border-radius:16px}.credit-usage{margin:12px 0}.credit-usage strong{font-size:26px}.credit-card-note{margin:10px 0}}@media(prefers-reduced-motion:reduce){.studio-credit-card,.credit-orbit,.credit-progress-track span,.wallet-settled,.busy-dot{animation:none}.credit-progress-track span{width:100%;opacity:.4}}
