/* All chapters share the original evening light, scale and stationary hit areas. */
.world>.landscape{width:1000px;height:720px;inset:0 auto auto 0;z-index:1}.expanded-landscape{display:block;width:100%;height:100%;pointer-events:none}#zone-scenery{position:absolute;inset:0;z-index:0;pointer-events:none}.world{background:#345844}.mini-farm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.mini-farm button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:15px;min-height:86px;border-radius:16px;border:1px solid #879a65;background:#dbe0bd;text-align:left}.mini-farm button small{font-size:11px}.mini-farm .zone-orchard{background:#d8ddba}.mini-farm .zone-workshop{background:#dacbb3}.mini-farm .zone-sheep{background:#d0dacc}.mini-farm button.locked{background:#e6ddc9;border-style:dashed;color:#776e5a}.zone-selector{margin-bottom:24px}.project-card{padding:20px;border:1px solid #d7c5a6;border-radius:18px;margin:18px 0;background:#f8f0df}.project-card ul{list-style:none;padding:0}.project-card li{display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:38px;border-bottom:1px solid #d7c5a650;font-size:13px}.project-card li span{min-width:0;overflow-wrap:anywhere}.project-card li b{white-space:nowrap}.project-card li.complete{color:#507144}.project-card p{font-size:13px;line-height:1.6}.mastery-panel{background:#e9dfc9;border:1px solid #d7c5a6;border-radius:14px;padding:14px;margin-bottom:15px}.mastery-panel>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.mastery-panel>div span,.mastery-panel small,.mastery-panel p{font-size:11px}.mastery-panel p{margin:10px 0 0;line-height:1.6}.mastery-panel progress{width:100%;height:8px;accent-color:#b88c3f}.stock-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 20px}.stock-filters label{font-size:11px;font-weight:bold;display:flex;flex-direction:column;gap:5px}.stock-filters input[type=search]{width:100%;min-height:48px;border:1px solid #c9baa0;border-radius:10px;background:#fffaf0;padding:12px}.stock-filters .check-row{display:flex;flex-direction:row;align-items:center;margin:0}.stock-filters select{font-size:13px}.book-product{min-width:0;padding:18px;border:1px solid #d7c5a6;border-radius:16px;background:#f6edda}.book-product .item-art{display:block;width:60px;height:60px}.book-product h3{font-size:20px;overflow-wrap:anywhere}.book-product p,.book-product small{font-size:12px;line-height:1.6}.book-product.unknown .item-art{filter:brightness(.25);opacity:.3}.book-product button{width:100%;font-size:12px}.shop-orders{margin:20px 0}.shop-orders>p{font-size:12px}.project-card button,.zone-selector button,.shop-orders button{min-height:48px}.is-working .spinning-wheel{transform-origin:57px 119px;animation:rotate 6s linear infinite}.is-working .weaving-shuttle{animation:shuttle 3s ease-in-out infinite}.is-working .hive-bees{animation:breathe 8s ease-in-out infinite}.pasture-sheep{animation:sheep-graze 11s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}@keyframes shuttle{50%{transform:translateX(3px)}}@keyframes sheep-graze{50%{transform:rotate(1deg)}}@media(max-width:600px){.stock-filters{grid-template-columns:1fr 1fr}.stock-filters label:first-child{grid-column:1/-1}.project-card{padding:14px}.project-card li{font-size:12px}.book-grid{grid-template-columns:1fr}.farm-tools{gap:5px}.farm-tools button{font-size:11px;padding:7px 10px}.mini-farm button{padding:12px;min-height:90px}.mastery-panel>div{gap:5px}}@media(prefers-reduced-motion:reduce){.spinning-wheel,.weaving-shuttle,.hive-bees,.pasture-sheep{animation:none!important}}

.world.has-expansion>.landscape{mask-image:linear-gradient(to right,#000 0%,#000 88%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 85%,transparent 100%);mask-composite:intersect;-webkit-mask-composite:source-in}#sheet[data-panel=building]{scroll-padding-top:100px}#sheet[data-panel=building] .recipe{scroll-margin-top:100px}

.sheep-care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.sheep-care-slot{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;background:#e8dfc5;border:1px solid #cbbb8c;border-radius:16px;padding:14px 10px;font-size:12px}.sheep-care-slot .item-art{width:55px;height:55px}.sheep-care-slot button{font-size:11px;width:100%;padding:12px 5px;min-height:44px}.mascot-resident{position:absolute;left:1340px;top:1750px;width:210px;height:158px;background:none;border:0;z-index:3;padding:0;color:#e9dcae;transition:none}.mascot-resident svg{width:135px;height:135px;display:block;margin:auto}.mascot-resident span{display:block;background:#284c40;border:1px solid #a19159;border-radius:8px;padding:7px;font-family:Georgia,serif;font-size:13px}.mascot-resident.permanent span{border-color:#ddbf70;color:#ffe2a1}.mascot-card{text-align:center;background:#e9e0ca;padding:24px;border-radius:20px;margin:22px 0}.mascot-card p{line-height:1.65;font-size:13px}.mascot-card small{display:block;margin:14px 0;font-size:11px;line-height:1.6}.chapter-finale{animation:finale 1.6s ease-in-out 2}@keyframes finale{50%{box-shadow:0 0 40px #e6bd72aa}}@media(prefers-reduced-motion:reduce){.chapter-finale{animation:none}}@media(max-width:360px){.sheep-care-grid{gap:8px}.sheep-care-slot{padding:12px 7px}}

.mascot-resident{top:1790px;height:124px}.mascot-resident svg{width:98px;height:98px}.sheep-care-grid{scroll-margin-top:100px}

.hud button.wallet.seed{min-height:44px;height:44px}

/* Leave room to pan the lowest scenery clear of the fixed seed toolbar. */
#viewport:has(.world.has-expansion){background:#2c5543}#farm-camera-spacer{pointer-events:none;width:1px}
