@font-face{font-family:Cormorant Garamond;font-style:normal;font-display:swap;font-weight:500;src:url(./cormorant-garamond-latin-500-normal-BsRWmXhO.woff2) format("woff2"),url(./cormorant-garamond-latin-500-normal-zIXX3Q-H.woff) format("woff")}@font-face{font-family:Cormorant Garamond;font-style:italic;font-display:swap;font-weight:500;src:url(./cormorant-garamond-latin-500-italic-Y14P-dkT.woff2) format("woff2"),url(./cormorant-garamond-latin-500-italic-DhNIfkTX.woff) format("woff")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(./cormorant-garamond-latin-600-normal-Co1r35X9.woff2) format("woff2"),url(./cormorant-garamond-latin-600-normal-2CBVLo0M.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(./dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(./dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(./dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(./dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}:root{font-family:DM Sans,sans-serif;color:#f1e9d8;background:#101f2d;font-size:14px;--text-scale: 1;--gold: #edc783;--muted: #a8b8b5;--ink: #142d35;--paper: #eee5d1;--line: rgba(231, 210, 163, .15);--serif: "Cormorant Garamond", Georgia, serif;--ease: cubic-bezier(.2, .7, .2, 1)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f1ce91;outline-offset:4px}button{color:inherit}h1,h2,h3,h4,p{margin:0}h2,h3{font-family:var(--serif);font-weight:500;line-height:1.08}h2{font-size:calc(36px * var(--text-scale))}h3{font-size:calc(28px * var(--text-scale))}p{line-height:1.7;font-size:calc(14px * var(--text-scale))}a{color:var(--gold)}svg{flex-shrink:0;vertical-align:middle}#world{position:fixed;inset:0;transition:filter .6s;width:100%;height:100dvh}#world canvas{display:block}.world-wash{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#08171fc4,#091a2152 40%,#091a2114 70%),linear-gradient(0deg,rgba(9,23,29,.75),transparent 30%,transparent 80%,rgba(9,23,29,.25))}#main{position:relative;z-index:2;min-height:100dvh}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;line-height:1.6;color:var(--gold)}.muted{color:var(--muted)}.gentle-note{font-size:11px;color:var(--muted);text-align:center;line-height:1.6}.center{text-align:center}.button{border:1px solid rgba(230,208,169,.22);border-radius:9px;background:#243d43;min-height:48px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:500;transition:transform .2s var(--ease),background .2s,box-shadow .2s}.button:hover:not(:disabled){transform:translateY(-2px);background:#314b4e}.button.primary{background:linear-gradient(135deg,#eed3a0,#d5ad6b);border-color:#f4d7a6;color:#29342f;box-shadow:0 4px 22px #0002}.button.primary:hover:not(:disabled){background:#f5dbaa;box-shadow:0 5px 24px #dfb67c25}.button.secondary{background:#193037b3}.button.small{font-size:11px;min-height:40px;padding:8px 12px}.text-button{border:0;background:none;color:var(--gold);padding:12px 4px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;min-height:44px}.text-button:hover{text-decoration:underline}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#142b33b0;border:1px solid var(--line);flex-shrink:0}.icon-button:hover{background:#3a4b48}.title-screen{min-height:100dvh;padding:42px 6.5vw 24px;display:flex;flex-direction:column}.studio-wordmark{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:3px;color:#d5decf}.title-copy{margin:auto 0;max-width:500px;padding:48px 0 38px}.title-copy>.eyebrow{font-size:9px;letter-spacing:2.6px;margin-bottom:28px}h1{font-family:var(--serif);font-weight:500;font-size:clamp(92px,11vw,162px);line-height:.71;letter-spacing:-3px;color:#fbf0d6;text-shadow:0 4px 40px #1118}h1 em{font-weight:500;color:var(--gold);padding-left:55px;font-size:1.12em;line-height:.95}.title-rule{display:flex;align-items:center;gap:14px;letter-spacing:8px;font-size:12px;color:#d7bf91;margin-top:20px;max-width:350px}.title-rule span{width:52px;height:1px;background:#d9bf8970}.title-description{font-family:var(--serif);font-size:27px;line-height:1.25;color:#e2e5d4;margin-top:32px}.title-play{margin-top:28px;min-width:270px;min-height:56px;justify-content:space-between;padding:15px 23px}.title-save{font-size:10px;letter-spacing:.5px;color:#c6c9b7;margin-top:14px}.title-footer{display:flex;align-items:center;gap:25px}.title-footer .text-button{color:#d3dbce}.title-footer>span{margin-left:auto;font-size:9px;letter-spacing:1.2px;color:#d8dfcaaa}.topbar{height:86px;display:flex;align-items:center;padding:16px 30px;border-bottom:1px solid var(--line);background:#10242be0;gap:25px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:relative;z-index:4}.wordmark{background:transparent;border:0;display:flex;gap:10px;align-items:center;text-align:left;color:var(--gold);letter-spacing:2px;font-size:12px;min-height:44px}.wordmark small{display:block;color:#c4d2c7;font-size:8px;letter-spacing:5px;padding-top:5px}.chapter-info{border-left:1px solid var(--line);padding-left:25px}.chapter-info strong{display:block;font-family:var(--serif);font-size:22px;font-weight:500;margin-top:3px}.chapter-info .eyebrow{font-size:8px;letter-spacing:1.5px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.glow-counter{font-size:18px;font-weight:500;display:flex;align-items:center;gap:8px;color:var(--gold)}.glow-counter small{font-size:8px;letter-spacing:1px;color:#bec9bb}.bottom-nav{position:fixed;z-index:5;bottom:18px;left:50%;transform:translate(-50%);display:flex;background:#112a31ed;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid #ceb98b35;padding:6px 13px;border-radius:16px;box-shadow:0 12px 40px #0004;gap:4px}.nav-button{border:0;border-radius:10px;background:none;min-width:95px;min-height:52px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:8px;color:#9fb4b1;font-size:11px;transition:.2s}.nav-button.active{color:var(--gold);background:#efd29a13}.nav-button:hover{background:#ffffff08;color:#efddba}.panel{background:linear-gradient(140deg,#1b333bee,#142a32f5);border:1px solid #ddc69c22;border-radius:15px;box-shadow:0 12px 35px #07151b28}.village-content{min-height:calc(100dvh - 86px);display:grid;grid-template-columns:1fr 345px;padding:28px 30px 110px;gap:30px}.village-overview{min-height:500px}.district-heading{padding:10px 20px;text-shadow:0 2px 14px #12242c}.district-heading h2{font-size:48px;margin:9px 0}.district-heading>p:last-child{font-family:var(--serif);font-size:21px;color:#d8dfd0}.village-panel{align-self:center;padding:28px;margin-bottom:30px;position:relative;z-index:3}.village-panel>h3{margin:14px 0;font-size:35px}.village-panel>.muted{font-size:13px}.village-panel>.primary{width:100%;font-size:12px;margin:22px 0 12px}.village-progress{display:flex;gap:20px;align-items:center;margin:25px 0;padding:20px 0;border-block:1px solid var(--line)}.village-progress>span{font-family:var(--serif);font-size:48px;color:var(--gold)}.village-progress small{font-family:DM Sans,sans-serif;font-size:14px;color:#8ca5a2}.village-progress>div{flex:1}.village-progress strong{font-size:11px;font-weight:400}.progress-track{height:4px;background:#3c5353;margin-top:12px;border-radius:3px}.progress-track i{display:block;background:var(--gold);height:100%;border-radius:3px;transition:width .5s}.portrait{display:inline-block;width:64px;height:64px;border-radius:50%;background-image:url(../art/people.webp);background-size:400% 400%;background-position:calc(var(--pc) * 100% / 3) calc(var(--pr) * 100% / 3);border:1px solid #e2c38a40;flex-shrink:0;box-shadow:0 4px 15px #0003}.neighbor-note{display:flex;gap:13px;align-items:flex-start}.neighbor-note .portrait{width:54px;height:54px}.neighbor-note small{font-size:9px;color:var(--gold)}.neighbor-note p{font-family:var(--serif);font-size:19px;line-height:1.3;margin-top:8px;color:#d5ded2}.chapter-switch{position:absolute;left:50px;bottom:120px;display:flex;gap:8px;z-index:3}.chapter-pill{border:1px solid #ecd39d35;background:#132d35dd;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:20px;padding:8px 14px;display:flex;align-items:center;gap:9px;font-size:10px;min-height:44px}.chapter-pill.active{border-color:#ead29c;color:var(--gold)}.chapter-pill span{background:#ecd19d1c;width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.map-markers{position:fixed;inset:0;pointer-events:none;z-index:2}.site-marker{position:absolute;transform:translate(-50%,-50%);border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:auto;max-width:180px}.marker-icon{display:flex;justify-content:center;align-items:center;width:48px;height:48px;border:1px solid #eed29a80;background:#17323be8;box-shadow:0 0 30px #e8b56835;border-radius:50%;transition:.25s;color:var(--gold)}.site-marker:hover .marker-icon{transform:translateY(-4px);background:#3b4f48}.marker-label{background:#102931e8;border:1px solid #d1bc8a35;border-radius:20px;padding:6px 12px;font-size:10px;white-space:nowrap;color:#f0e5cf}.site-marker.restored .marker-icon{background:#cfbc8b;color:#1f3f3d;box-shadow:0 0 35px #f1bd6555}.site-marker.locked{opacity:.6}.site-marker.locked .marker-icon{box-shadow:none;filter:grayscale(1)}body[data-screen=village] #world{width:calc(100% - 350px)}body[data-screen=village] .map-markers{right:350px}.workshop-content{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:minmax(400px,1.3fr) minmax(330px,1fr);gap:24px;padding:24px 28px 112px;align-items:start}body[data-screen=workshop] #world{filter:blur(7px) brightness(.4)}.workbench{padding:23px 27px 0}.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.workbench h2{font-size:32px;margin-top:5px}.craft-instruction{font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a8bab3;margin:6px 0 7px}.craft-instruction .text-button{font-size:10px;white-space:nowrap}.board{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:12px;border:1px solid #c7b38c30;border-radius:13px;background:linear-gradient(145deg,#182e32,#243b3b);box-shadow:inset 0 3px 12px #0003}.tile{position:relative;aspect-ratio:1;background:#101f2640;border:1px solid #7c9b9528;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s,box-shadow .15s;min-width:0;padding:0;touch-action:manipulation}.tile:after{content:"";position:absolute;inset:4px;border-radius:7px;border:1px solid #b9bba207;pointer-events:none}.tile .lantern-art{width:82%;height:92%;filter:drop-shadow(0 3px 5px #0004)}.tile.filled{background:radial-gradient(ellipse,#b5b69010,#fff0)}.tile:hover{border-color:#d8c29166;background:#ceb88810}.tile.selected{border-color:var(--gold);box-shadow:0 0 0 2px #ead3a430,0 0 20px #eacb7915;background:#d4b57a20}.tile.match{border-color:#b5d7ad99;box-shadow:inset 0 0 18px #b6d4aa16}.tile-rank{position:absolute;bottom:4px;right:6px;font-size:9px;color:#d6d7bc;line-height:1;border-radius:50%;background:#142d31;padding:3px}.empty-dot{width:3px;height:3px;border-radius:50%;background:#b6c6b826}.dragging{opacity:.35}.supply{margin-top:17px}.supply-types{display:flex;gap:6px}.family-button{border:1px solid transparent;background:none;min-height:42px;display:flex;align-items:center;justify-content:center;gap:4px;flex:1;font-size:11px;border-radius:7px;color:#aebeb2;padding:4px}.family-button.active{border-color:#dcc5954d;color:#edd7af;background:#e6c9910b}.supply-bottom{display:flex;gap:15px;align-items:center;margin-top:11px}.supply-bottom label{font-size:9px;color:#aabcb4;white-space:nowrap}.supply-bottom select{background:#112a31;border:1px solid #c8b58533;color:var(--gold);border-radius:5px;padding:6px;margin-left:5px}.generate{flex:1;padding:7px 14px;min-height:50px;font-size:12px}.generate small{margin-left:auto;font-size:8px;letter-spacing:1px;opacity:.6}.generate svg{margin-left:-5px}.bench-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 0}.bench-footer .eyebrow{font-size:8px}.storage{display:flex;gap:6px;margin-top:6px}.storage .tile{width:49px;height:49px;aspect-ratio:1}.recycle-area{display:flex;flex-direction:column;align-items:flex-end}.recycle-area small{font-size:9px;color:#91a8a2}.recycle-area .text-button{font-size:10px}.workshop-location{border-top:1px solid var(--line);display:flex;align-items:center;gap:6px;font-size:8px;color:#a1b5ad;padding:13px 0}.workshop-location span{margin-left:auto;font-size:8px;opacity:.7}.request-column{display:flex;flex-direction:column;gap:12px}.place-card{padding:20px}.place-byline{display:flex;align-items:center;gap:13px}.place-byline .portrait{width:54px;height:54px}.place-byline h3{font-size:27px;margin-top:4px}.place-byline .eyebrow{font-size:8px}.place-card>.muted{font-size:11px;margin-top:12px}.request-progress{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:9px;color:#b7c8b9}.request-card{background:linear-gradient(125deg,#e6dfca,#d7d2be);color:#29403f;border:1px solid #fff7d230;border-radius:12px;padding:15px 17px;box-shadow:0 6px 15px #00151d20}.request-card.ready{background:linear-gradient(125deg,#eee6d0,#dddfbf);border-color:#efcc8d}.request-card-heading{display:flex;gap:8px;align-items:center}.request-number{width:22px;height:22px;border:1px solid #45564d3a;border-radius:50%;display:grid;place-items:center;font-size:9px}.request-card h4{font-family:var(--serif);font-weight:600;font-size:20px;line-height:1.05;flex:1}.reward{font-size:10px;white-space:nowrap;color:#6a7656}.recipe-line{display:flex;align-items:center;gap:8px;margin-top:12px;min-height:42px}.recipe-item{display:flex;align-items:center;gap:5px}.recipe-item b{font-size:10px;font-weight:500;display:block}.recipe-item small{display:block;font-size:8px;color:#65766c}.recipe-item .lantern-art{height:42px}.recipe-line>.button{margin-left:auto;font-size:9px;min-height:36px;padding:6px 10px;color:#3c554b;border-color:#59695040;background:#ffffff30}.recipe-line>.deliver{background:#344f48;color:#f5e9c7;border-color:#334c4266}.or-label{font-size:9px;color:#718477;padding-inline:4px}.route-card{padding:18px 20px}.route-buttons{display:flex;gap:8px;margin-top:12px}.route-buttons>.button{flex:1;font-size:11px;min-height:42px}.route-done{background:#73977a22;color:#b8d7af}.route-card>.primary{width:100%;font-size:11px;margin-top:14px}.route-card .gentle-note{margin-top:12px;font-size:10px}.favor-card{color:#9db2a9;font-size:10px;padding:0 10px}.favor-card summary{cursor:pointer;min-height:40px;display:flex;align-items:center}.favor-card p{font-size:11px}.complete-card{padding:30px;text-align:center}.complete-card>svg{color:var(--gold);margin-bottom:16px}.complete-card p{margin:15px 0;font-size:13px;color:var(--muted)}.complete-card>.button{width:100%;margin-top:10px}#toast{position:fixed;z-index:30;bottom:102px;left:50%;transform:translate(-50%,12px);background:#e9ddbf;color:#24423f;border:1px solid #f8e4b9;box-shadow:0 10px 40px #0005;border-radius:10px;padding:14px 22px;max-width:min(90vw,520px);text-align:center;font-size:12px;line-height:1.5;opacity:0;transition:.25s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%)}dialog{color:var(--paper);background:transparent;border:0;padding:0;max-width:min(94vw,660px);max-height:90dvh;overflow:visible}dialog::backdrop{background:#05151ad9;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.modal-inner{position:relative;max-height:88dvh;overflow-y:auto;border:1px solid #dbc79940;border-radius:18px;background:linear-gradient(145deg,#203941,#122b34);padding:38px;box-shadow:0 20px 90px #0005;min-width:min(88vw,450px)}.modal-inner.wide{width:min(90vw,630px)}.modal-close{position:absolute;right:12px;top:12px;width:34px;height:34px}.modal-inner>.eyebrow{margin-bottom:10px;padding-right:25px}.modal-inner>h2{margin:0 24px 18px 0}.modal-inner>h3{font-size:24px;margin:24px 0 10px}.modal-inner>p{margin-bottom:14px;font-size:13px;color:#c7d2c4}.modal-inner .gentle-note{font-size:10px;margin-top:16px}.story-portrait .portrait{width:110px;height:110px;box-shadow:0 0 55px #e2b56412;margin-bottom:18px}.dialogue-line{font-family:var(--serif);font-size:27px!important;line-height:1.4;min-height:120px}.dialogue-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.dialogue-bottom>span{font-size:10px;color:#9bb0a6}.dialogue-bottom .primary{font-size:12px}.modal-inner>.text-button{margin-top:8px}.settings-list{display:grid;gap:4px;margin:15px 0 25px}.setting-button{background:none;border:0;border-bottom:1px solid var(--line);padding:13px 0;display:flex;align-items:center;justify-content:space-between;min-height:54px;font-size:13px}.toggle{font-size:10px;border:1px solid #83978d60;border-radius:15px;min-width:48px;padding:5px 9px;color:#a4b4a5}.toggle.on{background:#e5c88f25;color:#e8d19d;border-color:#e0c38b70}.setting-label{display:flex;justify-content:space-between;padding:17px 0;font-size:13px}.setting-label select{border:1px solid #b7b78e50;background:#17333c;color:#ebdcb9;border-radius:5px;padding:6px}.settings-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.settings-buttons>.button{font-size:11px}.site-preview{height:180px;background-size:cover;background-position:center;border-radius:12px;margin:18px 0;display:grid;place-items:center}.site-preview>span{display:grid;place-items:center;border:1px solid #e9ce9388;background:#183e3dc9;width:56px;height:56px;color:#efda9f;border-radius:50%;box-shadow:0 0 40px #e1b65b88}.decor-options{display:grid;gap:10px}.decor-options>.button{justify-content:flex-start;font-size:12px}.journal-list{display:grid;gap:3px;margin-top:20px}.journal-entry{display:flex;gap:17px;padding:16px 0;border-bottom:1px solid var(--line);opacity:.55}.journal-entry.done{opacity:1}.journal-entry>span{width:24px;color:var(--gold);font-size:12px}.journal-entry h3{font-size:23px}.journal-entry p{font-size:11px;color:#b5c4b8;margin-top:6px}.journal-entry .text-button{font-size:10px;padding-bottom:0}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.collection-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 6px;border:1px solid var(--line);border-radius:9px;background:#0b20272b}.collection-item strong{font-size:10px;color:#dacfaa;margin-top:5px}.collection-item small{font-size:9px;color:#a7bbae;margin-top:4px}.collection-item.undiscovered{opacity:.4}.collection-item.undiscovered svg{filter:grayscale(1)}.puzzle-board{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:0;aspect-ratio:1;background:#102831;border:1px solid #c3bc8e50;border-radius:13px;padding:0;overflow:hidden;margin-top:22px}.puzzle-cell{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px solid #8aa79f17;background:none;color:#dec78f}.puzzle-cell.blank i{width:3px;height:3px;background:#9ab8ac40;border-radius:50%}.puzzle-cell.control{cursor:pointer;background:#d5c9970b;z-index:2;border:1px solid #ceb58144;border-radius:8px;margin:6px;aspect-ratio:auto}.puzzle-cell.control:hover{background:#d5c99720}.mirror{width:70%;height:5px;border-radius:5px;background:linear-gradient(#f9edc7,#719ea8);box-shadow:0 0 13px #bfe2e14d;transform:rotate(-45deg)}.mirror.backslash{transform:rotate(45deg)}.splitter{font-size:44px;color:#a4d5cc;transform:rotate(0);line-height:1}.splitter.horizontal{transform:rotate(90deg)}.puzzle-cell.target svg{opacity:.5}.puzzle-cell.target.lit svg{color:#ffe1a0;opacity:1;filter:drop-shadow(0 0 9px #ffda7d)}.source-arrow{font-size:34px;color:#efcf88;text-shadow:0 0 15px #f9d189}.puzzle-cell.wall{color:#677e76;font-size:27px}.beam-lines{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;filter:drop-shadow(0 0 5px #f2cf78)}.beam-lines line{stroke:#f9dc99;stroke-width:4;stroke-linecap:round}.puzzle-summary{display:flex;justify-content:space-between;font-size:10px;color:#b7c7b9;margin:14px 0}.puzzle-actions{display:flex;gap:10px;justify-content:space-between}.puzzle-actions .button{font-size:11px}.help-list{padding-left:20px;color:#c5d2c3}.help-list li{padding-left:6px;margin-bottom:16px;line-height:1.7;font-size:13px}.help-list strong{color:#e5d6ac}#loading{position:fixed;inset:0;z-index:40;background:#122b33;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px}.loading-lantern{animation:breathe 2s ease-in-out infinite}#loading p{font-family:var(--serif);font-size:26px;color:#ebd1a0}#load-status{font-size:10px;letter-spacing:2px;color:#91aca4}.boot-message{padding:60px;text-align:center}@keyframes breathe{50%{transform:translateY(-8px);filter:drop-shadow(0 0 20px #eac77855)}}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(min-width:1500px){.workshop-content{padding-top:40px;max-width:1300px;gap:30px}.workbench{padding:27px 34px 0}.board{gap:9px}.tile{max-height:92px}.title-copy{padding-left:2vw}.village-content{grid-template-columns:1fr 380px;gap:45px;padding-inline:45px}.village-panel{padding:34px}body[data-screen=village] #world{width:calc(100% - 390px)}body[data-screen=village] .map-markers{right:390px}}@media(max-width:1050px){.chapter-info{display:none}.workshop-content{padding-inline:16px;gap:16px;grid-template-columns:minmax(330px,1.2fr) minmax(280px,1fr)}.workbench{padding:18px 18px 0}.workbench h2{font-size:27px}.craft-instruction{display:block;min-height:35px}.craft-instruction .text-button{min-height:25px;margin-left:6px}.village-content{grid-template-columns:1fr 300px;gap:15px;padding:22px 20px 110px}.village-panel{padding:23px}.district-heading h2{font-size:40px}.chapter-switch{left:30px}.chapter-pill{font-size:8px;padding:8px 10px}body[data-screen=village] #world{width:calc(100% - 290px)}body[data-screen=village] .map-markers{right:290px}.marker-label{font-size:8px;padding:5px 8px}}@media(max-width:760px){.title-screen{padding:28px 25px 18px}.studio-wordmark{font-size:8px;letter-spacing:2px}.title-copy{padding:38px 0;max-width:360px}.title-copy>.eyebrow{font-size:7px;letter-spacing:2px;max-width:220px;margin-bottom:30px}h1{font-size:112px;letter-spacing:-2px}h1 em{padding-left:34px}.title-rule{letter-spacing:6px;font-size:10px;max-width:275px;margin-top:15px}.title-rule span{width:34px}.title-description{font-size:25px;margin-top:25px}.title-play{min-width:260px;margin-top:24px}.title-footer{gap:18px;flex-wrap:wrap}.title-footer>.text-button{font-size:10px}.title-footer>span{display:none}.world-wash{background:linear-gradient(90deg,#071b27ba,#071b2740 80%),linear-gradient(0deg,#0c202cf2,transparent 35%,transparent 80%,#0c202c66)}.topbar{height:72px;padding:12px 16px;gap:12px}.wordmark{font-size:10px;letter-spacing:1px;gap:8px}.wordmark>svg{width:22px}.wordmark small{font-size:7px;letter-spacing:4px}.top-actions{gap:10px}.glow-counter{font-size:15px;gap:5px}.glow-counter small{display:none}.glow-counter>svg{width:17px}.bottom-nav{bottom:0;left:0;transform:none;border-radius:15px 15px 0 0;width:100%;justify-content:space-around;gap:0;padding:6px 5px calc(6px + env(safe-area-inset-bottom));border-bottom:0}.nav-button{min-width:0;flex:1;flex-direction:column;gap:4px;padding:6px 4px;min-height:54px;font-size:8px}.nav-button>svg{width:19px;height:19px}.workshop-content{display:flex;flex-direction:column;gap:18px;padding:15px 12px 100px}.workbench{width:100%;padding:18px 16px 0;border-radius:13px}.workbench h2{font-size:27px}.workbench-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.workbench-heading .icon-button{width:36px;height:36px}.craft-instruction{font-size:9px;margin-top:10px;display:flex;gap:8px;min-height:35px}.craft-instruction .text-button{font-size:8px;min-height:30px;padding:0}.board{gap:5px;padding:8px;border-radius:10px}.tile{border-radius:7px}.tile:after{inset:3px}.tile-rank{font-size:8px;bottom:3px;right:3px}.supply{margin-top:13px}.family-button{font-size:10px;min-height:38px}.family-button .lantern-art{width:22px;height:28px}.supply-bottom{gap:12px}.supply-bottom label{font-size:8px}.supply-bottom select{padding:5px}.generate{font-size:11px;padding:5px 8px;min-height:48px;gap:5px}.generate small{font-size:7px}.generate>.lantern-art{height:32px;width:24px}.bench-footer{padding:14px 0;gap:10px}.storage .tile{width:44px;height:44px}.storage{gap:5px}.recycle-area .text-button{font-size:9px}.recycle-area small{font-size:8px}.workshop-location{font-size:7px;gap:4px;padding:11px 0}.workshop-location span{font-size:7px}.request-column{width:100%;gap:12px}.request-card{padding:17px 18px}.request-card h4{font-size:23px}.recipe-item b{font-size:11px}.recipe-item small{font-size:9px}.recipe-line>.button{font-size:10px;min-height:40px}.place-card{padding:20px}.place-byline h3{font-size:29px}.village-content{display:flex;flex-direction:column;padding:20px 16px 100px;gap:16px}.village-overview{min-height:calc(58dvh - 72px);position:relative}.district-heading{padding:0 6px}.district-heading h2{font-size:38px;margin-top:5px}.district-heading>.eyebrow{font-size:8px;letter-spacing:1.6px}.district-heading>p:last-child{font-size:18px}.village-panel{margin:0;align-self:stretch;padding:25px;background:#142e36fa}.village-panel>h3{font-size:34px}.village-progress{margin:18px 0;padding:15px 0}.village-progress>span{font-size:42px}.chapter-switch{position:static;margin-top:20px;gap:5px;flex-wrap:wrap}.chapter-pill{padding:6px 8px;font-size:8px;min-height:36px}.chapter-pill span{width:18px;height:18px;font-size:8px}.map-markers{position:absolute;inset:-72px 0 0;height:66dvh!important;overflow:hidden}.site-marker{max-width:115px}.marker-icon{width:40px;height:40px}.marker-label{font-size:8px;white-space:normal;line-height:1.2;text-align:center;padding:5px 7px}.site-marker.locked .marker-label{display:none}body[data-screen=village] #world{width:100%;height:66dvh}body[data-screen=village] .map-markers{right:0}body[data-screen=village] .world-wash{background:linear-gradient(0deg,#101f2d 30%,#101f2d00 65%)}#toast{bottom:85px;max-width:90vw;font-size:11px;padding:13px 17px}.modal-inner{padding:30px 23px;min-width:88vw;max-height:88dvh}.modal-inner.wide{width:90vw}.modal-inner>h2{font-size:33px}.modal-inner>p{font-size:12px}.dialogue-line{font-size:25px!important;min-height:135px}.story-portrait .portrait{width:96px;height:96px}.dialogue-bottom{gap:10px}.dialogue-bottom .button{font-size:10px;padding:11px 13px}.puzzle-cell.control{margin:4px}.splitter{font-size:32px}.source-arrow{font-size:26px}.puzzle-cell.target svg{width:23px}.puzzle-actions .button{font-size:10px;padding:10px 12px}.settings-buttons{grid-template-columns:1fr}.collection-item{padding:10px 3px}.collection-item small{font-size:8px}.collection-item .lantern-art{height:62px;width:50px}.help-list li{font-size:12px}}@media(max-width:360px){h1{font-size:98px}.title-description{font-size:22px}.workbench{padding:15px 11px 0}.workbench h2{font-size:24px}.craft-instruction{font-size:8px}.supply-bottom{gap:6px}.generate{font-size:10px}.storage .tile{width:38px;height:38px}.recycle-area{max-width:105px}.workshop-location span{display:none}.recipe-line>.button{padding:6px 8px}.portrait{width:50px;height:50px}}@media(max-height:620px)and (min-width:761px){.title-screen{padding-top:22px}.title-copy{padding:22px 0}.title-copy>.eyebrow{margin-bottom:20px}h1{font-size:100px}.title-description{font-size:22px;margin-top:18px}.title-play{margin-top:16px}.bottom-nav{bottom:8px}.topbar{height:65px}.village-overview{min-height:350px}.village-panel{margin-bottom:0}.village-panel>h3{font-size:27px}.village-panel>.muted{font-size:11px}.village-progress{margin:15px 0;padding:10px 0}.chapter-switch{bottom:90px}.village-content{padding-bottom:95px}}.mobile-goal{display:none}.touch-ghost{position:fixed;z-index:60;width:72px;height:82px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 0 16px #e8bd78);opacity:.94}.touch-ghost .tile-rank{display:none}.tile{touch-action:none}.board{max-width:460px;margin-inline:auto}@media(min-width:761px){.workbench .board{max-width:min(100%,440px)}.workbench{padding-top:20px}.workbench-heading{margin-bottom:3px}.board .tile{max-height:80px}.supply,.bench-footer{max-width:460px;margin-inline:auto}}@media(max-width:760px){.mobile-goal{display:flex;align-items:center;gap:8px;border:1px solid #d9c79a33;background:#e9d8a910;border-radius:8px;padding:8px 9px;margin:2px 0 12px;min-height:54px}.mobile-goal .portrait{width:34px;height:34px}.mobile-goal>div{flex:1}.mobile-goal small{font-size:8px;display:block;color:#b7c8b4;line-height:1.3}.mobile-goal span{font-size:10px;display:block;color:#e5d8b7;margin-top:3px}.mobile-goal .button{min-height:36px;font-size:9px;padding:7px 10px}.mobile-goal .text-button{min-height:36px;padding:4px;font-size:9px}}#parent-check label{display:grid;gap:12px;font-size:16px;margin:20px 0}#parent-answer{min-height:48px;max-width:180px;font:inherit;background:#10262d;border:1px solid #dac294;color:#fff3cf;border-radius:8px;padding:10px}@media(max-width:760px){.craft-instruction{font-size:calc(12px * var(--text-scale));line-height:1.5;min-height:42px}.craft-instruction .text-button{font-size:12px;min-height:44px;padding-inline:8px}.mobile-goal small{font-size:calc(11px * var(--text-scale));line-height:1.35}.mobile-goal span{font-size:calc(12px * var(--text-scale))}.mobile-goal .button,.mobile-goal .text-button{min-height:44px;font-size:12px}.family-button{min-height:48px;font-size:12px}.supply-bottom label,.recycle-area small,.recipe-item small{font-size:calc(11px * var(--text-scale));line-height:1.4}.recycle-area .text-button{min-height:44px;font-size:12px}.request-card .muted,.request-card p,.gentle-note{font-size:calc(12px * var(--text-scale));line-height:1.6}.bottom-nav button{font-size:11px;min-height:54px}.puzzle-actions{flex-wrap:wrap}.puzzle-actions .button{min-height:48px;font-size:12px}.marker-label{font-size:11px}}.decor-options .button{display:flex;flex-direction:column;gap:8px;min-width:140px}.decor-art{max-width:100%;height:72px}.decor-options .button span{font-size:12px}.building-task{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;padding:14px 0}.construction-art{display:block;width:100%;height:auto;overflow:visible}.building-task strong{color:#f2d493;font-size:14px}.building-task p{font-size:12px;line-height:1.6;margin:7px 0}.building-task small{display:block;color:#d3c7ae;font-size:11px}.building-task .text-button{padding:7px 0;min-height:44px;color:#f2d493}.building-preview{max-width:360px;margin:18px auto;padding:15px 20px;border-radius:18px;background:radial-gradient(ellipse,#34534e,#172f38 75%)}.building-stage{text-align:center;color:#edcc8a;margin-bottom:18px}.building-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.building-actions .button{flex:1;min-width:150px}.supply-milestone{font-size:11px;line-height:1.5;color:#deca9e;max-width:190px}.site-marker{width:166px;max-width:166px;gap:0;padding:0}.plot-building{display:block;width:166px;filter:drop-shadow(0 8px 12px #061721aa);transition:transform .2s}.site-marker:hover .plot-building{transform:translateY(-4px)}.site-marker.locked{opacity:.65}.marker-label{max-width:170px;white-space:normal;text-align:center;font-size:11px;background:#102b34eb;padding:7px 10px}.marker-label small{display:block;font-size:10px;line-height:1.35;color:#e1c896;margin-top:3px}.site-marker.locked .plot-building{opacity:.5}body[data-screen=village] #world{opacity:0}body[data-screen=village] .world-wash{background:none}.village-content{align-items:start}.village-overview{min-height:0;min-width:0;width:100%}.terrain-board{min-width:0;max-width:100%}.terrain-board{position:relative;width:100%;aspect-ratio:1.55;min-height:330px;margin-top:12px;border:1px solid #ddc69c33;border-radius:22px;background-size:100% 100%;background-position:center;box-shadow:inset 0 0 60px #071a2580,0 16px 45px #06192266}body[data-screen=village] .terrain-board .map-markers{position:absolute;inset:0;width:100%;height:100%!important;overflow:visible}.terrain-board .site-marker{transform:translate(-50%,-65%);width:clamp(94px,11vw,166px);max-width:none}.terrain-board .plot-building{width:100%}.terrain-board .marker-label{white-space:normal;max-width:180px}.village-routes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.village-routes path{fill:none;stroke:#f4d48f;stroke-width:3;stroke-dasharray:4 8;filter:drop-shadow(0 0 4px #eab768)}.chapter-switch{position:static;margin:18px 0;flex-wrap:wrap}.village-panel{align-self:start;margin:20px 0 0}@media(max-width:760px){.site-marker,.plot-building{width:104px;max-width:104px}.marker-label{font-size:10px;padding:5px 7px}.marker-label small{font-size:9px}.site-marker.locked .marker-label{display:block}.site-marker.locked .marker-label small{display:none}.terrain-board{aspect-ratio:1.25;min-height:280px;border-radius:16px}.terrain-board .site-marker{width:90px;max-width:90px}.terrain-board .plot-building{width:82px}.terrain-board .marker-label{padding:4px 6px;font-size:10px}.terrain-board .marker-label small{font-size:9px}}.crafting-guide{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid #d9bd7959;border-radius:14px;background:#172f36}.crafting-guide .portrait{width:48px;height:48px;flex:0 0 48px}.crafting-guide>div{flex:1;min-width:0}.crafting-guide>.guide-actions{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch}.learning-first-lantern .craft-instruction,.learning-first-lantern .mobile-goal{display:none}.crafting-guide .eyebrow{font-size:10px;color:#e8cf96;letter-spacing:.08em}.crafting-guide p{margin:5px 0 0;font-size:calc(13px * var(--text-scale));line-height:1.5;color:#edf0df}.crafting-guide .text-button{min-height:44px;flex:0 0 auto;color:#ead7ae}.board .tile.guide-target{border-color:#e9ca83;box-shadow:inset 0 0 0 2px #e9ca835c,0 0 18px #e2bb5830}.tile-rank{font-size:12px;font-weight:600;line-height:18px;min-width:18px;text-align:center;border-radius:5px;background:#10242de6;color:#f1e9d8}.tile{scroll-margin-block:85px 110px}html{scroll-padding-block:85px 110px}.modal-close{width:44px;height:44px}@media(max-width:600px){.crafting-guide{gap:9px;padding:10px;margin-bottom:10px}.crafting-guide .portrait{width:38px;height:38px;flex-basis:38px}.crafting-guide>div{flex:1}.crafting-guide>.guide-actions{max-width:68px}.crafting-guide .text-button{white-space:normal;font-size:11px;padding-inline:4px}.crafting-guide .eyebrow{font-size:9px}.crafting-guide p{font-size:calc(12px * var(--text-scale))}}@media(max-height:620px){.modal-inner{padding:22px}.story-portrait{float:left;margin-right:18px}.story-portrait .portrait{width:64px;height:64px;margin-bottom:8px}.modal-inner>.dialogue-line{clear:both;min-height:65px;font-size:calc(22px * var(--text-scale))!important}.dialogue-bottom{margin-top:12px}.modal-inner>h2{margin-bottom:12px}}
