@font-face{font-family:DM;src:url('./vendor/dm-sans.ttf')}@font-face{font-family:Serif;src:url('./vendor/dm-serif.ttf')}
:root{--ink:#3e483a;--muted:#858475;--cream:#f6f2e9;--green:#677655;--line:rgba(78,84,63,.15);--terracotta:#b36d4b;--serif:Serif,Georgia,serif;--sans:DM,'Trebuchet MS',sans-serif}*{box-sizing:border-box}body{margin:0;background:#eee8db;color:var(--ink);font-family:var(--sans);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #b87845;outline-offset:5px}button{border:0}button,button svg{transition:background .2s,transform .2s,box-shadow .2s}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}#app{position:relative;min-height:760px;height:100svh;overflow:hidden;background:radial-gradient(ellipse at 55% 36%,#f9edd9 0%,#ebe7d9 70%,#e2e4d5 100%)}.header{position:absolute;left:0;right:0;top:0;z-index:10;height:100px;display:flex;align-items:center;justify-content:space-between;margin:0 4%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink);font-family:var(--serif);font-size:30px;letter-spacing:-1px;line-height:1.1}.brand-symbol{background:var(--green);color:var(--cream);height:43px;width:43px;display:grid;place-items:center;border-radius:14px 14px 14px 3px}.brand-symbol svg{height:30px;width:30px;stroke-width:1.2}.brand-sub{display:block;font:8px var(--sans);letter-spacing:2.35px;margin-top:7px}.header-center{font-size:12px;color:#7f846e;letter-spacing:.5px}.header-center i{width:6px;height:6px;border-radius:100%;background:#929f70;display:inline-block;margin-right:9px}.header-actions{display:flex;align-items:center;gap:10px}.circle-button{border:1px solid var(--line);background:#ffffff27;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-family:var(--serif);font-size:21px}.circle-button svg{width:18px;height:18px}.worlds-button{display:flex;align-items:center;gap:9px;margin-left:9px;background:var(--cream);padding:12px 17px;border-radius:40px;font-size:12px;border:1px solid #dcdccf}.worlds-button svg{width:15px;height:15px}.circle-button:hover,.view-controls button:hover{background:#fff9ed}.story-panel{position:absolute;z-index:4;left:5%;top:19%;width:262px;pointer-events:none}.story-panel button,.story-panel a{pointer-events:auto}.eyebrow{display:flex;align-items:center;gap:13px;color:#7c826c;font-size:10px;letter-spacing:2.1px;font-weight:600}.tiny-leaf{color:#b78b58}h1{font:clamp(42px,4.3vw,65px)/1.04 var(--serif);font-weight:400;letter-spacing:-2.3px;margin:20px 0 18px;max-width:330px}.story-panel p{font-size:14px;line-height:1.8;color:#858472;max-width:240px;margin:0}.level-meta{display:flex;gap:9px;align-items:center;font-size:10px;color:#92917e;margin-top:18px}.level-meta>span:first-child{color:#6a7758}.dot{color:#a1a28e}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--green);color:#fffbef;padding:17px 21px;border-radius:9px;box-shadow:0 6px 16px #4c5a331c;font-size:13px;width:100%;max-width:244px;transition:transform .2s,background .2s;margin-top:28px}.primary-button:hover{background:#526440;transform:translateY(-2px)}.primary-button>span{font-size:21px;line-height:12px}.story-panel .quiet-note{font-size:10px;margin-top:16px;display:flex;gap:7px;align-items:center}.quiet-note svg{width:12px;height:12px}.scene-chip{position:absolute;z-index:3;right:5%;top:145px;display:flex;align-items:center;gap:10px;font-size:11px}.scene-chip div>span{display:block;color:#96927e;font-size:9px;margin-top:5px}.sun-icon{width:36px;height:36px;border:1px solid #bda6795c;border-radius:50%;font-size:21px;display:grid;place-items:center;color:#b39c66}.view-controls{position:absolute;z-index:5;right:4%;top:38%;display:flex;flex-direction:column;gap:3px;border:1px solid #d8d8c5;border-radius:24px;background:#f9f6e8ba;box-shadow:0 8px 25px #545c4010;padding:5px}.view-controls button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:none;font-size:22px;font-family:var(--sans)}.view-controls>span{height:1px;background:var(--line);margin:4px 6px}#scene{position:absolute;inset:98px 0 148px;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}#scene canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:14px;color:#7d866e;background:#efe9dc;z-index:6;gap:15px}.loading-house{font-size:48px;animation:breathe 2s infinite}@keyframes breathe{50%{opacity:.35;transform:translateY(-7px)}}#scene-caption{position:absolute;z-index:2;bottom:165px;left:56%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;white-space:nowrap;color:#92937d;font-size:10px;pointer-events:none}.mouse-icon{font-size:19px}.caption-separator{color:#bbbaa6}#journey{position:absolute;z-index:7;bottom:0;left:4%;right:4%;height:143px;border-top:1px solid var(--line);display:flex;gap:25px;align-items:center}.journey-label{font-size:8px;letter-spacing:2px;color:#92937b;min-width:120px}.journey-label>span{display:block;letter-spacing:0;font-size:13px;color:#5e6c51;margin-top:10px;font-family:var(--serif)}#level-list{display:flex;flex:1;gap:12px;max-width:860px}.level-card{position:relative;flex:1;display:flex;align-items:center;gap:10px;background:transparent;border:1px solid transparent;padding:11px 9px;border-radius:12px;text-align:left;min-width:0;transition:background .2s}.level-card:hover{background:#ffffff50}.level-card.active{background:#fff9ebc9;border-color:#d0d2b7;box-shadow:0 4px 12px #62604609}.level-card img{height:57px;width:61px;object-fit:contain;filter:drop-shadow(0 3px 4px #41392425)}.level-card .card-number{font-size:8px;letter-spacing:1.4px;color:#aaa38b;display:block;margin-bottom:6px}.level-card .card-name{font-size:11px;color:#5c6950;line-height:1.45}.level-card .completed{position:absolute;right:7px;top:6px;color:#617e4e;font-size:11px}.save-note{font-size:9px;color:#91917a;line-height:1.7;white-space:nowrap}.save-note>span:first-child{margin-right:4px;color:#83946a}.save-note>span:last-child{display:block;margin-left:14px}#progress-panel{margin-top:30px;max-width:240px}.progress-label{display:flex;justify-content:space-between;font-size:11px;gap:9px}.progress-label strong{font-weight:500;color:#6e795b}.progress-track{height:4px;background:#dcdcc8;border-radius:4px;margin:13px 0}.progress-track i{display:block;height:100%;width:0;background:var(--green);border-radius:4px;transition:width .45s}.progress-detail{display:flex;align-items:center;justify-content:space-between;color:#9c9986;font-size:9px}.progress-detail button{padding:0;background:none;color:#7a8069;font-size:10px}.stages{display:flex;gap:5px;margin-top:19px}.stage-dot{width:26px;height:4px;background:#dedfce;border-radius:3px}.stage-dot.done{background:#71845b}.stage-dot.current{background:#b7be99}#tray{position:absolute;left:50%;transform:translateX(-50%);bottom:25px;z-index:8;width:min(760px,76%);border:1px solid #fffefa;background:#fbf8eede;backdrop-filter:blur(16px);border-radius:18px;padding:16px 23px 11px;box-shadow:0 12px 42px #42432d14}.tray-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:10px}.tray-heading>span:first-child{font-family:var(--serif);font-size:17px}.small-diamond{color:#a39465;margin-right:7px}#tray-instruction{font-size:10px;color:#9a9884}#hint{background:none;color:#87916e;font-size:10px;padding:4px}.touch-tip{text-align:center;font-size:9px;color:#a7a18e;margin-top:9px}#materials{display:flex;justify-content:center;gap:12px;margin-top:14px;min-height:86px}.material{position:relative;display:flex;flex:1;max-width:124px;flex-direction:column;align-items:center;justify-content:center;background:#eeeddf;border:1px solid transparent;border-radius:11px;height:85px;padding:6px;touch-action:none;user-select:none}.material.selected{border-color:#829261;background:#e6ead6;box-shadow:0 0 0 2px #b4bf9920}.material:hover{background:#e3e8d4}.material img{width:48px;height:43px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 3px #5b4c4420)}.material .material-name{font-size:10px;margin-top:5px}.material .material-number{position:absolute;top:7px;left:8px;font-size:10px;width:17px;height:17px;background:#fffdf2;color:#737d5a;border-radius:5px;display:grid;place-items:center}.material .material-count{position:absolute;top:8px;right:8px;font-size:9px;color:#9b9d86}.playing #journey{display:none}.playing #scene{bottom:198px}.playing #scene-caption{bottom:212px}.playing .story-panel{top:18%}.playing .scene-chip{opacity:.7}#toast{position:absolute;z-index:15;bottom:215px;left:50%;transform:translate(-50%,15px);border-radius:30px;padding:11px 21px;background:#4b5a40ed;color:#fffaec;font-size:12px;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;text-align:center;max-width:90%;box-shadow:0 5px 25px #3c452e18}#toast.visible{opacity:1;transform:translate(-50%,0)}#drag-token{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-90%);height:65px;width:65px;background:#f6f1dcdb;border:1px solid #a9b88d;border-radius:16px;box-shadow:0 10px 20px #27361733;display:grid;place-items:center}#drag-token img{width:60px;height:60px}dialog{position:fixed;background:#fbf8ed;color:var(--ink);border:1px solid #fff9e9;border-radius:25px;width:min(700px,94vw);padding:42px;box-shadow:0 24px 120px #333e3544;max-height:90svh;overflow:auto}dialog::backdrop{background:#3f4b3d45;backdrop-filter:blur(6px)}.modal-close{position:absolute;right:18px;top:14px;border:1px solid var(--line);width:29px;height:29px;background:none;border-radius:50%;font-size:21px}dialog h2{font:36px/1.12 var(--serif);letter-spacing:-1px;margin:8px 0 15px}dialog p{color:#91907e;font-size:13px;line-height:1.8}dialog .eyebrow{font-size:9px}dialog .primary-button{max-width:none;justify-content:center;margin-top:20px}.help-steps{display:grid;gap:17px;margin-top:28px}.help-step{display:flex;gap:14px;align-items:flex-start;font-size:13px;line-height:1.7}.help-step b{border:1px solid #d3d9bc;background:#eaefdc;color:#75835b;width:29px;height:29px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.help-step strong{font-weight:600;display:block}.help-step span{font-size:12px;color:#92937d}.world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:25px}.world-card{padding:13px 9px;border-radius:15px;background:#eeeddf;text-align:left;border:1px solid #e4e3d2}.world-card:hover{background:#e2e7d0}.world-card img{width:100%;height:100px;object-fit:contain}.world-card small{display:block;font-size:9px;color:#969a81;margin:5px 0}.world-card strong{font-size:12px;font-weight:500}.world-card .world-progress{height:3px;background:#d7dcc2;margin:10px 0 2px;border-radius:5px}.world-card .world-progress i{background:#7b8d60;display:block;height:100%}.complete-symbol{font-size:45px;color:#aa9360}.modal-secondary{display:block;background:none;margin:18px auto 0;text-decoration:underline;font-size:12px;color:#96947e}.reset-link{display:block;margin:23px 0 0;color:#9a8f7f;font-size:11px;background:none}.error-message{padding:25px;max-width:400px;text-align:center;line-height:1.8}
@media(min-width:1500px){.story-panel{left:8%;top:23%}.header{margin:0 6%}#journey{left:6%;right:6%;justify-content:space-between}.scene-chip{right:7%;top:170px}#scene{bottom:155px}.view-controls{right:6%}}
@media(max-width:1100px){.header-center{display:none}.story-panel{left:4%;width:220px}.journey-label{display:none}.save-note{display:none}#level-list{max-width:none}.level-card{gap:6px}.level-card img{width:52px}.scene-chip{right:4%}#tray{width:76%;left:54%}.tray-heading>span:first-child{font-size:15px}#tray-instruction{font-size:9px}.story-panel p{font-size:13px}}
@media(max-width:700px){#app{min-height:660px;height:100svh}.header{height:76px;margin:0 5%}.brand{font-size:25px;gap:7px}.brand-symbol{width:34px;height:34px;border-radius:11px 11px 11px 3px}.brand-symbol svg{width:26px;height:26px}.brand-sub{font-size:6px;letter-spacing:1.8px;margin-top:5px}.header-actions{gap:7px}.circle-button{width:32px;height:32px;font-size:18px}.worlds-button{margin-left:0;padding:9px;background:#f6f3e9}.worlds-button span{display:none}.worlds-button svg{width:15px;height:15px}.story-panel,.playing .story-panel{left:6%;top:102px;width:75%;pointer-events:none}.eyebrow{font-size:8px;letter-spacing:1.7px}h1{font-size:37px;line-height:1.05;margin:11px 0 10px;letter-spacing:-1px}h1 br{display:none}h1 br:after{content:' '}.story-panel p{font-size:12px;max-width:270px;line-height:1.6}.level-meta{font-size:9px;margin-top:10px;gap:7px}.scene-chip{display:none}.view-controls{right:4%;top:39%;gap:0;padding:3px}.view-controls button{width:29px;height:29px;font-size:20px}.view-controls>span{margin:3px 6px}#scene{top:210px;bottom:207px}#scene-caption{bottom:210px;left:50%;font-size:8px;gap:7px}#scene-caption>span:last-child,.caption-separator{display:none}.mouse-icon{font-size:15px}#intro-actions{position:fixed;bottom:126px;left:50%;transform:translateX(-50%);width:250px;text-align:center;pointer-events:auto}.primary-button{margin-top:0;max-width:none;padding:14px 21px;font-size:12px}.story-panel .quiet-note{justify-content:center;font-size:9px;margin-top:9px}#journey{height:105px;left:4%;right:4%;gap:0}#level-list{gap:4px}.level-card{flex-direction:column;gap:0;padding:6px 2px;border-radius:10px}.level-card img{height:38px;width:50px}.level-card .card-number{display:none}.level-card .card-name{font-size:8px;text-align:center;line-height:1.3}.playing #scene{top:230px;bottom:201px}.playing #scene-caption{bottom:202px}.playing .story-panel p{display:none}.playing .level-meta{display:none}.playing h1{font-size:32px;margin-bottom:14px}#progress-panel{margin-top:0;max-width:250px}.progress-label{font-size:9px}.progress-track{margin:8px 0;height:3px}.progress-detail{font-size:8px}.progress-detail button{font-size:9px}.stages{display:none}#tray{left:4%;right:4%;bottom:calc(12px + env(safe-area-inset-bottom));transform:none;width:auto;border-radius:15px;padding:12px 11px 9px}.tray-heading>span:first-child{font-size:14px}.small-diamond{margin-right:4px}#tray-instruction{display:none}#hint{font-size:9px}#materials{gap:6px;margin-top:12px;min-height:75px}.material{height:75px;border-radius:9px}.material img{width:39px;height:35px}.material .material-name{font-size:8px}.material .material-number{font-size:9px;width:14px;height:14px;top:5px;left:5px}.material .material-count{font-size:8px;right:5px;top:6px}.touch-tip{font-size:8px;margin-top:9px}#toast{bottom:207px;font-size:11px;white-space:normal;width:max-content;max-width:90vw;padding:10px 17px}dialog{padding:32px 24px;border-radius:20px}dialog h2{font-size:31px}.world-grid{grid-template-columns:repeat(2,1fr)}.world-card img{height:90px}}
@media(max-height:740px) and (min-width:701px){#app{min-height:650px}.header{height:80px}.story-panel,.playing .story-panel{top:125px}h1{font-size:48px}#scene{top:80px;bottom:120px}#journey{height:118px}#scene-caption{bottom:126px}.scene-chip{top:110px}.playing #scene{bottom:180px}#tray{bottom:15px;padding:12px 18px 8px}.material{height:73px}#materials{min-height:73px;margin-top:10px}.playing #scene-caption{bottom:187px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Construction layers stay legible without covering the model. */
#layer-progress{display:block;font-size:9px;font-weight:400;color:#6d8055;text-align:center;margin-top:4px}#scene:focus-visible{outline:none}#scene:focus-visible:after{content:"";position:absolute;inset:12px;border:1px dashed #8f9d6f66;border-radius:20px;pointer-events:none}

/* Quiet weather controls and a dedicated photographic composition space. */
#atmosphere-panel{position:absolute;z-index:20;right:4%;top:115px;width:292px;padding:25px 22px 20px;background:#faf7eddc;backdrop-filter:blur(22px);border:1px solid #fffcef;border-radius:21px;box-shadow:0 18px 65px #303b3126;max-height:calc(100svh - 145px);overflow-y:auto;color:#48503f;scrollbar-width:thin}#atmosphere-panel .eyebrow{font-size:8px;letter-spacing:1.5px;line-height:1.7;padding-right:15px}#atmosphere-panel h2{font:27px/1.12 var(--serif);font-weight:400;letter-spacing:-.8px;margin:9px 0 23px}.panel-close{position:absolute;right:12px;top:12px;border-radius:50%;border:1px solid #d6d7c7;background:none;font-size:18px;width:26px;height:26px}.setting-row{margin-bottom:19px}.setting-label{display:block;font-size:10px;color:#878b75;letter-spacing:.25px;margin-bottom:8px}.segmented{display:flex;gap:5px;background:#ebece0;padding:4px;border-radius:11px}.segmented button{flex:1;background:none;border:1px solid transparent;border-radius:8px;font-size:19px;min-height:49px;padding:5px 0;color:#8c9479}.segmented button span{display:block;font:9px var(--sans);margin-top:3px}.segmented button.active{background:#fffbee;border-color:#d6d9bf;color:#65774c;box-shadow:0 2px 4px #5863440b}.palette-options{display:flex;justify-content:space-between;gap:5px}.palette-options button{display:flex;align-items:center;gap:5px;padding:6px 5px;background:none;border:1px solid transparent;border-radius:8px;font-size:9px}.palette-options button.active{border-color:#abb593;background:#f4f2e3}.swatch{width:18px;height:18px;border-radius:50%;border:2px solid #fffbef;box-shadow:0 0 0 1px #c9cbb8}.swatch.natural{background:linear-gradient(135deg,#a5b280 50%,#d6b27e 50%)}.swatch.rose{background:linear-gradient(135deg,#bf9bac 50%,#e4c4b7 50%)}.swatch.vintage{background:linear-gradient(135deg,#8c9578 50%,#c4ad76 50%)}.audio-settings{border-top:1px solid #d8d9c6;border-bottom:1px solid #d8d9c6;margin-top:5px;padding:11px 0;color:#828b6f;font-size:10px}.audio-settings summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none}.audio-settings summary::-webkit-details-marker{display:none}.audio-inner{padding-top:10px;display:grid;gap:9px}.audio-inner button{background:#e5ead6;border-radius:7px;padding:8px;color:#65774c;font-size:10px}.audio-inner label{display:flex;align-items:center;justify-content:space-between;gap:15px}.audio-inner input{width:150px;accent-color:#809565;cursor:pointer}.photo-tip{font-size:10px;line-height:1.6;color:#969982;margin:14px 0}#capture-photo{margin:0;justify-content:center;max-width:none;font-size:12px;padding:14px}.photo-secondary{display:flex;justify-content:space-between;margin:12px 0 0}.photo-secondary button{background:none;color:#878e74;font-size:9px;padding:5px 0}#next-refuge{width:100%;text-align:center;border-top:1px solid #dddccc;margin-top:12px;background:none;padding:17px 0 0;font-size:10px;color:#73815e}.photo-title{display:none;position:absolute;top:130px;left:5%;pointer-events:none}.photo-title span{font-size:8px;letter-spacing:2px;display:block;color:#8e947d}.photo-title strong{display:block;font:30px var(--serif);font-weight:400;letter-spacing:-.8px;margin-top:8px}.photo .photo-title{display:block}.photo .story-panel,.photo #journey,.photo .scene-chip,.photo #scene-caption{display:none}.photo #scene{inset:105px 320px 25px 0}.photo .view-controls{right:calc(4% + 298px);top:auto;bottom:35px;flex-direction:row;border-radius:30px}.photo .view-controls>span{width:1px;height:25px;margin:4px 5px}.photo #toast{bottom:45px;left:40%}#return-ui{position:absolute;z-index:25;top:25px;right:25px;padding:12px 17px;border-radius:25px;background:#f7f3e2cc;backdrop-filter:blur(14px);border:1px solid #f8f7e46b;color:#626e53;font-size:11px}.clean-photo .header,.clean-photo .photo-title,.clean-photo #atmosphere-panel,.clean-photo .view-controls{display:none}.photo.clean-photo #scene{inset:0}.clean-photo #toast{display:none}#snap-status{position:absolute;z-index:12;left:55%;bottom:213px;transform:translateX(-50%);color:#f8f6e9;background:#6f8654ed;border:1px solid #cad9b1;border-radius:22px;font-size:10px;padding:9px 16px;box-shadow:0 3px 15px #35412a25;pointer-events:none;white-space:nowrap}.night{--ink:#e3e2cf;--muted:#b1b5c0;--line:#d9dfeb20;--green:#71856a}.night .header-center,.night .eyebrow,.night .story-panel p,.night .level-meta,.night .level-meta>span:first-child,.night .scene-chip div>span,.night #scene-caption,.night .photo-title span,.night .progress-detail,.night .progress-detail button,.night .progress-label strong,.night .save-note{color:#adb8c7}.night .scene-chip{color:#d9d9cb}.night .brand-symbol{background:#899d79;color:#f8efd4}.night .circle-button{background:#d9dfed09}.night .circle-button:hover{background:#d9dfed25}.night .worlds-button,.night .view-controls{background:#37465bea;border-color:#76829455;color:#d6daca}.night .view-controls button:hover{background:#c8d4e21c}.night .level-card.active{background:#8c9ab51a;border-color:#94a1ad40}.night .level-card .card-name,.night .journey-label>span{color:#c5cbb9}.night .level-card .card-number{color:#a4acb5}.night #tray{background:#303e50f0;border-color:#77869a40;color:#e4e4d3}.night .material{background:#435063;color:#e0e3d3}.night .material.selected{background:#596953;border-color:#9fb78b}.night .material .material-count,.night .touch-tip,.night #tray-instruction,.night #hint,.night #layer-progress{color:#b9c5ac}.night #atmosphere-panel{background:#f5f0e6ed}.night .photo-title strong{color:#e3e0cf}.night .sun-icon{color:#e2d299;border-color:#c2b77844}.night .progress-track{background:#66758a45}.night .stage-dot{background:#6b77914a}.night .stage-dot.done{background:#9bb78a}.night .stage-dot.current{background:#bfc898}.night .quiet-note svg{color:#c3cbb7}
@media(min-width:1500px){#atmosphere-panel{right:6%;top:127px}.photo #scene{right:360px}.photo .view-controls{right:calc(6% + 310px)}}
@media(max-width:1100px) and (min-width:701px){#atmosphere-panel{right:3%;width:270px;padding:23px 18px 17px}.photo #scene{right:290px}.photo .view-controls{right:calc(3% + 277px)}.photo-title{top:120px;left:4%}.photo-title strong{font-size:25px}.photo .view-controls button{width:29px;height:29px}}
@media(max-width:700px){.header-actions{gap:5px}.brand{font-size:23px}.brand-sub{font-size:5.7px}.circle-button{width:30px;height:30px}#atmosphere-panel{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));left:4%;right:4%;width:auto;max-height:70svh;padding:20px 18px 15px;border-radius:20px}#atmosphere-panel h2{font-size:24px;margin:7px 0 16px}.setting-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.setting-label{width:83px;flex-shrink:0;margin:0;font-size:9px}.segmented{flex:1;padding:3px}.segmented button{min-height:39px;font-size:16px;padding:3px}.segmented button span{font-size:8px;margin-top:1px}.palette-options{flex:1}.palette-options button{font-size:8px;padding:5px 2px;gap:4px}.swatch{width:16px;height:16px}.audio-settings{padding:9px 0;font-size:9px}.photo #atmosphere-panel{max-height:47svh}.photo #scene{inset:125px 0 300px}.photo .photo-title{top:94px;left:6%}.photo-title span{font-size:7px;letter-spacing:1.6px}.photo-title strong{font-size:23px;margin-top:4px}.photo .view-controls{top:155px;right:4%;bottom:auto;flex-direction:column;padding:3px}.photo .view-controls>span{height:1px;width:auto;margin:3px 6px}.photo .view-controls button{width:27px;height:27px;font-size:19px}.photo #panel-eyebrow{display:none}.photo #panel-title{font-size:20px;margin:0 0 13px}.photo .photo-tip{display:none}#capture-photo{margin-top:11px;padding:11px}.photo-secondary{margin-top:5px}#next-refuge{padding-top:10px;margin-top:6px}.photo #toast{bottom:50%;left:50%}#snap-status{left:50%;bottom:205px;font-size:9px;padding:8px 12px}.clean-photo #return-ui{top:20px;right:20px}.photo.clean-photo #scene{inset:0}}
@media(max-width:380px){.brand-symbol{display:none}.header-actions{gap:4px}.setting-label{width:70px}.palette-options button{font-size:7px}.photo #atmosphere-panel{padding:16px 13px 12px}}

.photo.panel-hidden #scene{right:0;bottom:25px}.photo.panel-hidden .view-controls{right:4%}.photo.panel-hidden #toast{left:50%}
@media(max-width:700px){.photo #scene{bottom:calc(var(--photo-panel-height, 330px) + 25px)}.photo.clean-photo #scene{inset:0}.photo.panel-hidden #scene{bottom:30px}}

.night #atmosphere-panel .eyebrow{color:#7c826c}

/* The full eight-material inventory remains visible on desktop and mobile. */
#tray{width:min(900px,92%);left:50%}#materials{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.material{width:100%;max-width:none;height:92px;padding-top:12px}.material img{height:36px;width:42px}.material .material-name{margin-top:3px}.material-status{font-size:8px;color:#949985;margin-top:3px;line-height:1.2}.material.ready .material-status{color:#60784c}.material.upcoming{background:#efeee4;border-color:#deded0}.material.upcoming img{opacity:.75}.material.upcoming.selected{border-color:#a4ad8b;background:#e9ecdc}.material.finished:disabled{opacity:.62}.material.finished .material-count{color:#698253}.material.finished .material-status{color:#7a8b69}.night .material.upcoming{background:#38465a;border-color:#65728a50}.night .material.upcoming.selected{background:#4c5d50;border-color:#9fb78b}.night .material-status{color:#b9c3b0}.night .material.ready .material-status,.night .material.finished .material-status,.night .material.finished .material-count{color:#cadba9}#material-note{min-height:12px;color:#8c927d}.night #material-note{color:#b9c5ac}
@media(max-width:700px){#tray{left:4%;right:4%;width:auto}#materials{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px;min-height:0}.material{height:65px;padding:11px 4px 4px}.material img{width:29px;height:25px}.material .material-name{font-size:8px;margin-top:1px;line-height:1.2}.material-status{font-size:7px;margin-top:2px}.playing #scene{bottom:238px}.playing #scene-caption{bottom:239px}.playing #toast,#snap-status{bottom:240px}#material-note{font-size:8px;line-height:1.4;margin-top:7px}}

/* A collection of little places, illustrated with the actual playable models. */
#home-menu{position:absolute;z-index:8;inset:100px 0 0;overflow:auto;overscroll-behavior:contain;background:#f5f2e9;color:#414e3e;scrollbar-width:thin;scrollbar-color:#c8ccb7 #f5f2e9;scroll-behavior:smooth}.home{--ink:#414e3e;--muted:#858475;--line:#4e543f26;--green:#677655}.home .header{background:#f5f2e9;border-color:#dfe1d3}.home #scene{visibility:hidden}.home .story-panel,.home .scene-chip,.home .view-controls,.home #scene-caption,.home #journey,.home #tray,.home .photo-title{display:none!important}.home .header-center{color:#7f846e}.home .circle-button{background:#ffffff27;color:#414e3e}.home .worlds-button{background:#e8ecdc;color:#5e7152;border-color:#d8dfcb}.home #atmosphere-toggle{display:none}.home .brand-symbol{background:#677655;color:#f6f2e9}.home-wrap{max-width:1390px;margin:auto;padding:0 5.1%}.home-hero{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;min-height:550px;gap:35px;padding:40px 0 26px}.hero-copy{position:relative;z-index:2}.hero-kicker{font-size:9px;letter-spacing:2px;font-weight:600;color:#7c886e;display:flex;gap:12px;align-items:center}.hero-kicker>span{font-size:16px;color:#bf9260}.hero-copy h1{font-size:clamp(38px,3.8vw,58px);letter-spacing:-1.9px;line-height:1.08;margin:22px 0;max-width:none}.hero-copy h1 em{font-weight:400;color:#8d9c76;font-style:normal}.hero-copy>p{max-width:360px;font-size:13px;line-height:1.9;color:#858776;margin:0}.hero-copy .primary-button{max-width:300px;font-size:12px;padding:18px 20px;border-radius:10px;margin-top:27px}.continue-caption{display:block;color:#909281;font-size:9px;margin-top:11px;line-height:1.5}.explore-link{display:flex;gap:25px;align-items:center;margin-top:22px;font-size:11px;color:#6b7b5d;padding:0 0 6px;border-bottom:1px solid #cdd4c0;background:none}.explore-link span{font-size:16px}.hero-notes{display:flex;gap:20px;color:#989b87;font-size:9px;margin-top:28px}.hero-notes i{font-size:14px;font-style:normal;margin-right:5px}.hero-gallery{position:relative;height:450px;min-width:0}.gallery-orbit{position:absolute;border:1px solid #d7dccbd6;border-radius:50%;width:420px;height:390px;left:50%;top:10px;transform:translateX(-50%) rotate(-25deg)}.orbit-two{width:350px;height:430px;transform:translateX(-50%) rotate(38deg);border-style:dashed;opacity:.6}.gallery-spark{position:absolute;color:#b5a079;font-size:35px}.spark-one{top:18px;left:10%}.spark-two{right:0;bottom:80px;font-size:22px}.postcard{position:absolute;display:block;padding:15px 12px 18px;background:#fffdf6;border:1px solid #dedecf;box-shadow:0 18px 45px #5a635614;border-radius:15px;text-align:center;width:235px;transition:transform .3s,box-shadow .3s}.postcard:hover{box-shadow:0 20px 42px #5a635629;z-index:4;transform:translateY(-8px) rotate(0)}.postcard img{display:block;width:100%;height:155px;object-fit:contain;filter:drop-shadow(0 8px 4px #52634715)}.postcard-stamp{display:flex;align-items:center;justify-content:space-between;padding:0 5px;color:#8b9380;font-size:8px;text-transform:uppercase;letter-spacing:2px}.postcard-stamp i{font-style:normal;font-size:13px;color:#a8b395}.postcard strong{display:block;font:19px var(--serif);font-weight:400;margin-top:3px}.postcard>span:last-child{display:block;font-size:8px;color:#999987;margin-top:7px}.postcard.germany{left:1%;top:30px;transform:rotate(-10deg);background:#f4ede0;width:218px;z-index:1}.postcard.india{right:0;top:49px;transform:rotate(9deg);background:#f6e9df;width:215px;z-index:1}.postcard.japan{left:50%;top:133px;transform:translateX(-50%) rotate(-2deg);width:270px;z-index:2;background:#eff1e6}.postcard.japan img{height:175px}.postcard.japan:hover{transform:translateX(-50%) translateY(-8px)}.gallery-caption{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);white-space:nowrap;display:flex;gap:11px;align-items:center;font-size:9px;color:#8c9480;line-height:1.65}.gallery-caption>i{width:31px;height:31px;display:grid;place-items:center;border:1px solid #d7ddc9;border-radius:50%;font-size:19px;font-style:normal;color:#7f916b}.gallery-caption strong{font-weight:400;color:#66775b}.collection-divider{padding:20px 0;border-top:1px solid #dddFcf;border-bottom:1px solid #dddFcf;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#8d9480;font-size:8px;letter-spacing:1.7px}.collection-divider>span:last-child{letter-spacing:0;font-size:10px;color:#7a8968}#collection{padding-top:46px;scroll-margin-top:24px}.collection-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.collection-heading .eyebrow{font-size:8px;letter-spacing:1.8px}.collection-heading h2{font:36px/1.12 var(--serif);letter-spacing:-.9px;font-weight:400;margin:12px 0 0}.collection-heading>span{font-size:10px;color:#909783;padding-bottom:5px}.collection-filters{display:flex;gap:8px;margin:25px 0 24px;flex-wrap:wrap}.collection-filters button{font-size:10px;border:1px solid #dfe2d4;background:none;color:#7e8872;padding:10px 15px;border-radius:20px;white-space:nowrap}.collection-filters button.active{background:#6d7e5d;border-color:#6d7e5d;color:#fffdf0}.collection-filters button:hover:not(.active){background:#e9eddd}#collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.refuge-card{display:flex;flex-direction:column;padding:0;text-align:left;border-radius:16px;border:1px solid #dedfd0;background:#fcfaf4;overflow:hidden;min-width:0;transition:transform .25s,box-shadow .25s,border-color .25s}.refuge-card:hover{transform:translateY(-5px);box-shadow:0 14px 26px #58644e13;border-color:#b2bda2}.refuge-art{position:relative;width:100%;height:240px;display:block;background:radial-gradient(ellipse at 50% 60%,#ffffff32,var(--card-tint));border-bottom:1px solid #e2e4d736}.refuge-art img{display:block;height:100%;width:100%;object-fit:contain;padding:16px 7px 2px;transition:transform .4s;filter:drop-shadow(0 8px 4px #5e654d0f)}.refuge-card:hover .refuge-art img{transform:scale(1.04)}.refuge-region{position:absolute;top:17px;left:18px;z-index:1;font-size:8px;color:#78846c;background:#fbfaf1bd;backdrop-filter:blur(8px);border:1px solid #fffdf37a;border-radius:12px;padding:6px 9px}.refuge-number{position:absolute;bottom:11px;left:17px;font:24px var(--serif);color:#8f9b7f55}.refuge-done{position:absolute;bottom:15px;right:16px;background:#f5f5e8d9;color:#6b8157;font-size:8px;border-radius:12px;padding:6px 9px}.refuge-info{display:block;padding:20px 21px 16px;width:100%;position:relative}.refuge-info>strong{font:24px var(--serif);font-weight:400;letter-spacing:-.5px;display:block}.refuge-feature{display:block;font-size:10px;color:#929582;margin:7px 0 19px;line-height:1.5}.refuge-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#859277}.refuge-bottom i{font-style:normal;margin:0 5px;color:#b6bda9}.refuge-bottom b{font-size:18px;font-weight:400;color:#8a9c76}.refuge-progress{display:block;position:absolute;left:0;right:0;bottom:0;height:3px;background:#e9eddf}.refuge-progress i{display:block;height:100%;background:#9cac82}.collection-empty{grid-column:1/-1;text-align:center;padding:70px 10px;background:#eef0e4;border-radius:15px;color:#839374}.collection-empty>span{font-size:38px}.collection-empty h3{font:27px var(--serif);margin:15px 0}.collection-empty p{font-size:12px}.home-footer{text-align:center;padding:62px 10px 35px;color:#8d977f}.home-footer>span{color:#b7a478;font-size:18px}.home-footer p{font:19px/1.6 var(--serif);margin:14px 0}.home-footer strong{font-weight:400;color:#64775a}.home-footer small{font-size:9px;color:#a0a48f}.back-collection{display:block;background:none;color:#839173;padding:0 0 20px;font-size:10px}.night .back-collection{color:#bac6b0}.playing .back-collection{padding-bottom:15px}#journey #level-list{justify-content:center}.level-card{max-width:240px}.paint-section{margin:17px 0 12px;padding:14px 0 10px;border-top:1px solid #d8d9c6;border-bottom:1px solid #d8d9c6;color:#667755}.paint-section summary{display:flex;justify-content:space-between;font-family:var(--serif);font-size:18px;cursor:pointer;list-style:none}.paint-section summary::-webkit-details-marker{display:none}.paint-section>p{font-size:9px;color:#8e947e;line-height:1.5;margin:9px 0 14px}.paint-row{margin:0 0 11px;padding:0;border:0}.paint-row legend{font-size:9px;margin:0 0 8px;color:#818b72}.paint-swatches{display:grid;grid-template-columns:repeat(11,1fr);gap:4px}.paint-swatch{width:100%;aspect-ratio:1;border:2px solid #f7f3e8;outline:1px solid #b9bfac55;background:var(--paint);border-radius:50%;padding:0;display:grid;place-items:center;min-width:0}.paint-swatch.active{outline:2px solid #71865b}.paint-swatch>span{font-size:10px;color:white;opacity:0;text-shadow:0 1px 3px #35432b}.paint-swatch.active>span{opacity:1}#reset-paint{padding:3px 0;background:none;color:#8b947c;font-size:9px}.photo #atmosphere-panel{max-height:calc(100svh - 150px);overflow:auto;scrollbar-width:thin;scrollbar-color:#c1c8b0 transparent}.night #paint-section{color:#667755}
@media(min-width:1500px){.home-hero{min-height:590px}.hero-gallery{transform:scale(1.06)}.refuge-art{height:265px}}
@media(max-width:1100px){.home-hero{grid-template-columns:1fr 1fr;gap:12px;min-height:520px}.hero-copy h1{font-size:43px}.hero-kicker{font-size:7px;letter-spacing:1.6px}.hero-gallery{transform:scale(.9);transform-origin:center right}.postcard.germany{left:-8%}.postcard.india{right:-6%}.refuge-art{height:200px}.refuge-info{padding:17px}.refuge-info>strong{font-size:21px}#collection-grid{gap:17px}.collection-filters{gap:6px}.collection-filters button{padding:9px 12px}}
@media(max-width:850px) and (min-width:701px){.hero-copy h1{font-size:36px}.hero-copy>p{font-size:12px}.hero-gallery{transform:scale(.73);transform-origin:center right;margin-left:-60px}.hero-notes{gap:12px}.home-hero{min-height:480px}#collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refuge-art{height:240px}}
@media(max-width:700px){#home-menu{top:80px}.home-wrap{padding:0 6%}.home-hero{display:flex;flex-direction:column;gap:5px;padding:30px 0 26px;min-height:0}.hero-copy{width:100%}.hero-kicker{font-size:7px;letter-spacing:1.6px;gap:8px}.hero-copy h1{font-size:clamp(34px,8.6vw,48px);letter-spacing:-1.2px;line-height:1.08;margin:19px 0}.hero-copy>p{font-size:12px;line-height:1.8;max-width:340px}.hero-copy .primary-button{max-width:310px;margin-top:22px;padding:16px 18px}.continue-caption{max-width:300px;font-size:8px}.hero-notes{display:none}.explore-link{position:absolute;right:0;bottom:-3px;font-size:9px;gap:9px;border-bottom:0}.continue-caption{max-width:205px}.hero-gallery{width:100%;height:330px;transform:none;max-width:440px;margin-top:15px}.postcard.germany{left:0;top:25px;width:43%;padding:12px 8px}.postcard.india{right:0;top:33px;width:43%;padding:12px 8px}.postcard img{height:114px}.postcard.japan{width:57%;top:105px;padding:13px 10px}.postcard.japan img{height:127px}.postcard strong{font-size:16px}.postcard>span:last-child{font-size:6px}.postcard-stamp{font-size:7px;letter-spacing:1.3px}.gallery-orbit{width:86%;height:260px;top:10px}.orbit-two{width:70%;height:290px}.gallery-caption{bottom:-3px;font-size:8px}.gallery-caption>i{width:28px;height:28px}.spark-one{top:-1px;font-size:26px}.spark-two{bottom:62px;font-size:17px}.collection-divider{padding:16px 0;gap:9px;align-items:flex-start;flex-direction:column;font-size:7px;letter-spacing:1.2px}.collection-divider>span:last-child{font-size:9px}#collection{padding-top:30px}.collection-heading .eyebrow{font-size:7px;letter-spacing:1.3px}.collection-heading h2{font-size:29px;margin-top:10px}.collection-heading>span{display:none}.collection-filters{margin:20px -1px;gap:6px;flex-wrap:nowrap;overflow:auto;padding:2px 2px 7px;scrollbar-width:none}.collection-filters button{font-size:9px;padding:9px 13px}#collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.refuge-art{height:155px}.refuge-art img{padding:14px 0 0}.refuge-region{top:10px;left:9px;font-size:6px;padding:4px 6px}.refuge-number{font-size:19px;bottom:7px;left:11px}.refuge-info{padding:13px 12px}.refuge-info>strong{font-size:19px;line-height:1.1;min-height:42px}.refuge-feature{font-size:8px;line-height:1.5;min-height:25px;margin:7px 0 12px}.refuge-bottom{font-size:7px;gap:4px}.refuge-bottom i{margin:0 3px}.refuge-bottom b{font-size:15px}.refuge-done{font-size:6px;padding:4px 6px;right:6px;bottom:8px}.home-footer{padding:40px 5px 28px}.home-footer p{font-size:17px}.home-footer small{font-size:8px}.back-collection{font-size:9px;padding-bottom:10px}.playing .back-collection{padding-bottom:7px}.photo #atmosphere-panel{max-height:48svh}.paint-section{margin:12px 0 8px;padding:11px 0 8px}.paint-section summary{font-size:16px}.paint-row legend{font-size:8px}.paint-swatches{gap:6px}.paint-swatch{max-width:27px}.paint-row{margin-bottom:8px}.paint-section>p{margin:8px 0 11px}.home #toast{bottom:22px;font-size:10px;max-width:86%;white-space:normal}}
@media(max-width:370px){#collection-grid{grid-template-columns:1fr}.refuge-art{height:230px}.refuge-info>strong{min-height:0;font-size:24px}.refuge-feature{font-size:10px;min-height:0}.refuge-bottom{font-size:9px}.refuge-region{font-size:8px}.hero-copy h1{font-size:32px}.explore-link{position:static;margin-top:15px}.hero-gallery{height:300px}.postcard.japan{top:95px}.postcard.japan img{height:110px}.postcard img{height:95px}}
@media(prefers-reduced-motion:reduce){#home-menu{scroll-behavior:auto}.refuge-card,.postcard,.refuge-art img{transition:none}}
