@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#293b32;background:#f6f0e4;font-synthesis:none;--green:#244e3d;--line:#dedfcf;--cream:#fffcf5}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;touch-action:manipulation;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #cc8a36;outline-offset:4px}button{border:0}button:disabled{opacity:.5;cursor:default}h1,h2,h3,.brand{font-family:Outfit,sans-serif}header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 5vw;background:#fffcf5d9}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;background:none;text-align:left;line-height:1.05}.brand small{display:block;font:10px 'DM Sans',sans-serif;letter-spacing:3px;margin-top:5px}.brand-icon{background:var(--green);color:#f8d88c;border-radius:14px;padding:12px;font-size:23px}.header-right{display:flex;align-items:center;gap:12px}.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:30px;padding:10px 16px;background:#fffdf8;font-size:13px}.coin{color:#a87021}.avatar{background:#dfebd9;border-radius:50%;width:40px;height:40px;display:grid;place-items:center}main{max-width:1260px;margin:auto;padding:30px 42px 90px}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#687a64}.hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:14px 0 32px}.hero h1{font-size:clamp(36px,4.5vw,64px);line-height:1.05;letter-spacing:-2px;margin:15px 0 18px;max-width:580px;font-weight:500}.hero h1 em{font-style:normal;color:#789569}.hero p.description{font-size:15px;line-height:1.8;color:#6d776b;max-width:380px}.hero-art{height:290px;border-radius:120px 120px 24px 24px;background-image:url('assets/village.png');background-size:310% auto;background-position:0 0;position:relative;border:6px solid #fffdf5;box-shadow:0 10px 35px #35483112}.hero-label{position:absolute;bottom:15px;left:18px;background:#fffdf5e8;padding:8px 14px;border-radius:22px;font-size:11px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:10px 0 20px}.section-heading h2{font-size:24px;margin:0;font-weight:500}.muted{color:#788173;font-size:12px;line-height:1.7}.game-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.game-card{background:var(--cream);border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-5px);box-shadow:0 15px 25px #34422b12}.card-art{height:190px;background-image:url('assets/concepts.png');background-size:500% auto;background-repeat:no-repeat;border-bottom:1px solid var(--line)}.card-body{padding:15px}.tag{font-size:8px;letter-spacing:1.5px;color:#7e8b71;font-weight:700}.card-body h3{font-size:19px;line-height:1.12;margin:8px 0}.card-body p{font-size:11px;color:#798170;line-height:1.7;min-height:38px}.play{display:flex;width:100%;justify-content:space-between;align-items:center;background:#edf1e5;color:#31513c;border-radius:9px;padding:11px 12px;font-size:12px;font-weight:700}.play:hover{background:#dce8d1}.card-foot{margin:12px 0 0;font-size:9px;color:#85917b}.daily{margin-top:26px;display:flex;align-items:center;gap:18px;background:#e9eddc;border:1px solid #d7dfc8;border-radius:16px;padding:20px 24px}.daily-symbol{font-size:30px}.daily h3{margin:0 0 5px;font-size:17px}.daily p{margin:0;font-size:12px;color:#74816b}.daily .pill{margin-left:auto;white-space:nowrap}.footer{display:flex;justify-content:space-between;gap:12px;margin-top:28px;font-size:10px;color:#87907e}.footer button{background:none;font-size:10px;color:#68785d;text-decoration:underline}.bottom-nav{position:fixed;bottom:0;left:0;right:0;padding:10px 15px max(10px,env(safe-area-inset-bottom));background:#fffcf5f5;border-top:1px solid var(--line);display:flex;justify-content:center;gap:65px;z-index:4;backdrop-filter:blur(15px)}.bottom-nav button{background:none;font-size:11px;display:flex;align-items:center;gap:8px;padding:4px}.bottom-nav .active{color:var(--green);font-weight:700}.page-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.quiet{padding:11px 14px;background:transparent;border:1px solid var(--line);border-radius:12px;font-size:12px}.game-layout{max-width:620px;margin:22px auto}.game-heading{text-align:center;margin-bottom:22px}.game-heading h1{font-size:36px;margin:8px 0;font-weight:500}.instructions{color:#6d7967;font-size:13px;line-height:1.7;text-align:center;max-width:470px;margin:10px auto 20px}.status-row{display:flex;justify-content:space-between;font-size:11px;color:#718068;margin:16px 2px}.progress{height:5px;background:#dfe5d6;border-radius:10px;overflow:hidden}.progress div{height:100%;background:#719260;transition:width .3s}.board{display:grid;gap:5px;padding:12px;border:1px solid #c8cdb6;border-radius:22px;background:#e2e7d5;box-shadow:inset 0 2px 6px #3c4a3110;user-select:none}.cell{aspect-ratio:1;border-radius:9px;background:#f8f9ef;display:grid;place-items:center;font-size:clamp(19px,5vw,35px);padding:0;border:1px solid #d2dac7;position:relative;touch-action:none}.cell.filled{background:var(--tile,#fff2c4);border-color:#d7c58f;box-shadow:inset 0 -4px 0 #0000000b}.cell.block{background:#bbc6a8;border-color:transparent;font-size:20px}.cell.selected{outline:3px solid #607f4d;outline-offset:-3px}.cell.road{background:#e6d9bd}.cell.endpoint{border:3px solid var(--route)}.cell.route{background:var(--route);opacity:.85}.cell.route:after{content:'•';color:#fff;font-size:24px}.tray{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:18px 0}.piece{min-width:70px;border:2px solid transparent;border-radius:14px;padding:10px 14px;background:#fffaf0;font-size:22px;box-shadow:0 3px 0 #e0dccb}.piece.selected{border-color:#658354;background:#eaf0dc}.piece small{display:block;font-size:9px;margin-top:5px;color:#768168}.tools{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.primary{display:flex;align-items:center;justify-content:space-between;gap:35px;background:var(--green);color:#fff7e5;padding:14px 22px;border-radius:12px;font-weight:600}.hint-note{min-height:28px;text-align:center;color:#64795b;font-size:12px;line-height:1.5;margin:12px 0}.room-board{background:#efe2ce}.room-cell{background:#fff9ef;font-size:35px}.room-cell small{position:absolute;bottom:4px;right:7px;font-size:10px;color:#879070}.room-cell.empty{background:#d7c7ae;border:1px dashed #ae9e87}.cafe-scene{background:linear-gradient(#e6d5b8,#c7ad87);padding:16px;border-radius:24px;border:7px solid #f9f0dd}.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:10px 0 18px;border-bottom:9px solid #a58459;margin-bottom:10px}.object{background:#fff6dfb0;font-size:40px;border-radius:14px;aspect-ratio:1;box-shadow:0 5px 0 #8a684327}.object.found{opacity:.2;box-shadow:none}.clue{padding:20px;background:#fffaf0;border:1px solid var(--line);border-radius:17px;text-align:center;font-size:16px;line-height:1.6;margin-bottom:15px}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:30px}.reward-item{padding:26px 15px;border:1px solid var(--line);background:#fffaf0;border-radius:20px;text-align:center}.reward-item>span{font-size:45px}.reward-item h3{font-size:17px}.reward-item button{width:100%;justify-content:center}.owned{color:#547942;font-size:12px}.garden{font-size:36px;text-align:center;background:#e6edd8;padding:30px;border-radius:20px;min-height:110px}.switch-row{display:flex;align-items:center;gap:12px;background:#f6f4e9;width:100%;text-align:left;border-radius:12px;padding:16px;margin:8px 0}.switch-row span{font-size:25px}.switch-row b{flex:1;font-size:14px}.switch-row small{color:#738169}dialog{border:1px solid #d3d8c6;border-radius:24px;padding:25px;background:#fffcf5;color:#293b32;max-width:480px;width:calc(100% - 30px);max-height:85dvh;overflow:auto}dialog::backdrop{background:#1f3025aa;backdrop-filter:blur(4px)}.modal-head{display:flex;gap:15px;align-items:center}.modal-head h2{font-size:23px;font-weight:500;flex:1}.modal-head button{border-radius:50%;background:#e9edde;padding:10px}#win{text-align:center}#win .primary{margin:20px auto 12px;width:100%}#win .quiet{width:100%}#win h2{font-size:38px;margin:10px}.celebration{font-size:70px;color:#d3a253}#toast{position:fixed;left:50%;bottom:85px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#294333;color:#fff5df;padding:13px 20px;border-radius:13px;font-size:13px;z-index:20;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.nosave{background:#fff1ce;padding:10px;text-align:center;font-size:12px}.selection-tip{font-size:11px;text-align:center;color:#79856f}.route-legend{display:flex;justify-content:center;gap:15px;margin:15px;font-size:12px}.route-legend button{background:#fffaf0;border:2px solid var(--route);padding:8px 12px;border-radius:10px}.route-legend .selected{background:var(--route);color:white}@media(min-width:1100px){.game-layout{max-width:490px}}@media(max-width:950px){.game-grid{grid-template-columns:repeat(3,1fr)}.card-art{height:210px}.hero-art{height:250px}.hero{gap:25px}main{padding:24px 26px 100px}}@media(max-width:600px){header{height:72px;padding:0 18px}.brand{font-size:17px;gap:8px}.brand-icon{padding:9px;font-size:19px}.brand small{font-size:8px;letter-spacing:2px}.header-right{gap:7px}.header-right .pill{padding:8px 10px;font-size:11px}.avatar{display:none}main{padding:20px 17px 100px}.hero{grid-template-columns:1fr;gap:18px;padding:0 0 20px}.hero h1{font-size:43px;max-width:330px;margin:12px 0}.hero p.description{font-size:13px;margin-bottom:0;max-width:320px}.hero-art{height:185px;background-size:310% auto;border-radius:75px 75px 20px 20px;background-position:0 0}.hero .eyebrow{font-size:9px}.section-heading{margin-top:10px}.section-heading h2{font-size:23px}.section-heading .muted{font-size:10px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-art{height:160px;background-size:500% auto}.game-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:40% 1fr}.game-card:last-child .card-art{height:100%;min-height:185px;background-size:500% auto}.card-body{padding:13px}.card-body h3{font-size:19px}.card-body p{font-size:11px}.daily{padding:16px 12px;gap:12px}.daily .pill{padding:8px;font-size:10px}.daily h3{font-size:14px}.daily p{font-size:10px}.footer{font-size:9px}.bottom-nav{gap:45px}.game-heading h1{font-size:32px}.game-layout{margin-top:17px}.reward-grid{grid-template-columns:repeat(2,1fr)}.object{font-size:34px}.shelf{gap:10px}.page-top .pill{font-size:11px;padding:9px 12px}.cell{border-radius:7px}.board{gap:4px;padding:9px}.instructions{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.piece{touch-action:none}.cell,.piece,.quiet,.play,.object,.route-legend button{min-height:44px}.piece.selected{box-shadow:0 0 0 3px #65835422}
.hero-art{background-size:350% auto}
@media(max-width:600px){.game-layout .game-heading{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:10px}.game-layout .game-heading .eyebrow{display:none}.game-layout .game-heading h1{font-size:25px;margin:0}.game-layout .game-heading .pill{font-size:10px;padding:7px 10px}.game-layout .instructions{font-size:11px;line-height:1.6;margin:10px auto 12px}.game-layout .tray{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;margin:12px 0;padding:2px 2px 8px;overscroll-behavior-x:contain}.piece{flex:0 0 60px;min-width:60px;padding:8px 10px}.game-layout .status-row{margin:10px 2px}.game-layout .tools{gap:7px;margin-top:8px}.game-layout .quiet{padding:9px 10px;font-size:11px}.game-layout .hint-note{min-height:16px;margin:5px 0}.game-layout .selection-tip{font-size:9px;margin-top:10px}.game-layout{margin-top:15px}.route-legend{margin:12px 0}}
.piece{touch-action:pan-x}
