:root{--ink:#201936;--purple:#5526a9;--line:#ddd1ef;--paper:#fff9ee;--teal:#218d7e}*{box-sizing:border-box}body{margin:0;font:16px/1.55 Inter,system-ui,sans-serif;color:var(--ink);background:radial-gradient(at 95% 5%,#f3d8e8,transparent 50%),var(--paper)}h1,h2,h3{line-height:1.16}h1,h2{font-family:Fraunces,Georgia,serif}h1{font-size:clamp(32px,4vw,52px);margin:8px 0 20px}h2{font-size:34px;margin:12px 0}h3{font-size:22px;margin:14px 0}a{color:#482092;font-weight:700;text-underline-offset:3px}.top{padding:14px 24px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.top img{display:block;object-fit:contain}.top nav{display:flex;gap:12px 24px;flex-wrap:wrap}.top a{font-size:14px}.top nav a{min-height:44px;display:flex;align-items:center}main{max-width:1200px;padding:28px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:18px 0 24px}.intro>div{max-width:850px}.eyebrow{color:#5e37a6;font-size:12px;font-weight:850;letter-spacing:.09em;margin:0 0 12px}.notice{background:#fff3d9;border:1px solid #e8cd9f;border-radius:14px;padding:14px 18px;font-size:14px}summary{font-weight:750;cursor:pointer;min-height:32px;line-height:1.6}button,.button{font:750 14px/1.3 Inter,system-ui,sans-serif;border:1px solid #7d5ab3;color:#4c288a;background:#fff;cursor:pointer;padding:12px 16px;min-height:46px;border-radius:10px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}button.primary,.button.primary{color:#fff;background:var(--purple);border-color:var(--purple)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[data-slot]:focus-visible{outline:3px solid #c88710;outline-offset:4px}label{font-weight:700;font-size:14px;display:block}input,select{display:block;width:100%;min-height:47px;border:1px solid #ae98ca;border-radius:9px;padding:12px;font:inherit;margin:7px 0 14px;color:var(--ink);background:#fff}input[type=checkbox]{display:inline-block;width:18px;min-height:18px;margin:0 6px;accent-color:var(--purple)}.hint{font-size:13px;color:#65556e;line-height:1.6}.section-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:30px 0 18px}.themes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.theme{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;overflow:hidden;border:2px solid #daccf0;background:#fff;position:relative}.theme[aria-pressed=true]{border-color:#6228bc;box-shadow:0 0 0 3px #e0cff9}.theme svg{display:block;width:100%;height:auto}.theme .label{padding:12px 14px 4px;font-size:18px}.theme .tagline{padding:0 14px 14px;font-size:12px;font-weight:500;color:#5b5069}.theme .picked{position:absolute;top:7px;right:7px;background:#fff;color:#4d1d91;border-radius:50%;padding:1px 7px}#createForm{margin:24px 0;background:white;border:1px solid var(--line);padding:24px;border-radius:16px}label span{font-weight:450}.form-row{display:flex;gap:14px;align-items:start}.form-row input{margin:0;flex:1}.form-row button{flex:none}.world-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.world-card{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden;min-width:0}.world-card .content{padding:14px 18px}.world-card svg{display:block;width:100%}.world-card h3{overflow-wrap:anywhere}.tools{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.check{display:flex;align-items:center}.stats{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.stats span{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 18px;font-weight:800}progress{width:100%;height:12px;accent-color:#8658ce}.scene{border:1px solid #aa93c5;border-radius:28px;overflow:hidden;background:#ded2ef}.scene>svg{display:block;width:100%;height:auto}.scene [data-slot]{cursor:pointer;outline:none}.scene [data-slot]:hover ellipse,.scene [data-slot]:focus ellipse{opacity:.65;stroke:white;stroke-width:3}.shop{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.shop button{display:flex;flex-direction:column;text-align:center;padding:15px 10px;background:#fff;min-height:140px}.shop button[aria-pressed=true]{border:3px solid #7541c0;background:#f2eaff}.shop svg{width:85px;height:75px}.shop small{font-weight:500;font-size:12px}.play-panel{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:28px;background:#f0e9fa;border:1px solid #d2bce9;border-radius:18px;margin:34px 0}.play-panel p{margin-bottom:0}.play-panel .button{margin:8px 0}.achievements{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:25px}.achievement{flex:1;min-width:155px;padding:16px;border:1px dashed #c9b8dc;background:#f7f3fa;border-radius:12px;font-size:13px;color:#6b5d77}.achievement.earned{border:1px solid #9bcfc1;color:#1a6757;background:#e7f5ee}.achievement strong{display:block;font-size:15px;margin-bottom:6px}#worldView>details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin:15px 0}#history>article{padding:14px 0;border-bottom:1px solid var(--line)}#history h4{margin:0;overflow-wrap:anywhere}#renameForm{max-width:500px}#status{font-weight:750;min-height:22px;color:#654500;overflow-wrap:anywhere}#worldHeading{overflow-wrap:anywhere}footer{text-align:center;margin:40px 0;padding:25px;font-size:13px;color:#615370}[hidden]{display:none!important}@media(max-width:900px){.themes,.shop{grid-template-columns:repeat(2,1fr)}.world-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){main{padding:18px}.intro>img{display:none}.top{padding:12px 18px}.top nav{gap:8px 15px}h2{font-size:29px}.theme .label{font-size:16px}.theme .tagline{font-size:11px}.form-row{flex-direction:column}.form-row>*{width:100%}.world-list,.play-panel{grid-template-columns:1fr}.play-panel{padding:22px;gap:18px}.stats{gap:8px}.stats span{padding:10px 12px;font-size:13px}.scene{border-radius:18px;overflow-x:auto}.scene>svg{min-width:0}.section-row{margin-top:24px}.shop button{font-size:13px}.themes{gap:12px}.hint{font-size:12px}}

.world-stage{position:relative;border:1px solid #3b2177;border-radius:24px;background:#19113b;overflow:hidden;box-shadow:0 20px 45px #32206525}.world-stage .scene{border:0;border-radius:0}.stage-toolbar{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#24134d;color:white;flex-wrap:wrap}.stage-toolbar>span{font-weight:800;margin-right:auto;overflow-wrap:anywhere}.stage-toolbar button{background:#fff1;border-color:#9478c4;color:#fff;font-size:13px;min-height:40px;padding:8px 13px}.stage-caption{font-size:12px;color:#e0d4f5;margin:0;padding:12px 18px;background:#24134d}.milestone-overlay{position:absolute;z-index:4;inset:64px 18px 20px 18px;max-width:480px;background:#211443f5;border:1px solid #9a80cc;border-radius:18px;color:#fff;padding:18px 22px;overflow:auto;box-shadow:0 20px 60px #0006}.milestone-overlay .section-row{margin:0 0 14px}.milestone-overlay h3{margin:0}.milestone-overlay .hint{color:#dcd0f0}.milestone-overlay .achievement{margin:10px 0;min-width:0}.spot-controls{margin:12px 0;padding:14px 18px;background:#fff;border:1px solid #ddd1ef;border-radius:12px}.spot-controls select{max-width:500px}@media(max-width:580px){.stage-toolbar{padding:12px}.stage-toolbar>span{flex-basis:100%;font-size:14px}.milestone-overlay{inset:105px 10px 12px;padding:14px}.stage-caption{padding:12px}.world-stage{border-radius:18px}}

.theme img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}.theme{transition:transform .18s,box-shadow .18s}.theme:hover{transform:translateY(-4px);box-shadow:0 12px 30px #39205b24}.theme .label{font-size:20px}.theme .tagline{font-size:13px}.themes{gap:18px}.theme[aria-pressed=true]{border-color:#6724c2;box-shadow:0 0 0 4px #dbc1fc}.world-stage .scene{background:#17152f}.world-stage .scene>svg{max-height:700px}.stage-caption{color:#e8ddff}.world-card svg{aspect-ratio:900/580;object-fit:cover}.shop button>div{border-radius:14px;background:#17152f;width:100%;display:grid;place-items:center;min-height:105px}.shop svg{width:95px;height:95px}.shop button{padding:12px;gap:9px}.shop img{width:100px;height:100px;object-fit:contain}@media(max-width:580px){.theme .label{font-size:17px}.theme .tagline{font-size:12px}.themes{gap:12px}.stage-caption{font-size:11px}}@media(prefers-reduced-motion:reduce){.theme{transition:none}.theme:hover{transform:none}}

.world-motion{pointer-events:none;will-change:transform}.motion-flight{animation:world-flight 7s ease-in-out infinite alternate}.motion-float{animation:world-float 5s ease-in-out infinite alternate}.motion-swim{animation:world-swim 12s ease-in-out infinite alternate}.motion-swim-back{animation:world-swim-back 9s ease-in-out infinite alternate}.motion-drift{animation:world-drift 10s ease-in-out infinite alternate}.motion-butterfly{animation:world-butterfly 7s ease-in-out infinite alternate;transform-origin:250px 140px}.motion-sway{animation:world-sway 3s ease-in-out infinite alternate;transform-origin:675px 420px}.motion-traffic{animation:world-traffic 12s ease-in-out infinite alternate}.motion-flag{animation:world-flag 2s ease-in-out infinite alternate;transform-origin:675px 100px}.motion-cloud{animation:world-cloud 16s linear infinite alternate}.motion-fire{animation:world-fire .8s ease-in-out infinite alternate;transform-origin:250px 290px}.motion-glint{animation:world-glint 3s ease-in-out infinite alternate}.motion-orbit{animation:world-orbit 14s linear infinite;transform-origin:395px 125px}.motion-bubbles{animation:world-bubbles 4s ease-in-out infinite}.motion-wheel{animation:world-wheel 22s linear infinite;transform-origin:230px 235px}.motion-paused .world-motion{animation-play-state:paused!important}@keyframes world-flight{from{transform:translate(0,30px) rotate(-8deg)}to{transform:translate(380px,-30px) rotate(8deg)}}@keyframes world-float{to{transform:translate(12px,-22px) rotate(8deg)}}@keyframes world-swim{to{transform:translate(510px,35px)}}@keyframes world-swim-back{to{transform:translate(-320px,-25px)}}@keyframes world-drift{to{transform:translate(-180px,65px) rotate(-6deg)}}@keyframes world-butterfly{0%{transform:translate(-65px,70px) rotate(-12deg) scaleX(.7)}50%{transform:translate(100px,-10px) rotate(15deg) scaleX(1)}100%{transform:translate(290px,50px) rotate(-10deg) scaleX(.7)}}@keyframes world-sway{to{transform:rotate(5deg)}}@keyframes world-traffic{0%,10%{transform:translate(0,0)}90%,100%{transform:translate(470px,0)}}@keyframes world-flag{to{transform:skewY(-7deg) scaleX(.87)}}@keyframes world-cloud{to{transform:translate(150px,0)}}@keyframes world-fire{to{transform:scale(.83,1.15)}}@keyframes world-glint{to{filter:brightness(1.35);transform:translateY(-4px)}}@keyframes world-orbit{to{transform:rotate(360deg)}}@keyframes world-bubbles{0%{transform:translateY(35px);opacity:0}30%{opacity:.9}100%{transform:translateY(-90px);opacity:0}}@keyframes world-wheel{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.world-motion{animation:none!important;will-change:auto}.theme{transition:none}}
