:root{--paper:#f6f2e9;--card:#fffcf5;--ink:#263e36;--muted:#617169;--green:#365f4e;--line:#dcd7c9;--terracotta:#a94e37;--serif:'Baskervville','Iowan Old Style','Palatino Linotype',Georgia,serif;--sans:'DM Sans','Avenir Next',Avenir,system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--ink);font:15px/1.45 var(--sans);background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E")}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #b75e37;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--serif)}button svg,a svg,i svg,.head-title svg,.shelter-progress>svg{display:block}i[data-icon]{display:inline-flex;align-items:center;justify-content:center;font-style:normal}i[data-icon]>svg{width:1.15em;height:1.15em;flex-shrink:0}
[hidden]{display:none!important}.header{background:#fffcf5ed;border-bottom:1px solid #d9d5c9}.header-in,main{max-width:1216px;margin:auto;padding-inline:40px}.header-in{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0;white-space:nowrap;font:700 30px/1 var(--serif);letter-spacing:-1.4px}.brand img{height:44px;width:35px}.brand i{font-size:.87em;font-weight:400;color:#916747}.header nav{display:flex;align-items:center;gap:7px}.header nav a{display:flex;align-items:center;gap:8px;padding:9px 15px;border-radius:9px;font-size:14px;font-weight:650;color:#666b60}.header nav a:hover{background:#eeeade}.header nav a[aria-current=page]{color:#8c472f;background:#f4e5d7}.header nav a i{font-size:16px}.resources{display:flex;align-items:center;gap:10px}.resources button,.hint-button,.undo-button,.help,.close-dialog{border:1px solid var(--line);background:var(--card)}.resources button{height:38px;display:flex;align-items:center;justify-content:center}.resources .hope{border-radius:20px;gap:8px;font-size:14px;min-width:62px;padding:0 13px}.hope b{font-weight:700}.hope i{font-size:18px;color:#ae5845}.hope svg{fill:#dc9079}.round{width:39px;border-radius:50%;font-size:16px}.resources button:hover,.hint-button:hover,.help:hover,.undo-button:hover:not(:disabled){background:#efe9da}
main{padding-top:24px;padding-bottom:36px}.hero{isolation:isolate;position:relative;overflow:hidden;border-radius:18px;background:#425853;color:white;min-height:228px;display:flex;align-items:center;box-shadow:inset 0 0 0 1px #ffffff44}.hero-art,.hero-shade{position:absolute;inset:0;z-index:-2}.hero-art{background:url('assets/harbour.webp') center 47% /cover no-repeat}.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(30,49,45,.94),rgba(36,54,48,.78) 28%,rgba(38,54,46,.27) 49%,transparent 69%)}.hero-copy{padding:26px 36px 27px;width:60%}.chapter-tag{display:inline-flex;align-items:center;gap:7px;color:#fff0cc;font-size:10px;letter-spacing:2.2px;font-weight:760}.chapter-tag i{font-size:14px}.hero h1{font-size:clamp(36px,3.5vw,52px);line-height:1.06;letter-spacing:-2.1px;font-weight:600;margin:10px 0 9px;color:#fffaf0;text-wrap:balance}.hero p{font-size:14px;line-height:1.52;color:#f5efdf;max-width:380px;font-weight:450}.shelter-progress{display:flex;align-items:center;gap:9px;margin-top:19px;color:#f5edda;font-size:11px;font-weight:600}.shelter-progress>i{font-size:14px}.hero-meter{display:flex;gap:3px;width:110px;height:6px}.hero-meter span{flex:1;background:#ffffff38;border-radius:3px}.hero-meter span.lit{background:#edbd77}
.workspace{display:grid;grid-template-columns:minmax(0,1.67fr) minmax(310px,1fr);gap:23px;align-items:start;margin-top:23px}.panel,.needs-panel,.subpanel{border:1px solid var(--line);border-radius:17px;background:var(--card);box-shadow:0 3px 0 #54452708}.panel-head,.needs-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head{padding:18px 20px 16px}.head-title{display:flex;align-items:center;gap:11px}.head-title h2,.subhead h2{font-size:27px;line-height:1.1;letter-spacing:-.95px;font-weight:650}.section-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-size:17px}.board-icon{background:#e8eddf;color:#4c6c50}.needs-icon{background:#f2e4d9;color:#aa6247}.board-controls{display:flex;align-items:center;gap:6px}.hint-button,.undo-button{display:flex;align-items:center;justify-content:center;height:33px;border-radius:8px}.hint-button{gap:6px;padding:0 10px;color:#6e5940;font-weight:650;font-size:12px;background:#f7f1e1;border-color:#e2d6bf}.hint-button i{color:#aa7b32;font-size:15px}.undo-button{background:transparent;border-color:transparent;width:32px;font-size:15px}.undo-button:disabled{opacity:.29}
.board-wrap{margin:0 18px;background:#c9b692;border:1px solid #b9a584;border-radius:13px;padding:5px;box-shadow:inset 0 1px 4px #79674a32,0 2px 0 #a9936f33}.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.cell{position:relative;display:grid;place-items:center;width:100%;padding:0;border-radius:7px;aspect-ratio:1.26;min-width:0;background:linear-gradient(145deg,#f1e6cc,#e9daba);border:1px solid #fff7df70;box-shadow:inset 0 -2px 1px #bca37d20;user-select:none;-webkit-user-select:none;isolation:isolate;cursor:default}.cell.alt{background:linear-gradient(145deg,#ede1c6,#e3d3b2)}.cell.empty::before{content:'';width:4px;height:4px;background:#ad987442;border-radius:50%;box-shadow:0 1px 0 #fff5dc70}.cell.occupied{touch-action:none;cursor:grab}.cell.producer{cursor:pointer;background:linear-gradient(140deg,#dbe5c8,#c9d6b6);border-color:#e9f0d2}.cell.producer[data-id=tool-box]{background:linear-gradient(140deg,#d7e3d8,#c0d2c6)}.cell.producer[data-id=hamper]{background:linear-gradient(140deg,#eeddbb,#d8c39e)}.cell .art{max-height:100%;width:83%;height:94%;position:absolute;inset:0;margin:auto;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #61462229);transition:transform .17s}.cell.producer .art{width:89%;height:96%}.source-badge{position:absolute;right:4px;bottom:3px;border-radius:50%;background:#527051;color:white;box-shadow:0 0 0 1.5px #eff1d5;width:16px;height:16px;display:grid;place-items:center;font:700 14px/1 var(--sans)}.source-badge svg{width:11px!important;height:11px!important}.cell:hover.occupied .art{transform:translateY(-2px) scale(1.035)}.cell.selected{outline:3px solid #6a8866;outline-offset:-3px;background:#e1e7ca}.cell.match{box-shadow:inset 0 0 0 2px #99ac7d}.cell.hinted{outline:3px dashed #698258;outline-offset:-4px;z-index:1}.cell.popped .art{animation:pop .38s ease-out}.cell.hinted .art{animation:nudge 1.15s ease-in-out 2}.cell.drag-origin .art{opacity:.27}.cell.drop-target{outline:3px solid #7a9369;outline-offset:-3px}.floating-item{position:fixed;pointer-events:none;z-index:100;object-fit:contain;filter:drop-shadow(0 8px 4px #2c211e44);transform:translate(-50%,-55%) rotate(-5deg)}.board-note{display:flex;align-items:center;gap:9px;min-height:54px;padding:10px 20px;color:#5f685d;font-size:12px}.note-icon{display:flex;color:#73826a;font-size:17px}.help{margin-left:auto;flex:none;width:23px;height:23px;padding:0;border-radius:50%;color:#7c7969;font-size:13px;font-weight:700}.put-away{font-size:11px;background:transparent;color:#95553e;text-decoration:underline;font-weight:650;white-space:nowrap;margin-left:auto}.put-away:not([hidden])+.help{margin-left:0}
.needs-panel{padding:0 16px 15px}.needs-head{padding:18px 2px 16px}.needs-count{font-size:11px;line-height:1.3;color:#657162;background:#eff0e4;border:1px solid #dfe3d3;border-radius:14px;padding:4px 9px;white-space:nowrap;font-weight:700}.goals{display:grid;gap:10px}.goal{position:relative;border:1px solid #ded9ca;border-radius:12px;padding:12px 13px;background:#fcf9ef}.goal.goal-ready{border-color:#9eaf8d;background:#f5f6e9}.goal-top{display:flex;align-items:center;gap:11px}.portrait{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #fff8e9;box-shadow:0 0 0 1px #d6c9ac;flex:none}.giver{font-size:9px;letter-spacing:1.45px;font-weight:750;text-transform:uppercase;color:#856545;line-height:1.3;display:block;margin-bottom:3px}.goal h3{font-size:20px;line-height:1.1;letter-spacing:-.5px}.goal-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.requirement{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px;line-height:1.3;color:#626258;font-weight:550}.requirement img{width:31px;height:31px;object-fit:contain;flex:none}.requirement .req-count{color:#746a59;font-variant-numeric:tabular-nums;font-size:10px;font-weight:700;padding:2px 5px;background:#f0ebdb;border-radius:4px;white-space:nowrap}.req-count.met{color:#3d653d;background:#e6ebd9}.goal-requires{display:flex;align-items:center;gap:6px;min-width:0}.multi .req-label{display:none}.goal-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;border:1px solid #d9d3c1;color:#666854;background:#f4f0e4;border-radius:7px;font-size:11px;font-weight:700;min-height:30px;padding:4px 9px}.goal-action:hover{background:#e9e4d8}.goal-ready .goal-action,.primary{background:var(--green);color:#fff9e8;border-color:var(--green)}.goal-ready .goal-action:hover,.primary:hover{background:#284b3c}.goal-complete{background:#f1f3e8;opacity:.86}.goal-complete .goal-top{min-height:72px}.done-mark{margin-left:auto;border-radius:50%;background:#dde8d4;width:25px;height:25px;display:grid;place-items:center;color:#527649}.goal.flash{animation:flash 1.4s ease-in-out 2}.goal-requires .requirement{border:0;background:transparent;padding:0;text-align:left}.goal-requires .requirement:hover .req-label{text-decoration:underline}
#other-view{margin-top:24px}.subpanel{padding:24px}.subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.subhead span,.eyebrow{font-size:10px;letter-spacing:1.45px;font-weight:750;text-transform:uppercase;color:#8c6949}.category-block+.category-block{margin-top:25px}.category-block h3{font-size:20px;margin-bottom:9px}.supply-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.collection-item{background:#f4efdf;border:1px solid #dfd7c5;border-radius:11px;display:flex;align-items:center;flex-direction:column;padding:9px;gap:4px;min-width:0}.collection-item:hover{background:#ecead7}.collection-item img{width:min(100%,72px);aspect-ratio:1;object-fit:contain}.collection-item b{font-size:13px}.collection-item small{font-size:10px;color:#687262}.collection-item.unfound{background:#f6f3ea}.collection-item.unfound img{filter:saturate(.42);opacity:.72}.journal-chapter+.journal-chapter{margin-top:22px}.journal-heading{display:flex;gap:10px;align-items:center;margin-bottom:8px}.journal-heading h3{font-size:21px}.journal-heading small{color:#826c54;font-size:10px;letter-spacing:1px;font-weight:750}.journal-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.journal-row{background:#f5f0e2;border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;align-items:flex-start;gap:10px;text-align:left}.journal-row img{width:38px;height:38px;object-fit:contain}.journal-row b{font:700 16px/1.2 var(--serif);display:block}.journal-row p{font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}.journal-row.pending{align-items:center}.journal-row.pending img{opacity:.6}.end-card{text-align:center;padding:18px}.end-card img{width:78px;height:78px;object-fit:contain}.end-card h3{font-size:26px;margin:9px 0}.end-card p{font-size:14px;margin-bottom:16px}
dialog{border:1px solid #d3cbb9;border-radius:20px;background:var(--card);color:var(--ink);max-width:min(440px,calc(100% - 28px));width:440px;padding:0;box-shadow:0 22px 70px #17231e44;max-height:90dvh;overflow:auto}dialog::backdrop{background:#21312b75;backdrop-filter:blur(3px)}.modal-content{padding:28px}.close-dialog{position:absolute;top:13px;right:13px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#526154;z-index:1}.modal-content h2{font-size:31px;line-height:1.1;letter-spacing:-1px;margin:6px 20px 10px 0}.modal-content p{line-height:1.55;color:#5b675d;font-size:14px}.modal-content .quote{font:italic 19px/1.4 var(--serif);color:#647260;margin:12px 0 18px}.modal-person{width:57px;height:57px;border-radius:50%;object-fit:cover;margin-bottom:8px}.recipe{padding:13px 11px;background:#f3efdf;border-radius:10px;margin:12px 0}.recipe-track{display:flex;align-items:center;gap:2px;justify-content:space-between}.recipe-step{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.recipe-step img{width:100%;max-width:48px;height:45px;object-fit:contain}.recipe-step small{font-size:10px;line-height:1.2}.recipe-track>i{flex:none;font-size:10px;color:#8d8e7b}.recipe p{font-size:11px;margin-top:9px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:9px;font-size:13px;font-weight:650}.secondary{background:#eee9dc;color:#626b5d}.modal-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:19px}.reward{display:inline-flex;align-items:center;gap:5px;color:#925741;font-size:12px;font-weight:650}.reward svg{fill:#d7947a}.story-img{display:block;width:100%;height:160px;object-fit:cover;object-position:75% 50%;background:#c8cbb1}.story-detail-art{width:84px;height:84px;object-fit:contain;display:block;margin:0 auto 12px}.help-list{padding:0;list-style:none;display:grid;gap:12px;margin:15px 0 0}.help-list li{display:flex;gap:12px;align-items:center;font-size:13px;color:#59675b}.help-list img{width:40px;height:40px;object-fit:contain}.toast{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translate(-50%,14px);opacity:0;pointer-events:none;transition:.2s;z-index:10;background:#2e483c;color:#fff9e8;border-radius:12px;box-shadow:0 5px 18px #2a36292e;font-size:13px;font-weight:600;padding:10px 17px;white-space:normal;max-width:min(88vw,450px);width:max-content}.toast.show{opacity:1;transform:translate(-50%,0)}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@keyframes pop{0%{transform:scale(.55)}60%{transform:scale(1.14)}100%{transform:scale(1)}}@keyframes nudge{0%,100%{transform:rotate(0)}35%{transform:rotate(-5deg)}65%{transform:rotate(5deg)}}@keyframes flash{50%{box-shadow:0 0 0 3px #94a47c}}
@media(min-width:1250px){.hero{min-height:239px}.cell{aspect-ratio:1.28}.goal{padding-block:14px}}
@media(max-width:960px){.header-in,main{padding-inline:22px}.workspace{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.panel-head{padding:15px 14px}.board-wrap{margin:0 12px}.needs-panel{padding:0 11px 11px}.needs-head{padding:15px 1px}.goal{padding:10px}.head-title{gap:8px}.head-title h2{font-size:24px}.hero-copy{padding-left:28px}.header nav a{padding:8px 11px}.board-note{padding:10px 13px}.cell{aspect-ratio:1.05}.goal .req-label{font-size:10px}.goal h3{font-size:19px}.goal-top{gap:8px}.brand{font-size:27px}}
@media(max-width:740px){.header-in,main{padding-inline:15px}.header-in{height:auto;gap:0;flex-wrap:wrap;padding-top:11px;justify-content:space-between}.brand{font-size:27px}.brand img{width:29px;height:37px}.resources{gap:7px}.resources button{height:33px}.round{width:34px}.resources .hope{min-width:52px}.header nav{order:3;width:100%;justify-content:center;gap:7px;margin:8px 0}.header nav a{font-size:12px;padding:6px 12px;gap:6px}.header nav a i{font-size:14px}main{padding-top:14px}.hero{min-height:180px;border-radius:14px}.hero-art{background-position:69% 46%}.hero-copy{padding:18px;width:61%}.hero h1{font-size:34px;letter-spacing:-1.4px}.hero p{font-size:12px;line-height:1.4}.chapter-tag{font-size:9px}.shelter-progress{margin-top:12px;font-size:10px}.hero-meter{width:68px}.workspace{display:flex;flex-direction:column;gap:15px;margin-top:15px}.board-panel,.needs-panel{width:100%}.board-panel{order:2}.needs-panel{order:1;border:0;box-shadow:none;padding:0;background:transparent}.needs-head{padding:0 1px 8px}.needs-head .section-icon{display:none}.needs-head h2{font-size:22px}.needs-count{font-size:10px}.goals{display:flex;gap:8px;overflow:auto;scroll-snap-type:x proximity;padding:1px 2px 5px;scrollbar-width:thin;scrollbar-color:#cec8b6 transparent}.goal{flex:1 0 min(210px,69vw);scroll-snap-align:start;background:var(--card);padding:9px 10px}.goal-top{gap:7px}.goal .portrait{width:34px;height:34px}.goal h3{font-size:17px}.giver{font-size:8px}.goal-bottom{margin-top:6px}.requirement img{width:24px;height:24px}.requirement{gap:4px}.goal-action{min-height:27px;padding:3px 7px;font-size:10px}.goal-complete .goal-top{min-height:55px}.panel-head{padding:13px 14px}.panel-head .section-icon{width:29px;height:29px;font-size:15px}.cell{aspect-ratio:1.28}.board-note{min-height:44px}.journal-list{grid-template-columns:1fr}.subpanel{padding:17px}.supply-chain{gap:4px}.collection-item{padding:6px 2px}.collection-item b{font-size:10px;text-align:center}.collection-item small{font-size:8px}.journal-heading h3{font-size:19px}}
@media(max-width:480px){main,.header-in{padding-inline:10px}.header-in{padding-inline:15px}.hero{min-height:166px}.hero-copy{width:64%;padding:15px}.hero h1{font-size:32px;margin:5px 0 6px;max-width:225px}.hero p{font-size:11px;max-width:205px}.hero-art{background-position:70% center}.hero-shade{background:linear-gradient(90deg,#1e342de8,#243b32b7 40%,#293d3510 69%)}.shelter-progress{gap:5px}.shelter-progress>i{display:none}.hero-meter{width:56px;gap:2px}.board-wrap{margin-inline:8px;padding:4px}.board{gap:2px}.cell{aspect-ratio:1.03;border-radius:5px}.board-note{font-size:11px}.workspace{gap:10px}.source-badge{height:13px;width:13px;right:3px;bottom:3px}.goal .req-label{display:none}.goal{flex-basis:177px}.goal h3{font-size:16px}.head-title h2{font-size:23px}.panel,.needs-panel,.subpanel{border-radius:13px}.modal-content{padding:22px}.toast{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.moment-art{margin:0 0 15px;width:82px;height:82px;display:grid;place-items:center;background:linear-gradient(145deg,#eee6cd,#f5ecdb);border:1px solid #e2d8c2;border-radius:15px;overflow:hidden}.moment-art img{display:block;width:100%;height:100%;object-fit:cover}.moment-art .moment-item{padding:5px;object-fit:contain;animation:pop .4s ease-out}
@media(prefers-reduced-motion:reduce){.moment-art .moment-item{animation:none}}

.benches{display:flex;gap:8px;margin:0 18px 10px}.bench{display:flex;align-items:center;gap:7px;padding:5px 9px;background:#edf0df;border:1px solid #c6d2b7;border-radius:9px;text-align:left}.bench img{width:32px;height:32px;object-fit:contain}.bench b,.bench small{display:block}.bench b{font-size:12px}.bench small{font-size:10px;color:#596a56}.bench.hinted{outline:2px dashed #52774a;outline-offset:1px}.bench:hover{background:#dfe8d3}
.journal-chapter{border-bottom:1px solid var(--line);padding-bottom:10px}.journal-chapter+.journal-chapter{margin-top:10px}summary.journal-heading{cursor:pointer;padding:5px 0;margin-bottom:0}summary.journal-heading::after{content:'▸';font-size:12px;color:#718167}.journal-chapter[open]>summary::after{content:'▾'}.journal-heading span{margin-left:auto;color:var(--muted);font-size:12px}.journal-chapter[open] .journal-list{margin-top:10px}
@media(max-width:480px){.benches{margin-inline:9px}.bench{gap:4px;padding:4px 6px}.bench img{width:25px;height:25px}}

.modal-content .unlock-note{margin-top:13px;padding:10px 13px;border-radius:8px;background:#e8eedf;color:#425a46;font-size:13px}
.game-choices{display:grid;grid-template-columns:1fr 1fr;gap:17px}.activity{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#faf7ed}.activity-art{height:132px;position:relative;background-size:cover;background-position:center}.activity-art .portrait{position:absolute;bottom:9px;left:14px;width:44px;height:44px}.activity-copy{padding:15px 18px}.activity-copy h3,.prize-row h3,.album-heading{font-size:23px;letter-spacing:-.55px}.activity-copy p,.prize-row p,.album-note{font-size:13px;color:var(--muted);margin:3px 0 12px}.prize-row{display:flex;align-items:center;gap:13px;padding:13px;border-radius:12px;background:#efeada;margin:18px 0}.prize-row>img{width:49px;height:49px;object-fit:contain}.prize-row>button{margin-left:auto;white-space:nowrap;background:#fffaf0}.prize-row>button:disabled{opacity:.55}.prize-row p{margin:0}.stickers{display:grid;gap:9px;grid-template-columns:repeat(6,minmax(0,1fr))}.sticker{display:grid;justify-items:center;text-align:center;border-radius:14px;border:1px dashed #b7b29d;background:#f3eee2;padding:10px 5px}.sticker img{width:54px;height:54px;object-fit:contain}.sticker b{font:600 15px var(--serif)}.sticker small,.mini-modal small{font-size:11px;color:var(--muted)}.sticker.locked img{filter:grayscale(.9);opacity:.5}.sticker.earned{background:#f8ecd0;border:1px solid #cba95e}.mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:15px 0 10px}.pocket,.path-tile{position:relative;aspect-ratio:1.13;min-width:0;display:grid;place-items:center;padding:3px;border-radius:9px}.pocket{background:#f1e6ce;border:2px solid #d1be94}.pocket.back{background:repeating-linear-gradient(45deg,#476d60 0 4px,#4e7466 4px 6px);border:3px double #dfcda1}.pocket img{width:77%;height:100%;max-height:55px;object-fit:contain}.pocket.back img{width:32%;opacity:.82}.pocket.matched{background:#e1ead4;border-color:#b9c9aa}.mini-stats{display:flex;justify-content:space-between;color:#506356;font-size:13px;padding:3px 0}.trail-legend{display:flex;justify-content:space-between;font-weight:700;font-size:11px;margin-top:14px;color:#825b29}.trail{margin-top:4px;gap:3px;background:#233d37;padding:5px;border-radius:10px}.path-tile{background:#36554b;color:#8eaa97;overflow:hidden;border:1px solid #557367}.path-tile svg{width:100%;height:100%;position:absolute;inset:0}.path-tile.lit{background:#495e47;color:#ffdc87}.path-tile span{position:absolute;top:50%;transform:translateY(-50%);font-size:12px;background:#ffe8a7;color:#5d4729;line-height:1.1;border-radius:3px}.entry{left:0}.exit{right:0}.parcel-options{display:flex;gap:8px;margin-top:15px}.parcel-options button{flex:1;display:grid;justify-items:center;align-content:center;gap:5px;padding:8px;border:1px solid #d3c9ae;background:#f4edda;border-radius:9px;font-size:12px}.parcel-options img{width:100%;height:54px;object-fit:contain}
@media(max-width:740px){.header nav{gap:2px}.header nav a{padding-inline:9px}.game-choices{gap:9px}.activity-art{height:95px}.activity-copy{padding:11px}.activity-copy h3,.prize-row h3{font-size:19px}.activity-copy p{font-size:12px}.stickers{grid-template-columns:repeat(3,1fr)}.prize-row{gap:7px;padding:8px}.prize-row>img{width:37px}.prize-row>button{padding:8px}.pastimes-panel{padding:12px}.activity-copy .primary{padding:8px 12px}.header nav a{font-size:12px}}
@media(max-width:370px){.header nav a{padding-inline:6px}.game-choices{grid-template-columns:1fr}}
.mantel{border:1px solid #dbccb0;border-radius:11px;background:linear-gradient(120deg,#f9f0df,#e8e3cc);padding:13px 16px;margin:17px 0}.mantel-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.mantel-title h3{font-size:22px;letter-spacing:-.6px}.mantel-title button{padding:5px 10px;font-size:11px;background:#fff9e9}.mantel-ledge{display:flex;justify-content:center;align-items:flex-end;gap:13px;min-height:48px;margin-top:6px;border-bottom:6px solid #93704f;box-shadow:0 3px 0 #c3a782}.mantel-ledge span{font-size:12px;text-align:center;padding-bottom:7px;color:#5a6255}.mantel-piece{height:52px;width:58px;object-fit:contain;filter:drop-shadow(0 2px 1px #8d785855)}.keepsake-grid,.pantry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0}.keepsake-grid button,.pantry-grid button{min-width:0;border-radius:10px;border:1px solid #d1c6ae;background:#f3efdf;padding:7px;display:grid;justify-items:center;gap:3px;font-size:12px}.keepsake-grid button:disabled{opacity:.5;filter:grayscale(.75)}.keepsake-grid button[aria-pressed=true]{border:2px solid #63825d;background:#e4ead5}.keepsake-grid img,.pantry-grid img{height:47px;width:100%;object-fit:contain}.keepsake-grid small{font-size:10px}.hunt-scene{position:relative;aspect-ratio:4/3;border:3px solid #a9916c;border-radius:10px;margin:13px 0 6px;background:#cfc1a5 url('assets/hunt-room.webp') center/cover}.hidden-object{width:17%;min-height:42px;aspect-ratio:1;display:grid;place-items:center;position:absolute;transform:translate(-50%,-50%);background:transparent;border-radius:50%;padding:4px}.hidden-object img{width:87%;height:100%;object-fit:contain;filter:drop-shadow(1px 3px 2px #4f351b70)}.hidden-object:hover{background:#fff3c82c}.hidden-object.twinkle{outline:3px dashed #ffd46a;background:#fbe7a738}.hunt-clue{font-style:italic}.modal-content .extra-message{font-size:12px;color:#536a54;min-height:19px;margin-top:8px}.recipe-slip{display:flex;align-items:center;gap:11px;background:#f4eddc;border-radius:11px;padding:9px 12px;margin-top:13px}.recipe-slip img{height:48px;width:48px;object-fit:contain}.recipe-line{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}.recipe-line span{font-size:11px;border:1px solid #d9d2be;border-radius:8px;padding:4px 7px}.recipe-line .next{background:#fff0c9;border-color:#c3a264}.recipe-line .done{background:#e1ead4;color:#406846}.heat-track{margin:20px 0;position:relative;height:18px;background:linear-gradient(90deg,#a9c8bf,#bcc9aa,#d8a684);border-radius:8px}.heat-zone{background:#ffd777;position:absolute;height:100%;border-inline:2px solid #956f33}.heat-pointer{position:absolute;top:-5px;height:28px;width:5px;transform:translateX(-50%);border-radius:4px;background:#263d31;box-shadow:0 0 0 1px #fffbdf}.kitchen-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.mode-button{background:transparent;text-decoration:underline;font-size:11px;color:#5b664e}.hunt-modal .mini-stats{align-items:center}
@media(max-width:740px){#home-mantel .mantel{margin-top:6px;margin-bottom:0;padding:7px 10px}#home-mantel .mantel-title h3{font-size:17px}#home-mantel .mantel-ledge{min-height:25px}#home-mantel .mantel-piece{height:32px}.hidden-object{padding:1px}.pantry-grid img{height:39px}}
.at-home #other-view{margin-top:0}.welcome{position:relative;border-radius:19px;overflow:hidden;display:flex;align-items:center;min-height:260px;background:linear-gradient(90deg,#203c32eb 0%,#283d32ba 29%,#303f3620 60%,transparent 75%),url('assets/cottage-home.webp') center 52%/cover,#5c7764}.welcome-copy{padding:32px 40px;color:#fffaee}.welcome h1{font-size:clamp(36px,3.8vw,55px);line-height:1.02;letter-spacing:-1.9px;font-weight:600;text-wrap:balance}.welcome p{font-size:14px;color:#fff5df;margin:11px 0 21px}.welcome-play{display:inline-flex;gap:8px;align-items:center;padding:10px 16px;border-radius:9px;background:#f8e0a8;color:#34463b;font-weight:750;font-size:14px;box-shadow:0 2px 0 #0002}.welcome-play:hover{background:#ffeabc}.home-group{margin-top:25px}.home-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.home-heading h2{font-size:28px;letter-spacing:-.9px;line-height:1.15}.home-heading a{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:650;color:var(--green)}.home-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-activity{position:relative;padding:0;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 2px 0 #5745330c}.home-picture{height:112px;display:block;position:relative;background-size:cover;background-position:center}.home-token{position:absolute;width:62px;height:62px;object-fit:contain;right:9px;bottom:4px;filter:drop-shadow(0 2px 2px #422e2280)}.home-activity-copy{display:block;padding:12px 24px 12px 12px}.home-activity-copy strong,.cottage-link b{display:block;font-family:var(--serif);font-size:19px;letter-spacing:-.45px}.home-activity-copy span,.cottage-link small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.home-activity>i{position:absolute;right:9px;bottom:17px;color:#75836d;font-size:12px}.home-activity:hover,.cottage-link:hover{border-color:#9cab8c;background:#faf6e8}.cottage-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cottage-link{display:flex;align-items:center;text-align:left;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:var(--card);min-width:0}.cottage-link img{width:42px;height:42px;object-fit:contain}.cottage-link b{font-size:17px}.cottage-link>i{margin-left:auto;color:var(--muted);font-size:12px}.modal-content .stickers{grid-template-columns:repeat(3,1fr)}
@media(max-width:930px){.header nav a{padding-inline:7px}.header nav{gap:2px}.home-activity-copy strong{font-size:17px}.home-picture{height:92px}.home-token{width:48px;height:48px}}
@media(max-width:740px){.welcome{min-height:190px;border-radius:14px;background-position:67% center}.welcome-copy{padding:20px;max-width:66%}.welcome h1{font-size:36px}.welcome p{font-size:12px;margin:8px 0 13px}.welcome-play{font-size:12px;padding:9px 11px}.home-games,.cottage-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-group{margin-top:17px}.home-heading h2{font-size:23px}.home-activity-copy{padding:8px 15px 9px 9px}.home-activity-copy span,.cottage-link small{font-size:10px}.home-activity>i{right:3px;bottom:13px}.cottage-link{padding:7px;gap:6px}.cottage-link img{width:32px;height:32px}.cottage-link b{font-size:15px}.home-picture{height:83px}.header nav{justify-content:space-between}}
@media(max-width:450px){.header nav a{font-size:11px;gap:3px;padding:7px 5px}.header nav a i{font-size:11px}.welcome{min-height:184px}.welcome h1{font-size:31px}.welcome-copy{padding:15px}.home-activity-copy strong{font-size:16px}.home-picture{height:70px}}
.garden-page{padding:20px}.garden-heading,.garden-tabs,.garden-order{display:flex;align-items:center;gap:12px}.garden-heading{justify-content:space-between;margin-bottom:13px}.garden-heading h1{letter-spacing:-1px;font-size:35px;line-height:1.12}.garden-heading a{font-size:12px;color:var(--muted)}.garden-coins{background:#fbebc2;border:1px solid #ddc78e;color:#795b29;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:700;white-space:nowrap}.garden-coins i{font-style:normal}.garden-yard{position:relative;isolation:isolate;aspect-ratio:3.6;max-height:315px;border-radius:12px;overflow:hidden;background:#89a074 url('assets/kitchen-yard.webp') center 61%/cover}.garden-yard img{position:absolute;transform:translateX(-50%);height:auto;max-height:80%;object-fit:contain;filter:drop-shadow(1px 3px 2px #38482844);pointer-events:none}.garden-tabs{margin-top:15px;gap:5px}.garden-tabs a{padding:7px 12px;border-radius:8px;color:#546450;font-weight:650;font-size:13px}.garden-tabs a[aria-current]{background:#e2e9d3;color:#34533e}.garden-intro{color:var(--muted);font-size:13px;margin:10px 0 13px}.garden-beds,.ornament-grid,.seed-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.garden-bed,.ornament-grid article,.seed-options button{border-radius:12px;background:#f4efdf;border:1px solid #d8cfb8;padding:12px;text-align:center;display:flex;flex-direction:column;align-items:center}.garden-bed img,.ornament-grid img,.seed-options img{height:62px;width:80px;max-width:100%;object-fit:contain}.garden-bed h3,.ornament-grid h3,.garden-order h3{font-size:19px}.garden-bed small{font-size:12px;color:var(--muted);margin-bottom:6px}.garden-bed button,.ornament-grid button{padding:6px 12px}.garden-page button:disabled{opacity:.55}.garden-order{margin-top:15px;padding:12px;border-radius:12px;background:#e8ecdc}.garden-order img{width:44px;height:44px;object-fit:contain}.garden-order p{font-size:12px;color:var(--muted)}.garden-order button{margin-left:auto}.seed-options{margin-top:12px;gap:6px}.seed-options button{padding:7px;font-size:13px}.seed-options img{height:40px}.seed-options small{font-size:10px}.ornament-grid button{margin-top:6px}.ornament-grid img{height:75px;width:95px}
@media(max-width:740px){.garden-page{padding:12px}.garden-yard{aspect-ratio:2.1}.garden-heading h1{font-size:29px}.garden-beds,.ornament-grid{gap:5px}.garden-bed,.ornament-grid article{padding:7px 3px}.garden-bed button,.ornament-grid button,.garden-order button{font-size:11px;padding:7px}.garden-bed h3,.ornament-grid h3,.garden-order h3{font-size:16px}.garden-bed img{height:48px}.garden-order{gap:6px}.garden-order img{width:31px}.garden-coins{font-size:11px}.garden-tabs a{font-size:12px}.ornament-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.resources .purse{padding:0 9px;gap:9px;border-radius:18px;font:600 12px var(--sans);white-space:nowrap}.purse span+span{border-left:1px solid var(--line);padding-left:7px}.market>a{color:var(--muted);font-size:13px}.market .subhead{margin:8px 0}.market .subhead strong{color:#876528;background:#f6e9bd;font-size:13px;border-radius:15px;padding:6px 10px}.market p{color:var(--muted);font-size:14px}.market-snack{display:flex;align-items:center;gap:16px;padding:18px;background:#f3edd9;border-radius:12px;margin:18px 0}.market-snack img{width:65px;height:65px;object-fit:contain}.market-snack h3,.market>h3{font-size:22px}.market-snack b{font-size:12px}.market-snack button{margin-left:auto;white-space:nowrap}.market button:disabled{opacity:.55}.market .parcel-options{max-width:560px}
@media(min-width:741px) and (max-width:1030px){.header-in{gap:7px;padding-inline:11px}.brand{font-size:22px}.header nav{gap:1px}.header nav a{font-size:12px;padding-inline:5px}.header nav i{display:none}.resources{gap:4px}}
@media(max-width:740px){.market-snack{flex-wrap:wrap;gap:8px;padding:12px}.market-snack>div{flex:1;min-width:140px}.market-snack button{margin:0}.market-snack img{width:44px}.resources{gap:4px}.resources .purse{font-size:11px;gap:3px;padding:0 6px}.resources .hope{min-width:38px;padding:0 5px}.brand{font-size:23px;gap:4px}.header-in{padding-inline:9px}}
@media(max-width:370px){.brand{font-size:19px}.brand img{width:23px}.resources .round{width:28px}}
.spark-pouch{display:flex;align-items:center;gap:9px;margin:0 18px 10px;padding:6px 9px;border-radius:9px;background:#f7efd7}.spark-pouch button{flex:none;font-size:12px;padding:5px 8px;background:#f2df9c;color:#624a24}.spark-pouch small{font-size:11px;color:#695e45}.spark-pouch button:disabled{opacity:.55}.spark-value{position:absolute;right:2px;bottom:2px;font-size:10px;border-radius:6px;background:#fff0bc;padding:0 3px;color:#664625}.board-note #collect-spark{font-size:11px;white-space:nowrap;padding:6px 9px}
.boutique .garden-heading{margin-bottom:13px}.family-display{display:flex;justify-content:center;gap:16px;border-radius:12px;padding:14px;background:linear-gradient(140deg,#e3e9dc,#f5e7cf)}.family-display>div{display:grid;justify-items:center;gap:4px}.family-display img{display:block;width:clamp(95px,15vw,152px);aspect-ratio:1;border-radius:14px;object-fit:cover;border:3px solid var(--card)}.family-display b,.style-rack b{font-family:var(--serif)}.style-tabs{display:flex;gap:7px;margin:16px 0}.style-tabs button[aria-pressed=true]{background:var(--green);color:white}.style-rack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 14px}.style-rack button{background:#f3efdf;border:1px solid var(--line);border-radius:10px;display:grid;justify-items:center;align-content:start;padding:8px;gap:3px}.style-rack img{width:min(100%,88px);aspect-ratio:1;object-fit:cover;border-radius:6px}.style-rack b{font-size:16px}.style-rack small{font-size:12px;color:#566355}.fitting>img{display:block;width:165px;max-width:80%;border-radius:12px;margin:0 auto 14px}.boutique button:disabled,.fitting button:disabled,.modal-content button[data-install]:disabled{opacity:.5}.parlour{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1200/650;max-width:780px;margin:0 auto 12px;background:#d9c6a5 url('assets/parlour.webp') center/100% 100%;border-radius:12px}.parlour img{position:absolute;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 2px 2px #38291933)}.modal-content .parlour{margin-top:13px}@media(max-width:600px){.spark-pouch{margin-inline:8px}.spark-pouch small{font-size:10px}.style-rack b{font-size:13px}}

.board-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 18px 10px}
.board-links a,.workshop>a,.market p a{color:#36614e;font-weight:700;font-size:.88rem}
.benches{flex-wrap:wrap}
.station-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:18px 0}
.station{padding:16px;background:#fbf7ed;border:1px solid #d8cab4;border-radius:14px;display:flex;align-items:flex-start;flex-direction:column;gap:10px;color:#43392e}
.station header{display:flex;align-items:center;gap:10px;width:100%}
.station header img{width:48px;height:48px;object-fit:contain}
.station h3,.station p{margin:0}
.station header strong{margin-left:auto;color:#4b6546;white-space:nowrap}
.station small{color:#67563e}
.output-options,.order-items{display:flex;flex-wrap:wrap;gap:6px}
.output-options button{display:flex;align-items:center;gap:4px;border:1px solid #cdbfa8;border-radius:8px;background:white;color:#493d30;padding:5px 8px}
.output-options img{width:30px;height:30px;object-fit:contain}
.output-options button[aria-pressed=true]{background:#dcebd7;box-shadow:inset 0 0 0 2px #608067}
.station button:disabled{opacity:.62}
.harbour-order{margin-top:14px;background:#f2f5e9}

.clothing-nav{margin:4px 0 14px;border-bottom:1px solid var(--line);padding-bottom:10px}
.boutique .style-tabs{margin:10px 0}
.closet-mirror{display:flex;align-items:center;gap:18px;margin-bottom:16px;padding:14px 18px;background:linear-gradient(120deg,#e8dfcd,#f7efdf);border:1px solid #dbc9ac;border-radius:14px}
.closet-mirror img{width:clamp(92px,14vw,144px);aspect-ratio:1;object-fit:cover;border:4px solid #b18c60;border-radius:50% 50% 10px 10px}
.closet-mirror h2,.closet-mirror p{margin:3px 0}
.closet-mirror small{color:#625340}
.clothing-section{margin-top:16px}
.closet .style-rack{border-top:4px solid #c29b70;padding-top:8px;grid-template-columns:repeat(auto-fill,minmax(min(116px,40%),1fr))}
.closet .style-rack button[aria-pressed=true]{border-color:#557758;background:#e5ecd9;box-shadow:inset 0 0 0 1px #557758}
.boutique .style-tabs{flex-wrap:wrap}
.family-favour header img{width:74px;height:74px;border-radius:16px}
.family-favour h4{font:700 18px var(--serif);margin:5px 0 0}
.favour-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.visit-drawer{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px}
.visit-drawer summary{cursor:pointer;font-weight:700;color:#4c5e48}
.visit-drawer .station{margin-top:10px}

.boutique .style-tabs{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
}
.boutique .style-tabs button{
  display:grid;
  justify-items:center;
  align-content:start;
  gap:6px;
  min-width:0;
  min-height:82px;
  padding:7px 3px;
  border:1px solid var(--line);
}
.boutique .style-tabs img,.chat-family img{
  width:44px;
  height:44px;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:50%;
}
.boutique .style-tabs span,.chat-family span{font-size:12px;font-weight:700}
.visit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.visit-links{margin:14px 0 0}
.family-chat{max-width:780px;margin-inline:auto}
.chat-family{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  padding:10px 4px;
  row-gap:10px;
  background:#e8eddf;
  border:1px solid var(--line);
  border-radius:14px 14px 0 0;
}
.chat-family>div{
  display:grid;
  justify-items:center;
  align-content:start;
  text-align:center;
  gap:4px;
  color:#3d583f;
}
.chat-log{
  height:clamp(230px,43dvh,470px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:14px clamp(8px,3vw,22px);
  background:#f3ede1;
  border:1px solid var(--line);
  border-top:0;
}
.chat-log ul,.chat-log ol{margin:0;padding:0;list-style:none}
.chat-line{
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin:0 30px 11px 0;
  line-height:1.4;
}
.chat-avatar{
  width:32px;
  height:32px;
  object-fit:cover;
  border-radius:50%;
  flex:none;
}
.chat-line div{
  max-width:470px;
  padding:8px 11px;
  background:var(--card);
  border:1px solid #dfd2b8;
  border-radius:12px 12px 12px 3px;
}
.chat-line strong{display:block;color:#5a674b;font-size:.75rem}
.chat-line p{margin:2px 0;font-size:.9rem}
.chat-line a{font-size:.83rem;color:#36614e;font-weight:700}
.chat-you{justify-content:flex-end;margin-right:0;margin-left:30px}
.chat-you div{background:#dce8d3;border-color:#c9d3be;border-radius:12px 12px 3px 12px}
.chat-choices{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  background:#f8f3e6;
  border:1px solid var(--line);
  border-top:0;
  padding:10px;
  border-radius:0 0 14px 14px;
}
.chat-choices button{font-size:.82rem;padding:8px 10px}
@media(min-width:800px){
  .boutique:not(.closet) .style-rack{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:600px){
  .boutique .style-tabs,.chat-family{grid-template-columns:repeat(3,minmax(0,1fr))}
  .boutique .style-tabs button{min-height:70px}
  .visit-grid{grid-template-columns:minmax(0,1fr)}
  .family-chat{padding:12px}
  .chat-family img{width:37px;height:37px}
}
