/* Farm-only visual layer on the actual production DOM and handlers. */
.app-shell.farm-active{container-type:inline-size;position:relative;min-width:0!important;max-width:480px!important;width:100vw!important;min-height:177.2cqw;margin:auto;padding:0 0 22cqw;background:#76a52f url('/assets/farm-reference/reference-background-ad9bbfa05d3ea57b.webp') center top/100% auto no-repeat;color:#442408;overflow:hidden}
.app-shell.farm-active .farm-sky{background-image:url('/assets/farm-reference/reference-background-ad9bbfa05d3ea57b.webp')!important;background-position:center top!important;background-size:100% 100%!important;background-repeat:no-repeat!important}
.farm-active .topbar{position:relative;inset:auto;display:flex;align-items:center;height:17cqw;padding:2cqw 4cqw;gap:1.5cqw;background:none;border:0;box-shadow:none}
.farm-active .profile-chip{width:10cqw;height:11cqw;flex:none;position:relative;padding:0;background:none;border:0}
.farm-active .profile-portrait{width:100%;height:100%;border:2px solid #f7bb38;border-radius:3cqw;overflow:hidden;background:#b27e27}
.farm-active .profile-portrait img{width:100%;height:100%;object-fit:cover}
.farm-active .profile-chip>b{position:absolute;bottom:-1cqw;right:-1cqw;background:#44af25;color:white;border:2px solid #2d771c;border-radius:50%;width:5cqw;height:5cqw;display:grid;place-items:center;font-size:3cqw}
.farm-active .brand{font-size:5cqw;min-width:0;margin-right:auto;white-space:nowrap;color:#ffab0c;text-shadow:0 2px #a96017}
.farm-active .brand svg{width:4cqw;height:4cqw}
.farm-active .balance{display:flex;align-items:center;gap:.5cqw;min-width:0;padding:.5cqw;background:linear-gradient(#b6772d,#77400e);border:2px solid #dba344;border-radius:5cqw;height:7cqw;box-shadow:inset 0 1px #ffd391}
.farm-active .balance i{width:6cqw;height:6cqw;flex:none}.farm-active .balance i img{width:100%;height:100%;object-fit:contain}
.farm-active .balance strong{font-size:3cqw;color:#fff7dc;font-variant-numeric:tabular-nums;white-space:nowrap}
.farm-active .balance button{width:4cqw;height:4cqw;min-width:0;background:#48b32c;border-radius:50%;padding:0;color:white}.farm-active .balance button svg{width:4cqw;height:4cqw}
.farm-active .xp-row{position:absolute;left:35%;top:20cqw;width:35%;height:7cqw;margin:0;z-index:3}
.farm-active .xp-row>span{width:7cqw;height:8cqw;font-size:4cqw;background:#51c126;border:2px solid #32851b;border-radius:2cqw;transform:rotate(-8deg)}
.farm-active .xp-row>div{height:5cqw;background:#328c18;border:1px solid #5ca637}.farm-active .xp-row b{font-size:2.5cqw}.farm-active .xp-row>svg{width:6cqw;height:7cqw}
.farm-active .page-content{padding:0;margin:0}.farm-active .farm-page{position:relative;display:block;padding:0;height:137cqw;min-height:0;background:none}
.farm-active .farm-overview{position:static;display:block;padding:0;margin:0;background:none}
.farm-active .daily-card,.farm-active .resources,.farm-active .market-board{position:absolute;border:0;border-radius:0;box-shadow:none;background:url('/assets/farm-reference/panel.webp') center/100% 100% no-repeat;color:#442408;z-index:2}
.farm-active .daily-card{left:3%;top:1cqw;width:30%;height:31cqw;padding:3cqw;text-align:center;display:block}
.farm-active .daily-card .eyebrow{font-size:3.1cqw;font-weight:800;margin:0 0 2cqw;color:#442408}.farm-active .daily-card>strong{font-size:3cqw;line-height:1.15}.farm-active .progress-label{margin:1cqw 0;color:#258e23;font-size:3.5cqw}.farm-active .daily-card .progress{height:2cqw;margin:0}.farm-active .daily-reward{margin:1.5cqw 0 0;font-size:3cqw}.farm-active .coin-inline{width:4.5cqw;height:4.5cqw}
.farm-active .resources{right:3%;top:5cqw;width:24%;height:29cqw;padding:3cqw 2cqw;display:block}.farm-active .resources>div{display:flex;align-items:center;justify-content:space-between;height:7.5cqw;padding:0;border-bottom:1px solid #bb823b55}.farm-active .resources>div:last-child{border:0}.farm-active .resources span{font-size:5cqw}.farm-active .resources p{margin:0;font-size:4cqw}.farm-active .resources svg{width:4cqw;height:4cqw;background:#48af26;border-radius:50%;color:white}
.farm-active .farmer-character{position:absolute;left:7%;top:34cqw;width:31%;height:37cqw;inset-inline-end:auto;transform:none;background:none;pointer-events:none}.farm-active .farmer-character img{content:url('/assets/farm-reference/farmer-cat.webp');width:100%;height:100%;object-fit:contain;transform:none}
.farm-active .market-board{left:auto;right:12%;top:38cqw;bottom:auto;width:36%;height:29cqw;padding:3cqw 4cqw;transform:none}.farm-active .market-board>span{font-size:3cqw;display:block;text-align:center;margin-bottom:1cqw}.farm-active .market-price{display:grid;grid-template-columns:6cqw 1fr 4cqw;gap:1cqw;height:6cqw;font-size:3cqw;margin:0}.farm-active .market-price span{font-size:4cqw}.farm-active .market-price strong{font-size:3cqw}
.farm-active .plots-grid{position:absolute;left:5%;right:5%;top:73cqw;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,18cqw);column-gap:3cqw;row-gap:1.7cqw;padding:0;margin:0;background:none}
.farm-active .plots-grid .plot{position:relative;inset:auto;width:100%;height:18cqw;min-height:0;aspect-ratio:auto;padding:0;background:none!important;border:0;box-shadow:none;overflow:visible;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.farm-active .plot:before,.farm-active .plot:after{display:none!important}.farm-active .plot>strong{font-size:3cqw;color:#fff0c9;text-shadow:0 1px #56321c;margin:0}.farm-active .plot.growing>strong,.farm-active .plot.ready>strong{display:none}.farm-active .plot>svg{width:5cqw;height:5cqw;color:#ffe1a0;filter:drop-shadow(0 1px #67351c)}
.farm-active .plot .crop-art{position:absolute;top:-4cqw;left:12%;width:76%;height:17cqw;object-fit:contain;transform:none}
.farm-active .plot-status{position:absolute;left:10%;right:10%;bottom:1cqw;min-height:4cqw;padding:.3cqw;border:1px solid #bf843c;border-radius:1cqw;background:#8a501f;color:#fff5dd;display:flex;align-items:center;justify-content:center;gap:.4cqw;font-size:2.8cqw;white-space:nowrap}.farm-active .plot-status button{padding:0;width:4cqw;height:4cqw;min-width:0;background:none;border:0;font-size:3cqw}.farm-active .plot-status.ready-pill{background:#42ab25}
.farm-active .bottom-nav{position:absolute;left:2%;right:auto;bottom:auto;top:151cqw;width:96%;max-width:none;transform:none;min-height:17cqw;z-index:5}.farm-active .bottom-nav button{font-size:2.7cqw;min-width:0}.farm-active .bottom-nav svg{width:5cqw;height:5cqw}
@media(min-width:481px){body:has(.app-shell.farm-active){background:#173b25}.app-shell.farm-active{min-height:851px}}
/* Neutralize production scene layers and fixed-position overrides. */
.app-shell.farm-active:before,.app-shell.farm-active:after{display:none!important}
.app-shell.farm-active{height:auto!important;min-height:177.2cqw!important;background-image:url('/assets/farm-reference/reference-background-ad9bbfa05d3ea57b.webp')!important;background-size:100% auto!important}
.farm-active .topbar{transform:none!important;margin:0!important}
.farm-active .brand{flex:1 1 auto!important;min-width:16cqw;font-size:5cqw!important;display:flex!important;gap:0!important}
.farm-active .balance{flex:0 0 auto!important;width:auto!important;max-width:none!important;gap:.5cqw!important}
.farm-active .balance button{position:static!important;transform:none!important;display:grid!important;place-items:center}
.farm-active .balance button svg{opacity:1!important}
.farm-active .balance:before,.farm-active .balance:after{display:none!important}
.farm-active .resources>div>span,.farm-active .resources>div>p,.farm-active .resources>div>svg{position:static!important;transform:none!important;opacity:1!important;display:block!important}
.farm-active .resources>div>p{width:auto!important}
.farm-active .bottom-nav{left:2%!important;transform:none!important;top:151cqw!important;bottom:auto!important}
.farm-active .daily-card>strong{display:block;margin:0!important}.farm-active .daily-card .progress-label{position:static!important;transform:none!important}
.farm-active .daily-card .progress-label span{opacity:1!important;color:#278c21!important;font-size:3.5cqw!important;display:block!important}
.farm-active .balance button:after{content:'+';display:block;font-size:4cqw;line-height:1;color:white}.farm-active .balance button svg{display:none!important}
/* Reference composition: coordinates shared with the baked 942x1669 scene. */
.app-shell.farm-active{min-height:calc(min(100vw,480px)*1.772)!important;padding:0!important;font-family:Arial,Helvetica,sans-serif}
.farm-active .topbar{height:17cqw;padding:4cqw 4cqw 2cqw}.farm-active .brand{font-size:5.6cqw!important;font-weight:900}
.farm-active .balance{height:7cqw;padding:0 .8cqw 0 0;border-width:2px;box-shadow:inset 0 2px #edb75a,0 2px 2px #75471980}.farm-active .balance i{width:7cqw;height:7cqw;margin-left:-1cqw}.farm-active .balance strong{font-size:3.1cqw!important}.farm-active .balance button{width:4.6cqw;height:4.6cqw;box-shadow:inset 0 1px #bcf27e,0 1px #287a14}
.farm-active .daily-card{top:1cqw;left:2%;width:31%;height:31cqw;padding:4cqw 4cqw 2cqw}.farm-active .daily-card .eyebrow{display:flex;align-items:center;justify-content:center;gap:1cqw;font-size:3cqw;margin:0 0 3cqw;font-weight:800;white-space:nowrap}.farm-active .daily-heading-icon{font-size:4cqw}.farm-active .daily-card>strong{font-size:2.8cqw;white-space:nowrap}.farm-active .daily-card .progress-label{display:block!important;opacity:1!important;margin:1.5cqw 0!important;height:4cqw}.farm-active .daily-card .progress-label span{position:static!important;transform:none!important;color:#23861e!important}.farm-active .daily-card .progress{height:2cqw;background:#cfb17f;margin:0!important}.farm-active .daily-reward{display:flex;align-items:center;justify-content:space-between;margin-top:2cqw!important;font-size:3.5cqw}.farm-active .daily-reward b{display:flex;align-items:center;gap:1cqw}.farm-active .daily-go{display:grid;place-items:center;width:4.7cqw;height:4.7cqw;border-radius:50%;border:1px solid #e6b76b;background:#f5c67c;color:#9c541a;font-size:5cqw;line-height:1;padding:0}
.farm-active .xp-row{left:35%;top:20cqw;width:36%;height:7cqw;display:flex;align-items:center;gap:0}.farm-active .xp-row>span{display:grid;place-items:center;width:7cqw;flex:none;z-index:2}.farm-active .xp-row>div{position:relative;flex:1;border-radius:0 3cqw 3cqw 0;overflow:hidden}.farm-active .xp-row>div b{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:2.7cqw;text-shadow:0 1px #327818}.farm-active .xp-row>svg{display:block!important;opacity:1!important;width:6cqw;height:7cqw;flex:none;fill:#fda20d;color:#f75319}
.farm-active .resources{top:2cqw;right:1%;width:28%;height:34cqw;padding:0;background-image:url('/assets/resources-panel-Bhb6WhJs-d808d23128240deb.webp');background-size:100% 100%}.farm-active .resources>div{position:relative;height:9cqw;top:3.5cqw;border:0;padding:0}.farm-active .resources>div>span,.farm-active .resources>div>svg{visibility:hidden!important}.farm-active .resources>div>p{position:absolute!important;left:52%;top:50%;transform:translate(-50%,-50%)!important;margin:0!important;font-size:3.5cqw}.farm-active .resources b{font-size:3.5cqw}
.farm-active .farmer-character{top:33cqw;left:7%;width:32%;height:38cqw;z-index:2}
.farm-active .market-board{top:34cqw;right:10%;width:39%;height:34cqw;padding:9cqw 7cqw 5cqw;background-image:url('/assets/market-board-legs-alpha-BXItDcdN-11465bce5145940e.webp');background-size:100% 100%}.farm-active .market-board>span{font-size:2.8cqw;white-space:nowrap;font-weight:800;margin-bottom:1cqw}.farm-active .market-price{grid-template-columns:5cqw 1fr 3cqw;height:5cqw;gap:.5cqw}.farm-active .market-price strong{font-size:2.6cqw}.farm-active .market-price span{font-size:3.7cqw}.farm-active .market-price em{font-size:4cqw}
.farm-active .plot .crop-art{opacity:0;pointer-events:none}
.farm-active .plots-grid .plot:has(.crop-art):before{content:'';display:block!important;position:absolute;left:0;top:-4.5cqw;width:100%;height:25cqw;background:url('/assets/farm-reference/crops-atlas-67686cfe2831b3a8.webp') 0 0/300% 100% no-repeat;pointer-events:none;z-index:1}
.farm-active .plots-grid .plot:has(.crop-art[src*='orange']):before{background-position:50% 0}
.farm-active .plots-grid .plot:has(.crop-art[src*='strawberry']):before{background-position:100% 0}
.farm-active .plot-status{bottom:1cqw;left:8%;right:8%;height:5cqw;border-radius:1.4cqw;font-size:3.1cqw;z-index:2;box-shadow:0 1px #5b3018;background:linear-gradient(#a96b30,#784212)}
.farm-active .plot-status button{font-size:3.4cqw}.farm-active .plot>svg{width:5.5cqw;height:5.5cqw;stroke-width:2.5;color:#ffe1a0;fill:#dba55355}.farm-active .plot.locked{gap:1cqw}.farm-active .plot.locked>strong{font-size:3cqw;font-weight:700;line-height:1.1}
.farm-active .bottom-nav{top:151cqw!important;min-height:19cqw;padding:1.4cqw!important;gap:.8cqw!important;border-radius:5cqw}.farm-active .bottom-nav button{font-family:Arial,Helvetica,sans-serif!important;font-size:3cqw!important;min-height:15cqw;border-radius:3cqw!important;gap:1cqw!important}.farm-active .bottom-nav svg{width:5.5cqw!important;height:5.5cqw!important;stroke-width:2}
@media(prefers-reduced-motion:no-preference){.farm-active .plot.ready{animation:crop-ready 2.5s ease-in-out infinite}@keyframes crop-ready{50%{filter:brightness(1.1)}}}
.farm-active .daily-card .eyebrow{position:absolute!important;left:12%;right:12%;top:4cqw;margin:0!important}
.farm-active .daily-card>strong{position:absolute!important;left:12%;right:12%;top:11cqw;line-height:1.2}
.farm-active .daily-card .progress-label{position:absolute!important;left:12%;right:12%;top:15cqw;margin:0!important}
.farm-active .daily-card .progress{position:absolute!important;left:15%;right:15%;top:20cqw;width:auto!important}
.farm-active .daily-card .daily-reward{position:absolute!important;left:15%;right:12%;top:21.8cqw;width:auto!important;margin:0!important;z-index:2}
.farm-active .daily-reward .coin-inline{width:4.3cqw;height:4.3cqw}
.farm-active .market-price em{position:static!important;inset:auto!important;transform:none!important;display:block!important;line-height:1!important;text-align:center!important}
.farm-active .market-price strong{position:static!important;transform:none!important;line-height:1!important}

/* Final composition matched to the supplied 942 × 1669 reference plate. */
.farm-active .daily-card{left:2.5%!important;top:.5cqw!important;width:32%!important;height:35cqw!important}
.farm-active .daily-card .eyebrow{top:5cqw!important;font-size:3.4cqw!important}
.farm-active .daily-card>strong{top:12cqw!important;font-size:3.25cqw!important}
.farm-active .daily-card .progress-label{top:17cqw!important}
.farm-active .daily-card .progress{top:22cqw!important;height:2.5cqw!important}
.farm-active .daily-card .daily-reward{top:26cqw!important;font-size:3.8cqw!important}
.farm-active .xp-row{left:35%;top:17.5cqw;width:36%;height:8cqw}
.farm-active .xp-row>span{width:8cqw;height:9cqw;font-size:4.8cqw}
.farm-active .xp-row>div{height:6cqw}
.farm-active .xp-row>div b{font-size:3cqw}
.farm-active .resources{top:1cqw!important;right:1%!important;width:28%!important;height:35cqw!important}
.farm-active .resources>div{height:9.3cqw;top:3.6cqw}
.farm-active .resources b{font-size:4cqw}
.farm-active .farmer-character{left:7%!important;top:28cqw!important;width:39%!important;height:47cqw!important}
.farm-active .market-board{top:35cqw!important;right:8%!important;width:43%!important;height:34cqw!important}
.farm-active .market-board>span{font-size:3.3cqw!important}
.farm-active .market-price{height:5.5cqw!important;grid-template-columns:5.5cqw 1fr 3.5cqw!important}
.farm-active .market-price strong{font-size:3.15cqw!important}
.farm-active .market-price span{font-size:4.2cqw!important}
.farm-active .market-price em{font-size:5cqw!important;font-weight:900!important}
.farm-active .bottom-nav{top:148cqw!important;min-height:21cqw!important}
.farm-active .bottom-nav button{min-height:17cqw!important}
.farm-active .plots-grid .plot:has(.crop-art[alt='Mango']):before,.farm-active .plots-grid .plot:has(.crop-art[alt='Манго']):before{background-position:50% 0}

/* The small foreground details sit on the corresponding beds in the supplied scene. */
.app-shell.farm-active{font-family:Nunito,Arial,sans-serif!important}
.farm-active .daily-card,.farm-active .resources,.farm-active .market-board,.farm-active .bottom-nav,.farm-active .plot-status,.farm-active .plot.locked>strong{font-family:Nunito,Arial,sans-serif!important}
.farm-active .daily-card .eyebrow,.farm-active .market-board>span,.farm-active .bottom-nav button,.farm-active .plot.locked>strong{font-weight:900!important}
.farm-active .bottom-nav button{font-family:Nunito,Arial,sans-serif!important}
.farm-active .plot-status{left:15%!important;right:15%!important;bottom:1.2cqw!important;height:5.1cqw!important;min-height:0!important;padding:0 .7cqw!important;gap:.4cqw!important;border:1px solid #5b2c0b!important;border-radius:.75cqw!important;background:linear-gradient(180deg,#a55c23 0%,#713608 52%,#874516 100%)!important;box-shadow:inset 0 1px #e4a055,0 2px 2px #3f230f88!important;color:#fff6e6!important;font-size:3.15cqw!important;font-weight:900!important;text-shadow:0 1px 2px #351607!important;font-variant-numeric:tabular-nums}
.farm-active .plot-status span{font-size:inherit!important;line-height:1!important;white-space:nowrap}
.farm-active .plot-status .plot-water{flex:none;width:4.1cqw!important;height:4.1cqw!important;font-size:0!important;line-height:0!important;background:url('/assets/farm-reference/water.webp') center/contain no-repeat!important;filter:drop-shadow(0 1px 1px #381b0b)}
.farm-active .plot-status .plot-fertilizer{display:none!important}
.farm-active .plot.locked>svg{position:absolute!important;left:50%!important;top:17%!important;transform:translateX(-50%)!important;width:7.3cqw!important;height:7.3cqw!important;color:transparent!important;stroke:transparent!important;fill:transparent!important;background:url('/assets/farm-reference/gold-lock.webp') center/contain no-repeat!important;filter:drop-shadow(0 1px 1px #3e1a0b)!important}
.farm-active .plot.locked>strong{position:absolute!important;left:50%!important;top:57%!important;transform:translateX(-50%)!important;width:67%!important;min-height:4.7cqw!important;padding:.2cqw .4cqw!important;display:grid!important;place-items:center!important;border:1px solid #774014!important;border-radius:1.1cqw!important;background:linear-gradient(#92501c,#69310b)!important;box-shadow:inset 0 1px #cc8d4b,0 1px 1px #29130777!important;color:#ffe2ab!important;font-size:2.85cqw!important;line-height:1!important;text-align:center!important;white-space:nowrap!important;text-shadow:0 1px #40200e!important}
.farm-active .market-board .market-price span{width:4.5cqw!important;height:4.5cqw!important;display:block!important;font-size:0!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}
.farm-active .market-board .market-price:nth-of-type(1) span{background-image:url('/assets/apple-fruit-C_kBsfcx-cd938cad113f0aef.webp')!important}
.farm-active .market-board .market-price:nth-of-type(2) span{background-image:url('/assets/mango-fruit-CvgnABPb-0eaaa01337aca4e5.webp')!important}
.farm-active .market-board .market-price:nth-of-type(3) span{background-image:url('/assets/strawberry-fruit-Brs-mweG-4fd5095df261867a.webp')!important}
.farm-active .market-board .market-price em{position:relative!important;width:3.3cqw!important;height:4cqw!important;overflow:visible!important;font-size:0!important;line-height:0!important}
.farm-active .market-board .market-price em:before{content:'';position:absolute;inset:0;background:linear-gradient(#6ce34b,#138d25);clip-path:polygon(50% 0,100% 45%,68% 45%,68% 100%,32% 100%,32% 45%,0 45%);filter:drop-shadow(0 1px #286610)}
.farm-active .market-board .market-price.down em:before{background:linear-gradient(#ff5444,#d71718);transform:rotate(180deg)}
.farm-active .market-board{top:33cqw!important;right:10.5%!important;height:36cqw!important}

/* Keep the top widgets locked to their artwork at every mobile width. */
.farm-active .topbar{display:block!important;position:relative!important;width:100%!important}
.farm-active .topbar .profile-chip{position:absolute!important;left:4%!important;top:4cqw!important;margin:0!important}
.farm-active .topbar .brand{position:absolute!important;left:15%!important;top:6cqw!important;width:22%!important;min-width:0!important;margin:0!important;white-space:nowrap!important}
.farm-active .topbar .balance{position:absolute!important;top:6cqw!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0!important;min-width:0!important}
.farm-active .topbar .balance.gold{right:27%!important;width:24%!important}
.farm-active .topbar .balance.blue{right:3%!important;width:21.5%!important}
.farm-active .topbar .balance strong{flex:1 1 auto!important;min-width:0!important;text-align:center!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
.farm-active .topbar .balance i,.farm-active .topbar .balance button{flex:none!important}
.farm-active .daily-card .eyebrow{left:7%!important;right:7%!important;font-size:3.1cqw!important;gap:.5cqw!important}
.farm-active .daily-card .daily-heading-icon{font-size:3.7cqw!important;flex:none!important}
.farm-active .daily-card>strong{left:7%!important;right:7%!important;font-size:3.05cqw!important}
.farm-active .daily-card .daily-reward{left:12%!important;right:8%!important;align-items:center!important}
.farm-active .daily-card .daily-reward b{flex:none!important;white-space:nowrap!important}
.farm-active .daily-card .daily-go{flex:none!important}
.farm-active .xp-row{left:39%!important;width:32%!important}
.farm-active .xp-row>svg{display:none!important}
.farm-active .xp-row>div{min-width:0!important}
.farm-active .xp-row>div b{white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.farm-active .resources>div{position:absolute!important;left:0!important;right:0!important;width:100%!important;height:26.6%!important;top:auto!important;display:block!important;margin:0!important;padding:0!important}
.farm-active .resources>div:nth-child(1){top:10.3%!important}
.farm-active .resources>div:nth-child(2){top:36.9%!important}
.farm-active .resources>div:nth-child(3){top:63.5%!important}
.farm-active .resources>div>span,.farm-active .resources>div>svg{display:none!important}
.farm-active .resources>div>p{position:absolute!important;left:52%!important;top:50%!important;width:25%!important;margin:0!important;transform:translate(-50%,-50%)!important;text-align:center!important;line-height:1!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.farm-active .resources>div>p b{font-size:4cqw!important;line-height:1!important}
.farm-active .daily-card .daily-go{background:#f6c781!important;border:1px solid #d99548!important;box-shadow:inset 0 1px #ffe6ad,0 1px #80461977!important;color:#8e430e!important;font-weight:900!important;opacity:1!important}

/* The daily reward replaces the title, leaving the task and progress unclipped. */
.farm-active .daily-card .eyebrow{top:4.5cqw!important;left:16%!important;right:16%!important;height:5.5cqw!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.8cqw!important;overflow:hidden!important;font-size:0!important;line-height:0!important;color:transparent!important}
.farm-active .daily-card .eyebrow .daily-heading-icon{display:none!important}
.farm-active .daily-card .eyebrow:before{content:'';display:block;flex:none;width:5cqw;height:5cqw;background:url('/assets/lootify-coins-avatar-BDWo6qbS-f1a5d3971ec19839.webp') center/contain no-repeat}
.farm-active .daily-card .eyebrow:after{content:attr(data-reward);display:block;color:#542508;font-size:3.8cqw;line-height:1.1;font-weight:900;white-space:nowrap;text-shadow:0 1px #fff0c5}
.farm-active .daily-card .daily-reward b{display:none!important}
.farm-active .daily-card .daily-reward{justify-content:flex-end!important;right:12%!important}
.farm-active .daily-card .daily-go{width:5cqw!important;height:5cqw!important;font-size:5cqw!important;line-height:1!important}
/* Each counter is centered in the printed row of the resource-board artwork. */
.farm-active .resources>div>p{display:grid!important;place-items:center!important;height:72%!important;min-height:0!important;padding:0!important;line-height:1!important}
.farm-active .resources>div>p b{display:block!important;position:static!important;margin:0!important;padding:0!important;transform:none!important;line-height:1!important;text-align:center!important;font-variant-numeric:tabular-nums!important}

/* Compact reward heading and remove the old divider. */
.farm-active .daily-card .eyebrow{top:5.6cqw!important;height:4.5cqw!important;gap:.5cqw!important;border:0!important;border-bottom:0!important;box-shadow:none!important}
.farm-active .daily-card .eyebrow:before{width:3.8cqw!important;height:3.8cqw!important}
.farm-active .daily-card .eyebrow:after{font-size:3.1cqw!important}

/* Place the coin reward in the lower board compartment. */
.farm-active .daily-card .eyebrow{top:26cqw!important;left:14%!important;right:34%!important;height:5cqw!important;justify-content:flex-start!important}
.farm-active .daily-card>strong{top:7cqw!important}
.farm-active .daily-card .progress-label{top:13cqw!important}
.farm-active .daily-card .progress{top:18.5cqw!important}

/* A single proportional game canvas: fit inside both viewport dimensions. */
body:has(.app-shell.farm-active){min-width:0!important;min-height:100dvh!important;background:#173b25!important}
#root:has(.app-shell.farm-active){position:relative;isolation:isolate;display:grid;place-items:center;min-height:100dvh;overflow:hidden}
#root:has(.app-shell.farm-active):before{content:'';position:fixed;inset:-24px;z-index:-1;pointer-events:none;background:url('/assets/farm-reference/reference-background-ad9bbfa05d3ea57b.webp') center/cover no-repeat;filter:blur(18px) brightness(.5) saturate(.9)}
.app-shell.farm-active{width:var(--farm-canvas-width,min(100vw,480px,calc(100dvh / 1.772)))!important;max-width:none!important;height:auto!important;aspect-ratio:500 / 886!important;min-height:0!important;max-height:100dvh!important;margin:auto!important;background-size:100% 100%!important;box-shadow:0 0 40px #10291399!important;transform:scaleY(var(--farm-canvas-stretch,1))!important;transform-origin:center center!important}
.app-shell.farm-active .farm-sky{background-size:100% 100%!important}

/* Coin reward only: no separator or extra arrow in the board footer. */
.farm-active .daily-card .daily-reward{display:none!important;border:0!important}
.farm-active .daily-card .eyebrow{top:24cqw!important;left:50%!important;right:6%!important;justify-content:flex-start!important}
.farm-active .daily-card .eyebrow{left:15%!important;right:15%!important;justify-content:center!important}
.farm-active .resources>div:nth-child(3)>p{top:45%!important}

/* Bed controls and compact contextual planting/care menus. */
.farm-active .plot.empty>svg,.farm-active .plot.empty>strong{transform:translateY(2.5cqw)!important}
.farm-active .plot:has(.farm-plot-menu){z-index:20!important}
.farm-native-seed-hidden{visibility:hidden!important;pointer-events:none!important;opacity:0!important}
.farm-active .farm-plot-menu{position:absolute;left:50%;bottom:88%;z-index:30;transform:translateX(-50%);display:flex;align-items:center;gap:.7cqw;width:max-content;max-width:32cqw;padding:1cqw;border:.7cqw solid #844313;border-radius:2.2cqw;background:linear-gradient(#f9dfa0,#e8ad5c);box-shadow:inset 0 0 0 .35cqw #ffedb8,0 .8cqw 1.5cqw #36190799}
.farm-active .farm-plot-menu:after{content:'';position:absolute;left:calc(50% - 1.2cqw);top:100%;border-left:1.2cqw solid transparent;border-right:1.2cqw solid transparent;border-top:1.6cqw solid #844313}
.farm-active .farm-plot-menu-choice,.farm-active .farm-plot-menu-close{display:grid;place-items:center;flex:none;width:6.5cqw;height:6.5cqw;min-width:0;padding:.45cqw;border:.35cqw solid #8d4b1b;border-radius:1.2cqw;background:linear-gradient(#fff3c6,#f3ce83);box-shadow:inset 0 .3cqw #fff9dd,0 .35cqw #70401955;touch-action:manipulation}
.farm-active .farm-plot-menu-choice img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 .2cqw .15cqw #6d3b1b66)}
.farm-active .farm-plot-menu-choice:disabled{opacity:.45;filter:grayscale(.55)}
.farm-active .farm-plot-menu-close{color:#7a2d18;background:linear-gradient(#ffdbab,#e79b65);font-size:5cqw;font-weight:900;line-height:1}
.farm-active .plot-status .plot-water,.farm-active .plot-status .plot-fertilizer,.farm-active .plot .fertilized{display:none!important}
.farm-active .plot-status:not(.ready-pill){left:9%!important;right:9%!important;gap:.45cqw!important}
.farm-active .plot-status .farm-care-flags{display:flex!important;align-items:center;gap:.1cqw;flex:none;margin-right:.3cqw;font-size:0!important;line-height:0!important}
.farm-active .plot-status .farm-care-flags img{display:block;width:3.3cqw;height:3.3cqw;object-fit:contain}

/* A thumb-sized, floating choice row with distinct wooden fruit buttons. */
.farm-active .plot.empty>svg{transform:translateY(-1.5cqw)!important}
.farm-active .plot.empty>strong{transform:translateY(2.5cqw)!important}
.farm-active .farm-plot-menu{bottom:94%;gap:2.5cqw;max-width:none;padding:1cqw;border:0;border-radius:0;background:none;box-shadow:none;animation:farm-menu-rise .22s cubic-bezier(.2,1.25,.35,1) both}
.farm-active .farm-plot-menu:after{display:none}
.farm-active .farm-plot-menu-choice{width:13cqw;height:13cqw;padding:1.25cqw;border:.7cqw solid #874410;border-radius:50%;background:radial-gradient(circle at 38% 23%,#fff8d3,#f9d47d 60%,#c98034);box-shadow:inset 0 .5cqw #fff9df,inset 0 -.5cqw #b66c29,0 .8cqw 1.2cqw #3216088c;transition:transform .15s ease,filter .15s ease}
.farm-active .farm-plot-menu-choice img{width:100%;height:100%;filter:drop-shadow(0 .4cqw .2cqw #6d3b1b77)}
.farm-active .farm-plot-menu-choice:active{transform:scale(.9)}
.farm-active .farm-plot-menu-choice:nth-child(2){transform:translateY(-2cqw);animation:farm-choice-pop .25s .05s backwards}
.farm-active .farm-plot-menu-choice:nth-child(3){animation:farm-choice-pop .25s .1s backwards}
.farm-active .farm-plot-menu-close{width:11cqw;height:11cqw;margin-left:.5cqw;padding:0;border:.7cqw solid #8d421d;border-radius:50%;background:radial-gradient(circle at 35% 20%,#ffe1b1,#e98d54);box-shadow:inset 0 .4cqw #fff0cf,inset 0 -.4cqw #bc5e30,0 .7cqw 1cqw #32160877;font-size:7cqw}
@keyframes farm-menu-rise{from{opacity:0;transform:translate(-50%,3cqw) scale(.82)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes farm-choice-pop{from{opacity:0;transform:translateY(2cqw) scale(.65)}to{opacity:1;transform:translateY(-2cqw) scale(1)}}
.farm-active .plots-grid .plot:nth-child(3n + 1) .farm-plot-menu{left:-2cqw;transform:none;animation:farm-menu-edge-rise .22s cubic-bezier(.2,1.25,.35,1) both}
.farm-active .plots-grid .plot:nth-child(3n) .farm-plot-menu{left:auto;right:-2cqw;transform:none;animation:farm-menu-edge-rise .22s cubic-bezier(.2,1.25,.35,1) both}
@keyframes farm-menu-edge-rise{from{opacity:0;transform:translateY(3cqw) scale(.82)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Three fruit choices surround a centered close button. */
.farm-active .farm-plot-menu-seed{display:block;width:48cqw;height:29cqw;bottom:88%;padding:0}
.farm-active .farm-plot-menu-seed .farm-plot-menu-choice,.farm-active .farm-plot-menu-seed .farm-plot-menu-close{position:absolute;margin:0;animation:none}
.farm-active .farm-plot-menu-seed .farm-plot-menu-choice:nth-child(1){left:0;top:14cqw}
.farm-active .farm-plot-menu-seed .farm-plot-menu-choice:nth-child(2){left:17.5cqw;top:0;transform:none}
.farm-active .farm-plot-menu-seed .farm-plot-menu-choice:nth-child(3){right:0;top:14cqw;transform:none}
.farm-active .farm-plot-menu-seed .farm-plot-menu-close{left:18.5cqw;top:15cqw}
.farm-active .farm-plot-menu-care{display:block;width:43cqw;height:15cqw;bottom:94%;padding:0}
.farm-active .farm-plot-menu-care .farm-plot-menu-choice,.farm-active .farm-plot-menu-care .farm-plot-menu-close{position:absolute;margin:0;animation:none}
.farm-active .farm-plot-menu-care .farm-plot-menu-choice:nth-child(1){left:0;top:1cqw}
.farm-active .farm-plot-menu-care .farm-plot-menu-choice:nth-child(2){right:0;top:1cqw;transform:none}
.farm-active .farm-plot-menu-care .farm-plot-menu-close{left:16cqw;top:2cqw}

/* Bed artwork and hit areas share one width-based coordinate system. */
.app-shell.farm-active,.app-shell.farm-active .farm-sky{background-size:100% auto!important;background-position:center top!important;background-repeat:no-repeat!important}
.farm-active .plots-grid .plot.empty>svg,.farm-active .plots-grid .plot.locked>svg{position:absolute!important;left:50%!important;top:43%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;margin:0!important;width:6cqw!important;height:6cqw!important}
.farm-active .plots-grid .plot.empty>strong,.farm-active .plots-grid .plot.locked>strong{position:absolute!important;left:50%!important;top:67%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;margin:0!important;text-align:center!important}
.farm-active .plots-grid .plot.empty>strong{width:80%!important;font-size:3cqw!important;line-height:1!important}

/* Continue the foreground below the fixed bed artwork on tall viewports. */
.app-shell.app-shell.farm-active{
  background-image:url('/assets/farm-reference/path-continuation-b3c133f7dad0f2a3.webp')!important;
  background-position:center 164cqw!important;
  background-size:100% max(100cqw,calc(100% - 164cqw))!important;
  background-repeat:no-repeat!important;
}
.app-shell.app-shell.farm-active .farm-sky{
  background-image:url('/assets/farm-reference/reference-background-ad9bbfa05d3ea57b.webp')!important;
  background-size:100% auto!important;
  background-position:center top!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 164cqw,transparent 177.3cqw)!important;
  mask-image:linear-gradient(to bottom,#000 0,#000 164cqw,transparent 177.3cqw)!important;
}

/* The native picker supplies handlers; only the floating bed menu is visible. */
body:has(.farm-active) .modal-backdrop:has(.seed-list){visibility:hidden!important;pointer-events:none!important;opacity:0!important}
