:root{color:#303d31;font-synthesis:none;--green:#3f644c;--muted:#8b917e;--line:#e4e4d7;background:#f5f1e8;font-family:Segoe UI,Arial,sans-serif;font-weight:400}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #c78f37}button:disabled{cursor:default}button:not(:disabled){transition:background .18s,transform .18s,box-shadow .18s}button:not(:disabled):active{transform:translateY(2px)}a{color:inherit;text-decoration:none}.shell{max-width:1350px;margin:auto;padding:0 48px}.brand-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:108px;display:flex}.brand{letter-spacing:-1px;align-items:center;gap:12px;font-size:26px;font-weight:750;line-height:.95;display:flex}.brand-sub{letter-spacing:2px;margin-top:8px;font-size:11px;font-weight:500;display:block}.brand-mark{color:#f6dc9e;background:#385f48;border-radius:18px 18px 18px 5px;place-items:center;width:44px;height:47px;font-size:40px;display:grid}.header-actions{align-items:center;gap:22px;display:flex}.local-badge{letter-spacing:.5px;color:#8b917e;align-items:center;gap:7px;font-size:11px;display:flex}.local-badge i{background:#83a573;border-radius:50%;width:6px;height:6px}.icon-button{background:#efeee5;border-radius:50%;width:37px;height:37px;font-size:23px}.layout{grid-template-columns:270px minmax(360px,480px) 1fr;align-items:start;gap:40px;padding:38px 0 28px;display:grid}.intro{padding-top:16px}.eyebrow{letter-spacing:1.8px;color:#85947d;font-size:9px;font-weight:650}.intro h1{letter-spacing:-1.5px;margin:24px 0 17px;font-family:Georgia,serif;font-size:47px;font-weight:400;line-height:1.12}.intro-copy{color:#909381;font-size:14px;line-height:1.9}.room-card{background:#e9eddf;border:1px solid #dfe5d3;border-radius:20px;margin:32px 0 26px;padding:19px}.room-top{letter-spacing:1.5px;color:#79876d;justify-content:space-between;font-size:9px;display:flex}.room-top b{letter-spacing:0}.room-card h3{margin:13px 0 6px;font-family:Georgia,serif;font-size:21px;font-weight:400}.room-card p{color:#849079;margin:0;font-size:11px;line-height:1.6}.room-scene{background:#d0be9b;border-radius:55px 55px 12px 12px;height:115px;margin-top:16px;position:relative;overflow:hidden;box-shadow:inset 0 10px #c3af8b}.room-scene:after{content:"";background:#baa27c;height:16px;position:absolute;inset:auto 0 0}.room-lamp{background:#9b9773;border-radius:20px 20px 0 0;width:23px;height:14px;position:absolute;top:24px;left:110px;box-shadow:0 8px 25px 15px #efe3ae55}.room-lamp:before{content:"";background:#8a795c;width:2px;height:25px;position:absolute;top:-25px;left:11px}.room-shelf{background:#81694e;width:63px;height:6px;position:absolute;top:68px;left:20px}.room-shelf:before{content:"";background:#b58d5b;border-radius:5px;width:16px;height:25px;position:absolute;bottom:6px;left:7px}.room-pot{opacity:.15;background:#9c795a;border-radius:3px 3px 12px 12px;width:26px;height:30px;position:absolute;bottom:16px;right:18px}.room-pot:before{content:"❧";color:#657c46;font-size:57px;line-height:40px;position:absolute;bottom:17px;left:-12px}.room-bed{opacity:.15;background:#8d9d78;border-radius:8px;width:48px;height:18px;position:absolute;bottom:16px;left:84px}.room-rug{opacity:.15;background:#c18b67;border-radius:50%;width:91px;height:19px;position:absolute;bottom:7px;left:67px}.room-ant{letter-spacing:-2px;color:#554a32;font-size:7px;position:absolute;bottom:20px;left:43px}.stage-1 .room-pot,.stage-2 .room-pot,.stage-3 .room-pot,.stage-2 .room-bed,.stage-3 .room-bed,.stage-3 .room-rug{opacity:1}.room-progress{background:#d9dfcc;border-radius:4px;height:4px;margin:15px 0}.room-progress i{background:#789568;border-radius:4px;height:100%;display:block}.text-button{background:0 0;padding:0;font-size:11px}.room-card .text-button{justify-content:space-between;width:100%;font-weight:600;display:flex}.instruction{align-items:baseline;gap:13px;margin:15px 0;display:flex}.instruction>span{color:#b0b39e;font-size:10px}.instruction p{color:#919683;margin:0;font-size:12px;line-height:1.65}.instruction b{color:#65745c;font-weight:600}.sidebar-foot{letter-spacing:1.2px;color:#b1b4a2;margin-top:35px;font-size:8px;display:block}.game-panel{background:#faf8f1;border:1px solid #e4e4d8;border-radius:27px;min-width:0;padding:22px 22px 14px;box-shadow:0 14px 55px #594e2c08}.level-header{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.level-header h2{margin:7px 0 0;font-family:Georgia,serif;font-size:23px;font-weight:400}.level-header .icon-button{background:#eeeee3;width:31px;height:31px;font-size:14px}.progress-row{align-items:center;gap:10px;padding:14px 5px 1px;display:flex}.level-progress{background:#e9e9dc;border-radius:5px;flex:1;height:4px;overflow:hidden}.level-progress i{background:#80a36f;height:100%;transition:width .2s;display:block}.progress-row>span{color:#98a08a;text-align:right;min-width:28px;font-size:10px}#canvas{aspect-ratio:480/530;width:100%}#canvas canvas{width:100%!important;height:auto!important;margin:0!important;display:block!important}.route-row{justify-content:space-between;align-items:center;gap:4px;margin-top:-5px;display:flex}.route{color:#9a9f8b;background:0 0;border-radius:15px;padding:7px 9px;font-size:10px}.route.selected{color:#4e7150;background:#e6eddd}.speed-button{white-space:nowrap;background:#eeede2;border-radius:15px;padding:7px 10px;font-size:10px;font-weight:600}.hint{text-align:center;color:#7e8d70;min-height:37px;padding:10px 2px 4px;font-size:11px;line-height:1.5}.hint.warning{color:#a5783e}.section-label{color:#929b85;letter-spacing:1.2px;justify-content:space-between;align-items:center;margin:13px 0 9px;font-size:8px;display:flex}.slots{gap:7px;display:flex}.slot{background:#f2f2e8;border:1px dashed #d7dbc9;border-radius:11px;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;height:53px;display:flex;position:relative}.slot .empty-mark{color:#c7ceba;font-size:24px}.slot.filled{background:var(--color);color:#fffdf3;text-shadow:0 1px 3px #0004;border:1px solid #ffffff80;box-shadow:inset 0 -3px #00000014}.slot.filled>span{opacity:.8;font-size:14px}.slot b{font-size:20px;font-weight:700}.add-slot{color:#6b855a;background:#eaf0e1;border-color:#cbd7bc;flex-direction:column;flex:.82;gap:0;display:flex}.add-slot>span{font-size:20px;line-height:22px}.add-slot small{font-size:8px}.queue-label{margin-top:22px}.muted{letter-spacing:0;text-transform:none;color:#a7ac99;font-size:9px}.queue-label button{color:#708665;letter-spacing:0;background:0 0;font-size:10px}.queue-label button:disabled{opacity:.35}.queues{grid-template-columns:repeat(var(--columns),1fr);gap:10px;min-height:150px;display:grid}.queue-stack{flex-direction:column;align-items:center;gap:6px;display:flex}.card{background:var(--color);color:#fffdf4;text-shadow:0 1px 3px #0004;border:1px solid #ffffff60;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;width:100%;height:49px;display:flex;box-shadow:inset 0 2px #ffffff25,inset 0 -4px #00000012}.card b{letter-spacing:-1px;font-size:24px;font-weight:650}.card>span{opacity:.75;font-size:16px}.card.row-0{outline-offset:2px;outline:2px solid #fff;margin-bottom:3px}.card.row-0:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 6px 10px #36452226,inset 0 -4px #00000012}.card.row-1{opacity:.82;width:94%;height:43px}.card.row-2{opacity:.64;width:88%;height:39px}.card.row-3{opacity:.42;width:82%;height:34px}.card.row-2 b,.card.row-3 b{font-size:20px}.more-cards{color:#aaa994;margin:2px 0;font-size:9px}.queue-done{color:#b0bea4;padding-top:15px;font-size:20px}.game-bottom{color:#8c977f;border-top:1px solid #e9e8dd;justify-content:space-between;align-items:center;gap:6px;margin-top:13px;padding-top:18px;display:flex}.game-bottom>span{color:#abb19d;font-size:8px}.game-bottom button{font-size:10px}.right-note{padding-top:140px}.tiny-leaf{color:#8da378;font-size:56px}.right-note h3{color:#7c8d72;margin:20px 0;font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.3}.right-note p{color:#a2a58f;font-size:11px;line-height:1.9}.color-chips{gap:5px;margin-top:24px;display:flex}.color-chips i{background:#e7b353;border-radius:3px;width:12px;height:12px;display:block}.color-chips i:nth-child(2){background:#ce7f78}.color-chips i:nth-child(3){background:#8dab78}.color-chips i:nth-child(4){background:#8ca9bd}.footer{text-align:center;color:#acaf9c;padding:12px 0 26px;font-family:Georgia,serif;font-size:12px;font-style:italic}dialog{color:#394936;background:#faf8f1;border:1px solid #e3e6d6;border-radius:28px;width:calc(100% - 32px);max-width:430px;padding:28px;box-shadow:0 30px 100px #263c3830}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#2d382e66}.modal-leaf{text-align:center;color:#7f9b6b;font-size:40px}dialog h2{text-align:center;margin:8px 0 18px;font:30px Georgia,serif}.modal-copy{color:#819074;text-align:center;font-size:14px;line-height:1.65}.modal-copy ol{text-align:left;padding-left:20px}.modal-copy li{margin:9px 0}.modal-actions{gap:8px;margin-top:23px;display:grid}.primary,.secondary{color:#fff;background:#456a4e;border-radius:13px;padding:14px;font-size:14px}.secondary{color:#6b805d;background:#ecefe4}.primary:hover{background:#365b3f}.setting{text-align:left;justify-content:space-between;align-items:center;padding:12px 0;display:flex}.setting input{accent-color:#5e8651;width:19px;height:19px}.small-copy{color:#a2ab95;font-size:12px}.reward-count{color:#658b50;font:60px Georgia,serif}.collection{text-align:left;grid-template-columns:1fr 1fr;gap:9px;max-height:330px;display:grid;overflow-y:auto}.collection-item{text-align:left;background:#edf1e5;border:1px solid #e2e7d9;border-radius:13px;padding:14px 10px}.collection-item>span{color:#cda357;font-size:20px;display:block}.collection-item b{margin:6px 0;font-size:12px;line-height:1.5;display:block}.collection-item small{color:#92a083;font-size:10px}.success-mosaic{grid-template-columns:repeat(3,20px);gap:3px;width:max-content;margin:20px auto;display:grid}.success-mosaic i{border-radius:4px;width:20px;height:20px}#toast{color:#fff;opacity:0;pointer-events:none;z-index:20;background:#3d6149;border-radius:14px;width:max-content;max-width:calc(100% - 24px);padding:13px 20px;font-size:13px;transition:all .2s;position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);box-shadow:0 6px 25px #0002}#toast.visible{opacity:1;transform:translate(-50%)}@media (width>=1400px){.layout{grid-template-columns:290px 480px 1fr;gap:55px}.intro{padding-top:25px}}@media (width<=1100px){.shell{padding:0 28px}.layout{grid-template-columns:240px minmax(340px,480px);justify-content:center;gap:28px}.right-note{display:none}}@media (width<=740px){.shell{max-width:510px;padding:0 12px}.brand-row{height:72px;margin:0 7px}.brand{font-size:21px}.brand-mark{width:33px;height:37px;font-size:30px}.brand-sub{letter-spacing:1.3px;margin-top:5px;font-size:9px}.header-actions{gap:12px}.local-badge{font-size:9px}.layout{padding-top:14px;display:block}.intro{display:none}.game-panel{border-radius:23px;padding:17px 16px 13px}.level-header h2{font-size:22px}.footer{padding-bottom:15px}.queues{gap:8px}.route{padding:6px 7px}.slots{gap:5px}.slot b{font-size:18px}.slot>span{font-size:12px}.section-label{font-size:8px}.game-bottom{padding-top:14px}.card b{font-size:22px}.card{gap:5px}}@media (width<=400px){.shell{padding:0 7px}.game-panel{padding:13px 12px}.muted,.local-badge{display:none}.hint{font-size:10px}.card>span{font-size:12px}.card b{font-size:20px}.slots{gap:4px}.slot{height:46px}.slot.filled>span{font-size:10px}.slot b{font-size:16px}.game-bottom>span{display:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}#canvas{aspect-ratio:auto;justify-content:center;height:clamp(230px,36vh,390px);display:flex}#canvas canvas{max-width:100%;width:auto!important;height:100%!important;margin:0 auto!important}@media (height<=950px){.brand-row{height:78px}.layout{padding-top:22px}.game-panel{padding-top:16px}.queue-label{margin-top:15px}.card{height:42px}.card.row-1{height:35px}.card.row-2{height:31px}.card.row-3{height:27px}.queues{min-height:130px}.game-bottom{margin-top:10px;padding-top:12px}.intro h1{font-size:40px}}@media (width<=740px){.brand-row{height:62px}.layout{padding-top:10px}#canvas{height:clamp(210px,34vh,340px)}.hint{min-height:33px}.slot{height:45px}.section-label{margin-top:10px}.queue-label{margin-top:15px}.card.row-3{display:none}.more-cards{font-size:8px}.game-bottom{margin-top:10px}.game-panel{padding-bottom:12px}.footer{padding:5px 0 15px}}@media (height<=700px) and (width<=740px){#canvas{height:205px}.brand-row{height:50px}.level-header h2{font-size:18px}.hint{font-size:9px}.queues{min-height:110px}.card{height:35px}.card.row-1{height:29px}.card.row-2{height:25px}.section-label{margin-top:7px}.slot{height:40px}.game-panel{padding:12px}.progress-row,.game-bottom{padding-top:8px}}.score-badge{white-space:nowrap;background:#e8edde;border-radius:18px;padding:9px 13px;font-size:12px;font-weight:600}.timer-row{align-items:center;gap:10px;padding:12px 5px 0;display:flex}.timer-row b{font-variant-numeric:tabular-nums;color:#566b4f;font-size:15px}.timer-row>span{color:#bd933e;letter-spacing:2px;font-size:16px}.timer-row small{color:#929982;margin-left:auto;font-size:9px}.score-total{color:#557849;font:44px Georgia,serif}.result-picture{width:95px;margin:0 auto}.result-stars{color:#c5a049;letter-spacing:5px;margin-top:12px;font-size:30px}.thumbnail{object-fit:contain;width:100%;height:100%;max-height:140px;display:block}.gallery-dialog{max-width:720px}.collection{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-height:60dvh;padding:3px}.collection-item{text-align:center;flex-direction:column;align-items:center;min-width:0;padding:9px;display:flex}.collection-item .thumbnail{flex-shrink:0;height:85px}.collection-item b{min-height:26px;margin:7px 0 3px;font-size:10px;line-height:1.3}.collection-item .collection-stars{color:#b79543;letter-spacing:1px;font-size:14px}.collection-item small{font-size:9px;line-height:1.65}.gallery-pages{justify-content:center;align-items:center;gap:20px;margin-top:14px;font-size:12px;display:flex}.gallery-pages button{background:#e8eddf;border-radius:10px;padding:8px 15px}.gallery-pages button:disabled{opacity:.3}.setting input[type=range]{accent-color:#658756;width:130px;max-width:45%;height:25px}.collection-summary{font-size:12px}#mobile-gallery{display:none}@media (width<=740px),(width<=1050px) and (height<=720px){body{background:#faf8f1}.shell{width:100%;max-width:none;padding:0 8px}.brand-row{height:54px;margin:0 4px}.header-actions{gap:7px}.score-badge{padding:6px 9px;font-size:10px}.local-badge,.intro,.right-note,.footer{display:none}.brand{font-size:19px}.brand-mark{width:31px;height:33px}.brand-sub{font-size:8px}.icon-button{width:32px;height:32px;font-size:20px}.layout{height:calc(100dvh - 54px);min-height:550px;padding:0;display:block}.game-panel{max-width:650px;height:100%;box-shadow:none;border:0;border-radius:0;grid-template-rows:auto auto auto minmax(140px,1fr) auto auto auto auto auto auto auto;margin:auto;padding:9px 9px 7px;display:grid}.level-header h2{font-size:20px}.level-header .eyebrow{font-size:8px}.level-header{padding:0}.timer-row{gap:7px;padding:7px 0 0}.timer-row b{font-size:13px}.timer-row small{font-size:8px}.progress-row{padding:5px 0 0}#canvas{aspect-ratio:auto;width:100%;height:auto;min-height:0}#canvas canvas{object-fit:contain;max-width:100%;width:100%!important;height:100%!important}.route-row{margin-top:0}.route{padding:6px}.hint{min-height:0;padding:6px 0;font-size:10px;line-height:1.3}.section-label{margin:5px 0}.slots,.slot{height:45px}.queue-label{margin:10px 0 7px}.queues{gap:7px;height:121px;min-height:0}.queue-stack{gap:4px}.card{height:41px}.card.row-1{height:34px}.card.row-2{height:29px}.card.row-3{display:none}.card b{font-size:20px}.more-cards{margin:0;font-size:7px;line-height:8px}.game-bottom{margin-top:7px;padding:8px 0 2px}.game-bottom>span{display:none}#mobile-gallery{display:block}.collection{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gallery-dialog{max-height:92dvh;padding:18px}.collection-item .thumbnail{height:70px}.collection-item{padding:7px}.collection-item small{font-size:8px}}@media (width<=360px){.brand-sub{display:none}.header-actions{gap:4px}.score-badge{font-size:9px}.timer-row small{font-size:7px}.slot b{font-size:15px}.card>span{font-size:11px}.card b{font-size:18px}}@media (orientation:landscape) and (height<=530px){.layout{height:auto;min-height:0}.game-panel{max-width:720px;display:block}#canvas{height:270px}.queues{height:121px}.shell{overflow:auto}}.difficulty-badge{letter-spacing:.2px;border-radius:8px;margin:6px 0;padding:4px 8px;font-size:10px;font-weight:650;display:table}.difficulty-badge[hidden]{display:none}.difficulty-badge.hard{color:#85602b;background:#f3e6c9}.difficulty-badge.winter{color:#46647d;background:#dfe9ef}@media (width<=760px){.difficulty-badge{margin:3px 0;padding:3px 6px;font-size:8px}}.main-menu{z-index:10;background:radial-gradient(at 18% 20%,#e1e8d6 0,#0000 45%),radial-gradient(at 90% 80%,#e8dfce 0,#0000 40%),#f4f2e9;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow:auto}.main-menu[hidden]{display:none}.menu-card{text-align:center;background:#faf8f1;border:1px solid #e3e6d8;border-radius:32px;width:min(100%,460px);padding:32px 38px;box-shadow:0 22px 70px #4a614214}.menu-art{background:#ecebdc;border-radius:24px;width:115px;height:125px;margin:22px auto 16px;padding:12px;transform:rotate(-5deg);box-shadow:7px 8px #dce4d1}.menu-card h1{color:#385741;margin:24px 0 12px;font:52px/1 Georgia,serif}.menu-card h1 span{letter-spacing:5px;font:20px/1.7 Georgia,serif;display:block}.menu-tagline{color:#849178;font-size:13px}.menu-progress{color:#768a6b;margin:22px 0;font-size:12px}.menu-actions{gap:10px;display:grid}.menu-actions button{border-radius:15px;min-height:48px;padding:12px 16px;font-weight:600}.menu-small-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.menu-foot{color:#99a28b;margin:24px 0 0;font:italic 13px Georgia,serif}.menu-actions .primary{color:#fff;background:#466d51}.menu-actions .secondary{color:#68835b;background:#e9edde}@media (width<=600px){.main-menu{padding:16px}.menu-card{border-radius:26px;padding:25px 22px}.menu-card h1{font-size:44px}.menu-art{width:96px;height:106px;margin-top:18px}.menu-card .eyebrow{font-size:8px}}@media (height<=650px){.menu-card{padding-top:18px;padding-bottom:18px}.menu-art{width:80px;height:80px;margin:14px auto}.menu-card h1{margin:17px 0 8px;font-size:36px}.menu-progress{margin:15px 0}.menu-foot{margin-top:16px}}
