/* Wealth scale, permanent places, and a traveler who actually steps. */
.wealth-summary>.wealth-meta{position:relative;align-items:center;gap:12px;font-size:11px;color:#a79ab7;margin-bottom:4px}
.wealth-scientific{font-family:Outfit,system-ui,sans-serif;color:#c4b6d2;white-space:nowrap;letter-spacing:.3px}
.wealth-scientific sup{font-size:.8em;margin-left:2px}
.wealth-permanence{display:block;color:#77748c;font-size:10px;margin-bottom:8px}
.scale-help{position:static;display:inline-flex;align-items:center;z-index:20}
.scale-question{border:1px solid #665673;border-radius:50%;width:21px;height:21px;padding:0;color:#c7b5d8;font:12px/19px system-ui}
.scale-question:hover{background:#3d304c}
.scale-tooltip{display:none;position:absolute;top:100%;left:0;width:350px;padding:22px;background:#292332;border:1px solid #685477;border-radius:12px;box-shadow:0 14px 40px #09081088;font-size:11px;line-height:1.9;color:#b2a8bf;text-align:left;white-space:normal}
.scale-help:not(.dismissed):hover .scale-tooltip,.scale-help:not(.dismissed):focus-within .scale-tooltip,.scale-help.open .scale-tooltip{display:block}
.scale-tooltip>b{font-size:13px;color:#e6d3f6}.scale-tooltip p{font-size:11px;margin:10px 0;color:#c8b6d7;letter-spacing:0}
.scale-tooltip dl{display:grid;grid-template-columns:auto 1fr;gap:7px 12px;margin:14px 0;padding:12px 0;border-top:1px solid #44374f;border-bottom:1px solid #44374f}
.scale-tooltip dd{margin:0;color:#dfccab;text-align:right}.scale-tooltip small{font-size:9px;color:#91859f}.scale-tooltip a{color:#c2acd9;text-decoration:underline;text-underline-offset:3px}
.resource-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
.resource{padding:17px 18px;gap:12px;min-width:0}.resource>div{min-width:0}.resource strong{font-size:28px;overflow-wrap:anywhere;letter-spacing:0}
.resource-icon{width:32px;height:35px;flex-shrink:0}.resource-icon .icon{width:19px;height:19px}.resource .round-button{width:24px;height:24px;flex-shrink:0;position:absolute;right:8px;top:9px;border:0;color:#8e809d}.resource .round-button:hover{background:#403347}
.dust-icon{color:#dcc4ed;background:#30263a;border-color:#51415c}.resource .dust-color{color:#d8bce9}.dust-resource label{color:#bba0cf}
.scene[data-stage="2"]{background:radial-gradient(ellipse at 50% 60%,#44435b99,transparent 70%),#202030}
.scene[data-stage="3"]{background:radial-gradient(ellipse at 50% 60%,#57506499,transparent 70%),linear-gradient(135deg,#252635,#292233)}
.scene[data-stage="4"]{background:radial-gradient(ellipse at 50% 60%,#77614566,transparent 70%),linear-gradient(135deg,#262630,#322938)}
.scene[data-stage="5"]{background:radial-gradient(ellipse at 50% 55%,#775c5066,transparent 70%),linear-gradient(135deg,#2b293d,#2e253c)}
.scene[data-stage="4"] .scene-title>span,.scene[data-stage="5"] .scene-title>span{color:#c8b18f}
.scene-shortcuts{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.scene-shortcuts .icon{width:11px;height:11px;margin-left:3px}
.step-motion,.traveler,.step-leg{transform-box:fill-box;transform-origin:center bottom}
.auto-stepping .step-motion{animation:auto-hop var(--step-cycle,4s) ease-in-out infinite}
.auto-stepping .left-leg{animation:left-stride var(--step-cycle,4s) ease-in-out infinite;transform-origin:center top}
.auto-stepping .right-leg{animation:right-stride var(--step-cycle,4s) ease-in-out infinite;transform-origin:center top}
.step-effects{opacity:0;pointer-events:none}.auto-stepping .step-effects,.manual-pulse .step-effects{opacity:1}
.step-ring{opacity:0;transform-box:fill-box;transform-origin:center;animation:step-ring var(--step-cycle,4s) ease-out infinite}
.step-ring.echo{animation-delay:.15s}
.step-coin{opacity:0;animation:step-gold var(--step-cycle,4s) ease-out infinite;animation-delay:var(--coin-delay)}
.is-fast .step-coin{filter:drop-shadow(0 0 3px #f2d78788)}
.traveler.jump{animation:manual-hop .5s ease-out}
.manual-pulse .step-ring{animation:manual-ring .65s ease-out}.manual-pulse .step-coin{animation:manual-gold .65s ease-out}
.dust-collector .collector-dust{animation:collect-stardust 3s ease-in-out infinite}.waterfall{animation:waterfall 3s linear infinite}
.chimney-smoke{animation:chimney-smoke 5s ease-in-out infinite}.celestial-aura,.estate-halo{animation:sky-glow 7s ease-in-out infinite}
@keyframes auto-hop{0%,12%,65%,100%{transform:translateY(0) rotate(0)}22%{transform:translateY(3px) scaleY(.93)}40%{transform:translateY(-23px) rotate(-5deg)}53%{transform:translateY(-10px) rotate(3deg)}62%{transform:translateY(2px) scaleY(.94)}}
@keyframes left-stride{0%,18%,65%,100%{transform:rotate(0)}38%{transform:rotate(28deg) translateY(-3px)}53%{transform:rotate(-15deg)}}
@keyframes right-stride{0%,18%,65%,100%{transform:rotate(0)}38%{transform:rotate(-29deg)}53%{transform:rotate(18deg) translateY(-3px)}}
@keyframes step-ring{0%,21%{opacity:0;transform:scale(.3)}25%{opacity:.8;transform:scale(.7)}58%,100%{opacity:0;transform:scale(2.2)}}
@keyframes step-gold{0%,23%{opacity:0;transform:translate(0,0) scale(.8)}29%{opacity:.9}63%,100%{opacity:0;transform:translate(var(--coin-drift),-65px) scale(.6)}}
@keyframes manual-hop{0%,100%{transform:translateY(0)}40%{transform:translateY(-30px) rotate(-7deg)}75%{transform:translateY(-8px) rotate(3deg)}}
@keyframes manual-ring{0%{opacity:1;transform:scale(.4)}100%{opacity:0;transform:scale(2.8)}}
@keyframes manual-gold{0%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(var(--coin-drift),-75px)}}
@keyframes collect-stardust{0%,100%{opacity:.2;transform:translateY(-5px)}55%{opacity:1;transform:translateY(14px)}}
@keyframes waterfall{to{stroke-dashoffset:-42}}
@keyframes chimney-smoke{0%,100%{opacity:.15;transform:translate(0,0)}65%{opacity:.35;transform:translate(4px,-8px)}}
@keyframes sky-glow{0%,100%{opacity:.6}50%{opacity:1}}
.estate-intro{padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#2e2639,#212331)}
.estate-intro h2{font-size:22px;font-weight:500;margin-top:6px}.estate-intro p{font-size:12px;color:#a295b2;margin-top:8px}.estate-intro .button{flex-shrink:0;font-size:11px}
.estate-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:31px 0 17px}.estate-section-heading h3{font-size:15px;font-weight:500}.estate-section-heading p{font-size:11px;color:#8b829d;margin-top:5px}.estate-section-heading>span{font-size:11px;color:#a393b5;white-space:nowrap}
.sky-upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sky-upgrade{padding:23px;display:flex;flex-direction:column;min-width:0;background:linear-gradient(150deg,#252232,#1b1d29)}
.sky-upgrade .card-top{margin-bottom:17px}.sky-upgrade h3{font-size:15px;font-weight:500}.sky-upgrade p{font-size:11px;line-height:1.9;color:#958ba4;margin-top:10px;min-height:63px}
.sky-effect{display:block;font-size:12px;font-weight:500;color:#c8addef0;margin:18px 0 9px;overflow-wrap:anywhere}.sky-upgrade>small{font-size:10px;color:#80768f;margin-top:auto}.sky-upgrade .card-button{margin-top:14px;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:37px}.sky-upgrade .price{font-size:12px}
.estate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.estate-card{display:flex;overflow:hidden;min-width:0}.estate-illustration{position:relative;display:grid;place-items:center;flex-shrink:0;width:115px;color:#c9b4a0;background:radial-gradient(ellipse at 50% 40%,#6c586455,transparent 75%),#252331;border-right:1px solid #3a3044}.estate-illustration>.icon{width:45px;height:45px;stroke-width:1.2;filter:drop-shadow(0 0 20px currentColor)}.estate-illustration>span{position:absolute;bottom:14px;left:16px;font:11px Outfit;color:#ffffff33;letter-spacing:2px}.estate-tone-1{color:#a8d5c1}.estate-tone-2{color:#c6b2e3}.estate-tone-3{color:#a6bddb}.estate-tone-4{color:#e0c291}.estate-tone-5{color:#dac2eb}
.estate-card-body{padding:22px;flex:1;min-width:0}.estate-card-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.estate-card h3{font-size:14px;font-weight:500}.estate-card p{font-size:11px;color:#8c839c;margin:9px 0 11px;line-height:1.9;min-height:42px}.estate-card small{font-size:10px;color:#b2a3c5}.estate-card .card-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:34px;margin-top:16px;font-size:11px}.estate-card .price{font-size:12px}.estate-owned{color:#9ecbb4;font-size:9px;white-space:nowrap}.estate-card.owned{border-color:#405448}.estate-card.owned .card-button{opacity:.7;color:#a0c9b1;background:#24312c}
@media(max-width:1100px){.resource{gap:8px;padding:17px 12px}.resource-icon{display:none}.resource strong{font-size:27px}.sky-upgrade-grid{gap:12px}.sky-upgrade{padding:19px}.estate-illustration{width:83px}.estate-card-body{padding:19px}.estate-intro h2{font-size:20px}}
@media(max-width:780px){.wealth-summary>.wealth-meta{gap:9px;font-size:10px}.wealth-permanence{font-size:9px}.scale-tooltip{position:absolute;left:0;right:auto;width:320px;max-width:calc(100vw - 34px);padding:18px}.resource-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.resource{padding:14px 16px;min-height:94px}.resource.soul-resource{grid-column:auto;border:0}.resource:nth-child(2){border-right:0}.resource:nth-child(-n+2){border-bottom:1px solid #34323e}.resource strong{font-size:28px}.resource small{font-size:9px}.resource label{font-size:11px}.resource-icon{display:none}.resource .round-button{top:8px;right:6px}.scene-shortcuts{gap:10px}.workspace-tabs{gap:22px;overflow-x:auto;scrollbar-width:none}.workspace-tabs button{white-space:nowrap;flex-shrink:0}.estate-intro{padding:23px;display:block}.estate-intro h2{font-size:19px}.estate-intro p{font-size:11px;line-height:1.9}.estate-intro .button{margin-top:17px}.estate-section-heading{flex-wrap:wrap;margin-top:27px}.estate-section-heading p{font-size:10px}.estate-section-heading .segmented{width:100%}.estate-section-heading .segmented button{flex:1;padding:7px}.sky-upgrade-grid,.estate-grid{grid-template-columns:1fr;gap:15px}.sky-upgrade{padding:23px}.sky-upgrade p{min-height:0}.sky-upgrade .card-top{margin-bottom:12px}.sky-effect{margin-top:13px}.estate-illustration{width:88px}.estate-card-body{padding:21px}.estate-card p{min-height:0}.estate-card h3{font-size:13px}}
@media(max-width:370px){.resource-icon{display:none}.scale-tooltip{width:278px}.estate-illustration{width:65px}.estate-card-body{padding:17px}}
