html,body,#root{min-width:320px;min-height:100%;margin:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background:#dfe6d4;font-family:Inter,Segoe UI,Arial,sans-serif}:root{--green:#2f6f43;--green-dark:#205735;--ink:#26372b;--muted:#7a8176}*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}.app{max-width:480px;min-height:100svh;color:var(--ink);background:#eef1df;margin:0 auto;padding-bottom:82px;position:relative;overflow-x:hidden}.topbar{z-index:20;background:#fffdf7f5;border-bottom:1px solid #e6e1d2;grid-template-columns:1fr auto auto;align-items:center;gap:8px;height:72px;padding:10px 14px;display:grid;position:sticky;top:0}.brand{align-items:center;gap:9px;display:flex}.brand-mark{color:#fff;background:var(--green);border-radius:14px;place-items:center;width:44px;height:44px;font-size:20px;font-weight:800;display:grid;box-shadow:inset 0 -4px #0000001f}.brand div:last-child{flex-direction:column;line-height:1.1;display:flex}.brand span{font-family:Georgia,serif;font-size:17px;font-weight:800}.brand small{color:var(--muted);margin-top:5px;font-size:11px}.energy,.coins{height:38px;color:var(--ink);background:#fff;border:1px solid #e3decf;border-radius:19px;align-items:center;gap:5px;padding:4px 7px;display:flex}.energy strong,.coins strong{font-size:13px}.energy i{width:22px;height:22px;color:var(--green);background:#dce9c9;border-radius:50%;place-items:center;font-style:normal;display:grid}.coins span{color:#c78a19}.content{min-height:calc(100svh - 154px)}.save-notice{color:var(--ink);background:#fff0c9;border-radius:12px;margin:12px;padding:10px 12px;font-size:13px}.farm-card{background:#7db069;border:1px solid #3c5e3724;border-radius:24px;margin:12px;overflow:hidden;box-shadow:0 10px 28px #2d55361f}.farm-sky{isolation:isolate;background:radial-gradient(circle at 75% 23%,#ffe4a0 0 24px,#0000 25px),radial-gradient(75% 56% at 20% 91%,#86aa62 72%,#0000 73%),radial-gradient(84% 60% at 83% 95%,#a0bd75 76%,#0000 77%),linear-gradient(#acd4ca,#e0e6c6);height:242px;position:relative;overflow:hidden}.cloud{background:#ffffffc7;border-radius:20px;width:56px;height:13px;position:absolute}.cloud:before,.cloud:after{content:"";background:inherit;border-radius:50%;position:absolute}.cloud:before{width:22px;height:22px;bottom:4px;left:8px}.cloud:after{width:16px;height:16px;bottom:3px;right:10px}.cloud-a{top:32px;left:24px}.cloud-b{top:62px;right:20px;transform:scale(.75)}.house{z-index:2;width:82px;height:74px;position:absolute;bottom:12px;left:42px}.roof{z-index:2;clip-path:polygon(50% 0,100% 70%,100% 78%,0 78%,0 70%);filter:drop-shadow(0 4px 1px #0000001f);background:#9d5b3e;width:78px;height:42px;position:absolute;top:0;left:2px}.house-wall{z-index:1;background:#dcae69;border:3px solid #8b603f;border-radius:3px 3px 7px 7px;width:68px;height:48px;position:absolute;bottom:0;left:7px}.window{background:#85aeb1;border:3px solid #f1dfaa;width:16px;height:16px;position:absolute;top:10px;left:8px}.door{background:#6e4938;border-radius:8px 8px 0 0;width:18px;height:31px;position:absolute;bottom:0;right:8px}.tree{z-index:3;filter:drop-shadow(0 5px 2px #27482226);font-size:36px;position:absolute;bottom:10px}.tree-a{right:82px}.tree-b{right:28px;transform:scale(.78)}.field{background-color:#799e55;background-image:linear-gradient(35deg,#0000 48%,#ffffff0a 49% 51%,#0000 52%),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-top:6px solid #98bd78;grid-template-columns:repeat(4,1fr);gap:7px;padding:13px;display:grid}.plot{aspect-ratio:1;color:#6a4f38;background:#a27550;border:2px solid #63884a;border-radius:12px;place-items:center;min-height:62px;display:grid;position:relative;box-shadow:inset 0 -5px #5d3d2733,0 3px 6px #2c46231f}.plot.planted{background:linear-gradient(145deg,#96704a,#79583e)}.plot.plot--wet{background:radial-gradient(at 32% 32%,#695043 0%,#0000 55%),linear-gradient(145deg,#604637,#3f2a22);border-color:#4b3b2b}.add-crop{border:1px dashed #7a583e;border-radius:50%;place-items:center;width:26px;height:26px;font-size:18px;display:grid}.crop-art{filter:drop-shadow(0 3px 1px #362a2040);place-items:center;width:42px;height:42px;display:grid;position:relative}.crop-art>*{position:absolute}.crop-art--seed>*{background:#edd180;border:1px solid #aa7645;border-radius:70% 40%;width:8px;height:12px}.crop-art--seed i{top:21px;left:9px;rotate:-24deg}.crop-art--seed b{top:15px;left:18px;rotate:18deg}.crop-art--seed em{top:22px;left:27px;rotate:44deg}.crop-art--sprout,.crop-art--growing{--leaf:#94c15e;transform-origin:50% 85%;animation:4.5s ease-in-out infinite plantSway}.crop-art--sprout i,.crop-art--growing i{background:#c1d47b;border-radius:10px;width:4px;height:46%;bottom:16%}.crop-art--sprout b,.crop-art--sprout em,.crop-art--growing b,.crop-art--growing em{background:var(--leaf);border-radius:1px 80% 6px;width:30%;height:22%;bottom:46%}.crop-art--sprout b,.crop-art--growing b{right:49%;rotate:12deg}.crop-art--sprout em,.crop-art--growing em{left:49%;rotate:-18deg;scale:-1 1}.crop-art--growing i{height:68%}.crop-art--growing b,.crop-art--growing em{width:43%;height:33%;bottom:51%;box-shadow:0 6px #385e3d80}.crop-art--growing em{bottom:36%}.crop-art--onion{--leaf:#77b7a5}.crop-art--carrot{--leaf:#a5c967}.crop-art--pumpkin{--leaf:#acd871}.crop-art--sunflower{--leaf:#c9d17a}.crop-art--onion.crop-art--growing b,.crop-art--onion.crop-art--growing em{width:23%;height:50%;box-shadow:none;border-radius:80% 2px 75% 4px}.crop-art--ready{font-size:36px;line-height:1}.crop-status{border-radius:50%;place-items:center;width:21px;height:21px;font-size:13px;display:grid;position:absolute;top:-5px;right:-3px}.crop-status--ready{color:#6b461b;background:#fff0aa;animation:2.4s ease-in-out infinite statusPulse}.crop-status--watered{background:#e9f1e4}.crop-progress{text-align:left;color:var(--green-dark);grid-template-columns:1fr auto;gap:4px 12px;margin:12px 0;font-size:13px;font-weight:700;display:grid}.crop-progress progress{width:100%;height:9px;accent-color:var(--green);grid-column:1/-1}.farm-livestock{background:linear-gradient(#8eb467,#dce5b5 63%);padding:4px 12px 8px}.section-head{justify-content:space-between;align-items:center;margin:8px 2px;display:flex}.section-head h2{margin:2px 0 0;font-family:Georgia,serif;font-size:20px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.round-button{background:var(--green);color:#fff;border:none;border-radius:50%;width:38px;height:38px;font-size:24px;box-shadow:0 5px 12px #2f6f4340}.animal-row{gap:9px;padding-bottom:5px;display:flex;overflow-x:auto}.animal-card{min-width:112px;height:118px;color:var(--ink);background:#fff;border:1px solid #e2e0d3;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex;box-shadow:0 5px 14px #43523314}.animal-pasture{background:radial-gradient(at 50% 104%,#bfce90 0 42%,#0000 44%);flex:none;width:84px;height:52px;position:relative}.animal-sprite{position:absolute;inset:1px 5px 5px}.animal-sprite i,.animal-sprite b{display:block;position:absolute}.sprite-leg{background:#584638;border-radius:0 0 3px 3px;width:4px;height:13px;bottom:0}.sprite-leg--back{left:24px}.sprite-leg--front{left:46px}.sprite-body{border-radius:13px 15px 12px 12px;width:43px;height:27px;bottom:9px;left:16px}.sprite-tail{transform-origin:100% 0}.sprite-head{transform-origin:30% 65%}.animal-sprite--cow .sprite-body{background:#fff3dc;box-shadow:inset 0 -3px #d5c9b2}.animal-sprite--cow .sprite-body b{background:#6f4a37;border-radius:40% 25% 52% 30%;width:17px;height:16px;top:3px;left:8px;box-shadow:14px 6px 0 -4px #6f4a37}.animal-sprite--cow .sprite-head{background:#fff3dc;border-radius:8px 10px 6px 7px;width:23px;height:23px;animation:6s ease-in-out infinite cowGrazing;top:9px;left:49px}.animal-sprite--cow .sprite-head:before{content:"";background:#94725a;border-radius:80%;width:10px;height:7px;position:absolute;top:-3px;left:-4px;rotate:26deg}.animal-sprite--cow .sprite-head b{background:#423429;border-radius:50%;width:4px;height:4px;animation:5.3s infinite animalBlink;top:7px;right:5px}.animal-sprite--cow .sprite-head:after{content:"";background:#d69c91;border-radius:45%;width:14px;height:8px;position:absolute;bottom:0;right:-1px}.animal-sprite--cow .sprite-tail{border-left:3px solid #735842;border-radius:8px;width:11px;height:20px;animation:3s ease-in-out infinite cowTail;top:17px;left:8px}.animal-sprite--cow .sprite-tail:after{content:"";background:#735842;border-radius:50%;width:6px;height:8px;position:absolute;bottom:0;left:-4px}.animal-sprite--chicken .sprite-body{background:#fff5da;border-radius:45% 45% 45% 30%;width:36px;height:25px;bottom:7px;left:21px;box-shadow:inset 0 -3px #d9cbb0}.animal-sprite--chicken .sprite-body b{background:#dfc69b;border-radius:20% 65% 40% 60%;width:19px;height:10px;top:7px;left:6px;rotate:16deg}.animal-sprite--chicken .sprite-head{background:#fff5da;border-radius:50%;width:16px;height:17px;animation:4.7s ease-in-out infinite chickenPeck;top:9px;left:46px}.animal-sprite--chicken .sprite-head:before{content:"";background:#bd5143;border-radius:5px 5px 1px 1px;width:10px;height:7px;position:absolute;top:-5px;left:1px;rotate:-12deg}.animal-sprite--chicken .sprite-head:after{content:"";border-top:4px solid #0000;border-bottom:3px solid #0000;border-left:8px solid #dc8c38;position:absolute;top:8px;right:-6px}.animal-sprite--chicken .sprite-head b{background:#423429;border-radius:50%;width:3px;height:3px;animation:4.2s infinite animalBlink;top:5px;right:3px}.animal-sprite--chicken .sprite-tail{background:#e5cc99;border-radius:0 55% 0 70%;width:17px;height:14px;top:15px;left:16px;rotate:29deg}.animal-sprite--chicken .sprite-leg{background:#bc702f;width:3px;height:9px}.animal-sprite--chicken .sprite-leg--back{left:32px}.animal-sprite--chicken .sprite-leg--front{left:42px}.animal-sprite--sheep .sprite-body{background:#f8edd5;width:43px;height:26px;bottom:9px;left:15px;box-shadow:inset 0 -3px #d5c7ac,0 -4px 0 -1px #f8edd5}.animal-sprite--sheep .sprite-body b{background:#fffaf0;border-radius:50%;width:9px;height:9px;top:3px;left:7px;box-shadow:10px 3px #fffaf0,19px -1px #fffaf0,5px 12px #fffaf0}.animal-sprite--sheep .sprite-head{background:#645048;border-radius:50% 48% 42% 60%;width:21px;height:19px;animation:5.2s ease-in-out infinite sheepNod;top:12px;left:48px}.animal-sprite--sheep .sprite-head:before{content:"";background:#8c7060;border-radius:65%;width:14px;height:6px;position:absolute;top:-2px;left:-4px;rotate:18deg}.animal-sprite--sheep .sprite-head b{background:#ffecd5;border-radius:50%;width:4px;height:4px;animation:5.4s infinite animalBlink;top:6px;right:5px}.animal-sprite--sheep .sprite-tail{background:#eadbc3;border-radius:70%;width:11px;height:15px;top:15px;left:11px}.animal-sprite--goose .sprite-body{background:#fff8e4;border-radius:45% 45% 55% 40%;width:37px;height:22px;bottom:6px;left:20px;box-shadow:inset 0 -3px #d1dce0}.animal-sprite--goose .sprite-body b{background:#e2ebea;border-radius:45%;width:20px;height:10px;top:6px;left:6px;rotate:12deg}.animal-sprite--goose .sprite-head{background:#fff8e4;border-radius:8px 8px 4px 4px;width:11px;height:26px;animation:4.4s ease-in-out infinite gooseWaddle;top:8px;left:48px}.animal-sprite--goose .sprite-head:after{content:"";background:#da873d;border-radius:0 6px 6px 1px;width:10px;height:6px;position:absolute;top:5px;right:-8px}.animal-sprite--goose .sprite-head b{background:#3d3d37;border-radius:50%;width:3px;height:3px;animation:5s infinite animalBlink;top:3px;right:1px}.animal-sprite--goose .sprite-leg{background:#c7793c;height:9px}.animal-sprite--goose .sprite-tail{background:#ebe3cf;border-radius:0 20px 10px 10px;width:18px;height:10px;top:20px;left:15px;rotate:20deg}.animal-sprite--horse{animation:5s ease-in-out infinite horseTrot}.animal-sprite--horse .sprite-body{background:#a3603e;box-shadow:inset 0 -4px #87472f}.animal-sprite--horse .sprite-head{background:#a3603e;border-radius:9px 10px 6px 5px;width:19px;height:25px;top:5px;left:47px;rotate:-13deg;box-shadow:inset 4px 0 #604031}.animal-sprite--horse .sprite-head:before{content:"";background:#815039;border-radius:4px 4px 1px 1px;width:5px;height:9px;position:absolute;top:-5px;left:5px}.animal-sprite--horse .sprite-head:after{content:"";background:#d39767;border-radius:5px;width:13px;height:9px;position:absolute;bottom:1px;right:-3px}.animal-sprite--horse .sprite-head b{background:#342821;border-radius:50%;width:4px;height:4px;animation:5.7s infinite animalBlink;top:9px;right:4px}.animal-sprite--horse .sprite-tail{background:#604031;border-radius:80% 10% 70% 20%;width:13px;height:22px;animation:3.8s ease-in-out infinite cowTail;top:16px;left:8px}.animal-sprite--horse .sprite-leg{transform-origin:top;background:#78492f;animation:5s ease-in-out infinite horseStep}.animal-sprite--horse .sprite-leg--front{animation-direction:reverse}.animal-pasture.is-fed .sprite-head{animation-duration:2.6s}@keyframes sheepNod{0%,20%,64%,to{transform:none}35%,52%{transform:translateY(4px)rotate(25deg)}}@keyframes gooseWaddle{0%,to{rotate:0deg}30%{rotate:12deg}52%{rotate:-8deg}}@keyframes horseTrot{0%,65%,to{transform:none}74%,88%{transform:translate(3px,-2px)}81%{transform:translate(-3px)}}@keyframes horseStep{0%,65%,to{rotate:0deg}74%,88%{rotate:17deg}81%{rotate:-18deg}}@keyframes cowGrazing{0%,32%,78%,to{transform:none}48%,64%{transform:translateY(7px)rotate(23deg)}}@keyframes cowTail{0%,64%,to{rotate:0deg}74%,88%{rotate:23deg}81%{rotate:-17deg}}@keyframes chickenPeck{0%,28%,58%,to{transform:none}38%,51%{transform:translate(1px,8px)rotate(45deg)}44%{transform:translateY(3px)rotate(18deg)}}@keyframes animalBlink{0%,90%,to{scale:1}94%{scale:1 .15}}.animal-card strong{font-size:13px}.animal-status{color:var(--green);background:#edf4df;border-radius:8px;padding:4px 7px;font-size:10px}.animal-status--ready{color:#65501d;background:#ffedbb}.farm-card .purchase-highlight{outline-offset:-3px;outline:3px solid #fff3a7;box-shadow:0 0 0 2px #98682d55}.bottom-nav{z-index:30;background:#fffdf7fa;border-top:1px solid #dfdccf;grid-template-columns:repeat(5,1fr);width:min(480px,100%);height:72px;padding:7px 4px 5px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -8px 24px #4b523e12}.bottom-nav button{color:#95998e;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px;display:flex}.bottom-nav button span{filter:grayscale(.35);font-size:21px}.bottom-nav button.active{color:var(--green);font-weight:800}.bottom-nav button.active span{filter:none}.page-panel{min-height:calc(100svh - 154px);padding:12px 14px 20px}.page-title{justify-content:center;align-items:center;height:58px;display:flex;position:relative}.page-title h1{margin:0;font-family:Georgia,serif;font-size:24px}.back{width:38px;height:38px;color:var(--ink);background:#fff;border:1px solid #e1dfd3;border-radius:50%;font-size:28px;position:absolute;left:0}.segmented{background:#e4e8d5;border-radius:14px;grid-template-columns:1fr 1fr;margin-bottom:12px;padding:4px;display:grid}.segmented button{height:38px;color:var(--muted);background:0 0;border:none;border-radius:10px}.segmented button.active{color:var(--green);background:#fff;font-weight:800;box-shadow:0 3px 8px #46503714}.shop-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.shop-item-wrap{min-width:0;position:relative}.shop-item{width:100%;min-height:152px;color:var(--ink);background:#fff;border:1px solid #e1dfd2;border-radius:18px;flex-direction:column;align-items:center;padding:12px;display:flex;box-shadow:0 5px 14px #4352330f}.shop-emoji{height:58px;font-size:48px}.shop-item strong{margin-top:3px}.shop-item small{color:var(--muted);margin-top:2px}.shop-info-button{z-index:2;width:30px;height:30px;color:var(--green);background:#edf4df;border:1px solid #d5dfc6;border-radius:50%;font-size:15px;font-weight:900;position:absolute;top:8px;right:8px;box-shadow:0 2px 6px #28462a1f}.shop-info-backdrop{align-items:center}.shop-info-modal{text-align:center;background:#fffdf7;border-radius:24px;width:min(420px,100%);max-height:calc(100svh - 28px);padding:24px 20px 20px;animation:.22s ease-out rise;position:relative;overflow-y:auto;box-shadow:0 20px 50px #14231840}.shop-info-art{background:#edf4df;border-radius:22px;place-items:center;width:70px;height:70px;margin:0 auto 12px;font-size:42px;display:grid}.shop-info-modal h2{margin:8px 0 2px;font-family:Georgia,serif;font-size:26px}.shop-info-modal>p{color:var(--muted);margin:0}.shop-info-list{text-align:left;flex-direction:column;gap:8px;margin:18px 0 0;display:flex}.shop-info-list div{border-top:1px solid #ece9dd;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px;padding:10px 0;display:grid}.shop-info-list dt{color:var(--muted);font-size:13px}.shop-info-list dd{color:var(--ink);text-align:right;margin:0;font-size:13px;font-weight:700}.price{color:#9a711c;background:#fff4d4;border-radius:12px;margin-top:auto;padding:5px 10px;font-size:12px;font-weight:800}.quest-list{flex-direction:column;gap:10px;display:flex}.quest-card{background:#fff;border:1px solid #e1dfd2;border-radius:18px;grid-template-columns:48px 1fr auto;align-items:center;gap:9px;min-height:92px;padding:12px;display:grid}.quest-card.featured{background:#fffaf0;border-color:#d9c58a}.quest-icon{background:#edf3df;border-radius:15px;place-items:center;width:48px;height:48px;font-size:26px;display:grid}.quest-card div{flex-direction:column;gap:3px;display:flex}.quest-card small{color:var(--muted)}.quest-card b{font-size:12px}.quest-card button{background:var(--green);color:#fff;border:none;border-radius:50%;width:34px;height:34px}.progress{background:#eceadf;border-radius:6px;width:100%;height:6px;margin-top:5px;overflow:hidden}.progress i{background:#74a65f;border-radius:6px;height:100%;display:block}.review-words-card{background:#fffdf7;border:1px solid #dfe3d2;border-radius:18px;margin-top:14px;padding:14px;box-shadow:0 5px 14px #4352330f}.review-words-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.review-words-heading h2{margin:2px 0 0;font-family:Georgia,serif;font-size:19px}.review-words-heading>b{min-width:32px;height:32px;color:var(--green);background:#edf4df;border-radius:12px;place-items:center;padding:0 8px;display:grid}.review-word-list{flex-direction:column;gap:6px;margin-top:12px;display:flex}.review-word-row{background:#f5f4eb;border-radius:12px;grid-template-columns:1fr 1fr auto;align-items:center;gap:8px;padding:9px 10px;font-size:12px;display:grid}.review-word-row strong{color:var(--green-dark)}.review-word-row span{color:var(--ink)}.review-word-row small,.review-words-empty{color:var(--muted)}.review-words-empty{margin:12px 0 0;font-size:13px}.review-start{width:100%;margin-top:12px}.race-page{text-align:center;flex-direction:column;align-items:center;min-height:calc(100svh - 154px);padding:64px 24px 24px;display:flex}.race-hero{filter:drop-shadow(0 12px 8px #37522d1f);font-size:92px}.race-page h1{margin:16px 0 8px;font-family:Georgia,serif}.race-page p{color:var(--muted);max-width:300px;margin:0 0 24px;line-height:1.5}.primary-button{background:var(--green);color:#fff;border:none;border-radius:16px;min-height:50px;padding:12px 22px;font-weight:800;box-shadow:0 8px 18px #2f6f4338}.primary-button span{opacity:.7;margin-left:5px;font-size:11px;font-weight:500}.race-card{background:#fff;border:1px solid #e1dfd2;border-radius:22px;width:100%;padding:18px;box-shadow:0 12px 30px #3a4b301a}.race-track{background:#ddd0b1;border-radius:14px;align-items:center;height:48px;margin-bottom:18px;padding-left:8px;display:flex;position:relative;overflow:hidden}.race-track span{z-index:2;font-size:34px}.race-track i{border-top:2px dashed #fffc;width:100%;height:2px;position:absolute}.race-progress{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.race-card h2{margin:12px 0 3px;font-family:Georgia,serif;font-size:36px}.race-options{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;display:grid}.race-options button{min-height:54px;color:var(--ink);background:#fdfcf7;border:1px solid #deded1;border-radius:13px;font-weight:700}.friends-hero{text-align:center;background:#fffdf7;border:1px solid #e1dfd2;border-radius:20px;padding:22px 15px 18px}.friends-hero>span{font-size:54px}.friends-hero h2{margin:8px 0 4px;font-family:Georgia,serif;font-size:20px}.friends-hero p{color:var(--muted);margin:0 0 16px;font-size:13px}.ranking{flex-direction:column;gap:7px;margin-top:12px;display:flex}.rank-row{background:#fff;border:1px solid #e5e2d5;border-radius:15px;grid-template-columns:30px 40px 1fr auto;align-items:center;height:64px;padding:8px 12px 8px 8px;display:grid}.rank-row.me{background:#edf4df;border-color:#d1dfbc}.rank-row>b{text-align:center;color:var(--muted)}.avatar{color:#fff;background:#d59d52;border-radius:13px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.avatar.alt{background:#789e74}.rank-row div{flex-direction:column;padding-left:7px;display:flex}.rank-row div small{color:var(--muted)}.rank-row em{color:var(--green);font-size:12px;font-style:normal;font-weight:800}.inventory-grid{grid-template-columns:repeat(2,1fr);gap:10px;min-height:150px;margin-bottom:16px;display:grid}.inventory-item{aspect-ratio:1.25;background:#fff;border:1px solid #e1dfd2;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.inventory-item span{font-size:44px}.inventory-item strong{margin-top:6px;font-size:13px}.inventory-item b{background:#edf3df;border-radius:10px;padding:3px 7px;font-size:11px;position:absolute;top:8px;right:8px}.empty{text-align:center;color:var(--muted);grid-column:1/-1;margin-top:60px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1b2b1f7a;justify-content:center;align-items:flex-end;padding:14px;display:flex;position:fixed;inset:0}.challenge-modal{text-align:center;background:#fffdf7;border-radius:24px;width:min(452px,100%);padding:24px 18px 18px;animation:.22s ease-out rise;position:relative;box-shadow:0 20px 50px #14231840}@keyframes rise{0%{opacity:0;transform:translateY(30px)}}.modal-close{width:34px;height:34px;color:var(--muted);background:#f0eee4;border:none;border-radius:50%;font-size:20px;position:absolute;top:12px;right:12px}.challenge-label{color:var(--green);text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800}.challenge-modal h2{color:var(--ink);margin:12px 0 4px;font-family:Georgia,serif;font-size:38px}.challenge-modal p{color:var(--muted);margin:0 0 16px}.answer-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.answer-grid button{min-height:56px;color:var(--ink);background:#fff;border:1px solid #dddccf;border-radius:14px;font-weight:700}.answer-grid button:active{background:#edf4df;border-color:#a9bd92}.toast{z-index:80;color:#fff;white-space:nowrap;background:#26372b;border-radius:12px;max-width:calc(100% - 32px);padding:10px 14px;font-size:13px;animation:.2s ease-out toast;position:fixed;bottom:84px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #14231840}@keyframes toast{0%{opacity:0;transform:translate(-50%,8px)}}@media (width>=700px){.app{border-radius:28px;min-height:calc(100svh - 40px);margin-top:20px;margin-bottom:20px;overflow:hidden;box-shadow:0 18px 60px #2d41302e}.bottom-nav{border-radius:0 0 28px 28px;bottom:20px}}.animal-card:active,.shop-item:active,.plot:active{transform:scale(.96)}.animal-card,.shop-item,.plot,.answer-grid button,.race-options button{transition:transform .16s,box-shadow .16s,border-color .16s}.shop-item:hover,.animal-card:hover{border-color:#b9c99f;box-shadow:0 8px 18px #4352331f}.race-card{position:relative}.race-track i{border-top-color:#ffffffe6}@keyframes plantSway{0%,to{rotate:-4deg}50%{rotate:4deg}}@keyframes statusPulse{0%,to{transform:scale(.94)}50%{transform:scale(1.08)}}button:focus-visible{outline-offset:3px;outline:3px solid #d59d52}button:disabled{cursor:not-allowed;opacity:.6}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.segmented{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented button{min-width:0;padding:0 3px;font-size:clamp(10px,2.7vw,12px)}.yard-heading{z-index:5;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:10px 12px auto}.yard-heading h2{color:var(--ink);background:#fffcf0e8;border-radius:20px;margin:0;padding:5px 10px;font:700 14px Georgia,serif}.yard-heading .round-button{width:42px;height:42px}.farm-yard .house{z-index:3;bottom:78px;left:50%;translate:-50%;scale:1.13}.farm-yard .tree{z-index:1;pointer-events:none;bottom:111px}.farm-yard .tree-a{font-size:41px;left:5%;right:auto}.farm-yard .tree-b{font-size:45px;right:6%}.yard-path{clip-path:polygon(43% 0,68% 0,71% 21%,62% 41%,55% 60%,60% 75%,86% 100%,8% 100%,20% 72%,25% 51%,37% 27%);background:radial-gradient(#a8835e70 20%,#0000 28%) 0 0/13px 10px,linear-gradient(#dec69a,#c5a374);width:92px;height:83px;position:absolute;bottom:0;left:53%;translate:-50%}.decoration-slot{z-index:4;color:#234834;background:0 0;border:0;border-radius:12px;place-items:end center;width:clamp(54px,18%,72px);height:64px;padding:0;display:grid;position:absolute;bottom:67px;left:17%;translate:-50%}.decoration-slot:before{content:"";pointer-events:none;background:#3f582b30;border-radius:50%;height:13px;position:absolute;inset:auto 11% 1px}.decoration-slot.yard-2{left:83%}.decoration-slot.yard-3{bottom:9px;left:27%}.decoration-slot.yard-4{bottom:9px;left:74%}.decoration-marker{background:#f7f0d7dd;border:1px dashed #46683e;border-radius:50%;align-self:center;place-items:center;width:33px;height:33px;font-size:21px;line-height:1;display:grid;position:relative}.decoration-slot:hover .decoration-marker{background:#fff8df}.decoration-slot:focus-visible{outline-offset:1px;outline:2px solid #254d39}.yard-art{filter:drop-shadow(0 3px 1px #68513329);flex:none;width:64px;max-width:100%;height:58px;display:block;position:relative}.yard-art>*{display:block;position:absolute}.decoration-slot .yard-art{width:100%;height:100%}.decor-choice-list .yard-art{width:40px;height:40px}.yard-preview{place-items:center;margin-bottom:10px;display:grid}.yard-preview .yard-art{width:96px;height:86px}.yard-art--ornament-panel i{background:#246052;border:3px solid #b37a48;border-radius:6px;inset:12% 9% 9%}.yard-art--ornament-panel b,.yard-art--ornament-panel em{box-sizing:border-box;background:#f4c769;border-radius:80% 10% 70% 20%;width:26%;height:34%;top:29%;left:29%;transform:rotate(-25deg)}.yard-art--ornament-panel em{background:#e99678;left:48%;transform:rotate(70deg)}.yard-art--bench i{background:radial-gradient(circle,#fde4a1 0 17%,#0000 20%) 0 0/24% 100%,#407dab;border:2px solid #264c69;border-radius:6px 6px 2px 2px;inset:23% 10% 39%}.yard-art--bench b{background:#6296b8;border-bottom:3px solid #214969;border-radius:4px;inset:57% 4% 23%}.yard-art--bench em{border-left:5px solid #214969;border-right:5px solid #214969;inset:74% 14% 10%}.yard-art--well i{clip-path:polygon(50% 0,100% 100%,0 100%);background:#a44d35;inset:8% 10% 47%}.yard-art--well b{background:repeating-linear-gradient(#bcb1ad 0 5px,#908482 5px 7px);border:2px solid #65575a;border-radius:4px 4px 10px 10px;inset:49% 20% 5%}.yard-art--well em{background:#d29549;border-top:2px solid #684833;border-radius:2px 2px 5px 5px;inset:38% 35% 31%}.yard-art--planter i{background:#bf684b;border-top:5px solid #e08b63;border-bottom:4px solid #8e4a3e;border-radius:5px 5px 38% 38%;inset:46% 20% 5%}.yard-art--planter b,.yard-art--planter em{background:#598047;border-radius:80% 0;width:24%;height:36%;top:15%;left:26%;transform:rotate(-55deg)}.yard-art--planter em{background:#799b54;left:49%;transform:rotate(3deg)}.yard-art--tulips i{background:#946040;border:2px solid #75482e;border-radius:5px 5px 45% 45%;inset:72% 5% 7%}.yard-art--tulips b{background:repeating-linear-gradient(90deg,#0000 0 17%,#497745 18% 24%,#0000 25% 33%);inset:37% 15% 23%}.yard-art--tulips em{background:#c95f68;border-radius:1px 1px 48% 48%;width:21%;height:26%;top:22%;left:13%;box-shadow:15px -7px #f4c25d,29px 1px #a95b80}.decor-choice-list .yard-art--tulips em{box-shadow:11px -5px #f4c25d,21px 1px #a95b80}.yard-art--towel i{background:#664a3c;border-radius:4px;height:4px;inset:12% 11% auto}.yard-art--towel b{background:repeating-linear-gradient(90deg,#f8ebd3 0 3px,#ede1c8 3px 5px);border-bottom:7px solid #9c3658;border-radius:3px;inset:16% 24% 7%}.yard-art--towel em{background:linear-gradient(45deg,#0000 27%,#9c3658 28% 60%,#0000 61%) 0 0/8px 8px;inset:62% 25% 24%}.yard-art--gate i{background:repeating-linear-gradient(90deg,#4f9680 0 5px,#3e826e 5px 7px);border:5px solid #235849;border-radius:38% 38% 4px 4px;inset:11% 3% 6%}.yard-art--gate b{background:radial-gradient(circle,#f6d388 0 23%,#0000 25%) 0 0/50% 100%;inset:36% 14% 29%}.yard-art--gate em{background:#235849;width:4%;top:24%;bottom:9%;left:48%}.animal-card:disabled{opacity:.76;cursor:default}.market-list{gap:8px;margin:0 0 12px;padding:0;list-style:none;display:grid}.market-row{background:#fff;border:1px solid #e1dfd2;border-radius:14px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;display:grid}.market-emoji{text-align:center;font-size:26px}.market-product{overflow-wrap:anywhere;gap:3px;display:grid}.market-product small{color:var(--muted);font-size:11px}.market-sell{min-width:68px;min-height:44px;color:var(--green-dark);background:#edf4df;border:1px solid #ccd9ba;border-radius:11px;place-items:center;padding:5px 9px;display:grid}.market-sell span{font-size:11px}.market-empty{text-align:center;border:1px dashed #c4ccb2;border-radius:16px;padding:24px 12px}.market-empty p{color:var(--muted);font-size:13px}.farm-workshop-link{text-align:left;width:calc(100% - 24px);min-height:60px;color:var(--ink);background:#fffdf7;border:1px solid #d5dcc2;border-radius:16px;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;margin:12px;padding:8px 12px;display:grid}.farm-workshop-link strong,.farm-workshop-link small{display:block}.farm-workshop-link small{color:var(--muted);margin-top:3px}.workshop{gap:12px;display:grid}.workshop-machine{background:#fffdf7;border:1px solid #d8ddc8;border-radius:17px;padding:14px}.workshop-machine header{grid-template-columns:60px minmax(0,1fr);align-items:center;gap:10px;display:grid}.workshop-machine h2{margin:0;font:700 22px Georgia,serif}.workshop-machine p{color:var(--muted);margin:4px 0;font-size:13px}.machine-art{background:#e8edd3;border-radius:13px;place-items:center;width:56px;height:53px;display:grid;position:relative}.machine-art i,.machine-art b{display:block;position:absolute}.machine-art--mill i{background:linear-gradient(#b07a4d 35%,#e0b980 36%);border:2px solid #94643f;border-radius:9px 9px 4px 4px;width:25px;height:41px;bottom:5px}.machine-art--mill b{clip-path:polygon(45% 0,55% 0,55% 45%,100% 45%,100% 55%,55% 55%,55% 100%,45% 100%,45% 55%,0 55%,0 45%,45% 45%);background:#784b32;width:38px;height:38px;top:3px;left:9px;rotate:28deg}.machine-art--mill.working b{animation:3s linear infinite millSpin}@keyframes millSpin{to{rotate:388deg}}.machine-art--oven i{background:#b97451;border-radius:40% 40% 6px 6px;width:40px;height:36px;bottom:7px;box-shadow:inset 0 -4px #985638}.machine-art--oven b{background:#533e36;border-radius:50% 50% 3px 3px;width:22px;height:19px;bottom:10px}.machine-art--oven.working b{background:radial-gradient(at bottom,#ffe48a,#da733c 61%,#533e36 72%)}.machine-purchase{margin-top:10px}.machine-job{background:#e9efd6;border-radius:10px;gap:6px;margin-top:12px;padding:9px;display:grid}.machine-job span{color:var(--muted);font-size:13px}.machine-recipes,.recipe-inputs{gap:6px;padding:0;list-style:none;display:grid}.machine-recipes{margin:12px 0 0}.machine-recipes>li{background:#fffcf1;border:1px solid #ede4ca;border-radius:12px;padding:8px}.machine-recipes small{color:var(--muted);margin-top:3px;display:block}.recipe-inputs{flex-wrap:wrap;margin:7px 0;font-size:12px;display:flex}.recipe-inputs li{color:#315640;background:#eaf0dc;border-radius:6px;padding:4px 6px}.recipe-inputs .missing{color:#765137;background:#f7ecdb}.workshop .text-button{color:var(--green-dark);background:0 0;border:0;padding:6px;text-decoration:underline}.glossary summary{cursor:pointer;font-weight:800;line-height:1.5}.glossary dl{margin-bottom:0}.glossary dl div{border-top:1px solid #e1dfd2;grid-template-columns:1fr 1fr;gap:8px;padding:7px 0;display:grid}.glossary dt{font-weight:700}.glossary dd{color:var(--muted);margin:0}.glossary-search{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #d5dfc6;border-radius:12px;margin-top:12px;padding:10px 12px;font-size:16px}.practice-card h2{overflow-wrap:anywhere;margin:12px 0 6px;font-family:Georgia,serif;font-size:clamp(23px,7vw,34px);line-height:1.15}.practice-card p{color:var(--muted);margin:8px 0}.practice-card .race-options{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-card .race-options button{overflow-wrap:anywhere;padding:8px}.practice-card .race-options .correct{color:#284a28;background:#e2efd5;border-color:#789d68}.practice-card .race-options .incorrect{color:#782f24;background:#f7e5df;border-color:#b97466}.practice-card .practice-feedback{color:var(--ink);margin:14px 0;font-weight:600}.crop-action-modal,.decor-modal{text-align:center;background:#fffdf7;border-radius:24px;width:min(420px,100%);max-height:calc(100svh - 28px);padding:24px 18px 18px;animation:.22s ease-out rise;position:relative;overflow-y:auto;box-shadow:0 20px 50px #14231840}.crop-action-art{background:#edf4df;border-radius:22px;place-items:center;width:72px;height:72px;margin:0 auto 12px;font-size:44px;display:grid}.crop-action-modal h2,.decor-modal h2{margin:8px 0 6px;font-family:Georgia,serif;font-size:25px}.crop-action-modal p,.decor-modal>p{color:var(--muted);margin:0 0 16px;font-size:13px;line-height:1.5}.crop-action-modal .primary-button,.crop-action-modal .secondary-button,.decor-modal>.secondary-button{width:100%}.secondary-button{min-height:46px;color:var(--green-dark);background:#edf4df;border:1px solid #d5dfc6;border-radius:14px;margin-top:8px;padding:10px 14px;font-weight:800}.decor-choice-list{flex-direction:column;gap:7px;margin:14px 0;display:flex}.decor-choice-list button{min-height:58px;color:var(--ink);text-align:left;background:#fff;border:1px solid #e1dfd2;border-radius:14px;grid-template-columns:42px 1fr auto;align-items:center;gap:8px;padding:8px 12px;display:grid}.decor-choice-list button span{text-align:center;font-size:27px}.decor-choice-list button strong{font-size:13px}.decor-choice-list button small{color:var(--green);font-weight:800}.decor-choice-empty{color:var(--muted);background:#f5f4eb;border-radius:14px;padding:16px;font-size:13px}.daily-gift{width:calc(100% - 24px);min-height:64px;color:var(--ink);text-align:left;background:linear-gradient(135deg,#fffaf0,#f5f0dc);border:1px solid #d9d4bb;border-radius:18px;grid-template-columns:48px 1fr auto;align-items:center;gap:8px;margin:12px 12px 0;padding:8px 12px;display:grid;box-shadow:0 5px 14px #43523312}.gift-icon{background:#fff;border-radius:14px;place-items:center;width:44px;height:44px;font-size:25px;display:grid;box-shadow:0 4px 10px #7a68371a}.daily-gift div{flex-direction:column;display:flex}.daily-gift small{color:var(--muted);margin-top:2px}.daily-gift b{color:var(--green);background:#edf4df;border-radius:10px;padding:7px 9px;font-size:12px}.learning-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px;display:grid}.learning-stats div{background:#fff;border:1px solid #e1dfd2;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:70px;display:flex}.learning-stats b{color:var(--green);font-family:Georgia,serif;font-size:21px}.learning-stats small{color:var(--muted);text-align:center;margin-top:3px;font-size:10px}.onboarding-backdrop{align-items:center}.onboarding-modal{text-align:center;background:#fffdf7;border-radius:26px;width:min(420px,100%);padding:26px 20px 20px;animation:.28s ease-out rise;box-shadow:0 24px 60px #14231847}.onboarding-art{background:linear-gradient(145deg,#edf4df,#dce9c9);border-radius:28px;place-items:center;width:92px;height:92px;margin:0 auto 14px;font-size:54px;display:grid;box-shadow:inset 0 -6px #46643214}.onboarding-modal h2{margin:10px 0 8px;font-family:Georgia,serif;font-size:27px}.onboarding-modal p{color:var(--muted);margin:0 2px 14px;line-height:1.55}.onboarding-dots{justify-content:center;gap:5px;margin:12px 0 16px;display:flex}.onboarding-dots i{background:#dddcca;border-radius:50%;width:7px;height:7px}.onboarding-dots i.active{background:#74a65f;border-radius:5px;width:22px}.onboarding-next{width:100%}.brand{text-align:left;color:var(--ink);background:0 0;border:none;padding:0}.house{z-index:2;background:0 0;border:none;width:82px;height:74px;padding:0;transition:transform .18s,filter .18s;position:absolute;bottom:12px;left:42px}.house:hover{filter:drop-shadow(0 7px 4px #2748224d);transform:translateY(-3px)scale(1.04)}.house-hint{white-space:nowrap;color:var(--green);background:#fffdf7;border:1px solid #d9e3ca;border-radius:10px;padding:3px 8px;font-size:10px;font-weight:800;position:absolute;top:-19px;left:50%;transform:translate(-50%);box-shadow:0 3px 8px #28462a24}.house:after{content:"+";background:var(--green);color:#fff;border:2px solid #fffdf7;border-radius:50%;place-items:center;width:22px;height:22px;font-size:16px;font-weight:800;display:grid;position:absolute;top:-7px;right:-8px;box-shadow:0 3px 8px #28462a33}.house .roof,.house .house-wall{transition:background .2s,box-shadow .2s,border-color .2s}.house-level-2 .house-wall{box-shadow:inset 0 0 0 4px #fff4d2d9}.house-level-3 .house-wall{background:repeating-linear-gradient(45deg,#e0b976 0 8px,#d69a62 8px 10px);border-color:#6f4a36}.house-level-3 .roof{background:#824b38}.house-level-4 .house-wall{border-color:#694533;box-shadow:inset 0 0 0 4px #f1dfaa,0 4px 8px #46312029}.house-level-4 .roof{background:#784535}.house-level-5 .house-wall{background:#b78455;border-color:#593f30;box-shadow:inset 0 0 0 6px #e7c97e,0 6px 12px #46312033}.house-level-5 .roof{background:#6f3a2a}.shop-item:focus-visible,.shop-info-button:focus-visible{z-index:3;position:relative}.house-modal{text-align:center;background:#fffdf7;border-radius:26px;width:min(420px,100%);padding:24px 18px 18px;animation:.24s ease-out rise;position:relative;box-shadow:0 24px 60px #14231847}.house-modal h2{margin:12px 0 5px;font-family:Georgia,serif;font-size:24px}.house-modal p{color:var(--muted);margin:0 0 15px;font-size:12px;line-height:1.5}.house-modal .primary-button{width:100%}.house-preview{background:linear-gradient(160deg,#b5d4c7 0 58%,#82ad68 59%);border-radius:18px;width:210px;height:145px;margin:12px auto 4px;position:relative;overflow:hidden}.preview-roof{z-index:2;clip-path:polygon(50% 0,100% 68%,100% 58%,0 58%,0 68%);background:#9d5b3e;width:122px;height:54px;position:absolute;top:23px;left:50%;transform:translate(-50%)}.preview-wall{z-index:1;background:#dcae69;border:5px solid #8b603f;border-radius:4px 4px 8px 8px;width:104px;height:72px;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.preview-wall i{background:#85aeb1;border:4px solid #f1dfaa;width:20px;height:20px;position:absolute;top:16px;left:13px}.preview-wall b{background:#6e4938;border-radius:10px 10px 0 0;width:24px;height:46px;position:absolute;bottom:0;right:13px}.house-preview.level-2 .preview-wall{box-shadow:inset 0 0 0 7px #fff4d2b3}.house-preview.level-3 .preview-wall{background:repeating-linear-gradient(45deg,#e0b976 0 8px,#d69a62 8px 10px);border-color:#6f4a36}.house-preview.level-4 .preview-wall{box-shadow:0 -18px 0 -12px #6e4938,inset 0 0 0 7px #fff4d2cc}.house-preview.level-5 .preview-wall{background:#b78455;border-color:#593f30;box-shadow:inset 0 0 0 8px #e7c97e,0 8px 12px #4631202e}
