:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#293c32;background:#f6f4ed;font-synthesis:none;font-weight:400;--paper: #f6f4ed;--ink: #293c32;--green: #315b4b;--muted: #687166;--line: #dcded3;--serif: Georgia, "Times New Roman", serif;--ease: cubic-bezier(.16, 1, .3, 1)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,.scene:focus-visible{outline:3px solid #b07835;outline-offset:3px}::selection{color:#fff;background:#315b4b}input,textarea{caret-color:var(--green)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#a8b3a4;border-radius:8px}::-webkit-scrollbar-track{background:#eeeee5}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;text-wrap:balance}button{transition:background .18s,color .18s,box-shadow .18s}button:hover:not(:disabled){background-color:#e8ebdf}button:active:not(:disabled){transform:translateY(1px)}.site-header{max-width:1440px;margin:auto;padding:25px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:100px}.brand{display:flex;align-items:center;gap:13px;font:26px var(--serif);letter-spacing:-.5px}.brand-mark{width:45px;height:45px;display:grid;place-items:center;color:var(--green)}.brand-tag{display:block;font:8px/2.2 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:2.5px;color:#65705d}.site-header nav{display:flex;gap:23px;align-items:center}.header-link{min-width:44px;display:flex;gap:8px;align-items:center;background:none;font-size:13px;padding:12px 4px;min-height:44px}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:7px;padding:12px 17px;min-height:45px;font-size:13px;font-weight:550;background:transparent;border:1px solid #cdd2c5;white-space:nowrap}.button.primary{color:#fffdf3;background:var(--green);border-color:var(--green)}.button.primary:hover:not(:disabled){background:#214735;border-color:#214735;box-shadow:0 3px 9px #26463515}.button.library-button{min-width:44px;background:#eeeee4}.library-count{display:grid;place-items:center;min-width:20px;height:20px;border-radius:4px;background:#dde4d5;font-size:11px}.icon-button{background:transparent;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;flex-shrink:0}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:12px;padding:5px 7px;background:transparent;border-radius:4px;color:var(--green)}main{max-width:1344px;margin:auto;padding:0 40px}.page-heading{padding:36px 0 25px;display:flex;align-items:center;justify-content:space-between;gap:20px}h1{overflow-wrap:anywhere;font-size:42px;letter-spacing:-1.4px;line-height:1.2}.page-heading p{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}.page-heading p>span{margin:0 7px;color:#67715f}.page-heading>div{min-width:0;flex:1}.new-button{margin-top:5px;flex-shrink:0}.mode-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:0;border-bottom:1px solid var(--line);gap:12px}.mode-tabs{display:flex;gap:25px}.mode-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;min-height:53px;background:transparent;font-size:12px;padding:0 2px 14px;color:#65705d}.mode-tabs button.active{color:var(--green);font-weight:650}.mode-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.save-state{font-size:10px;color:var(--muted);display:flex;gap:7px;align-items:center;padding-bottom:12px}.save-dot{width:5px;height:5px;background:#648664;border-radius:50%}.save-dot.unsaved{background:#ad7a36}.workspace{display:grid;grid-template-columns:268px minmax(0,1fr);gap:27px;align-items:start}.memory-panel{background:#fbfaf6;border:1px solid var(--line);border-radius:10px;padding:20px 17px 0;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-heading h2{font-size:22px;letter-spacing:-.3px}.panel-instructions{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.list-progress{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:21px}.placement-progress,.walk-progress{height:3px;border-radius:3px;overflow:hidden;background:#e1e6d9;margin:9px 0 16px}.placement-progress>span,.walk-progress>span{height:100%;display:block;background:#809676}.memory-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}.memory-item{border:1px solid #e2e4db;border-radius:6px;background:#fffefb;display:flex;align-items:center;gap:10px;width:100%;min-height:57px;text-align:left;padding:8px 10px;cursor:grab}.memory-item:active{cursor:grabbing}.memory-item.selected{border-color:var(--green);background:#e9eee2;box-shadow:0 0 0 1px var(--green)}.memory-number{font-family:var(--serif);font-size:12px;color:#687160;font-variant-numeric:tabular-nums}.memory-text{min-width:0;flex:1}.memory-text strong{font-size:12px;font-weight:550;display:block;overflow-wrap:anywhere}.memory-text>span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.memory-end{color:#6c8262;display:grid;place-items:center}.memory-tip{display:flex;align-items:flex-start;gap:9px;margin:23px -17px 0;padding:17px 17px 21px;background:#eef0e5;color:#63725c}.memory-tip>svg{margin-top:2px}.memory-tip p{font-size:10px;line-height:1.8}.memory-tip strong{display:block;font-size:11px;color:#475b40;font-weight:600;margin-bottom:3px}.auto-place{width:100%;margin-top:8px}.palace-view{min-width:0}.scene{width:100%;position:relative;isolation:isolate;aspect-ratio:1.9;border-radius:11px;overflow:hidden;background:#e5ddca;touch-action:pan-y;min-height:310px}.room-art{position:absolute;inset:0;background-image:url(/art/palace-rooms.webp);background-size:200% 300%;background-repeat:no-repeat}.scene-art{animation:enter-room .5s var(--ease)}@keyframes enter-room{0%{opacity:.6;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.scene:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(55,41,21,.08),transparent 35%,transparent 66%,rgba(34,36,22,.7))}.scene-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;gap:12px;z-index:1;pointer-events:none}.scene-badge{background:#f9f7edf0;color:#44523d;font-size:9px;font-weight:600;padding:8px 11px;border-radius:4px;letter-spacing:.7px}.scene-badge:first-child{font-size:10px;letter-spacing:1.5px}.scene-badge span{opacity:.6}.scene-caption{position:absolute;bottom:24px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fffef3;z-index:1;pointer-events:none}.scene-caption h2{font-size:33px;letter-spacing:-.5px}.scene-caption p{font-size:11px;color:#fff9e8;margin-top:7px}.room-flower{color:#e8e8d1;transform:rotate(15deg)}.hotspot{position:absolute;z-index:2;display:flex;align-items:center;flex-direction:column;gap:7px;transform:translate(-50%,-50%);padding:0;background:transparent;border-radius:8px;max-width:30%;min-height:86px;min-width:100px;touch-action:pan-y}.hotspot:hover:not(:disabled){background:transparent;z-index:3}.hotspot:active:not(:disabled){transform:translate(-50%,-50%)}.spot-pin{width:31px;height:31px;background:#f8f5e8;color:#375340;border:1px solid #c9c8b0;outline:4px solid #f9f4d637;border-radius:50%;display:grid;place-items:center;font-size:10px;box-shadow:0 3px 9px #24291c22;font-variant-numeric:tabular-nums;transition:transform .2s var(--ease)}.occupied .spot-pin{background:#315b4b;color:#fffce9;border-color:#f7f1d8}.spot-label{background:#fcfaf1f5;border:1px solid #dad8c4;padding:7px 13px;border-radius:5px;box-shadow:0 4px 13px #2b2b2020;min-width:109px;max-width:150px;line-height:1.2;display:flex;flex-direction:column;gap:4px}.spot-label>span{font-size:9px;color:#65705e;white-space:nowrap}.spot-label strong{font-size:11px;font-weight:650;color:#31523f;overflow-wrap:anywhere;max-height:56px;overflow:auto}.hotspot:hover .spot-pin{transform:translateY(-3px);outline-color:#f7f3e17d}.placing .spot-pin{outline-color:#f4edba8a}.placing .spot-label{border-color:#a7ae8d}.hotspot.drag-over .spot-pin{transform:scale(1.25);background:#b3863e}.hotspot.correct .spot-label{background:#e8f1df}.hotspot.incorrect .spot-label{background:#f5e9d9}.view-toolbar{min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);margin-bottom:20px}.view-toolbar>div{display:flex;align-items:center;gap:9px}.view-toolbar .icon-button{width:44px;height:44px}.previous svg{transform:rotate(180deg)}.page-count{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.mobile-hint{display:none}.selection-toolbar{color:var(--green)}.room-route{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;position:relative}.room-stop{position:relative;display:grid;grid-template-columns:1fr auto;gap:9px 3px;align-items:center;text-align:left;background:transparent;padding:0 0 11px;border-radius:6px;border-bottom:2px solid transparent}.room-stop:hover:not(:disabled){background:transparent}.room-thumb{position:relative;aspect-ratio:2.08;grid-column:1/-1;border-radius:5px;overflow:hidden;filter:saturate(.6);opacity:.74}.room-stop.active .room-thumb{opacity:1;filter:none;outline:2px solid var(--green);outline-offset:3px}.room-thumb>span{position:absolute;left:6px;top:6px;width:20px;height:20px;display:grid;place-items:center;background:#fcf8e8ed;border-radius:3px;font:10px var(--serif)}.room-stop-name{font-size:11px;color:#636f5d}.room-stop.active .room-stop-name{font-weight:650;color:var(--green)}.room-count{font-size:9px;color:#67715f}.walk-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:23px 0 0;margin-top:16px}.walk-cta>div{display:flex;align-items:center;gap:12px}.walk-cta-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;background:#e8ecdf;color:#607552}.walk-cta h3{font-size:19px}.walk-cta p{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.5}.site-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:43px;padding:13px 0 21px;font-size:10px;color:#67715f}.site-footer .text-button{font-size:10px;min-height:36px}.small{font-size:12px;line-height:1.7}.muted{color:var(--muted)}.full{width:100%}.storage-warning{background:#f0e4cc;font-size:12px;line-height:1.6;padding:8px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;border-radius:6px}.toast{position:fixed;left:50%;bottom:23px;z-index:20;transform:translate(-50%,10px);opacity:0;pointer-events:none;max-width:min(90vw,520px);width:max-content;background:#2d493b;color:#fffaf0;padding:13px 20px;border-radius:7px;font-size:12px;line-height:1.6;box-shadow:0 8px 30px #213c3325;transition:opacity .2s,transform .3s var(--ease)}.toast.visible{opacity:1;transform:translate(-50%)}.modal{border:none;border-radius:14px;padding:0;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);background:#faf9f3;color:var(--ink);box-shadow:0 24px 90px #192d3438;overflow:auto}.modal.wide{width:min(670px,calc(100% - 32px))}.modal::backdrop{background:#263b3266}.modal-inner{padding:27px 30px 30px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.modal-heading h2{font-size:29px;letter-spacing:-.7px}.modal-heading .icon-button{margin-right:-10px}.modal-intro{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:23px}.field-label{font-size:12px;font-weight:600;display:block;margin-bottom:9px}.field-label span{font-size:11px;color:var(--muted);font-weight:400}input,textarea{background:#fffefb;border:1px solid #cdd3c4;border-radius:6px;width:100%;padding:12px 13px;color:var(--ink);font-size:14px;line-height:1.6}input::placeholder,textarea::placeholder{color:#777d71}textarea{resize:vertical;min-height:100px;max-height:40vh}input{min-height:46px}.label-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:21px;font-size:11px}.template-row{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin:8px 0 14px}.template-row .text-button{padding:3px;min-height:40px;font-size:11px;text-decoration:underline;text-underline-offset:3px}form>.small{margin:10px 0 20px}form>.button.full{margin-top:12px}.error-text,.form-error{color:#9d3a2c}.form-error{font-size:12px;margin:12px 0;line-height:1.6}.association{display:flex;align-items:center;gap:15px;padding:17px 16px;background:#e9eddf;border-radius:7px;margin-bottom:19px;font-size:13px;overflow-wrap:anywhere}.association>span{font-size:11px;flex-shrink:0}.association>strong{font-family:var(--serif);font-size:22px;font-weight:400;min-width:0}.modal-actions{display:flex;justify-content:space-between;gap:15px;margin-top:23px}.danger{color:#a14636}.help-intro{border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:20px}.help-intro>svg{color:#738867;margin-bottom:14px}.help-intro p{font-size:13px;line-height:1.8;margin-bottom:8px}.help-steps{display:flex;flex-direction:column;gap:18px;margin-bottom:20px}.help-steps strong{font-family:var(--serif);font-size:20px;font-weight:400}.help-steps p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:6px}.help-intro~.full{margin-top:22px}.palace-library{display:flex;flex-direction:column;gap:17px;margin:20px 0 27px}.saved-palace{border:1px solid var(--line);border-radius:8px;overflow:hidden}.saved-palace-main{display:flex;align-items:center;text-align:left;gap:18px;background:transparent;padding:15px;width:100%}.saved-preview{position:relative;width:110px;aspect-ratio:1.4;border-radius:4px;overflow:hidden;flex-shrink:0}.saved-palace-main>div:nth-child(2){flex:1;min-width:0}.saved-palace h3{font-size:23px;overflow-wrap:anywhere}.saved-palace p{font-size:11px;color:var(--muted);margin-top:8px}.saved-palace-main>div>span{display:block;font-size:10px;margin-top:8px;color:var(--muted)}.saved-palace-main>div>span.current-label{color:var(--green);font-weight:650}.delete-row{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:0 12px;border-top:1px solid var(--line);min-height:44px;background:#f0f0e7;font-size:11px}.delete-row>.text-button{font-size:10px}.recall-panel{padding-bottom:18px}.recall-panel>.small{margin-top:6px}.recall-panel h3{font-size:24px;margin-top:24px}.recall-panel h3+.small{margin:9px 0 20px}.recall-field{margin-bottom:20px}.recall-field label{display:flex;gap:9px;font-size:11px;margin-bottom:8px;color:#67715f}.recall-field label>span{color:var(--ink);font-weight:600}.recall-field input{font-size:13px}.recall-field input:disabled{opacity:1;color:var(--ink);background:#ecefe5}.answer-feedback{font-size:11px;display:flex;gap:6px;align-items:center;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}.good{color:#3d6839}.miss{color:#a04c31}.hint-button{margin-top:9px;width:100%;font-size:11px}.hint-text{font-size:11px;line-height:1.8;background:#edf0e4;padding:10px;border-radius:4px;margin-top:8px}.exit-walk{display:block;width:100%;font-size:10px;margin-top:18px;border-top:1px solid var(--line);border-radius:0;padding-top:15px}.walk-progress{margin-top:17px}.recall-workspace .room-route button:disabled{opacity:1}.recall-workspace .room-stop:not(.active){opacity:.5!important}.results{max-width:680px;margin:25px auto 0;text-align:center;padding:20px 15px}.result-emblem{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;background:#e3e9d9;color:#54734e;margin:0 auto 25px}.results h2{font-size:36px;letter-spacing:-.7px}.results>p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:15px}.result-score{font:76px var(--serif);margin:25px 0;color:var(--green)}.result-score>span{display:block;font:11px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.7px;margin-top:5px}.result-list{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:0 24px;margin:30px 0}.result-list>div{display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line);min-width:0}.result-list>div>svg{color:#6c815e}.result-list strong{font-size:12px;display:block;overflow-wrap:anywhere}.result-list span{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5;display:block;overflow-wrap:anywhere}@media(min-width:1500px){.site-header{max-width:none;padding-left:max(48px,calc((100vw - 1264px)/2));padding-right:max(48px,calc((100vw - 1264px)/2))}main{padding:0 40px}}@media(max-width:1100px){.workspace{grid-template-columns:240px minmax(0,1fr);gap:20px}.site-header{padding:23px 32px}main{padding:0 28px}.scene{aspect-ratio:1.5;min-height:360px}.scene-caption h2{font-size:29px}.room-route{gap:10px}.room-stop-name{font-size:10px}.spot-label{min-width:100px;padding:7px 10px}.spot-label strong{font-size:10px}.walk-cta-icon{display:none}.walk-cta h3{font-size:17px}.walk-cta p{font-size:10px}.walk-cta .button{padding:11px 13px;font-size:12px}.mode-tabs{gap:22px}}@media(max-width:760px){.site-header{padding:17px 20px;min-height:84px}.brand{font-size:23px;gap:8px}.brand-mark{width:34px}.brand-tag{font-size:6.5px;letter-spacing:1.9px}.site-header nav{gap:9px}.header-link{padding:9px}.header-link>span{display:none}.library-button{padding:10px!important;min-height:44px}.library-button>span:not(.library-count){display:none}.library-count{display:none}.page-heading{padding:27px 0 22px;align-items:flex-start}h1{font-size:34px;letter-spacing:-1px}.page-heading p{font-size:11px;max-width:280px;line-height:1.8;margin-top:9px}.new-button{font-size:0;min-width:44px;width:44px;height:44px;padding:10px;margin:0}.new-button svg{width:20px;height:20px}main{padding:0 20px}.mode-bar{margin-bottom:19px}.mode-tabs{gap:22px}.mode-tabs button{font-size:11px;gap:6px;padding-bottom:12px;min-height:47px}.save-state{display:none}.workspace{display:flex;flex-direction:column;gap:22px}.palace-view{width:100%;order:0}.memory-panel{order:1;width:100%;padding:17px 17px 0}.scene{aspect-ratio:1.42;min-height:270px}.scene-top{top:13px;left:13px;right:13px}.scene-badge{font-size:8px;padding:7px 8px}.scene-badge:first-child{font-size:8px}.scene-caption{bottom:18px;left:19px;right:19px}.scene-caption h2{font-size:27px}.scene-caption p{font-size:9px;margin-top:6px}.room-flower svg{width:24px}.hotspot{min-width:84px;min-height:77px;gap:7px}.spot-pin{width:27px;height:27px;font-size:9px;outline-width:3px}.spot-label{min-width:82px;max-width:101px;padding:7px;gap:4px}.spot-label>span{font-size:8px}.spot-label>strong{font-size:9px;max-height:42px}.desktop-hint{display:none}.mobile-hint{display:inline}.view-toolbar{min-height:51px;margin-bottom:17px;font-size:10px}.view-toolbar>div{gap:5px}.view-toolbar .text-button{font-size:10px;padding:5px}.room-route{gap:11px}.room-thumb{aspect-ratio:1.2}.room-thumb>span{width:17px;height:17px;font-size:9px;top:5px;left:5px}.room-stop{display:flex;flex-direction:column;gap:9px;text-align:center;padding-bottom:4px}.room-thumb{width:100%}.room-stop-name{font-size:9px;letter-spacing:-.1px;white-space:nowrap}.room-count{font-size:8px;margin-top:-4px}.walk-cta{padding-top:18px;margin-top:15px;gap:8px}.walk-cta h3{font-size:17px;max-width:190px}.walk-cta p{font-size:9px;max-width:180px;margin-top:5px}.walk-cta .button{font-size:11px;padding:10px 11px;gap:8px}.walk-cta .button svg{width:16px}.panel-heading h2{font-size:24px}.panel-instructions{font-size:11px;line-height:1.7;margin-top:4px}.panel-instructions br{display:none}.list-progress{margin-top:16px}.memory-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.memory-item{min-height:62px;gap:8px;padding:8px}.memory-text strong{font-size:12px}.memory-text>span{font-size:9px}.memory-number{font-size:10px}.memory-end{display:none}.memory-tip{margin-top:17px;padding-top:15px;padding-bottom:17px}.memory-tip p{font-size:10px}.memory-tip strong{font-size:11px}.site-footer{margin-top:28px;padding-top:16px;gap:12px;align-items:flex-start;flex-direction:column;font-size:9px}.site-footer .text-button{font-size:10px;padding:0;min-height:30px}.recall-workspace .recall-panel{order:1;padding-bottom:17px}.recall-workspace .palace-view .room-route{display:none}.recall-workspace .view-toolbar{margin-bottom:0}.recall-panel h3{margin-top:19px}.recall-field label{font-size:12px}.recall-field input{font-size:16px}.recall-panel form>.button{margin-top:2px}.modal-inner{padding:22px}.modal-heading h2{font-size:27px}.modal-heading{gap:7px}.modal-intro{font-size:12px}.modal input,.modal textarea{font-size:16px}.modal-actions{gap:6px}.modal-actions .button{font-size:12px;padding:10px 13px}.modal-actions .text-button{font-size:10px}.saved-preview{width:75px;aspect-ratio:1}.saved-palace-main{gap:12px;padding:12px}.saved-palace h3{font-size:21px}.saved-palace p{font-size:10px}.saved-palace-main>svg{display:none}.delete-row{flex-wrap:wrap;gap:6px}.delete-row>span{font-size:10px;margin-right:auto}.results{padding:20px 0}.results h2{font-size:31px}.result-list{gap:0 17px}.selection-toolbar>span{max-width:165px;font-size:9px;line-height:1.5}.toast{font-size:11px;bottom:15px}.room-stop:disabled{opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
