:root{--ink:#253d34;--muted:#77847b;--green:#2c5142;--paper:#fafbf6;--line:#e2e6dc;--lime:#e8efc8;--scene:#edf0e5;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,canvas:focus-visible,[tabindex]:focus-visible{outline:3px solid #809c54;outline-offset:3px}button{color:inherit}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a{color:inherit}.topbar{height:78px;padding:0 28px;display:flex;align-items:center;gap:42px;border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap;font-family:inherit;font-weight:800;font-size:20px;letter-spacing:-.7px}.brand-light{font-weight:500}.brand-mark{display:grid;place-items:center;background:var(--green);color:#e5eabb;width:35px;height:37px;border-radius:11px;font-size:30px}.main-nav{display:flex;align-items:center;gap:22px;height:100%}.nav-button{height:100%;padding:0 2px;background:transparent;font-size:13px;color:#859086;position:relative}.nav-button.active{color:var(--ink);font-weight:700}.nav-button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--green);border-radius:2px}.header-actions{margin-left:auto;display:flex;gap:20px;align-items:center}.prototype-label{font-size:11px;display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap}.prototype-label i,.tiny-dot{display:inline-block;width:6px;height:6px;background:#91a67b;border-radius:50%}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;border-radius:9px;padding:12px 17px;font-weight:600;font-size:12px;min-height:42px;text-decoration:none}.button-dark{background:var(--green);color:#fff}.button-dark:hover{background:#3b6351}.button-light{background:#fff;color:var(--ink);border:1px solid var(--line)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 338px;min-height:calc(100vh - 78px)}.world-panel{position:relative;min-height:740px;overflow:hidden;background:var(--scene);isolation:isolate}.scene-heading{position:absolute;left:30px;top:26px;right:25px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2;pointer-events:none}.scene-heading>div{pointer-events:none}.scene-heading button{pointer-events:auto}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#758371}.scene-heading h1{font-family:inherit;font-size:26px;font-weight:700;letter-spacing:-1px;margin:8px 0 7px}.scene-heading p{font-size:12px;color:#7a897a}.icon-button{width:31px;height:31px;border:1px solid #ced6c8;border-radius:50%;background:#ffffff73;font-size:17px;display:grid;place-items:center}.world-tabs{position:absolute;left:30px;top:132px;z-index:3;display:flex;gap:5px;background:#ffffff94;padding:5px;border:1px solid #ffffffa6;border-radius:11px;box-shadow:0 3px 13px #364e2910}.world-tabs button{display:flex;align-items:center;gap:7px;background:transparent;padding:9px 12px;border-radius:7px;font-size:11px;color:#738074;white-space:nowrap}.world-tabs button[aria-pressed=true]{background:#fff;color:#2b4737;box-shadow:0 2px 7px #34442c14;font-weight:700}.world-tabs button span{font-size:16px;line-height:13px}.world-tabs button:hover{background:#ffffffba}#world-canvas{position:absolute;inset:0;outline-offset:-4px}#world-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.scene-loading,.scene-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;text-align:center;padding:40px;background:var(--scene);z-index:1}.scene-loading p{font-size:13px;color:#778675}.loading-spark{font-size:52px;color:#8ca56a;animation:breathe 2s ease-in-out infinite}.scene-fallback p{max-width:300px;font-size:14px;line-height:1.6}.quest-card{position:absolute;bottom:74px;left:26px;display:flex;gap:12px;background:#fafbf3ed;padding:17px 18px;border:1px solid #ffffff;border-radius:13px;box-shadow:0 8px 30px #40513a0b;max-width:290px;z-index:2;pointer-events:none}.quest-icon{color:#a79149;background:#edeccf;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-size:24px;flex-shrink:0}.quest-kicker{font-size:8px;letter-spacing:1.5px;color:#8a937d;font-weight:700}.quest-card h2{font-family:inherit;font-size:15px;letter-spacing:-.4px;margin:5px 0 6px}.quest-card p{font-size:10px;color:#7b8676;line-height:1.4}.quest-progress{display:flex;gap:5px;align-items:center;margin-top:11px}.quest-progress>span[data-spark]{width:23px;height:23px;border-radius:50%;background:#e6e9db;display:grid;place-items:center;font-size:17px;color:#a6af92}.quest-progress>span.found{background:#eddf9a;color:#8a7029}.quest-progress #quest-count{font-size:9px;margin-left:5px;color:#8a947e}.scene-tools{position:absolute;right:22px;bottom:74px;display:flex;gap:8px;z-index:2}.tool-button{background:#fafbf4ed;border:1px solid #fff;border-radius:11px;width:56px;height:59px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;font-size:23px;box-shadow:0 5px 20px #2c453310}.tool-button span{font-size:8px;color:#7b8976}.scene-caption{position:absolute;bottom:0;left:0;right:0;height:45px;display:flex;align-items:center;justify-content:center;gap:10px;color:#87927f;font-size:10px;background:linear-gradient(transparent,#e6eadbe3);z-index:2}.scene-caption kbd{font-size:9px;letter-spacing:2px;background:#f8faefaa;padding:4px 6px;border:1px solid #d5ddca;border-radius:4px;margin-left:4px}.editor-panel{background:var(--paper);padding:29px 25px 0;border-left:1px solid var(--line);z-index:4;overflow:auto;max-height:calc(100vh - 78px)}.editor-title-row{display:flex;align-items:center;justify-content:space-between;margin:9px 0 9px;gap:10px}.editor-title-row h2{font-family:inherit;font-size:25px;font-weight:700;letter-spacing:-1px}.free-badge{font-size:9px;padding:5px 8px;background:#e9eedc;color:#6b8056;border-radius:20px;white-space:nowrap}.editor-heading>p{font-size:11px;line-height:1.6;color:#8b9587;margin-bottom:24px}.field-label{display:flex;justify-content:space-between;font-weight:600;font-size:11px;margin:17px 0 8px}.field-label span{font-size:9px;color:#9ba494;font-weight:400}input:not([type=range]),textarea{display:block;width:100%;border:1px solid #dfe4d8;background:#fffefa;border-radius:7px;padding:10px 11px;color:#465244;font-size:12px;line-height:1.5}input::placeholder{color:#b0b5a8;font-size:11px}textarea{resize:vertical;min-height:64px;max-height:150px}.field-error{font-size:10px;line-height:1.4;color:#9a4636;margin-top:6px}fieldset{border:0;margin:21px 0 0;padding:0}legend,.height-label label{padding:0;font-size:11px;font-weight:600;margin-bottom:9px}.style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.style-options button{border:1px solid #dfe4d8;background:transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px 4px;gap:3px;color:#9ca591}.style-options button[aria-pressed=true]{border-color:#5a7650;background:#edf1e3;color:#476341}.style-options svg{width:47px;height:34px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}.style-options span{font-size:10px}.color-options{display:flex;gap:11px;padding:3px}.color-options button{height:27px;width:27px;background:var(--swatch);border-radius:50%;position:relative;border:3px solid var(--paper);outline:1px solid transparent}.color-options button[aria-pressed=true]{outline-color:#64745e}.color-options button[aria-pressed=true]:after{content:'✓';color:#fff;font-size:11px;position:absolute;inset:0;display:grid;place-items:center}.height-label{display:flex;justify-content:space-between;align-items:center;margin-top:21px}.height-label label{margin:0}.height-label output{font-size:10px;color:#81916e}input[type=range]{width:100%;height:18px;margin:10px 0 0;accent-color:#6a8357;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#a0a795;margin:2px 0 19px}.save-button{width:100%;justify-content:space-between;margin-top:2px}.save-note{text-align:center;color:#99a18f;font-size:9px;line-height:1.5;margin:9px 0 17px}.visit-home{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;font-size:11px;color:#74866a}.editor-footer{display:flex;align-items:center;gap:12px;padding:21px 0}.footer-spark{font-size:31px;color:#a7b790}.editor-footer p{font-size:10px;line-height:1.6;color:#99a58c}.editor-footer button{margin-left:auto;background:transparent;color:#96a08e;font-size:18px}.reward-banner{display:flex;align-items:center;gap:10px;background:#f0eccf;padding:12px;border-radius:8px;margin-bottom:15px}.reward-banner>span{font-size:28px;color:#aa8b31}.reward-banner strong{font-size:11px}.reward-banner p{font-size:9px;line-height:1.5;color:#9c905d;margin-top:3px}.selected-place{position:absolute;top:210px;right:22px;z-index:4;background:#fdfef8f5;box-shadow:0 10px 35px #233d3620;border:1px solid #fff;border-radius:12px;width:240px;padding:20px}.selected-place h3{font-family:inherit;font-size:19px;margin:9px 0}.selected-place p{font-size:11px;line-height:1.6;color:#89927e;margin:0 0 16px}.selected-place .button{width:100%;justify-content:space-between}.close-small{position:absolute;right:10px;top:8px;background:none;font-size:20px;color:#8b9782}.room-banner{position:absolute;top:197px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:center;z-index:3;gap:10px}.room-banner>span{font-size:12px;background:#fafbf2de;padding:12px;border-radius:8px}.movement-pad{display:none;position:absolute;right:18px;bottom:150px;z-index:3;text-align:center;touch-action:none}.movement-pad>div{display:flex;gap:3px}.movement-pad button{height:39px;width:39px;margin-bottom:3px;border-radius:9px;background:#fafbf1dc;border:1px solid #fff;touch-action:none;font-size:18px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:#fff;border:1px solid #ffffff30;padding:13px 22px;border-radius:12px;font-size:12px;max-width:90vw;box-shadow:0 8px 35px #213c3826;z-index:20;text-align:center}.shared-notice{padding:12px;border:1px solid #d2ddbf;border-radius:8px;background:#eef3e4;font-size:11px;line-height:1.6;margin-bottom:18px}.shared-notice button{display:block;background:none;color:var(--green);font-weight:700;text-decoration:underline;margin-top:5px;padding:0}dialog{border:1px solid #e3e9d8;background:var(--paper);border-radius:18px;padding:26px;max-width:min(620px,calc(100vw - 32px));width:100%;color:var(--ink);box-shadow:0 30px 100px #173b3333}dialog::backdrop{background:#1f352f60;backdrop-filter:blur(4px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}dialog h2{font-family:inherit;font-size:27px;letter-spacing:-1px;margin-bottom:12px}dialog p{font-size:13px;line-height:1.7;color:#7c8975;margin-bottom:16px}dialog input{margin-bottom:12px}dialog .button{margin-top:3px}.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.place-card{text-align:left;background:#eef2e5;padding:16px;border:1px solid #e0e7d5;border-radius:10px;min-height:112px}.place-card strong{display:block;font-size:14px;margin:8px 0}.place-card small{font-size:10px;line-height:1.5;color:#809073}.place-card .place-emoji{font-size:22px}.modal-list{padding:0;list-style:none;display:grid;gap:12px;margin:16px 0}.modal-list li{display:flex;gap:12px;font-size:13px;line-height:1.6}.modal-list b{color:#6a8757;min-width:30px}.world-map-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.world-map-list div{padding:16px;border:1px solid #dce4cf;border-radius:10px}.world-map-list h3{font-size:14px;margin:8px 0}.world-map-list p{font-size:11px;margin:0}.world-map-list span{font-size:22px}.world-map-list small{display:block;margin-top:10px;font-size:9px;color:#8c977e}.share-actions{display:flex;gap:8px;flex-wrap:wrap}.share-link{font-size:10px!important}.empty-state{grid-column:1/-1;padding:20px;text-align:center}.theme-note{color:#8c967f;font-size:10px;margin-top:15px}.copy-fallback{color:#975e3c!important}.world-panel[data-theme=orbital]{--scene:#dbe3ed}.world-panel[data-theme=underwater]{--scene:#d9ece7}.world-panel[data-theme=fantasy]{--scene:#e9e3ef}@keyframes breathe{50%{transform:scale(1.12);opacity:.65}}@media(min-width:1500px){.world-panel{min-height:820px}.workspace{grid-template-columns:minmax(0,1fr) 365px}.editor-panel{padding:32px}}@media(max-height:820px) and (min-width:901px){.world-panel{min-height:690px}.editor-panel{max-height:none}.editor-heading>p{margin-bottom:16px}.field-label{margin-top:13px}fieldset{margin-top:16px}.editor-footer{padding:15px 0}}@media(max-width:1100px){.topbar{gap:22px;padding:0 20px}.prototype-label{display:none}.main-nav{gap:16px}.workspace{grid-template-columns:minmax(0,1fr) 310px}.editor-panel{padding:25px 20px 0}.scene-heading{left:22px}.scene-heading h1{font-size:22px}.world-tabs{left:22px}.world-tabs button{padding:8px 9px}.quest-card{left:20px;max-width:260px}.scene-tools{right:16px;gap:5px}.tool-button{width:48px}.scene-caption kbd{display:none}}@media(max-width:900px){.topbar{height:66px;gap:18px;padding:0 18px}.brand{font-size:17px}.brand-mark{width:30px;height:32px;font-size:24px}.main-nav{gap:14px}.nav-button{font-size:11px}.header-actions{gap:0}.header-actions .button{font-size:10px;padding:10px 12px;min-height:36px}.workspace{grid-template-columns:1fr}.world-panel{height:690px;min-height:0}.editor-panel{max-height:none;border-left:0;border-top:1px solid var(--line);padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.editor-heading,.shared-notice{grid-column:1}.editor-panel form{grid-column:2;grid-row:1/5}.visit-home{grid-column:1;align-self:start}.editor-footer{grid-column:1;align-self:end}.movement-pad{display:block}.scene-tools{bottom:74px}.quest-card{bottom:75px}.scene-caption{font-size:9px}.scene-heading h1{font-size:26px}}@media(max-width:560px){.topbar{height:62px;padding:0 14px;gap:10px}.brand{font-size:16px;gap:7px}.brand-mark{height:28px;width:27px;font-size:22px}.main-nav{display:none}.header-actions .button{font-size:10px;gap:5px;padding:9px 11px}.world-panel{height:610px;min-height:0}.scene-heading{top:22px;left:20px;right:20px}.scene-heading h1{font-size:23px}.scene-heading p{font-size:11px}.eyebrow{font-size:8px;letter-spacing:1.5px}.world-tabs{left:15px;right:15px;top:119px;gap:1px;justify-content:space-between;padding:4px}.world-tabs button{font-size:10px;padding:8px;gap:4px}.world-tabs button span{font-size:13px}.quest-card{bottom:58px;left:14px;padding:12px;gap:9px;max-width:235px;border-radius:11px}.quest-icon{width:29px;height:29px;font-size:20px}.quest-kicker{font-size:7px}.quest-card h2{font-size:13px}.quest-card p{font-size:9px}.quest-progress{margin-top:7px}.quest-progress>span[data-spark]{width:20px;height:20px;font-size:15px}.quest-progress #quest-count{font-size:8px}.scene-tools{right:12px;bottom:58px;flex-direction:column;gap:5px}.tool-button{width:43px;height:42px;font-size:18px;gap:1px}.tool-button span{font-size:7px}.movement-pad{bottom:177px;right:12px}.movement-pad button{height:34px;width:34px;font-size:17px}.scene-caption{height:35px;padding:0 12px;text-align:center;font-size:8px;gap:6px}.scene-caption .tiny-dot{display:none}.editor-panel{display:block;padding:26px 24px}.editor-heading>p{font-size:12px}.editor-title-row h2{font-size:28px}.field-label,legend,.height-label label{font-size:12px}input:not([type=range]),textarea{font-size:16px}.style-options button{padding:10px}.style-options svg{width:52px;height:36px}.style-options span{font-size:11px}.color-options{gap:15px}.color-options button{width:33px;height:33px}.selected-place{top:178px;right:14px;left:14px;width:auto;max-width:260px;padding:17px}.selected-place h3{font-size:17px}.room-banner{top:173px;left:15px;right:15px}.room-banner>span{font-size:10px}.room-banner .button{font-size:10px;padding:9px}.place-grid,.world-map-list{grid-template-columns:1fr}.save-button{font-size:13px}.save-note{font-size:10px}.visit-home{font-size:12px}dialog{padding:22px}dialog h2{font-size:24px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.simple-view-button{flex-shrink:0;background:#fafbf2e6;border:1px solid #cfd9c5;border-radius:7px;padding:6px 9px;min-height:28px;font-size:10px;color:var(--green)}.simple-view-button:hover{background:#fff}.scene-caption #scene-hint{min-width:0}.scene-fallback h2{font-family:inherit;letter-spacing:-.7px}
@media(max-width:560px){.scene-caption{gap:7px}.simple-view-button{font-size:9px;padding:5px 7px;min-height:27px}.scene-fallback{padding:165px 25px 100px}}
