
:root{--sky:#86d9ff;--sky2:#e2faff;--grass:#8ad966;--grass2:#56b84e;--deep:#2d8040;--soil:#b46d38;--soil2:#70401f;--wood:#a96932;--wood2:#6d3e18;--gold:#ffd86b;--cream:#fff6dc;--text:#442f17;--muted:#7d6338}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow-x:hidden}body{font-family:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:linear-gradient(180deg,#8ee0ff 0,#ddfbff 31%,#76ca58 32%,#2f833e 100%)}button,input{font:inherit}button{border:0;cursor:pointer;color:var(--text)}input{width:100%;border:2px solid #d7b66b;border-radius:14px;padding:10px 12px;background:#fffaf0;color:var(--text)}.game-shell{width:min(1120px,100%);margin:0 auto;padding:14px;display:grid;grid-template-columns:minmax(0,760px) 320px;gap:14px}.farm-scene{position:relative;min-height:900px;border:7px solid #8d5c2a;border-radius:34px;overflow:hidden;background:#83d768;box-shadow:0 22px 50px #0b321b66}.sky-layer{position:relative;height:250px;background:linear-gradient(180deg,#72d3ff 0,#ddfaff 80%,#fff 100%);z-index:1}.sky-layer:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:38px;background:linear-gradient(180deg,transparent,#8ad966 88%)}.sun{position:absolute;right:96px;top:30px;width:58px;height:58px;border-radius:50%;background:#fff09a;box-shadow:0 0 0 12px #fff3a840,0 0 45px #fff6a8}.cloud,.cloud:before,.cloud:after{position:absolute;content:"";background:#fff;border-radius:999px;box-shadow:0 8px 22px #83bbd447}.cloud{width:112px;height:40px}.cloud:before{width:62px;height:62px;left:16px;top:-29px}.cloud:after{width:66px;height:50px;right:12px;top:-20px}.cloud-a{left:190px;top:50px}.cloud-b{right:220px;top:92px;transform:scale(.78)}.farm-logo{position:absolute;left:24px;top:20px;display:flex;align-items:center;gap:10px;padding:10px 18px 12px;border-radius:26px;background:linear-gradient(180deg,#fffbe0,#ffd766);border:4px solid #fff0a5;box-shadow:0 7px 0 #b16b26,0 14px 22px #69371338;transform:rotate(-3deg);z-index:5}.farm-logo span{font-size:35px}.farm-logo small{display:block;font-size:12px;font-weight:900;color:#6a8123}.farm-logo b{display:block;font-size:34px;line-height:1;color:#1c843b;text-shadow:0 2px 0 #fff7}.hud{position:absolute;right:18px;top:18px;display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:8px;width:min(405px,52%);z-index:4}.hud div{background:#ffffffe0;border:3px solid #fff2a6;border-radius:18px;padding:9px 11px;box-shadow:0 5px 0 #bf8532}.hud span{display:block;font-size:12px;font-weight:900;color:#73551e}.hud b{display:block;font-size:19px;color:#16833a;line-height:1.1}.far-landscape{position:absolute;left:0;right:0;top:168px;height:230px;z-index:2;pointer-events:none}.hill{position:absolute;bottom:30px;width:65%;height:150px;border-radius:50% 50% 0 0}.hill-a{left:-16%;background:#78ca90}.hill-b{right:-18%;height:174px;background:#58ac77;opacity:.95}.tree-band{position:absolute;left:0;right:0;height:72px;background:repeating-radial-gradient(circle at 18px 52px,#2f8348 0 15px,transparent 16px 54px),repeating-radial-gradient(circle at 46px 42px,#409c55 0 18px,transparent 19px 60px)}.tree-band-a{bottom:12px}.tree-band-b{bottom:42px;opacity:.45;transform:scaleY(.76)}.farm-world{position:absolute;left:0;right:0;top:245px;bottom:0;background:linear-gradient(180deg,#8bd766 0%,#67bf55 35%,#45a949 67%,#2e833c 100%);z-index:3}.farm-world:before{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:linear-gradient(180deg,#b87937,#7b451e);clip-path:polygon(0 45%,100% 10%,100% 100%,0 100%);opacity:.22}.pond{position:absolute;left:50px;top:88px;width:165px;height:88px;border-radius:50%;background:radial-gradient(ellipse at 35% 34%,#d8ffff 0 16%,#64d6ee 17% 55%,#1686b6 100%);border:6px solid #3f9d46;box-shadow:inset 0 7px 18px #fff8,0 8px 0 #26753b;z-index:4}.pond i{position:absolute;left:28px;top:34px;width:28px;height:14px;border-radius:50%;background:#6ebe57;box-shadow:38px 12px 0 #5aae50}.pond span{position:absolute;right:24px;bottom:18px;font-size:28px}.wood-sign{position:absolute;background:linear-gradient(180deg,#c3843d,#8f5728);border:3px solid #6d3d19;border-radius:12px;color:#fff4c7;font-weight:900;text-shadow:0 2px 0 #3d210d;box-shadow:0 5px 0 #5b3214;padding:8px 12px;z-index:8}.wood-sign:after{content:"";position:absolute;left:50%;bottom:-30px;width:10px;height:30px;background:#6b3d17;transform:translateX(-50%);border-radius:0 0 5px 5px}.visit-sign{left:38px;top:192px}.work-sign{left:140px;top:220px}.farm-house{position:absolute;right:54px;top:40px;width:225px;height:168px;z-index:7}.chimney{position:absolute;right:46px;top:18px;width:28px;height:48px;background:#95532a;border:4px solid #6c3518;border-radius:6px;z-index:1}.smoke{position:absolute;border-radius:50%;background:#ffffffc9;z-index:0}.smoke-a{right:48px;top:-4px;width:26px;height:18px}.smoke-b{right:30px;top:-24px;width:34px;height:22px;opacity:.72}.roof{position:absolute;left:2px;right:2px;top:24px;height:74px;background:linear-gradient(180deg,#ffe99c,#d89036);clip-path:polygon(7% 100%,22% 18%,52% 0,82% 18%,97% 100%);filter:drop-shadow(0 8px 0 #8d551f)}.house-body{position:absolute;left:34px;right:30px;bottom:0;height:98px;border-radius:17px 17px 10px 10px;background:linear-gradient(180deg,#fff7dd,#e0bd78);border:5px solid #9c632b;box-shadow:0 8px 0 #68401b}.house-body:before{content:"";position:absolute;left:20px;top:22px;width:38px;height:34px;background:#82d0f4;border:4px solid #74411d;border-radius:8px}.house-body:after{content:"";position:absolute;right:20px;bottom:-1px;width:44px;height:62px;background:#974c23;border:4px solid #683416;border-radius:20px 20px 4px 4px}.house-body span{position:absolute;left:16px;bottom:8px;font-weight:900;font-size:14px;color:#70441b}.dog-house{position:absolute;right:282px;top:154px;width:110px;height:92px;border-radius:18px;background:linear-gradient(180deg,#d16b30,#8d3a1b);border:4px solid #673015;box-shadow:0 6px 0 #4b210f;color:#fff2d3;z-index:9}.dog-house:before{content:"";position:absolute;left:13px;right:13px;top:-28px;height:43px;background:#7b3019;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:9px 9px 0 0}.dog-house span{position:relative;display:block;font-size:30px}.dog-house b,.dog-house small{position:relative;display:block;line-height:1.1}.dog-house small{font-size:11px}.feed-bowl{position:absolute;right:293px;top:260px;background:#ffdb70;border:3px solid #9b5f24;border-radius:999px;padding:8px 12px;font-weight:900;box-shadow:0 4px 0 #744117;z-index:9}.basket-btn{position:absolute;right:38px;top:230px;width:86px;height:72px;border-radius:22px;background:linear-gradient(180deg,#ffe792,#ce8731);border:4px solid #81501f;box-shadow:0 6px 0 #5b3515;color:#5a3512;font-weight:900;z-index:9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:26px}.basket-btn b{font-size:14px;line-height:1}.stone-path{position:absolute;right:145px;top:215px;width:145px;height:210px;z-index:5;background:radial-gradient(ellipse at 52% 12%,#e7d9ae 0 13px,transparent 14px),radial-gradient(ellipse at 43% 31%,#e7d9ae 0 16px,transparent 17px),radial-gradient(ellipse at 56% 51%,#e7d9ae 0 18px,transparent 19px),radial-gradient(ellipse at 41% 72%,#e7d9ae 0 20px,transparent 21px),radial-gradient(ellipse at 57% 94%,#e7d9ae 0 24px,transparent 25px);opacity:.95}.expand-sign{position:absolute;right:142px;top:276px;background:linear-gradient(180deg,#ffd979,#bf7b31);border:4px solid #76512a;border-radius:14px;font-weight:900;box-shadow:0 6px 0 #5d3918;z-index:9;padding:9px 13px}.expand-sign small{font-size:12px;color:#5a3512}.field-card{position:absolute;left:132px;right:122px;bottom:30px;background:linear-gradient(180deg,#dba960,#a36a31);border:6px solid #73431e;border-radius:24px;padding:12px 12px 16px;box-shadow:0 10px 0 #563113,0 18px 35px #2344165c;z-index:10}.field-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 4px 10px;color:#fffbe4}.field-title p{margin:0;font-size:12px;font-weight:900;color:#543416}.field-title h2{margin:0;font-size:23px;color:#fffbe5;text-shadow:0 2px 0 #643815}.field-title span{font-size:12px;font-weight:900;background:#3d832f;color:#fff;padding:6px 10px;border-radius:999px}.farm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:linear-gradient(180deg,#87c95b,#559c38);border-radius:18px;padding:10px;border:4px solid #356a27}.plot{position:relative;min-height:72px;padding:8px 4px 25px;border-radius:13px;background:linear-gradient(150deg,var(--soil),var(--soil2));box-shadow:inset 0 5px 12px #fff2,inset 0 -8px 12px #0002,0 4px 0 #4e2d16;color:#fff;text-align:center;overflow:hidden}.plot.locked{background:linear-gradient(150deg,#91cc69,#5fa43e);box-shadow:inset 0 5px 12px #fff3,0 4px 0 #3c772d}.plot.ready{outline:4px solid #ffe15a;animation:pulse 1.2s infinite}.plot.selected{outline:4px solid #fff}.plot .crop{font-size:27px;line-height:1;display:block;margin:2px 0 4px}.plot .name{display:block;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 4px #0008}.plot .time{position:absolute;left:5px;right:5px;bottom:5px;font-size:10.5px;line-height:1.1;background:#0005;border-radius:999px;padding:4px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plot .badge{position:absolute;top:5px;right:5px;background:#ffe45c;color:#643a0d;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:900;box-shadow:0 2px 0 #9b641f}@keyframes pulse{50%{filter:brightness(1.18)}}.control-drawer{display:flex;flex-direction:column;gap:12px}.drawer-card{background:linear-gradient(180deg,#fff8df,#f1d99c);border:4px solid #aa7430;border-radius:22px;padding:14px;box-shadow:0 8px 0 #6d421c}.drawer-card h2{margin:0 0 8px;color:#5c3915}.hint{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.5}.crop-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crop-card{background:#fff3c5;border:2px solid #cf9b45;border-radius:15px;padding:10px;text-align:left;font-weight:900;box-shadow:0 4px 0 #a56f2e}.crop-card.active{outline:4px solid #35a653;background:#eaffc6}.crop-card small{display:block;color:#735b2c;font-size:12px;font-weight:700}.form-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:8px 0}.drawer-card button,.form-row button{background:linear-gradient(180deg,#ffe27d,#d79430);border:3px solid #9c611e;border-radius:14px;padding:9px 11px;font-weight:900;box-shadow:0 4px 0 #704016}.rule-list{display:grid;gap:9px}.rule-list div{background:#fff2bd;border-radius:14px;padding:10px;border:1px solid #e3bd62}.rule-list b{display:block;color:#216b33}.rule-list span{font-size:13px;color:#6d5a35}.ledger-panel ol{margin:0;padding-left:22px;max-height:180px;overflow:auto}.ledger-panel li{margin:0 0 8px;color:#5c421b;line-height:1.35}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#174024;color:#fff;padding:12px 18px;border-radius:999px;box-shadow:0 12px 40px #0008;z-index:20;font-weight:900}@media(max-width:980px){.game-shell{display:block;padding:0;background:#70d4ff}.farm-scene{border:0;border-radius:0;min-height:100svh;height:1160px}.sky-layer{height:214px}.sun{right:28px;top:22px;width:46px;height:46px}.farm-logo{left:14px;top:14px;transform:scale(.84) rotate(-3deg);transform-origin:left top}.hud{left:14px;right:14px;top:96px;width:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hud div{padding:7px 8px;border-width:2px;border-radius:13px}.hud span{font-size:10px}.hud b{font-size:15px}.far-landscape{top:150px;height:180px}.farm-world{top:214px}.pond{left:18px;top:105px;width:128px;height:70px}.visit-sign{left:20px;top:190px}.work-sign{left:116px;top:218px}.farm-house{right:18px;top:32px;width:155px;height:118px}.chimney{right:32px;top:12px;width:20px;height:34px}.roof{height:54px;top:18px}.house-body{left:22px;right:20px;height:70px}.house-body:before{width:26px;height:24px;left:13px;top:15px}.house-body:after{width:30px;height:44px;right:13px}.house-body span{font-size:11px}.dog-house{left:150px;right:auto;top:166px;width:84px;height:72px}.dog-house:before{top:-22px;height:34px}.dog-house span{font-size:24px}.feed-bowl{left:153px;right:auto;top:247px;font-size:12px;padding:6px 9px}.basket-btn{right:18px;top:184px;width:68px;height:58px;font-size:23px}.basket-btn b{font-size:12px}.stone-path{right:100px;top:212px;transform:scale(.75);transform-origin:top right}.expand-sign{right:18px;top:266px;font-size:13px;padding:7px 10px}.field-card{left:14px;right:14px;top:330px;bottom:auto;padding:9px;border-width:5px}.field-title h2{font-size:19px}.field-title span{display:none}.farm-grid{gap:6px;padding:8px}.plot{min-height:70px;padding:7px 3px 24px}.plot .crop{font-size:23px}.plot .name{font-size:11px}.plot .time{font-size:9.5px}.control-drawer{padding:12px;background:#2f8e45}.drawer-card{margin-bottom:10px}.crop-list{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}}@media(max-width:420px){.farm-scene{height:1130px}.sky-layer{height:206px}.farm-world{top:206px}.hud{top:88px}.farm-house{right:12px;top:36px;width:145px;height:110px}.pond{top:108px;transform:scale(.88);transform-origin:left top}.visit-sign{top:184px}.work-sign{left:102px;top:213px;transform:scale(.92);transform-origin:left top}.dog-house{left:144px;top:164px;width:80px;height:68px}.feed-bowl{left:146px;top:240px}.basket-btn{right:13px;top:184px;width:66px;height:56px}.expand-sign{right:13px;top:258px}.field-card{top:322px;left:14px;right:14px}.farm-grid{gap:6px}.plot{min-height:68px}.plot .crop{font-size:22px}.plot .time{font-size:9.5px}.cloud-a{left:150px}.cloud-b{display:none}}

/* doghouse layout fix */
.dog-house{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;}
.dog-house small{font-size:11px;font-weight:900;background:#fff2bf;color:#6d3719;border:2px solid #ffd67a;border-radius:999px;padding:2px 7px;margin-top:2px;white-space:nowrap;}
@media(max-width:980px){
  .dog-house{left:auto;right:92px;top:160px;width:98px;height:78px;}
  .dog-house small{font-size:10px;padding:2px 5px;}
  .feed-bowl{left:auto;right:18px;top:176px;padding:8px 10px;}
  .basket-btn{right:18px;top:242px;width:68px;height:56px;}
  .work-sign{left:105px;top:226px;}
  .expand-sign{right:18px;top:302px;}
  .field-card{top:348px;}
}
@media(max-width:420px){
  .dog-house{left:auto;right:92px;top:158px;width:96px;height:76px;}
  .feed-bowl{left:auto;right:16px;top:174px;}
  .basket-btn{right:16px;top:240px;}
  .work-sign{left:98px;top:224px;}
  .expand-sign{right:16px;top:300px;}
  .field-card{top:346px;}
}

/* hud clear mobile fix */
.sky-layer{z-index:12;}
.hud{z-index:30;}
.farm-logo{z-index:31;}
@media(max-width:980px){
  .sky-layer{height:238px;z-index:12;}
  .hud{top:108px;left:14px;right:14px;width:auto;z-index:30;}
  .far-landscape{top:238px;height:140px;z-index:2;}
  .farm-world{top:238px;}
  .pond{top:92px;}
  .farm-house{top:22px;}
  .visit-sign{top:176px;}
  .work-sign{top:214px;}
  .dog-house{top:154px;}
  .feed-bowl{top:170px;}
  .basket-btn{top:236px;}
  .expand-sign{top:294px;}
  .field-card{top:348px;}
}
@media(max-width:420px){
  .sky-layer{height:232px;}
  .hud{top:104px;}
  .far-landscape{top:232px;}
  .farm-world{top:232px;}
  .pond{top:88px;}
  .farm-house{top:20px;}
  .visit-sign{top:174px;}
  .work-sign{top:212px;}
  .dog-house{top:152px;}
  .feed-bowl{top:168px;}
  .basket-btn{top:234px;}
  .expand-sign{top:292px;}
  .field-card{top:346px;}
}

/* 3d doghouse visual */
.dog-house.real-doghouse{background:transparent!important;border:0!important;box-shadow:none!important;color:transparent!important;padding:0!important;overflow:visible;perspective:220px;}
.dog-house.real-doghouse:before{content:none!important}.dog-house.real-doghouse span,.dog-house.real-doghouse b{display:none!important}.dog-house.real-doghouse i{position:absolute;display:block}.kennel-shadow{left:7px;right:2px;bottom:-5px;height:14px;border-radius:50%;background:#24431355;filter:blur(2px)}.kennel-side{right:4px;top:26px;width:34px;height:45px;background:linear-gradient(135deg,#8f421d,#5b2412);transform:skewY(-14deg);border:3px solid #572510;border-left:0;border-radius:0 10px 8px 0;box-shadow:inset -8px 0 0 #3e180c55}.kennel-front{left:8px;top:24px;width:70px;height:54px;border-radius:9px 9px 12px 12px;background:repeating-linear-gradient(90deg,#c96d34 0 13px,#a94f26 13px 16px);border:4px solid #612a13;box-shadow:inset 0 8px 0 #e88a45,0 5px 0 #3e1a0d}.kennel-roof{left:0;top:0;width:94px;height:42px;background:linear-gradient(160deg,#8a321b 0,#d0602a 52%,#7a2d18 100%);clip-path:polygon(8% 100%,28% 18%,52% 0,78% 18%,98% 100%);filter:drop-shadow(0 5px 0 #4e1d0f);z-index:3}.kennel-roof:after{content:"";position:absolute;left:18px;right:13px;top:14px;height:8px;border-radius:999px;background:#f4b06e88;transform:rotate(6deg)}.kennel-door{left:29px;top:43px;width:30px;height:34px;border-radius:18px 18px 8px 8px;background:radial-gradient(ellipse at 50% 40%,#1a1512 0 55%,#090706 56%);border:3px solid #4c1d0d;z-index:4;overflow:hidden}.kennel-door em{position:absolute;left:3px;bottom:-2px;font-style:normal;font-size:19px;line-height:1}.real-doghouse small{position:absolute!important;left:2px;right:auto;top:82px;display:block!important;width:max-content;min-width:84px;text-align:center;font-size:10px!important;font-weight:900!important;background:#fff1b9!important;color:#6c3718!important;border:2px solid #d89637!important;border-radius:999px!important;padding:2px 7px!important;box-shadow:0 3px 0 #754118!important;white-space:nowrap!important;z-index:6}.guard-dog{z-index:13}
@media(max-width:980px){.dog-house.real-doghouse{width:104px!important;height:90px!important}.real-doghouse small{top:80px}.guard-dog{left:202px;top:250px}}
@media(max-width:420px){.dog-house.real-doghouse{width:100px!important;height:88px!important}.guard-dog{left:198px;top:248px}.feed-bowl{top:334px}.field-card{top:384px}}

/* 3d doghouse price tag */
.dog-price-tag{position:absolute;right:270px;top:247px;z-index:15;background:linear-gradient(180deg,#fff4bd,#ffd160);border:3px solid #87511d;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:900;color:#603316;box-shadow:0 4px 0 #5d3515;white-space:nowrap;pointer-events:none;}
@media(max-width:980px){
  .dog-price-tag{left:98px;right:auto;top:320px;font-size:10px;padding:3px 7px;}
  .feed-bowl{top:344px;}
  .field-card{top:392px;}
}
@media(max-width:420px){
  .dog-price-tag{left:92px;top:316px;}
  .feed-bowl{top:340px;}
  .field-card{top:388px;}
}

/* selected white dog fixed */
.dog-asset.selected-white-dog{position:absolute;left:184px;top:242px;width:132px;height:108px;z-index:26;filter:drop-shadow(0 8px 5px #31551f55);animation:selectedDogIdle 2.4s ease-in-out infinite}.dog-asset.selected-white-dog svg{display:block;width:100%;height:100%;overflow:visible}.dog-asset.selected-white-dog path:first-of-type{animation:selectedDogTail .75s ease-in-out infinite;transform-origin:58px 63px}@keyframes selectedDogIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes selectedDogTail{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(8deg)}}
@media(max-width:980px){.dog-asset.selected-white-dog{left:174px!important;top:238px!important;width:132px!important;height:108px!important;z-index:26!important}.dog-house.real-doghouse{left:88px!important;top:236px!important;width:96px!important;height:84px!important}.dog-price-tag{left:88px!important;top:316px!important}.feed-bowl{left:90px!important;top:340px!important}.field-card{top:386px!important}}
@media(max-width:420px){.dog-asset.selected-white-dog{left:166px!important;top:236px!important;width:126px!important;height:104px!important}.dog-house.real-doghouse{left:82px!important;top:234px!important;width:94px!important;height:82px!important}.dog-price-tag{left:82px!important;top:312px!important}.feed-bowl{left:84px!important;top:336px!important}.field-card{top:382px!important}}

/* solid doghouse roof */
.dog-house.real-doghouse{overflow:visible!important;filter:drop-shadow(0 7px 4px #31551f55)}
.dog-house.real-doghouse .kennel-roof{left:-5px!important;top:2px!important;width:108px!important;height:43px!important;background:linear-gradient(180deg,#b95a2f 0%,#8e3e21 58%,#5e2515 100%)!important;clip-path:polygon(8% 92%,25% 22%,50% 0,76% 22%,94% 92%,87% 100%,13% 100%)!important;border-radius:7px 7px 9px 9px;filter:drop-shadow(0 5px 0 #4f2113)!important;z-index:6!important;}
.dog-house.real-doghouse .kennel-roof:before{content:"";position:absolute;left:9px;right:9px;bottom:1px;height:8px;border-radius:999px;background:#6b2a17;box-shadow:0 3px 0 #35150d;}
.dog-house.real-doghouse .kennel-roof:after{content:"";position:absolute;left:21px;right:17px;top:12px;height:7px;border-radius:999px;background:#f2a16888;transform:rotate(5deg)}
.dog-house.real-doghouse .kennel-front{left:10px!important;top:36px!important;width:72px!important;height:52px!important;border-radius:8px 8px 12px 12px!important;background:repeating-linear-gradient(90deg,#c8743c 0 12px,#a9572c 12px 15px)!important;border:4px solid #612a13!important;box-shadow:inset 0 7px 0 #e89550,0 5px 0 #3e1a0d!important;z-index:4!important;}
.dog-house.real-doghouse .kennel-side{right:2px!important;top:40px!important;width:32px!important;height:43px!important;background:linear-gradient(135deg,#9c4b25,#5b2412)!important;transform:skewY(-10deg)!important;border:3px solid #572510!important;border-left:0!important;border-radius:0 9px 8px 0!important;box-shadow:inset -8px 0 0 #3e180c55!important;z-index:3!important;}
.dog-house.real-doghouse .kennel-door{left:31px!important;top:54px!important;width:29px!important;height:32px!important;z-index:7!important;}
.dog-house.real-doghouse .kennel-shadow{left:9px!important;right:3px!important;bottom:-6px!important;height:14px!important;background:#24431355!important;}
@media(max-width:980px){.dog-house.real-doghouse{left:88px!important;top:236px!important;width:104px!important;height:92px!important}.dog-price-tag{top:320px!important}.feed-bowl{top:344px!important}.dog-asset.selected-white-dog{top:238px!important}}
@media(max-width:420px){.dog-house.real-doghouse{left:82px!important;top:234px!important;width:102px!important;height:90px!important}.dog-price-tag{top:316px!important}.feed-bowl{top:340px!important}.dog-asset.selected-white-dog{top:236px!important}}

/* straight farm logo sign */
.farm-logo{transform:rotate(0deg)!important;}
.farm-logo small{display:none!important;}
.farm-logo b{display:block;line-height:1.05;}

/* small dog food no overlap */
.dog-price-tag{display:none!important;}
.feed-bowl{width:auto!important;min-width:58px!important;height:30px!important;padding:4px 9px!important;font-size:12px!important;line-height:1!important;border-width:2px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;box-shadow:0 3px 0 #744117!important;}
@media(max-width:980px){
  .feed-bowl{left:212px!important;right:auto!important;top:338px!important;z-index:25!important;}
  .expand-sign{right:14px!important;top:302px!important;z-index:18!important;}
  .field-card{top:384px!important;}
}
@media(max-width:420px){
  .feed-bowl{left:200px!important;right:auto!important;top:334px!important;min-width:56px!important;height:28px!important;padding:3px 8px!important;font-size:11px!important;}
  .expand-sign{right:12px!important;top:300px!important;}
  .field-card{top:380px!important;}
}

/* clean dog food button */
.feed-bowl,
.feed-bowl span{
  -webkit-appearance:none!important;
  appearance:none!important;
  text-decoration:none!important;
  background-clip:padding-box!important;
}
.feed-bowl{background:linear-gradient(180deg,#ffe47b 0%,#ffc74f 100%)!important;color:#61330f!important;border:2px solid #8a4e1b!important;box-shadow:0 3px 0 #6b3a13!important;overflow:hidden!important;outline:0!important;}
.feed-bowl::before,.feed-bowl::after{content:none!important;display:none!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.feed-bowl span{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;line-height:1!important;color:#61330f!important;font-weight:900!important;}

/* remove white path behind dog food */
@media(max-width:980px){
  .stone-path{display:none!important;}
  .feed-bowl{background:#ffd35a!important;background-image:none!important;border:2px solid #7b4518!important;box-shadow:0 3px 0 #5b3312!important;filter:none!important;}
}
@media(max-width:420px){
  .stone-path{display:none!important;}
  .feed-bowl{background:#ffd35a!important;background-image:none!important;}
}

/* mobile cover dog food white strip */
@media(max-width:980px){
  .farm-world::after{content:""!important;position:absolute!important;left:0!important;right:0!important;top:323px!important;height:64px!important;background:linear-gradient(180deg,#66c653 0%,#58bd4d 55%,#4faf48 100%)!important;z-index:8!important;pointer-events:none!important;border:0!important;box-shadow:none!important;}
  .stone-path{display:none!important;opacity:0!important;visibility:hidden!important;}
  .feed-bowl{z-index:25!important;background:#ffd35a!important;background-image:none!important;}
}
@media(max-width:420px){
  .farm-world::after{top:319px!important;height:66px!important;}
  .stone-path{display:none!important;opacity:0!important;visibility:hidden!important;}
}

/* desktop no-overlap farm layout */
@media(min-width:981px){
  .farm-scene{min-height:1120px!important;}
  .farm-world{top:245px!important;}
  .stone-path{display:none!important;opacity:0!important;visibility:hidden!important;}
  .visit-sign{left:40px!important;top:210px!important;z-index:14!important;}
  .dog-house.real-doghouse{left:278px!important;top:142px!important;width:112px!important;height:98px!important;z-index:18!important;}
  .dog-asset.selected-white-dog{left:396px!important;top:142px!important;width:136px!important;height:110px!important;z-index:19!important;}
  .feed-bowl{left:438px!important;right:auto!important;top:266px!important;z-index:20!important;min-width:58px!important;height:30px!important;padding:4px 9px!important;font-size:12px!important;}
  .basket-btn{right:26px!important;top:218px!important;z-index:14!important;}
  .expand-sign{right:26px!important;top:306px!important;z-index:14!important;}
  .field-card{left:58px!important;right:58px!important;top:398px!important;bottom:auto!important;z-index:10!important;}
}

/* seed shop down only */
.seed-card{margin-top:34px!important;}

/* show all 18 plots without resizing */
@media(max-width:980px){.farm-scene{height:1188px!important;min-height:1188px!important;}}
@media(max-width:420px){.farm-scene{height:1188px!important;min-height:1188px!important;}}

/* show all 18 plots on desktop too */
@media(min-width:981px){.farm-scene{height:1320px!important;min-height:1320px!important;}}

/* house up and no label */
.house-body span{display:none!important;}
@media(min-width:981px){.farm-house{top:-18px!important;}}

/* seed shop collapse button */
.seed-toggle-btn{width:100%;background:linear-gradient(180deg,#ffe27d,#d79430);border:4px solid #9c611e;border-radius:18px;padding:13px 16px;font-weight:1000;font-size:19px;box-shadow:0 6px 0 #704016;color:#5a3512;}
.seed-toggle-btn[aria-expanded="true"]{background:linear-gradient(180deg,#fff0a4,#e5a947);}
.seed-card[hidden]{display:none!important;}
@media(max-width:980px){.seed-toggle-btn{margin:0 0 10px;font-size:18px;padding:13px 16px;}}

/* seed button above warehouse */
.seed-toggle-btn{position:absolute;right:26px;top:166px;width:96px;height:42px;z-index:21;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#ffe27d,#d79430);border:4px solid #9c611e;border-radius:16px;padding:0 10px;font-weight:1000;font-size:16px;box-shadow:0 5px 0 #704016;color:#5a3512;}
.seed-toggle-btn[aria-expanded="true"]{background:linear-gradient(180deg,#fff0a4,#e5a947);}
.seed-card[hidden]{display:none!important;}
@media(max-width:980px){.seed-toggle-btn{right:16px!important;top:184px!important;width:68px!important;height:42px!important;font-size:14px!important;border-width:3px!important;z-index:22!important;}}
@media(max-width:420px){.seed-toggle-btn{right:16px!important;top:184px!important;width:66px!important;height:42px!important;font-size:13px!important;}}

/* mobile seed button exactly above warehouse */
@media(max-width:980px){.seed-toggle-btn{right:14px!important;top:178px!important;width:74px!important;height:42px!important;font-size:14px!important;line-height:1!important;padding:0!important;z-index:35!important}.basket-btn{right:16px!important;top:236px!important;z-index:34!important}}
@media(max-width:420px){.seed-toggle-btn{right:14px!important;top:178px!important;width:72px!important;height:42px!important;font-size:13px!important}.basket-btn{right:16px!important;top:236px!important}}

/* seed button icon one line */
.seed-toggle-btn{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;white-space:nowrap!important;line-height:1!important;}
.seed-toggle-btn .seed-icon{display:block!important;font-size:24px!important;line-height:1!important;}
.seed-toggle-btn b{display:block!important;font-size:14px!important;line-height:1!important;white-space:nowrap!important;font-weight:1000!important;}
@media(min-width:981px){.seed-toggle-btn{width:86px!important;height:64px!important;right:26px!important;top:146px!important;border-radius:22px!important;font-size:14px!important;}.seed-toggle-btn .seed-icon{font-size:24px!important}.seed-toggle-btn b{font-size:14px!important}.basket-btn{right:26px!important;top:218px!important;}}
@media(max-width:980px){.seed-toggle-btn{right:16px!important;top:174px!important;width:68px!important;height:56px!important;border-radius:18px!important;padding:0!important;}.seed-toggle-btn .seed-icon{font-size:21px!important}.seed-toggle-btn b{font-size:12px!important}.basket-btn{right:16px!important;top:236px!important;}}
@media(max-width:420px){.seed-toggle-btn{right:16px!important;top:174px!important;width:66px!important;height:56px!important}.seed-toggle-btn .seed-icon{font-size:21px!important}.seed-toggle-btn b{font-size:12px!important}.basket-btn{right:16px!important;top:236px!important;}}

/* bigger seed icon like warehouse */
.seed-toggle-btn{gap:3px!important;}
.seed-toggle-btn .seed-icon{font-size:28px!important;line-height:1!important;}
.seed-toggle-btn b{font-size:14px!important;line-height:1!important;white-space:nowrap!important;}
@media(min-width:981px){.seed-toggle-btn{width:86px!important;height:72px!important;right:26px!important;top:138px!important;border-radius:22px!important}.seed-toggle-btn .seed-icon{font-size:29px!important}.seed-toggle-btn b{font-size:14px!important}.basket-btn{right:26px!important;top:218px!important;width:86px!important;height:72px!important}}
@media(max-width:980px){.seed-toggle-btn{right:16px!important;top:172px!important;width:68px!important;height:58px!important;border-radius:18px!important}.seed-toggle-btn .seed-icon{font-size:24px!important}.seed-toggle-btn b{font-size:12px!important}.basket-btn{right:16px!important;top:236px!important;width:68px!important;height:56px!important}}
@media(max-width:420px){.seed-toggle-btn{right:16px!important;top:172px!important;width:66px!important;height:58px!important}.seed-toggle-btn .seed-icon{font-size:24px!important}.seed-toggle-btn b{font-size:12px!important}.basket-btn{right:16px!important;top:236px!important;width:66px!important;height:56px!important}}

/* pc house higher only */
@media(min-width:981px){.farm-house{top:-72px!important;}}

/* pc house visible no clip */
@media(min-width:981px){.farm-house{top:-22px!important;z-index:20!important;}}

/* pc house visible no overlap */
@media(min-width:981px){.farm-house{top:-34px!important;z-index:20!important;}}

/* pc house left and down */
@media(min-width:981px){.farm-house{right:112px!important;top:-22px!important;z-index:20!important;}}

/* seed shop modal popup */
.seed-card:not([hidden]){position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(520px,calc(100vw - 28px))!important;max-height:min(78vh,720px)!important;overflow:auto!important;z-index:120!important;margin:0!important;box-shadow:0 18px 48px #0008,0 0 0 9999px #10230d99!important;}
.seed-card:not([hidden]) h2{padding-right:42px!important;}
.seed-close-btn{position:absolute!important;right:12px!important;top:10px!important;width:34px!important;height:34px!important;border-radius:999px!important;background:linear-gradient(180deg,#ffe27d,#d79430)!important;border:3px solid #9c611e!important;box-shadow:0 3px 0 #704016!important;font-size:22px!important;line-height:1!important;font-weight:1000!important;color:#5a3512!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;z-index:2!important;}
@media(max-width:980px){.seed-card:not([hidden]){width:calc(100vw - 24px)!important;max-height:76vh!important;left:50%!important;top:50%!important;}.seed-close-btn{right:10px!important;top:9px!important;}}

/* modal backdrop blocks page clicks */
.seed-modal-mask{position:fixed!important;inset:0!important;background:#10230d99!important;z-index:119!important;display:block!important;}
.seed-modal-mask[hidden]{display:none!important;}
.seed-card:not([hidden]){z-index:120!important;pointer-events:auto!important;}

/* farm tool buttons */
.tool-card{position:relative!important;z-index:10!important;}
.farm-tool-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:8px!important;}
.farm-tool-list button{min-height:42px!important;border-radius:14px!important;background:linear-gradient(180deg,#fff1a8,#e1a944)!important;border:3px solid #9b611e!important;box-shadow:0 4px 0 #704016!important;color:#573412!important;font-weight:1000!important;font-size:14px!important;white-space:nowrap!important;}
.farm-tool-list button.active{background:linear-gradient(180deg,#b9f57b,#5dbd43)!important;border-color:#2f7e2e!important;box-shadow:0 4px 0 #1f5b1d!important;color:#163c14!important;}
@media(max-width:980px){.farm-tool-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.farm-tool-list button{min-height:38px!important;font-size:12px!important;padding:0 2px!important;border-width:2px!important}.tool-card{margin-top:10px!important;}}

/* farm tool icon update */

/* farm tool reference icons */
.farm-tool-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.farm-tool-list button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:54px!important;font-size:13px!important;text-shadow:0 1px 0 #fff4!important;}
@media(max-width:980px){.farm-tool-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}.farm-tool-list button{min-height:48px!important;font-size:11px!important;line-height:1.05!important;}}

/* farm tool water fertilize */
.farm-tool-list{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
@media(max-width:980px){.farm-tool-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.farm-tool-list button{min-height:42px!important;font-size:12px!important;}}
@media(min-width:981px){.farm-tool-list button{min-height:52px!important;font-size:12px!important;}}

/* mobile tools exactly two rows */
@media(max-width:980px){
  .farm-tool-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,48px)!important;grid-auto-rows:48px!important;gap:7px!important;}
  .farm-tool-list button{width:100%!important;min-width:0!important;min-height:48px!important;height:48px!important;font-size:12px!important;line-height:1.05!important;padding:0 2px!important;white-space:nowrap!important;}
  .tool-card{padding-bottom:14px!important;}
}
@media(max-width:420px){
  .farm-tool-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,46px)!important;grid-auto-rows:46px!important;gap:7px!important;}
  .farm-tool-list button{height:46px!important;min-height:46px!important;font-size:12px!important;}
}

/* pc tools exactly two rows */
@media(min-width:981px){
  .farm-tool-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,48px)!important;grid-auto-rows:48px!important;gap:8px!important;}
  .farm-tool-list button{width:100%!important;min-width:0!important;min-height:48px!important;height:48px!important;font-size:13px!important;line-height:1.05!important;padding:0 3px!important;white-space:nowrap!important;}
  .tool-card{padding-bottom:14px!important;}
}

/* svg tool icons brown spray and shovel */
.farm-tool-list button{gap:4px!important;}
.farm-tool-list button b{display:block!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;font-weight:1000!important;}
.farm-tool-list .tool-svg{display:block!important;width:20px!important;height:20px!important;flex:0 0 20px!important;}
@media(min-width:981px){.farm-tool-list .tool-svg{width:22px!important;height:22px!important;flex-basis:22px!important;}}
@media(max-width:980px){.farm-tool-list .tool-svg{width:19px!important;height:19px!important;flex-basis:19px!important;}}

/* classic style tool icons */
.farm-tool-list .tool-svg{filter:drop-shadow(0 1px 0 #fff6);}
.farm-tool-list button{align-items:center!important;justify-content:center!important;}

/* harvest tool first and full hand */
.farm-tool-list .tool-svg{overflow:visible!important;}

/* blue weed bottle */
.farm-tool-list button[data-tool="weed"] .tool-svg{filter:drop-shadow(0 1px 0 #fff6)!important;}

/* force fresh weed blue */

/* hud wallet buttons and wallet modal */
.hud .hud-wallet-actions{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;gap:6px!important;margin-top:7px!important;}
.hud .hud-wallet-actions button{flex:1 1 0!important;min-width:0!important;padding:4px 4px!important;border-radius:11px!important;background:linear-gradient(180deg,#ffe27d,#d79430)!important;border:2px solid #9c611e!important;box-shadow:0 3px 0 #704016!important;font-size:12px!important;font-weight:1000!important;color:#5a3512!important;line-height:1.15!important;white-space:nowrap!important;}
.wallet-modal[hidden]{display:none!important;}
.wallet-modal:not([hidden]){position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(440px,calc(100vw - 28px))!important;max-height:min(80vh,700px)!important;overflow:auto!important;z-index:120!important;margin:0!important;box-shadow:0 18px 48px #0008!important;}
.wallet-modal:not([hidden]) h2{padding-right:42px!important;}
.wallet-close-btn{position:absolute!important;right:12px!important;top:10px!important;width:34px!important;height:34px!important;border-radius:999px!important;background:linear-gradient(180deg,#ffe27d,#d79430)!important;border:3px solid #9c611e!important;box-shadow:0 3px 0 #704016!important;font-size:22px!important;line-height:1!important;font-weight:1000!important;color:#5a3512!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;z-index:2!important;}
.wallet-modal-mask{position:fixed!important;inset:0!important;background:#10230d99!important;z-index:119!important;display:block!important;}
.wallet-modal-mask[hidden]{display:none!important;}
@media(max-width:980px){.wallet-modal:not([hidden]){width:calc(100vw - 24px)!important;max-height:78vh!important;}.wallet-close-btn{right:10px!important;top:9px!important;}.hud .hud-wallet-actions button{font-size:11px!important;padding:3px 2px!important;}}

/* wallet modal no hint */
.wallet-modal .form-row{margin-bottom:2px!important;}

/* plot action effects */
.fx-layer{position:absolute!important;inset:0!important;pointer-events:none!important;z-index:30!important;overflow:visible!important;}
.plot-fx{position:absolute!important;width:0!important;height:0!important;display:block!important;}
.plot-fx>svg{position:absolute!important;width:48px!important;height:48px!important;left:-24px!important;top:-34px!important;filter:drop-shadow(0 5px 7px #0006)!important;}
.plot-fx .fx-label{position:absolute!important;left:50%!important;top:-62px!important;transform:translateX(-50%)!important;background:#21662f!important;border:2px solid #ffe27d!important;color:#fff!important;font-size:12px!important;font-weight:1000!important;border-radius:999px!important;padding:3px 10px!important;white-space:nowrap!important;animation:fxLabel 1.3s ease-out forwards!important;}
@keyframes fxLabel{0%{opacity:0;transform:translate(-50%,8px) scale(.86)}18%{opacity:1;transform:translate(-50%,0) scale(1)}78%{opacity:1}100%{opacity:0;transform:translate(-50%,-16px) scale(.96)}}
.plot-fx.fx-harvest>svg{animation:fxHand 1.25s ease-in-out forwards!important;}
@keyframes fxHand{0%{opacity:0;transform:translate(8px,-40px) rotate(-16deg) scale(.8)}22%{opacity:1}58%{transform:translate(0,-4px) rotate(8deg) scale(1)}76%{transform:translate(-1px,-14px) rotate(0deg) scale(1.02)}100%{opacity:0;transform:translate(6px,-46px) rotate(-18deg) scale(.82)}}
.plot-fx.fx-water>svg{animation:fxCan 1.3s ease-in-out forwards!important;}
@keyframes fxCan{0%{opacity:0;transform:translate(-22px,-44px) rotate(-34deg)}20%{opacity:1;transform:translate(-16px,-32px) rotate(-22deg)}55%{transform:translate(-12px,-28px) rotate(-16deg)}80%{transform:translate(-12px,-30px) rotate(-18deg)}100%{opacity:0;transform:translate(-20px,-42px) rotate(-30deg)}}
.plot-fx.fx-fertilize>svg{animation:fxBag 1.25s ease-in-out forwards!important;}
@keyframes fxBag{0%{opacity:0;transform:translate(0,-40px) rotate(12deg) scale(.86)}25%{opacity:1}55%{transform:translate(0,-8px) rotate(-16deg) scale(1)}78%{transform:translate(0,-10px) rotate(-10deg)}100%{opacity:0;transform:translate(0,-42px) rotate(16deg) scale(.88)}}
.plot-fx.fx-pest>svg,.plot-fx.fx-weed>svg{animation:fxSpray 1.25s ease-in-out forwards!important;}
@keyframes fxSpray{0%{opacity:0;transform:translate(18px,-36px) rotate(26deg) scale(.86)}22%{opacity:1;transform:translate(10px,-28px) rotate(14deg) scale(1)}50%{transform:translate(8px,-26px) rotate(10deg) scale(1.04)}72%{transform:translate(10px,-28px) rotate(14deg) scale(1)}100%{opacity:0;transform:translate(16px,-38px) rotate(24deg) scale(.88)}}
.plot-fx.fx-shovel>svg{animation:fxDig 1.3s ease-in-out forwards!important;}
@keyframes fxDig{0%{opacity:0;transform:translate(0,-42px) rotate(-24deg)}22%{opacity:1}50%{transform:translate(0,4px) rotate(6deg)}66%{transform:translate(0,-6px) rotate(-4deg)}82%{transform:translate(0,2px) rotate(4deg)}100%{opacity:0;transform:translate(0,-40px) rotate(-20deg)}}
.plot-fx .drop{position:absolute!important;width:6px!important;height:10px!important;border-radius:50% 50% 50% 50%/64% 64% 36% 36%!important;background:#5cb9f2!important;box-shadow:0 0 0 1px #2f7fae inset!important;opacity:0;left:-4px!important;top:-6px!important;animation:fxDrop 1.15s ease-in both!important;}
.plot-fx .drop-a{animation-delay:.14s!important;}
.plot-fx .drop-b{left:5px!important;animation-delay:.34s!important;}
.plot-fx .drop-c{left:14px!important;animation-delay:.52s!important;}
@keyframes fxDrop{0%{opacity:0;transform:translateY(-12px) scaleY(.8)}28%{opacity:1}100%{opacity:0;transform:translateY(30px) scaleY(1.15)}}
.plot-fx .mist{position:absolute!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#d9f2c8cc!important;left:6px!important;top:-4px!important;opacity:0;animation:fxMist 1.1s ease-out both!important;}
.plot-fx .mist-a{animation-delay:.18s!important;}
.plot-fx .mist-b{left:-8px!important;top:6px!important;animation-delay:.42s!important;}
@keyframes fxMist{0%{opacity:0;transform:scale(.4)}30%{opacity:.95}100%{opacity:0;transform:scale(1.9) translate(6px,10px)}}
.plot-fx .spark{position:absolute!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#ffe45c!important;box-shadow:0 0 8px #ffd94a!important;left:0!important;top:-6px!important;opacity:0;animation:fxSpark 1s ease-out both!important;}
.plot-fx .spark-a{animation-delay:.2s!important;}
.plot-fx .spark-b{left:-14px!important;top:8px!important;animation-delay:.46s!important;}
@keyframes fxSpark{0%{opacity:0;transform:scale(.3)}35%{opacity:1}100%{opacity:0;transform:scale(1.4) translate(4px,-16px)}}
.plot-fx .dirt{position:absolute!important;width:8px!important;height:8px!important;border-radius:3px!important;background:#8a5a2b!important;left:2px!important;top:8px!important;opacity:0;animation:fxDirt 1s ease-out both!important;}
.plot-fx .dirt-b{left:-10px!important;animation-delay:.28s!important;}
@keyframes fxDirt{0%{opacity:0;transform:translateY(0) scale(.6)}30%{opacity:1}100%{opacity:0;transform:translate(-6px,-22px) scale(1)}}
@media(max-width:980px){.plot-fx>svg{width:40px!important;height:40px!important;left:-20px!important;top:-28px!important;}.plot-fx .fx-label{font-size:11px!important;top:-52px!important;padding:2px 8px!important;}}

/* fx without text label */
.plot-fx .fx-label{display:none!important;}

/* fx aim at the plant */
.plot-fx.fx-water>svg{animation:fxCanPour2 1.3s ease-in-out forwards!important;}
@keyframes fxCanPour2{0%{opacity:0;transform:translate(30px,-46px) scale(.9)}22%{opacity:1;transform:translate(19px,-23px) scale(1)}55%{transform:translate(19px,-19px) scale(1.03)}80%{transform:translate(19px,-22px) scale(1)}100%{opacity:0;transform:translate(25px,-40px) scale(.92)}}
.plot-fx.fx-pest>svg,.plot-fx.fx-weed>svg{animation:fxSprayAim2 1.25s ease-in-out forwards!important;}
@keyframes fxSprayAim2{0%{opacity:0;transform:translate(-30px,-32px) scale(.9)}22%{opacity:1;transform:translate(-19px,-9px) scale(1)}55%{transform:translate(-19px,-6px) scale(1.04)}80%{transform:translate(-19px,-8px) scale(1)}100%{opacity:0;transform:translate(-25px,-28px) scale(.92)}}
.plot-fx .drop{left:-1px!important;top:-19px!important;width:6px!important;height:10px!important;border-radius:50% 50% 50% 50%/64% 64% 36% 36%!important;background:#5cb9f2!important;opacity:0;animation:fxDropPour2 1.15s ease-in both!important;}
.plot-fx .drop-a{left:-9px!important;top:-15px!important;animation-delay:.1s!important;}
.plot-fx .drop-b{left:0px!important;top:-19px!important;animation-delay:.28s!important;}
.plot-fx .drop-c{left:8px!important;top:-23px!important;animation-delay:.46s!important;}
@keyframes fxDropPour2{0%{opacity:0;transform:translate(0,-8px) scaleY(.85)}26%{opacity:1}100%{opacity:0;transform:translate(-3px,26px) scaleY(1.1)}}
.plot-fx .mist{left:-3px!important;top:-21px!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#d6efc2cc!important;opacity:0;animation:fxMistAim2 1.1s ease-out both!important;}
.plot-fx .mist-a{left:-2px!important;top:-21px!important;animation-delay:.14s!important;}
.plot-fx .mist-b{left:-6px!important;top:-16px!important;animation-delay:.38s!important;}
@keyframes fxMistAim2{0%{opacity:0;transform:scale(.35)}30%{opacity:.95}100%{opacity:0;transform:scale(1.75) translate(2px,16px)}}

/* liquid drips */
.plot-fx .drop{position:absolute!important;width:6px!important;height:11px!important;border-radius:50% 50% 50% 50%/64% 64% 36% 36%!important;opacity:0;animation:fxDrip 1.25s ease-in both!important;}
.plot-fx .drop:after{content:""!important;position:absolute!important;left:50%!important;top:-5px!important;width:9px!important;height:15px!important;transform:translateX(-50%)!important;background:inherit!important;border-radius:60% 60% 40% 40%!important;opacity:.5!important;filter:blur(1px)!important;}
.plot-fx.fx-water .drop{background:#5cb9f2!important;box-shadow:0 0 0 1px #2f7fae inset!important;}
.plot-fx.fx-weed .drop{background:#4aa3e0!important;box-shadow:0 0 0 1px #1f5f95 inset!important;}
.plot-fx.fx-pest .drop{background:#a9743f!important;box-shadow:0 0 0 1px #6b4120 inset!important;}
.plot-fx .drop-a{left:-9px!important;top:-33px!important;animation-delay:.06s!important;}
.plot-fx .drop-b{left:-1px!important;top:-37px!important;animation-delay:.2s!important;}
.plot-fx .drop-c{left:7px!important;top:-35px!important;animation-delay:.34s!important;}
.plot-fx .drop-d{left:-6px!important;top:-29px!important;animation-delay:.48s!important;}
.plot-fx .drop-e{left:14px!important;top:-31px!important;animation-delay:.62s!important;}
@keyframes fxDrip{0%{opacity:0;transform:translate(0,-8px) scaleY(.7)}16%{opacity:1}82%{opacity:1}100%{opacity:0;transform:translate(-2px,44px) scaleY(1.25)}}
.plot-fx.fx-pest .drop-a,.plot-fx.fx-weed .drop-a{left:-12px!important;top:-26px!important;}
.plot-fx.fx-pest .drop-b,.plot-fx.fx-weed .drop-b{left:-4px!important;top:-30px!important;}
.plot-fx.fx-pest .drop-c,.plot-fx.fx-weed .drop-c{left:4px!important;top:-28px!important;}
.plot-fx.fx-pest .drop-d,.plot-fx.fx-weed .drop-d{left:-8px!important;top:-22px!important;}
.plot-fx.fx-pest .drop-e,.plot-fx.fx-weed .drop-e{left:10px!important;top:-24px!important;}
@media(max-width:980px){.plot-fx .drop{width:5px!important;height:9px!important;}.plot-fx .drop-a{top:-29px!important;}.plot-fx .drop-b{top:-33px!important;}.plot-fx .drop-c{top:-31px!important;}.plot-fx .drop-d{top:-26px!important;}.plot-fx .drop-e{top:-28px!important;}}

/* liquid drips v2 */
.plot-fx .drop{position:absolute!important;width:9px!important;height:16px!important;border-radius:50% 50% 50% 50%/62% 62% 38% 38%!important;opacity:0;box-shadow:0 0 10px #ffffffcc,0 0 0 1px #0002 inset!important;animation:fxDrip2 1.5s ease-in both!important;}
.plot-fx .drop:after{content:""!important;position:absolute!important;left:1.5px!important;top:2px!important;width:3px!important;height:5px!important;border-radius:50%!important;background:#fff!important;opacity:.85!important;filter:blur(.3px)!important;}
.plot-fx.fx-water .drop{background:#5cb9f2!important;}
.plot-fx.fx-weed .drop{background:#4aa3e0!important;}
.plot-fx.fx-pest .drop{background:#a9743f!important;}
.plot-fx .drop-a{left:-11px!important;top:-40px!important;animation-delay:.04s!important;}
.plot-fx .drop-b{left:-3px!important;top:-44px!important;animation-delay:.16s!important;}
.plot-fx .drop-c{left:6px!important;top:-42px!important;animation-delay:.28s!important;}
.plot-fx .drop-d{left:14px!important;top:-38px!important;animation-delay:.4s!important;}
.plot-fx .drop-e{left:-8px!important;top:-34px!important;animation-delay:.52s!important;}
.plot-fx .drop-f{left:2px!important;top:-36px!important;animation-delay:.64s!important;}
.plot-fx .drop-g{left:11px!important;top:-33px!important;animation-delay:.76s!important;}
@keyframes fxDrip2{0%{opacity:0;transform:translate(0,-10px) scaleY(.65)}14%{opacity:1}80%{opacity:1;transform:translate(-2px,42px) scaleY(1.1)}100%{opacity:0;transform:translate(-3px,56px) scaleY(1.35)}}
.plot-fx .splash{position:absolute!important;left:-9px!important;top:2px!important;width:18px!important;height:10px!important;border-radius:50%!important;border:3px solid #cbeaff!important;opacity:0;animation:fxSplash 1.15s ease-out .34s both!important;}
.plot-fx.fx-pest .splash{border-color:#d9b083!important;}
.plot-fx.fx-weed .splash{border-color:#a9d8f7!important;}
@keyframes fxSplash{0%{opacity:0;transform:scale(.3)}35%{opacity:.95}100%{opacity:0;transform:scale(1.7) translateY(3px)}}
.plot-fx.fx-pest .drop-a,.plot-fx.fx-weed .drop-a{left:-13px!important;top:-30px!important;}
.plot-fx.fx-pest .drop-b,.plot-fx.fx-weed .drop-b{left:-5px!important;top:-34px!important;}
.plot-fx.fx-pest .drop-c,.plot-fx.fx-weed .drop-c{left:3px!important;top:-32px!important;}
.plot-fx.fx-pest .drop-d,.plot-fx.fx-weed .drop-d{left:10px!important;top:-28px!important;}
.plot-fx.fx-pest .drop-e,.plot-fx.fx-weed .drop-e{left:-11px!important;top:-24px!important;}
.plot-fx.fx-pest .drop-f,.plot-fx.fx-weed .drop-f{left:-1px!important;top:-26px!important;}
.plot-fx.fx-pest .drop-g,.plot-fx.fx-weed .drop-g{left:7px!important;top:-23px!important;}
@media(max-width:980px){.plot-fx .drop{width:8px!important;height:14px!important;}.plot-fx .drop-a{top:-34px!important;}.plot-fx .drop-b{top:-38px!important;}.plot-fx .drop-c{top:-36px!important;}.plot-fx .drop-d{top:-32px!important;}.plot-fx .drop-e{top:-28px!important;}.plot-fx .drop-f{top:-30px!important;}.plot-fx .drop-g{top:-27px!important;}.plot-fx .splash{left:-8px!important;width:16px!important;height:9px!important;}}

/* fertilizer granules */
.plot-fx .granule{position:absolute!important;width:6px!important;height:6px!important;border-radius:2px!important;background:#2b2116!important;box-shadow:0 0 0 1px #00000090,0 1px 0 #6b5a44 inset!important;opacity:0;animation:fxGranule 1.35s cubic-bezier(.35,.06,.6,1) both!important;}
.plot-fx.fx-fertilize .granule{display:block!important;}
.plot-fx .gran-a{left:-12px!important;top:-28px!important;animation-delay:.04s!important;}
.plot-fx .gran-b{left:-4px!important;top:-31px!important;animation-delay:.14s!important;}
.plot-fx .gran-c{left:4px!important;top:-30px!important;animation-delay:.24s!important;}
.plot-fx .gran-d{left:12px!important;top:-27px!important;animation-delay:.34s!important;}
.plot-fx .gran-e{left:-8px!important;top:-24px!important;animation-delay:.44s!important;}
.plot-fx .gran-f{left:8px!important;top:-23px!important;animation-delay:.54s!important;}
@keyframes fxGranule{0%{opacity:0;transform:translate(0,-8px) rotate(0deg) scale(.6)}14%{opacity:1}62%{opacity:1;transform:translate(-4px,20px) rotate(150deg) scale(1)}78%{opacity:1;transform:translate(-3px,26px) rotate(230deg) scale(1)}88%{transform:translate(-2px,24px) rotate(300deg) scale(1)}100%{opacity:0;transform:translate(0,26px) rotate(360deg) scale(.9)}}
.plot-fx .gran-a{--gx:-1px!important;}
.plot-fx .gran-c{--gx:1px!important;}
.plot-fx .gran-e{--gx:-1px!important;}
@media(max-width:980px){.plot-fx .granule{width:5px!important;height:5px!important;}.plot-fx .gran-a{top:-24px!important;}.plot-fx .gran-b{top:-27px!important;}.plot-fx .gran-c{top:-26px!important;}.plot-fx .gran-d{top:-23px!important;}.plot-fx .gran-e{top:-20px!important;}.plot-fx .gran-f{top:-19px!important;}}

/* fertilizer granules v2 */
.plot-fx .granule{width:8px!important;height:8px!important;border-radius:2.5px!important;background:#241b10!important;box-shadow:0 0 0 1px #000000a0,0 0 8px #00000070,0 1px 0 #7a6750 inset!important;animation:fxGranule2 1.7s cubic-bezier(.32,.05,.55,1) forwards!important;}
@keyframes fxGranule2{0%{opacity:0;transform:translate(0,-10px) rotate(0deg) scale(.55)}10%{opacity:1}58%{opacity:1;transform:translate(-5px,18px) rotate(140deg) scale(1)}74%{opacity:1;transform:translate(-4px,26px) rotate(230deg) scale(1)}84%{opacity:1;transform:translate(-3px,23px) rotate(290deg) scale(1)}94%{opacity:1;transform:translate(-2px,25px) rotate(340deg) scale(1)}100%{opacity:0;transform:translate(-2px,24px) rotate(360deg) scale(.95)}}
@media(max-width:980px){.plot-fx .granule{width:7px!important;height:7px!important;}}

/* fx particles visible (important opacity removed) */

/* tools in field title row */
.field-title{display:flex!important;align-items:center!important;gap:5px!important;margin:0 2px 8px!important;padding:0!important;min-height:0!important;}
.field-title .farm-tool-list{display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:5px!important;flex:1 1 auto!important;width:100%!important;margin:0!important;}
.field-title .farm-tool-list button{flex:1 1 0!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:4px 1px!important;border-radius:11px!important;background:linear-gradient(180deg,#fff1a8,#e1a944)!important;border:2px solid #9b611e!important;box-shadow:0 3px 0 #704016!important;color:#573412!important;font-size:11px!important;line-height:1!important;}
.field-title .farm-tool-list button.active{background:linear-gradient(180deg,#b9f57b,#5dbd43)!important;border-color:#2f7e2e!important;box-shadow:0 3px 0 #1f5b1d!important;color:#163c14!important;}
.field-title .farm-tool-list .tool-svg{width:21px!important;height:21px!important;flex:0 0 21px!important;}
.field-title .farm-tool-list b{font-size:11px!important;line-height:1!important;font-weight:1000!important;white-space:nowrap!important;}
@media(max-width:980px){.field-title{gap:4px!important;margin-bottom:7px!important;}.field-title .farm-tool-list{gap:4px!important;}.field-title .farm-tool-list button{padding:3px 0!important;border-width:2px!important;}.field-title .farm-tool-list .tool-svg{width:19px!important;height:19px!important;flex-basis:19px!important;}.field-title .farm-tool-list b{font-size:10px!important;}}
@media(max-width:360px){.field-title .farm-tool-list b{font-size:9px!important;}.field-title .farm-tool-list .tool-svg{width:16px!important;height:16px!important;flex-basis:16px!important;}}
/* 扩建 signboard on plot 7 */
.plot .plot-sign{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-4deg);
  display:block;padding:5px 11px 6px;border-radius:8px;
  background:linear-gradient(180deg,#f8dca0,#d8a95f);
  border:3px solid #7a4a1e;
  box-shadow:0 3px 0 #5c3513,inset 0 2px 0 rgba(255,255,255,.65);
  color:#5a3311;font-size:15px;font-weight:900;line-height:1;letter-spacing:2px;
  white-space:nowrap;z-index:3;text-shadow:0 1px 0 rgba(255,255,255,.5);
}
.plot .plot-sign:before,.plot .plot-sign:after{
  content:"";position:absolute;top:3px;width:4px;height:4px;border-radius:50%;
  background:#8a5a2b;
}
.plot .plot-sign:before{left:5px;}
.plot .plot-sign:after{right:5px;}
@media(max-width:980px){
  .plot .plot-sign{font-size:13px;padding:4px 9px 5px;border-width:2px;letter-spacing:1px;}
}
/* seed shop backdrop: kill ghosted plots behind the modal */
.seed-modal-mask{
  background:radial-gradient(circle at 50% 42%,rgba(10,26,8,.74),rgba(6,16,5,.92))!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
}
.seed-card:not([hidden]){box-shadow:0 18px 48px rgba(0,0,0,.55)!important;}
.plot:focus,.plot:focus-visible{outline:none!important;}
body:has(.seed-card:not([hidden])) .plot{outline-color:transparent!important;box-shadow:none!important;}
body:has(.seed-card:not([hidden])) .plot.selected{outline:0!important;}
/* no blue tap flash on plots */
html,body,button,.plot,.crop-card{-webkit-tap-highlight-color:transparent!important;}
.plot{touch-action:manipulation;}
/* no tap highlight anywhere (some Android webviews paint it blue) */
*,*::before,*::after{-webkit-tap-highlight-color:transparent!important;}
button,.plot{-webkit-touch-callout:none;user-select:none;}
/* care rules: collapsed card holding the 6 tools + rules */
details.rule-card{padding:0!important;overflow:hidden;}
details.rule-card>summary{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:12px 14px;cursor:pointer;list-style:none;
  font-size:17px;font-weight:700;color:#5c3915;
  -webkit-tap-highlight-color:transparent;user-select:none;
}
details.rule-card>summary::-webkit-details-marker{display:none;}
details.rule-card>summary::marker{content:"";}
details.rule-card .rule-caret{
  width:0;height:0;flex:0 0 auto;
  border-left:7px solid transparent;border-right:7px solid transparent;border-top:9px solid #7a4a1e;
  transition:transform .18s ease;transform:rotate(-90deg);opacity:.75;
}
details.rule-card[open] .rule-caret{transform:rotate(0deg);}
details.rule-card .rule-list{padding:0 14px 12px;}
details.rule-card[open]>summary{border-bottom:1px solid rgba(122,74,30,.18);margin-bottom:9px;}
details.rule-card .rule-list div{padding:8px 10px;}
details.rule-card .rule-list b{font-size:13.5px;}
details.rule-card .rule-list span{font-size:12.5px;line-height:1.45;}

/* farm negative events: weed, pest, dry */
.plot.has-weed::after,.plot.has-pest::before{position:absolute!important;z-index:5!important;font-size:18px!important;line-height:1!important;filter:drop-shadow(0 2px 0 #fff8)!important;}
.plot.has-weed::after{content:"🌿"!important;left:8px!important;bottom:7px!important;}
.plot.has-pest::before{content:"🐛"!important;right:8px!important;top:7px!important;}
.plot.has-dry{filter:saturate(.72) brightness(.94)!important;}
.plot .dry-mark{position:absolute!important;left:20%!important;right:20%!important;top:45%!important;height:18px!important;z-index:4!important;pointer-events:none!important;}
.plot .dry-mark:before,.plot .dry-mark:after{content:""!important;position:absolute!important;top:7px!important;height:2px!important;border-radius:99px!important;background:#5b3418!important;box-shadow:16px -5px 0 -1px #6f421f,-12px 6px 0 -1px #6f421f!important;opacity:.62!important;}
.plot .dry-mark:before{left:0!important;width:42%!important;transform:rotate(-24deg)!important;}
.plot .dry-mark:after{right:0!important;width:46%!important;transform:rotate(21deg)!important;}

/* crop growth visual stages */
.plot .plant-art{position:relative!important;display:block!important;width:46px!important;height:38px!important;margin:2px auto 1px!important;z-index:4!important;}
.plant-art i{position:absolute!important;display:block!important;left:50%!important;transform-origin:50% 100%!important;transition:opacity .25s ease,transform .25s ease!important;}
.plant-art .seed-grain{width:20px!important;height:12px!important;left:50%!important;bottom:3px!important;margin-left:-10px!important;border-radius:58% 42% 60% 40%!important;background:linear-gradient(135deg,#d6a158,#80501f)!important;border:2px solid #5c3415!important;box-shadow:inset 3px 2px 0 rgba(255,230,160,.55),0 2px 0 rgba(70,36,12,.28)!important;}
.plant-art .sprout-left,.plant-art .sprout-right{width:17px!important;height:11px!important;bottom:15px!important;background:linear-gradient(135deg,#9bea66,#3d9c38)!important;border:2px solid #236d25!important;border-radius:100% 0 100% 0!important;opacity:0!important;}
.plant-art .sprout-left{margin-left:-15px!important;transform:rotate(-32deg) scale(.7)!important;}
.plant-art .sprout-right{margin-left:-2px!important;transform:scaleX(-1) rotate(-32deg) scale(.7)!important;}
.plant-art .stem{width:5px!important;height:24px!important;bottom:6px!important;margin-left:-2px!important;border-radius:999px!important;background:linear-gradient(180deg,#75d34f,#2f8a31)!important;border:1px solid #1f6f25!important;opacity:0!important;transform:scaleY(.45)!important;}
.plant-art .leaf{width:22px!important;height:13px!important;bottom:18px!important;background:linear-gradient(135deg,#b8f06e,#399634)!important;border:2px solid #26762a!important;border-radius:100% 0 100% 0!important;opacity:0!important;}
.plant-art .leaf-a{margin-left:-23px!important;transform:rotate(-24deg) scale(.65)!important;}
.plant-art .leaf-b{margin-left:2px!important;transform:scaleX(-1) rotate(-24deg) scale(.65)!important;}
.plant-art .flower-dot{width:18px!important;height:18px!important;bottom:26px!important;margin-left:-9px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 50%,#ffe889 0 24%,#ff9bc7 26% 52%,#df4f91 54% 100%)!important;border:2px solid #9a3a6a!important;box-shadow:0 0 0 4px rgba(255,226,111,.28)!important;opacity:0!important;transform:scale(.45)!important;}
.plant-art .crop-final{width:30px!important;height:30px!important;bottom:10px!important;margin-left:-15px!important;font-size:27px!important;line-height:30px!important;text-align:center!important;filter:drop-shadow(0 3px 0 rgba(75,39,14,.35))!important;opacity:0!important;transform:scale(.55)!important;}
.plant-art.stage-sprout .sprout-left,.plant-art.stage-sprout .sprout-right{opacity:1!important;transform:rotate(-32deg) scale(1)!important;}
.plant-art.stage-sprout .sprout-right{transform:scaleX(-1) rotate(-32deg) scale(1)!important;}
.plant-art.stage-plant .seed-grain,.plant-art.stage-flower .seed-grain,.plant-art.stage-mature .seed-grain{opacity:.38!important;transform:scale(.82)!important;}
.plant-art.stage-plant .stem,.plant-art.stage-flower .stem{opacity:1!important;transform:scaleY(1)!important;}
.plant-art.stage-plant .leaf,.plant-art.stage-flower .leaf{opacity:1!important;}
.plant-art.stage-plant .leaf-a,.plant-art.stage-flower .leaf-a{transform:rotate(-24deg) scale(1)!important;}
.plant-art.stage-plant .leaf-b,.plant-art.stage-flower .leaf-b{transform:scaleX(-1) rotate(-24deg) scale(1)!important;}
.plant-art.stage-flower .flower-dot{opacity:1!important;transform:scale(1)!important;animation:flowerPulse 1.6s ease-in-out infinite!important;}
.plant-art.stage-mature .crop-final{opacity:1!important;transform:scale(1)!important;animation:cropRipeBob 1.8s ease-in-out infinite!important;}
.plant-art.stage-mature .stem,.plant-art.stage-mature .leaf{opacity:.32!important;}
@keyframes flowerPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.09)}}
@keyframes cropRipeBob{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.04)}}
@media(max-width:980px){.plot .plant-art{width:42px!important;height:34px!important;margin-top:1px!important}.plant-art .crop-final{font-size:25px!important}.plant-art .flower-dot{bottom:24px!important}}

/* dog invite v1: new player only sees the kennel, clicking it asks for a dog */
body.no-dog .dog-asset,body.no-dog .feed-bowl{display:none!important}
.dog-invite{position:absolute;right:282px;top:271px;width:188px;padding:10px 12px;border-radius:16px;background:linear-gradient(180deg,#fffbe3,#ffe9ae);border:3px solid #c98b34;box-shadow:0 6px 0 #85581f,0 12px 22px #1d3d1a44;z-index:30}
.dog-invite[hidden]{display:none!important}
.dog-invite p{margin:0 0 8px;font-size:13px;font-weight:900;color:#5d3a12;line-height:1.35}
.dog-invite-actions{display:flex;gap:6px}
.dog-invite-actions button{flex:1;padding:7px 8px;border-radius:12px;font-size:12px;font-weight:900;background:linear-gradient(180deg,#ffe27d,#d79430);border:2px solid #9c611e;box-shadow:0 3px 0 #704016;color:#4a2c0c;cursor:pointer}
.dog-invite-actions #dogInviteNo{background:linear-gradient(180deg,#fff6d6,#e8d3a0);border-color:#b39b60;box-shadow:0 3px 0 #8a7440;color:#6b5726}
.dog-invite:after{content:"";position:absolute;left:34%;top:-10px;width:16px;height:16px;background:#ffefc2;border-left:3px solid #c98b34;border-top:3px solid #c98b34;transform:translateX(-50%) rotate(45deg);border-radius:3px}
@media(max-width:980px){.dog-invite{width:186px!important;padding:8px 10px!important}.dog-invite p{font-size:12px;margin-bottom:6px}.dog-invite-actions button{padding:6px 6px;font-size:11px}.dog-invite:after{left:30%!important}}



/* crop art v1: 8 crops x 5 stages, 128px trimmed canvases */
.plant-art .crop-img{position:absolute!important;left:50%!important;bottom:-4px!important;transform:translateX(-50%)!important;width:44px!important;height:44px!important;object-fit:contain!important;display:block!important;opacity:0!important;z-index:5!important;pointer-events:none!important;filter:drop-shadow(0 2px 2px rgba(60,32,10,.28))!important}
.plant-art.has-img .crop-img{opacity:1!important}
.plant-art.has-img>i{display:none!important}
@media(max-width:980px){.plant-art .crop-img{width:40px!important;height:40px!important;bottom:-3px!important}}

/* plot height lock v1: a planted plot must not be taller than an empty one, or the field grows when you plant */
.plot{height:72px!important;min-height:72px!important;max-height:72px!important;padding:4px 4px 18px!important}
.plot .plant-art{width:46px!important;height:34px!important;margin:1px auto 0!important}
.plot .name{font-size:11px!important;line-height:1.25!important}
.plot .time{bottom:3px!important;padding:3px 2px!important}
@media(max-width:980px){
  .plot{height:70px!important;min-height:70px!important;max-height:70px!important;padding:4px 3px 17px!important}
  .plot .plant-art{width:44px!important;height:32px!important;margin:1px auto 0!important}
  .plot .name{font-size:11px!important}
  .plot .time{bottom:3px!important}
}

/* 邻居串门 v1 */
.neighbor-btn b{font-size:12px}
.neighbor-card{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,380px);max-height:78vh;overflow:auto;z-index:1200;padding:16px 14px 14px!important}
.neighbor-card h2{margin:0 0 4px;font-size:17px}
.neighbor-card .hint{font-size:12px;color:#7d6242;margin:0 0 8px;line-height:1.5}
.neighbor-today{font-size:12px;color:#8a6a34;margin:0 0 10px}
.neighbor-list{display:flex;flex-direction:column;gap:8px}
.neighbor-row{display:flex;align-items:center;gap:8px;background:#fff8e6;border:1px solid #e8d3a6;border-radius:12px;padding:9px 10px}
.neighbor-meta{display:flex;flex-direction:column;line-height:1.25;min-width:82px}
.neighbor-meta b{font-size:13px;color:#5c4322}
.neighbor-meta small{font-size:11px;color:#a08a63}
.neighbor-chips{flex:1;font-size:12px;color:#a4611f}
.neighbor-chips .done{color:#7aa36a}
.neighbor-go{margin-left:auto;border:none;border-radius:10px;background:#63b34a;color:#fff;font-size:12px;padding:7px 11px;font-weight:700}
.neighbor-go:disabled{background:#cdd6c9;color:#fff}

/* 邻居串门 v2 */
.nb-farm-card{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(96vw,540px);max-height:88vh;overflow:auto;z-index:1300;padding:16px 14px 18px!important}
.nb-farm-card h2{margin:0 0 4px;font-size:17px}
.nb-farm-card h2 small{font-size:12px;color:#a08a63;font-weight:400}
.nb-farm-card .hint{font-size:12px;color:#7d6242;margin:0 0 10px;line-height:1.5}
.nb-tools{display:flex;gap:8px;margin:0 0 10px}
.nb-tools button{flex:1;padding:9px 6px;border-radius:10px;border:1px solid #e0c9a0;background:#fff8e6;font-size:13px;font-weight:700;color:#7a5a2c}
.nb-tools button.on{background:#63b34a;border-color:#4f9539;color:#fff}
.nb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.nb-marks{position:absolute;left:5px;bottom:5px;display:flex;gap:3px;z-index:6}
.nb-mark{font-style:normal;font-size:10px;line-height:1.2;padding:1px 4px;border-radius:6px;color:#fff}
.nb-mark.dry{background:#c98b2f}
.nb-mark.weed{background:#5c9c3f}
.nb-mark.pest{background:#b5563f}
.nb-plot .crop-img{width:36px!important;height:36px!important}

/* 邻居地块：只留作物图 + 标记，避免和名字挤在一起 */
.nb-plot .name{display:none!important}
.nb-plot .plant-art{height:40px!important;width:44px!important;margin:2px auto 0!important}
.nb-plot .crop-img{width:42px!important;height:42px!important;bottom:-2px!important}
.nb-marks{left:4px;bottom:3px}

/* 好友来往按钮：和仓库同一排，放在仓库左边，禁止压住仓库 */
#neighborToggleBtn.basket-btn{position:absolute;left:auto!important;right:92px!important;top:236px!important;width:68px!important;height:56px!important;z-index:34!important;font-size:22px!important}
#neighborToggleBtn.basket-btn b{font-size:11px!important;white-space:nowrap}
@media(min-width:981px){
  #neighborToggleBtn.basket-btn{right:120px!important;top:218px!important;width:86px!important;height:72px!important;font-size:26px!important}
  #neighborToggleBtn.basket-btn b{font-size:13px!important}
}
@media(max-width:420px){
  #neighborToggleBtn.basket-btn{right:90px!important;top:236px!important;width:66px!important;height:56px!important;font-size:21px!important}
  #neighborToggleBtn.basket-btn b{font-size:10.5px!important}
}

/* 好友来往木牌可点 */
#friendSignBtn{cursor:pointer;z-index:12;letter-spacing:1px}
#friendSignBtn:active{transform:translateY(2px)}

/* 仓库 v1 */
.store-card{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,380px);max-height:78vh;overflow:auto;z-index:1250;padding:16px 14px 14px!important}
.store-card h2{margin:0 0 4px;font-size:17px}
.store-card .hint{font-size:12px;color:#7d6242;margin:0 0 10px}
.store-list{display:flex;flex-direction:column}
.store-row{display:flex;align-items:center;gap:8px;background:#fff8e6;border:1px solid #e8d3a6;border-radius:12px;padding:9px 10px;margin-bottom:8px}
.store-name{flex:1;font-size:13px;color:#5c4322}
.store-num{font-size:13px;color:#8a6a34}
.store-price{font-size:11px;color:#a08a63}
.store-sell{border:none;border-radius:10px;background:#63b34a;color:#fff;padding:7px 12px;font-weight:700;font-size:12px}
.store-foot{display:flex;align-items:center;gap:10px;margin-top:4px;font-size:12px;color:#8a6a34}
.store-foot button{margin-left:auto;border:none;border-radius:10px;background:#e8892c;color:#fff;padding:8px 14px;font-weight:700;font-size:12px}
.store-empty{font-size:12px;color:#a08a63;text-align:center;padding:14px 0}
.nb-mark.steal{background:#8e6bd8}
.nb-tools button{font-size:12px;padding:8px 4px}

/* locked seeds (level gate) */
.crop-card.locked { opacity: .55; filter: grayscale(.4); }
.crop-card.locked b { color: #6b5b45; }

/* 等级 + 经验合一：金徽章 + 绿色数值 + 进度条 */
.hud > div:has(#dog){grid-column:1/-1}
.hud .hud-level{display:flex;align-items:center;gap:9px;padding:7px 10px}
.hud-level .lv-badge{position:relative;flex:0 0 auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:900;line-height:1;color:#7a4a12;background:radial-gradient(circle at 34% 30%,#fff3b8,#ffd764 62%,#e0a838);border:3px solid #fff6c4;box-shadow:0 3px 0 #b8791f,inset 0 -3px 0 #d99f35;text-shadow:0 1px 0 #fff8}
.hud-level .lv-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.hud-level .lv-main em{font-style:normal;font-size:15px;font-weight:900;color:#16833a;line-height:1}
.xp-bar{display:block;height:9px;border-radius:99px;background:#e7dcc0;box-shadow:inset 0 1px 2px #0003;overflow:hidden}
.xp-bar u{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#8ee06a,#3fa844);transition:width .35s ease}
@media(max-width:980px){
  .hud .hud-level{padding:6px 8px;gap:7px}
  .hud-level .lv-badge{width:36px;height:36px;font-size:11px;border-width:2px}
  .hud-level .lv-main em{font-size:12px}
  .xp-bar{height:7px}
}

/* ===== 2026-11-16 定稿：右上角连接钱包 + 等级经验合并成一条 ===== */
.walletBtn{position:absolute;right:18px;top:16px;z-index:34;border:0;border-radius:999px;padding:9px 16px;font-size:13px;font-weight:900;line-height:1;cursor:pointer;color:#07110b;white-space:nowrap;background:linear-gradient(180deg,#8ff7bd,#29cf73);box-shadow:0 4px 0 #1d9c55,0 10px 20px #0d3a2255}
.walletBtn:active{transform:translateY(2px);box-shadow:0 2px 0 #1d9c55}
.walletBtn.connected{background:linear-gradient(180deg,#c8f7bd,#63c46e);color:#0d2b12}
.hud{top:64px}
/* 等级徽章做成椭圆药丸，条在上、数字在下，和参考一致 */
.hud-level .lv-badge{width:auto;min-width:58px;height:36px;padding:0 13px;border-radius:999px;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.hud .hud-level{align-items:center}
.hud-level .lv-main{gap:5px}
.hud-level .lv-main em{font-size:12.5px;font-weight:800;color:#6b5540;letter-spacing:.2px}
.xp-bar{height:11px;border-radius:999px}
.xp-bar u{background:linear-gradient(90deg,#7ee06a,#39a83f)}
@media(max-width:980px){
  .walletBtn{right:14px;top:12px;padding:7px 13px;font-size:12px}
  .hud{top:92px}
  .hud-level .lv-badge{min-width:48px;height:30px;padding:0 10px;font-size:12px;border-width:2px}
  .hud-level .lv-main em{font-size:11px}
  .xp-bar{height:9px}
}

/* 看家狗状态小标签（HUD 里那格已去掉，状态挪到狗窝旁） */
.dog-state{position:absolute;right:268px;top:246px;z-index:10;background:#fffdf0e8;border:3px solid #fff2a6;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:900;color:#216b33;box-shadow:0 4px 0 #bf8532;white-space:nowrap}
.dog-state[hidden]{display:none}
@media(max-width:980px){
  .dog-state{left:150px;right:auto;top:236px;padding:5px 10px;font-size:11px;box-shadow:0 3px 0 #bf8532}
}
@media(max-width:420px){
  .dog-state{left:144px;top:232px}
}

/* 来只爱犬的提示气泡：跟随狗窝定位（桌面/手机都由 JS 算位置，这里只保证不被裁切） */
.dog-invite{max-width:calc(100% - 12px)}
.dog-invite:after{display:none}
@media(max-width:980px){
  .dog-invite{width:186px!important;padding:8px 10px!important;box-shadow:0 4px 0 #85581f,0 10px 18px #1d3d1a44}
  .dog-invite p{font-size:12px;margin-bottom:6px;line-height:1.3}
  .dog-invite-actions button{padding:6px 6px;font-size:11px}
}

/* ===== 2026-11-16 17:1x 顶栏重排：农场牌子缩小，钱包按钮加宽，HUD 下移 ===== */
.farm-logo{padding:8px 14px 9px;gap:8px;border-radius:20px;border-width:3px}
.farm-logo span{font-size:26px}
.farm-logo b{font-size:24px;line-height:1.05}
.walletBtn{min-width:112px;padding:10px 20px;font-size:13px;text-align:center}
.hud{top:78px}
@media(max-width:980px){
  .farm-logo{left:12px;top:10px;transform:scale(1)!important;padding:5px 10px 6px;gap:6px;border-width:3px;border-radius:16px;box-shadow:0 4px 0 #b16b26}
  .farm-logo span{font-size:19px}
  .farm-logo b{font-size:17px;line-height:1.05}
  .walletBtn{min-width:106px;padding:9px 14px;font-size:12px;top:11px;right:12px}
  .hud{top:74px}
}
@media(max-width:420px){
  .farm-logo{left:10px;top:9px}
  .farm-logo b{font-size:16px}
  .walletBtn{min-width:100px;padding:8px 12px;font-size:11.5px}
  .hud{top:70px}
}

/* ===== 2026-11-16 17:2x 牌子再缩小、顶栏留足空 ===== */
.farm-logo{padding:6px 12px 7px;gap:7px;border-radius:16px}
.farm-logo span{font-size:22px}
.farm-logo b{font-size:21px;line-height:1.05}
@media(max-width:980px){
  .farm-logo{left:10px;top:8px;padding:4px 8px 5px;gap:5px;border-radius:13px;border-width:2.5px;box-shadow:0 3px 0 #b16b26}
  .farm-logo span{font-size:16px}
  .farm-logo b{font-size:15px;line-height:1}
  .walletBtn{top:9px;right:10px;min-width:104px;padding:8px 12px;font-size:11.5px}
  .hud{top:62px}
}
@media(max-width:420px){
  .farm-logo{left:8px;top:7px}
  .farm-logo span{font-size:15px}
  .farm-logo b{font-size:14px}
  .walletBtn{min-width:100px;padding:7px 10px;font-size:11px}
  .hud{top:58px}
}

/* ===== 2026-11-16 钱包按钮加宽 ===== */
.walletBtn{min-width:150px;padding:11px 22px;font-size:13px}
@media(max-width:980px){
  .walletBtn{min-width:132px;padding:10px 16px;font-size:12.5px;top:9px;right:10px;letter-spacing:.2px}
}
@media(max-width:420px){
  .walletBtn{min-width:128px;padding:9px 14px;font-size:12px}
}

/* ===== 2026-11-16 17:09 牌子放大一档（比最初版小、比上一版大） ===== */
.farm-logo{padding:8px 16px 9px;gap:9px;border-radius:20px}
.farm-logo span{font-size:27px}
.farm-logo b{font-size:25px;line-height:1.05}
@media(max-width:980px){
  .farm-logo{left:10px;top:8px;padding:6px 12px 7px;gap:7px;border-radius:17px;border-width:3px;box-shadow:0 4px 0 #b16b26}
  .farm-logo span{font-size:21px}
  .farm-logo b{font-size:20px;line-height:1.02}
  .hud{top:68px}
}
@media(max-width:420px){
  .farm-logo{left:8px;top:7px;padding:5px 10px 6px}
  .farm-logo span{font-size:18px}
  .farm-logo b{font-size:18px}
  .hud{top:64px}
}

/* 操作记录：最新在上，同一天第一条显示日期 */
.ledger-panel .ledger-date{list-style:none;margin:10px 0 6px -22px;padding:4px 9px;width:max-content;border-radius:999px;background:#f7d879;color:#5b3611;font-weight:900;font-size:12px;box-shadow:0 2px 0 #b98328}
.ledger-panel li:not(.ledger-date){font-variant-numeric:tabular-nums}

/* 操作记录不要浏览器默认序号，避免日期分组把第一条挤成 2 */
.ledger-panel #ledger{margin:0;padding-left:0;max-height:180px;overflow:auto;list-style:none}
.ledger-panel #ledger li{list-style:none}
.ledger-panel .ledger-date{margin:10px 0 6px 0!important}

/* v53：看家中倒计时移到狗窝左下方，避免压住狗/狗粮/仓库 */
@media(max-width:980px){
  .dog-state{left:16px!important;right:auto!important;top:354px!important;max-width:150px;text-align:center;padding:5px 9px;font-size:11px;z-index:24}
}
@media(max-width:420px){
  .dog-state{left:14px!important;top:350px!important;max-width:148px}
}

/* v54：看家时间条，满格=24小时；提示投喂1份管4小时 */
.dog-state{border-radius:14px!important;padding:6px 8px!important;line-height:1.15!important;white-space:normal!important;min-width:132px!important;background:#fffdf0f2!important}
.dog-state-title{display:block;font-weight:1000;color:#216b33;white-space:nowrap}
.guard-bar{display:block;height:8px;margin:4px 0 3px;border-radius:999px;background:#d8ccb3;box-shadow:inset 0 1px 3px #6a4a2144;overflow:hidden}
.guard-bar u{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#95ec62,#27a847);box-shadow:0 0 6px #43b84588}
.guard-bar.empty u{background:transparent;box-shadow:none}
.dog-feed-tip{display:block;font-size:10px;font-weight:900;color:#7a5520;white-space:nowrap}
@media(max-width:980px){
  .dog-state{left:14px!important;right:auto!important;top:346px!important;max-width:154px!important;min-width:146px!important;font-size:11px!important;z-index:24!important}
}
@media(max-width:420px){
  .dog-state{left:12px!important;top:342px!important;max-width:150px!important;min-width:142px!important}
}

/* v56：看家时间接近满格时禁止继续喂，避免只补几秒也扣钱 */
.feed-bowl:disabled{filter:grayscale(.35) brightness(.95)!important;opacity:.62!important;cursor:not-allowed!important;box-shadow:0 2px 0 #6b3a13!important}

/* v57：看家时长牌压缩成短条，放在狗窝下方空档，避开地块 */
.dog-state{display:grid!important;grid-template-columns:auto auto;column-gap:6px;align-items:center;min-width:132px!important;max-width:142px!important;padding:4px 8px!important;border-radius:999px!important;line-height:1!important;white-space:nowrap!important}
.dog-state-title{font-size:10.5px!important;line-height:1!important}
.dog-feed-tip{font-size:9.5px!important;line-height:1!important;color:#7a5520!important}
.guard-bar{grid-column:1/-1;height:6px!important;margin:3px 0 0!important}
@media(max-width:980px){
  .dog-state{left:14px!important;right:auto!important;top:574px!important;z-index:24!important}
}
@media(max-width:420px){
  .dog-state{left:12px!important;top:574px!important;max-width:140px!important}
}

/* v58：看家时长固定放在好友牌右侧、狗窝上方，不碰田地 */
.dog-state{display:grid!important;grid-template-columns:1fr auto;column-gap:4px;align-items:center;width:128px!important;min-width:0!important;max-width:128px!important;padding:4px 7px!important;border-radius:13px!important;line-height:1!important;white-space:nowrap!important}
.dog-state-title{font-size:10px!important;line-height:1!important;overflow:hidden;text-overflow:ellipsis}
.dog-feed-tip{font-size:9px!important;line-height:1!important;color:#7a5520!important;white-space:nowrap!important}
.guard-bar{grid-column:1/-1;height:5px!important;margin:3px 0 0!important}
@media(max-width:980px){
  .dog-state{left:128px!important;right:auto!important;top:180px!important;z-index:24!important}
}
@media(max-width:420px){
  .dog-state{left:122px!important;top:180px!important;width:110px!important;max-width:110px!important;padding:4px 6px!important}
  .dog-state-title{font-size:9.5px!important}
  .dog-feed-tip{font-size:8.5px!important}
}

/* v59：看家条放回狗窝下方那块，整体上移一点，避开收获/浇水工具区 */
@media(max-width:980px){
  .dog-state{left:14px!important;right:auto!important;top:560px!important;width:142px!important;max-width:142px!important;z-index:24!important}
}
@media(max-width:420px){
  .dog-state{left:12px!important;top:556px!important;width:138px!important;max-width:138px!important}
}

/* v60：看家条和狗粮按钮放同一行 */
.dog-state{grid-template-columns:1fr auto!important;width:132px!important;max-width:132px!important;padding:4px 7px!important}
@media(max-width:980px){
  .dog-state{left:14px!important;right:auto!important;top:566px!important;width:176px!important;max-width:176px!important;min-width:0!important;z-index:24!important}
}
@media(max-width:420px){
  .dog-state{left:12px!important;top:562px!important;width:178px!important;max-width:178px!important}
}

/* v61：看家条拉回狗粮按钮左边，紧贴狗粮，不再跑到屏幕左边 */
.dog-state{width:118px!important;max-width:118px!important;min-width:0!important;padding:4px 6px!important;border-radius:12px!important}
.dog-state-title{font-size:9.5px!important}
.dog-feed-tip{font-size:8.5px!important}
.guard-bar{height:5px!important;margin-top:3px!important}
@media(max-width:980px){
  .dog-state{left:76px!important;right:auto!important;top:566px!important;z-index:27!important}
}
@media(max-width:420px){
  .dog-state{left:72px!important;top:562px!important;width:118px!important;max-width:118px!important}
}

/* v62：狗粮和看家条放进同一个容器，彻底不用各自乱跑的绝对定位 */
.dog-feed-row{position:absolute;left:278px;top:310px;z-index:28;display:flex;align-items:center;gap:6px}
.dog-feed-row .feed-bowl{position:static!important;left:auto!important;right:auto!important;top:auto!important;flex:0 0 auto}
.dog-feed-row .dog-state{position:static!important;left:auto!important;right:auto!important;top:auto!important;display:grid!important;width:150px!important;max-width:150px!important;min-width:0!important;padding:4px 6px!important;border-radius:12px!important;box-shadow:0 3px 0 #bf8532!important}
.dog-feed-row .dog-state[hidden]{display:none!important}
.dog-feed-row .dog-state-title{font-size:9.5px!important;line-height:1!important}
.dog-feed-row .dog-feed-tip{font-size:8.5px!important;line-height:1!important}
.dog-feed-row .guard-bar{height:5px!important;margin-top:3px!important}
@media(max-width:980px){.dog-feed-row{left:74px;top:566px}}
@media(max-width:420px){.dog-feed-row{left:70px;top:562px;gap:5px}.dog-feed-row .dog-state{width:144px!important;max-width:144px!important}}

/* v63：修正 v62 的坐标系错误。容器在场景内定位，top 334 才是手机屏幕狗粮那一行；不是 562。 */
@media(max-width:980px){
  .dog-feed-row{left:70px!important;top:338px!important;z-index:28!important}
}
@media(max-width:420px){
  .dog-feed-row{left:68px!important;top:334px!important;gap:5px!important}
}
/* v64: 最新PNG作物图唯一显示，禁用旧CSS成长兜底 */
.plot .plant-art > i,
.plot .plant-art .seed-grain,
.plot .plant-art .sprout-left,
.plot .plant-art .sprout-right,
.plot .plant-art .stem,
.plot .plant-art .leaf,
.plot .plant-art .flower-dot,
.plot .plant-art .crop-final{
  display:none!important;
  opacity:0!important;
}
.plot .plant-art .crop-img{
  display:block!important;
}
/* v66: 自家农场技能选中态与好友一致，不用绿色 */
.field-title .farm-tool-list button.on,
.field-title .farm-tool-list button.active{
  background:linear-gradient(180deg,#fff9df 0%,#f7df91 58%,#d79b35 100%)!important;
  border-color:#5f3510!important;
  color:#3e2208!important;
  box-shadow:0 0 0 2px #fff3b4,0 0 0 4px rgba(95,53,16,.38),0 4px 0 #4b2a0d,0 7px 12px rgba(0,0,0,.2)!important;
  transform:translateY(-1px)!important;
}
.field-title .farm-tool-list button.on .tool-svg,
.field-title .farm-tool-list button.active .tool-svg{
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.85)) drop-shadow(0 0 3px rgba(80,42,10,.22))!important;
}
.field-title .farm-tool-list button.on b,
.field-title .farm-tool-list button.active b{
  color:#3e2208!important;
  text-shadow:0 1px 0 rgba(255,255,255,.8)!important;
}
/* v68: 负面图标左上角紧凑排布，不挡进度 */
.plot.has-weed::after,
.plot.has-pest::before{
  content:none!important;
  display:none!important;
}
.plot .dry-mark{display:none!important;}
.plot .plot-status-marks{
  position:absolute!important;
  left:5px!important;
  top:5px!important;
  z-index:9!important;
  display:flex!important;
  align-items:center!important;
  gap:1px!important;
  pointer-events:none!important;
  flex-wrap:nowrap!important;
  max-width:46px!important;
  height:16px!important;
  overflow:visible!important;
}
.plot .plot-mark{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-style:normal!important;
  font-size:14px!important;
  line-height:14px!important;
  text-shadow:0 1px 0 #fff,0 2px 3px rgba(0,0,0,.25)!important;
}
.plot .plot-mark.pest,
.plot .plot-mark.weed{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.plot .plot-mark.dry{
  background:rgba(120,76,35,.2)!important;
  border-radius:3px!important;
  overflow:hidden!important;
  border:1px solid rgba(91,52,24,.18)!important;
}
.plot .plot-mark.dry::before,
.plot .plot-mark.dry::after{
  content:""!important;
  position:absolute!important;
  left:2px!important;
  width:10px!important;
  height:2px!important;
  border-radius:99px!important;
  background:#5b3418!important;
  opacity:.9!important;
  box-shadow:4px -4px 0 -1px #6f421f,-3px 4px 0 -1px #6f421f!important;
}
.plot .plot-mark.dry::before{top:6px!important;transform:rotate(-28deg)!important;}
.plot .plot-mark.dry::after{top:8px!important;transform:rotate(24deg)!important;}
.plot.has-dry .badge,
.plot.has-pest .badge,
.plot.has-weed .badge{
  right:4px!important;
  top:4px!important;
  z-index:8!important;
  padding:1px 5px!important;
  font-size:10px!important;
  min-width:29px!important;
  text-align:center!important;
}
@media(max-width:420px){
  .plot .plot-status-marks{left:4px!important;top:4px!important;max-width:43px!important;height:15px!important;gap:0!important;}
  .plot .plot-mark{flex-basis:14px!important;width:14px!important;height:14px!important;font-size:13px!important;line-height:14px!important;}
  .plot.has-dry .badge,
  .plot.has-pest .badge,
  .plot.has-weed .badge{right:3px!important;top:4px!important;font-size:9.5px!important;padding:1px 4px!important;min-width:27px!important;}
}
/* v69: 负面状态去掉图标小框 */
.plot .plot-status-marks{
  left:5px!important;
  top:5px!important;
  gap:2px!important;
  max-width:50px!important;
  height:16px!important;
  overflow:visible!important;
}
.plot .plot-mark,
.plot .plot-mark.pest,
.plot .plot-mark.weed,
.plot .plot-mark.dry{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.plot .plot-mark.dry::before,
.plot .plot-mark.dry::after{
  background:#5b3418!important;
  box-shadow:4px -4px 0 -1px #6f421f,-3px 4px 0 -1px #6f421f!important;
  opacity:.95!important;
}
@media(max-width:420px){
  .plot .plot-status-marks{left:4px!important;top:4px!important;gap:1px!important;max-width:48px!important;}
}

/* v70: 干旱图标改成三道自然裂缝 */
.plot .plot-mark.dry{
  width:16px!important;
  height:16px!important;
  flex-basis:16px!important;
  position:relative!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.plot .plot-mark.dry::before,
.plot .plot-mark.dry::after{
  content:""!important;
  position:absolute!important;
  display:block!important;
  width:2px!important;
  border-radius:999px!important;
  background:#5d361a!important;
  opacity:.96!important;
  transform-origin:50% 50%!important;
  filter:none!important;
}
.plot .plot-mark.dry::before{
  left:3px!important;
  top:2px!important;
  height:11px!important;
  transform:rotate(8deg)!important;
  box-shadow:5px 2px 0 0 #7a4a23!important;
}
.plot .plot-mark.dry::after{
  left:11px!important;
  top:4px!important;
  height:8px!important;
  transform:rotate(-7deg)!important;
  box-shadow:none!important;
}
@media(max-width:420px){
  .plot .plot-mark.dry{width:15px!important;height:15px!important;flex-basis:15px!important;}
}

/* v71: 游戏六补通用底部导航栏 */
.etg-bottom-nav{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:calc(70px + env(safe-area-inset-bottom,0px))!important;
  padding-bottom:env(safe-area-inset-bottom,0px)!important;
  background:#0f1422!important;
  border-top:1px solid #1a2130!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  z-index:10020!important;
  box-shadow:0 -8px 22px rgba(0,0,0,.22)!important;
}
.etg-bottom-nav a{
  color:#ffe8aa!important;
  text-decoration:none!important;
  text-align:center!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  height:100%!important;
  padding:0 4px!important;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,"Microsoft YaHei",sans-serif!important;
}
.etg-bottom-nav a div:first-child{font-weight:800!important;font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;}
.etg-bottom-nav a div:nth-child(2){font-size:12px!important;line-height:1.15!important;color:#9e906b!important;white-space:nowrap!important;margin-top:3px!important;}
@media(max-width:420px){
  .etg-bottom-nav a div:first-child{font-size:14px!important;}
  .etg-bottom-nav a div:nth-child(2){font-size:11px!important;}
}

/* v72: 底部导航安全留白，避免遮住最后内容 */
body{
  padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
}
.friend-list-wrap{
  padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;
}
.game-shell,
.friend-shell{
  padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
}
.control-drawer,
.store-card,
.nb-farm-card{
  margin-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
}
@media(max-width:420px){
  .friend-list-wrap{padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))!important;}
}

/* v73: 充值提现正式链上提示 */
.wallet-note{margin:0 0 10px!important;color:#6f4b1f!important;font-size:13px!important;font-weight:800!important;line-height:1.45!important;background:#fff7d6cc!important;border:1px solid #d5a84c!important;border-radius:12px!important;padding:8px 10px!important;}

/* v74: finance toast is top banner, above modal, no button blocking */
.toast{position:fixed!important;left:50%!important;top:calc(12px + env(safe-area-inset-top,0px))!important;bottom:auto!important;transform:translateX(-50%)!important;z-index:10000!important;width:min(92vw,520px)!important;max-width:520px!important;padding:14px 16px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff9d8,#ffd15a)!important;border:3px solid #fff0a5!important;box-shadow:0 12px 34px #0008,0 4px 0 #9c611e!important;color:#3f2308!important;font-size:16px!important;font-weight:1000!important;line-height:1.35!important;text-align:center!important;white-space:pre-wrap!important;pointer-events:none!important;}
.toast[hidden]{display:none!important;}
.toast.toast-error{background:linear-gradient(180deg,#fff1df,#ff8a4b)!important;border-color:#ffe0bf!important;color:#4d1800!important;}
.toast.toast-important{animation:toastPop .16s ease-out,toastPulse 1.1s ease-in-out 2;}
@keyframes toastPop{from{opacity:0;transform:translateX(-50%) translateY(-12px) scale(.96)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
@keyframes toastPulse{0%,100%{filter:saturate(1)}50%{filter:saturate(1.25) brightness(1.05)}}
@media(max-width:420px){.toast{top:calc(10px + env(safe-area-inset-top,0px))!important;width:calc(100vw - 24px)!important;font-size:15px!important;padding:12px 14px!important;border-radius:16px!important;}}

/* remove confusing white selected plot border */
.plot.selected{outline:0!important;}

/* 24 块地：只把画布拉长 2 行，每个地块尺寸不变 */
@media(min-width:981px){.farm-scene{height:1557px!important;min-height:1557px!important}}
@media(min-width:421px) and (max-width:980px){.farm-scene{height:1421px!important;min-height:1421px!important}}
@media(max-width:420px){.farm-scene{height:1417px!important;min-height:1417px!important}}


/* 收紧画布底部：页面到画布底为止，多出的空间都算画布内的草地，木框下沿在导航上方 */
body.no-dog{padding-bottom:0!important}
.game-shell,.friend-shell{padding-bottom:0!important}
.field-card{bottom:108px!important;top:auto!important}

/* 手机上木框左右放宽，减少留白 */
@media(max-width:980px){.field-card{left:2px!important;right:2px!important}}
/* expand sign same size as warehouse button */
.expand-sign{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:86px!important;height:72px!important;padding:0!important;border-radius:22px!important;font-size:14px!important;line-height:1!important;text-align:center!important;white-space:nowrap!important;right:26px!important;top:298px!important;z-index:14!important;}
.expand-sign small{font-size:12px!important;line-height:1!important;}
@media(max-width:980px){.expand-sign{right:16px!important;top:300px!important;width:68px!important;height:56px!important;border-radius:18px!important;font-size:12px!important;}}
@media(max-width:420px){.expand-sign{right:16px!important;top:300px!important;width:66px!important;height:56px!important;}}

.plot.locked .plot-sign{cursor:pointer!important;}
