.reference-scene .ref-board{transform:none}.reference-scene .ref-state-hint{display:block;color:#725538;line-height:1.4;font-weight:600;text-align:center}.reference-scene .ref-board button:disabled{opacity:1;background:#ddd7bb;color:#706b56;box-shadow:none;border-color:#beb79f;cursor:default;text-shadow:none}.reference-scene .ref-board button:not(:disabled):active{transform:translateY(2px);box-shadow:none}.reference-scene .ref-board button:focus-visible,.reference-scene .coop-dock button:focus-visible{outline:3px solid #285eaf;outline-offset:3px}.reference-scene #refBonus:not(:disabled){background:#fff0b5;border:2px solid #c79536;color:#73511c;border-radius:10px}.reference-scene #refBonus:disabled{border:2px solid #beb79f;border-radius:10px}.reference-scene #refBonus:disabled[data-applied=true]{background:#e7efd2;border-color:#91aa70;color:#41642f}.reference-scene .ref-cat,.reference-scene .ref-truck-art{filter:drop-shadow(0 5px 3px #44311d38)}.reference-scene #islandCat{isolation:isolate}.reference-scene #islandCat:before{content:"";position:absolute;left:21%;right:8%;bottom:1%;height:12%;background:radial-gradient(ellipse,#44311d38,transparent 70%);pointer-events:none;z-index:-1}.reference-scene .farm-chicken{background-repeat:no-repeat;transform-origin:50% 94%}.reference-scene #coopChickens:before{content:"";position:absolute;inset:38% 7% 44%;background:radial-gradient(ellipse,#44311d30,transparent 70%);pointer-events:none}@media(min-width:601px){.reference-scene .ref-board{padding:12px;border-width:5px;border-radius:14px}.reference-scene .ref-board h3{font-size:clamp(18px,1.7cqw,24px);line-height:1.25;margin:0 0 8px}.reference-scene .ref-board p,.reference-scene .ref-board div{font-size:clamp(16px,1.25cqw,20px);line-height:1.4;margin:6px 0}.reference-scene .ref-resources small,.reference-scene #refEggCount,.reference-scene .ref-state-hint,.reference-scene #refBuildCost .build-shortage,.reference-scene .ref-build #coopFeed small,.reference-scene .ref-build #coopFeed span{font-size:clamp(14px,1.05cqw,17px);line-height:1.4}.reference-scene #refBuildCost .build-cost-line{font-size:clamp(15px,1.15cqw,19px);line-height:1.4}.reference-scene .ref-board button{min-height:44px;font-size:clamp(16px,1.45cqw,22px);margin:5px 0;padding:7px 5px;touch-action:manipulation}.reference-scene .ref-board button.ref-link{font-size:clamp(14px,1.05cqw,17px);min-height:44px}.reference-scene .ref-build #coopFeed{min-height:74px;margin:7px 0;padding:6px}.reference-scene #coopNotice{font-size:clamp(14px,1.1cqw,17px);line-height:1.4}.reference-scene #coopBubble{font-size:14px;line-height:1.4}.reference-scene #coopLabel{font-size:clamp(16px,1.5cqw,22px)}.reference-scene .ref-explore small,.reference-scene #refInventory small{font-size:14px}.reference-scene .farm-actions button{min-height:44px;font-size:14px}}@media(min-width:961px)and (orientation:landscape){.reference-scene .ref-build{left:6%;top:25%;width:25%}.reference-scene .ref-orders{right:3%;top:23%;width:24%}.reference-scene .ref-board{padding:10px}.reference-scene .ref-board h3{margin-bottom:4px}.reference-scene .ref-board button{margin:3px 0}.reference-scene .ref-build #coopFeed{min-height:66px;margin:4px 0}.reference-scene .coop-cat-lane{left:31%;top:59%;width:26%;height:18%}.reference-scene .ref-truck{left:59%;top:57%;width:39%;height:40%}.reference-scene .farm-chicken{width:28%;height:auto;aspect-ratio:3 / 2}}@media(min-width:601px)and (orientation:portrait){.reference-scene{--tablet-logo:96px;--tablet-resources:64px;--tablet-cards:280px;--tablet-dock:88px;--tablet-notice:48px;--tablet-top: calc(8px + env(safe-area-inset-top,0px)) ;--tablet-bottom: calc(6px + env(safe-area-inset-bottom,0px)) ;--farm-top:calc(var(--tablet-top) + var(--tablet-logo) + var(--tablet-resources) + 12px);--farm-bottom:calc(var(--tablet-bottom) + var(--tablet-cards) + var(--tablet-dock) + var(--tablet-notice) + 18px);position:fixed;inset:0;translate:none;width:100%;height:100vh;height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:var(--tablet-logo) var(--tablet-resources) minmax(0,1fr) var(--tablet-cards) var(--tablet-dock) var(--tablet-notice);gap:6px;padding:var(--tablet-top) 8px var(--tablet-bottom);overflow:hidden;background-size:0 0;background-color:#1a1a2e}.reference-scene:before{content:"";grid-column:1 / -1;grid-row:3;background-image:inherit;background-size:cover;background-position:center;border-radius:12px;min-height:0;pointer-events:none}.reference-scene .ref-logo{position:relative;left:auto;top:auto;grid-column:1 / -1;grid-row:1;justify-self:center;width:calc(100% - 110px);max-width:220px;height:100%;z-index:6}.reference-scene .ref-logo img{width:100%;height:100%;object-fit:contain}.reference-scene .ref-resources{position:relative;left:auto;right:auto;top:auto;grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;min-height:0}.reference-scene .ref-resources>span,.reference-scene .ref-resources #refGoldTarget{min-width:0;padding:4px 6px;grid-template-columns:24px minmax(0,1fr);column-gap:5px;font-size:20px;border-radius:12px;line-height:1}.reference-scene .ref-resources small{font-size:10px;white-space:nowrap}.reference-scene .ref-resources b{font-size:16px;line-height:1.1;overflow:hidden;text-overflow:ellipsis}.reference-scene #refGoldTarget>.gold-coin{width:24px;height:24px;font-size:17px;border-width:2px;box-shadow:inset 0 0 0 2px #eca821}.reference-scene #refInventory,.reference-scene .ref-explore{position:absolute;top:var(--tablet-top);bottom:auto;width:46px;height:54px;min-width:0;padding:3px;font-size:24px;line-height:1.1;border-radius:12px;touch-action:manipulation}.reference-scene #refInventory{right:8px}.reference-scene .ref-explore{left:8px;right:auto}.reference-scene #refInventory small,.reference-scene .ref-explore small{font-size:10px;line-height:1.3}.reference-scene .coop-grounds{inset:var(--farm-top) 8px var(--farm-bottom);height:auto}.reference-scene .coop-building,.reference-scene .coop-building.upgraded,.reference-scene.quest-active .coop-building{left:31%;top:5%;width:42%;height:52%}.reference-scene #coopLabel{left:0;top:10%;width:100%;font-size:11px;padding:4px;transform:rotate(5deg);border-width:2px}.reference-scene #coopChickens{top:68%;height:65%}.reference-scene .coop-cat-lane{position:relative;grid-column:1 / -1;grid-row:3;align-self:end;justify-self:start;left:auto;top:auto;width:46%;height:58%;margin:0 0 22px 4%;min-height:0}.reference-scene #islandCat{width:82%;height:110%;bottom:0}.reference-scene #coopBubble{font-size:10px;min-width:100px;max-width:155px;padding:4px;bottom:95%;line-height:1.3}.reference-scene .ref-truck{position:relative;grid-column:1 / -1;grid-row:3;align-self:end;justify-self:end;left:auto;top:auto;width:52%;height:65%;margin:0 0 8px;min-height:0}.reference-scene .ref-basket{position:relative;grid-column:1 / -1;grid-row:3;align-self:start;justify-self:center;left:auto;top:auto;width:16%;height:28%;margin-top:8%;margin-left:14%}.reference-scene .ref-board{position:relative;left:auto;right:auto;top:auto;width:auto;min-width:0;transform:none;margin:0;padding:7px;border-width:3px;border-radius:10px;box-shadow:0 3px #80552f;display:flex;flex-direction:column;justify-content:space-between;gap:2px}.reference-scene .ref-build{grid-column:1;grid-row:4}.reference-scene .ref-orders{grid-column:2;grid-row:4;border-top-width:8px}.reference-scene .ref-board h3{font-size:14px;line-height:1.3;margin:0 0 2px}.reference-scene .ref-board p,.reference-scene .ref-board div{font-size:11px;line-height:1.4;margin:0;overflow-wrap:break-word}.reference-scene .ref-board #refBuildCost{font-size:11px;min-height:28px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px}.reference-scene .ref-orders strong{font-size:13px}.reference-scene #refEggCount{font-size:11px}.reference-scene #refOrderReward{font-size:12px;white-space:normal}.reference-scene .ref-board button{font-size:14px;min-height:42px;padding:6px 4px;margin:0;border-radius:9px;touch-action:manipulation}.reference-scene .ref-build #coopFeed{font-size:11px;line-height:1.3;padding:4px;margin:0;min-height:54px;border-radius:8px}.reference-scene .ref-build #coopFeed small{font-size:10px;line-height:1.35}.reference-scene .ref-build #coopFeed span{font-size:9px;line-height:1.3}.reference-scene .ref-board button.ref-link{font-size:11px;min-height:30px;padding:3px 0}.reference-scene .ref-awning{top:-8px;left:-3px;right:-3px;height:7px;border-radius:7px 7px 0 0}.reference-scene .farm-actions{position:relative;grid-column:1 / -1;grid-row:3;align-self:end;justify-self:start;left:auto;top:auto;right:auto;width:auto;margin:0 0 6px 6px;z-index:7}.reference-scene .farm-actions button{font-size:11px;min-height:36px;padding:5px 8px;border-radius:10px}.reference-scene .coop-dock{position:relative;left:auto;bottom:auto;grid-column:1 / -1;grid-row:5;display:flex;align-items:center;justify-content:space-around;margin:0;gap:4px;width:100%}.reference-scene .coop-dock button{width:66px;height:66px;min-width:44px;min-height:44px;margin:0;touch-action:manipulation}.reference-scene #coopNotice{position:relative;left:auto;right:auto;bottom:auto;grid-column:1 / -1;grid-row:6;align-self:stretch;padding:3px 7px;font-size:10px;line-height:12px;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;border-radius:9px}.reference-scene .ref-shimmer{display:none}.reference-scene .farm-quest{position:absolute;left:8px;right:8px;bottom:calc(var(--tablet-bottom) + var(--tablet-notice) + var(--tablet-dock) + 12px);max-height:calc(100% - var(--farm-top) - var(--tablet-dock) - var(--tablet-notice) - 28px);padding:12px;overflow:auto;overscroll-behavior:contain}.reference-scene .farm-quest-content .coop-quiz-word{font-size:26px;overflow-wrap:anywhere}.reference-scene .farm-quest-content .island-primary{font-size:14px;min-height:44px;padding:8px}.reference-scene .farm-answer-crates{flex-wrap:wrap;gap:6px}.island-dialog-card{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto}.island-dialog button{min-height:44px}.big-word-card{min-width:0;width:100%;padding:20px 12px}.big-word{overflow-wrap:anywhere}}@media(min-width:601px)and (orientation:portrait){.reference-scene{gap:8px;padding-left:16px;padding-right:16px;--farm-top:calc(var(--tablet-top) + var(--tablet-logo) + var(--tablet-resources) + 16px);--farm-bottom:calc(var(--tablet-bottom) + var(--tablet-cards) + var(--tablet-dock) + var(--tablet-notice) + 24px)}.reference-scene .ref-logo{max-width:360px;width:calc(100% - 160px)}.reference-scene #refInventory,.reference-scene .ref-explore{width:64px;height:80px;font-size:32px;top:var(--tablet-top)}.reference-scene #refInventory{right:16px}.reference-scene .ref-explore{left:16px}.reference-scene #refInventory small,.reference-scene .ref-explore small{font-size:14px}.reference-scene .ref-resources>span,.reference-scene .ref-resources #refGoldTarget{padding:8px 12px;grid-template-columns:32px minmax(0,1fr);column-gap:8px;font-size:26px}.reference-scene .ref-resources small{font-size:14px}.reference-scene .ref-resources b{font-size:23px}.reference-scene .coop-grounds{left:16px;right:16px}.reference-scene .ref-board{padding:10px;gap:3px;border-width:4px}.reference-scene .ref-board h3{font-size:20px;margin:0 0 4px}.reference-scene .ref-board p,.reference-scene .ref-board div{font-size:16px;line-height:1.4;margin:0}.reference-scene .ref-orders strong{font-size:18px}.reference-scene #refOrderReward{font-size:20px}.reference-scene #refEggCount,.reference-scene .ref-state-hint{font-size:14px}.reference-scene #refBuildCost{min-height:42px}.reference-scene #refBuildCost .build-cost-line{font-size:16px}.reference-scene #refBuildCost .build-shortage{font-size:14px}.reference-scene .ref-board button,.reference-scene .ref-board button.ref-link{min-height:44px;font-size:16px;margin:0;padding:6px}.reference-scene .ref-build #coopFeed{min-height:66px;font-size:16px;margin:0;padding:6px}.reference-scene .ref-build #coopFeed small,.reference-scene .ref-build #coopFeed span{font-size:14px}.reference-scene .coop-dock button{width:88px;height:88px}.reference-scene #coopNotice{font-size:14px;line-height:19px;padding:4px 10px}.reference-scene #coopLabel{font-size:16px;padding:6px}.reference-scene #coopBubble{font-size:14px;min-width:130px;max-width:230px}.reference-scene .farm-actions button{min-height:44px;font-size:14px}.reference-scene .farm-quest-content .island-primary{font-size:16px}.reference-scene .coop-cat-lane{width:40%;height:54%;margin-left:7%}.reference-scene .ref-truck{width:48%;height:60%}.reference-scene .farm-chicken{width:28%;height:auto;aspect-ratio:3 / 2}}
