/* Soil patches belong to the map. Text remains a separate, readable action label. */
.world .plots{top:34%;left:24%;width:58%;gap:8px 4px;grid-auto-rows:112px;transform:none}
.world .plots.expanded{top:23%;grid-auto-rows:106px}
.world .plot{position:relative;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:0;min-height:0;padding:0 2px 6px;border:0;border-radius:14px;background:none;box-shadow:none;transform:none;overflow:visible;isolation:isolate;cursor:pointer}
.world .plot.empty,.world .plot.ripe{background:none;border:0;box-shadow:none}
.world .plot .plot-terrain{position:absolute;inset:0;display:block;pointer-events:none}
.world .plot .field-art{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 0 #27351e66)}
.world .plot>small{position:relative;display:block;max-width:100%;padding:3px 9px;border:1px solid #d5c09566;border-radius:5px;background:#33291eed;color:#fff0cb;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 0 #17251677;z-index:2;pointer-events:none}
.world .plot.empty>small{color:#f0e0b7;background:#3b452ce6}
.world .plot.ripe>small{background:#dbef9b;color:#243715;border-color:#f4ffc5}
.world .plot:hover,.world .plot:focus-visible{transform:none;background:#fff0a41a;outline:2px solid #f6dc8b;outline-offset:2px}
.world .plot:hover .field-art{filter:drop-shadow(0 2px 0 #27351e66) brightness(1.12)}
.world .plot:active .plot-terrain{transform:translateY(2px)}
.world .plot-progress{position:absolute;bottom:0;left:25%;width:50%;height:3px;margin:0;border-radius:3px;background:#36281e;overflow:hidden;z-index:3}
.world .plot-progress i{display:block;height:100%;background:#bbdf77;transition:width .8s linear}
.field-stem{transform-box:fill-box;transform-origin:50% 100%;animation:field-breeze 3.8s ease-in-out infinite;animation-delay:var(--stem-delay,0s)}
.stage-seed .field-stem{animation:none}
@keyframes field-breeze{0%,100%{rotate:-1deg}50%{rotate:1.5deg}}
.field-controls{margin:0 0 16px;padding:16px;border:1px solid #657451;border-radius:14px;background:linear-gradient(110deg,#333e2e90,#302b42);box-shadow:0 3px 0 #14111f55}
.field-controls-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.field-controls .area-tabs{gap:8px;min-width:0}
.field-controls .area-tabs .button{min-height:44px;gap:8px;padding:10px 14px;box-shadow:none}
.field-controls .field-limit{flex-shrink:0;font-size:12px;color:var(--muted);text-align:right}
.field-build-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.field-build{display:grid;grid-template-columns:34px minmax(0,1fr);gap:0 10px;align-items:center;min-width:0;padding:12px 14px;text-align:left;white-space:normal;border:1px solid #97b86488;background:#495c36;color:#f4ffe0;box-shadow:0 3px 0 #18211b}
.field-build:nth-child(2){background:#3b374e;border-color:#8a809f}
.field-build-icon{grid-row:1/3;font-size:30px;line-height:1;color:#c5ef86;text-align:center}
.field-build b{font-size:14px;line-height:1.4}
.field-build small{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:11px;line-height:1.5;color:#d2daC4;font-weight:500;margin-top:5px}
.field-build .resource-icon{width:17px;height:17px;flex-shrink:0;vertical-align:middle}
.field-build:disabled{opacity:.55;box-shadow:none;cursor:default}
.field-build:hover:not(:disabled){background:#526c3b;border-color:#d0f192}
.field-controls-note{margin:12px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
@media(min-width:1440px){.world .plots{top:35%;left:26%;width:54%;grid-auto-rows:124px}.world .plots.expanded{top:23%;grid-auto-rows:119px}}
@media(max-width:1100px){.world .plots{left:20%;width:64%;grid-auto-rows:105px}.world .plots.expanded{top:22%;grid-auto-rows:99px}.field-controls-top{align-items:flex-start;flex-direction:column}.field-controls .field-limit{text-align:left}.field-build{padding:10px;grid-template-columns:26px minmax(0,1fr);gap:0 6px}.field-build b{font-size:13px}}
@media(max-width:760px){.world .plots{top:34%;left:10%;width:82%;gap:9px 2px;grid-auto-rows:91px}.world .plots.expanded{top:24%;grid-auto-rows:87px}.world .plot>small{font-size:11px;padding:3px 6px}.field-controls{padding:12px}.field-controls .area-tabs .button{padding:9px 10px;font-size:12px}.field-controls .field-limit{font-size:11px}.field-build-actions{gap:8px}.field-build{display:flex;flex-wrap:wrap;gap:4px;padding:10px;align-content:flex-start}.field-build-icon{font-size:22px}.field-build b{font-size:12px}.field-build small{flex-basis:100%;font-size:10px;gap:2px;margin-top:1px}.field-build .resource-icon{width:15px;height:15px}.field-controls-note{font-size:11px}.world .resident{max-width:100px}}
@media(prefers-reduced-motion:reduce){.field-stem{animation:none}.world .plot-progress i{transition:none}}

/* Keep every bed inside the central lawn and keep residents out of crop hit areas. */
.world .plots{left:23%;width:51%;grid-auto-rows:104px}
.world .plots.expanded{top:21%;grid-auto-rows:99px}
.world .world-bottom{min-height:46px;padding:4px 12px;align-items:center;gap:10px}
.world .world-bottom .resident{position:static;display:flex;flex-shrink:0;max-width:none;min-height:36px;background:transparent;border:0;padding:0 5px;box-shadow:none;border-radius:5px;color:#edf5d7;gap:4px}
.world .world-bottom .resident:hover{background:#ffffff1a}
.world .world-bottom .resident .animal-sprite{width:32px;height:32px}
.world .world-bottom .resident>span{display:inline;font-size:11px}
.world .world-bottom .resident b{padding-left:2px}
@media(min-width:1440px){.world .plots{left:23%;width:51%;top:35%;grid-auto-rows:113px}.world .plots.expanded{top:23%;grid-auto-rows:111px}}
@media(max-width:1100px){.world .plots{left:20%;width:58%}.world .plots.expanded{top:21%;grid-auto-rows:94px}}
@media(max-width:760px){.world .plots{top:34%;left:9%;width:82%;grid-auto-rows:88px}.world .plots.expanded{top:24%;grid-auto-rows:82px}.world .world-bottom>span{font-size:10px}.world .world-bottom{padding:4px 8px;gap:4px}}
/* Crop rows sit above the shoreline even at the nine-bed limit. */
.world .plot .plot-terrain{inset:auto 0 0;height:125%}
.world .plots{top:32%;left:22%;width:52%;grid-auto-rows:100px}
.world .plots.expanded{top:21%;grid-auto-rows:76px}
@media(min-width:1440px){.world .plots{top:33%;left:23%;width:51%;grid-auto-rows:110px}.world .plots.expanded{top:22%;grid-auto-rows:92px}}
@media(max-width:1100px){.world .plots{left:20%;width:54%;grid-auto-rows:94px}.world .plots.expanded{top:21%;grid-auto-rows:75px}}
@media(max-width:760px){.world .plots{top:30%;left:9%;width:82%;grid-auto-rows:72px}.world .plots.expanded{top:24%;grid-auto-rows:59px}}

@media(min-width:761px) and (max-width:900px){.world .plot>small{font-size:11px;padding:3px 3px}}
.pasture-bottom .pasture-return{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:4px 10px;border:1px solid #aec89077;border-radius:7px;background:#2d452ce6;color:#eef8d5;font-size:12px;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap}
.pasture-bottom .pasture-return .seed-icon{width:26px;height:26px}
.pasture-bottom .pasture-return:hover{background:#496537;border-color:#d0ed9e}
.pasture-bottom .pasture-return:focus-visible{outline:2px solid #d0ed9e;outline-offset:2px}
.pasture-bottom{align-items:center;gap:8px;padding-top:5px;padding-bottom:5px}
@media(max-width:760px){.pasture-bottom .pasture-return{min-height:40px;font-size:11px;padding:4px 6px;gap:3px}.pasture-bottom .pasture-return .seed-icon{width:20px;height:20px}.pasture-bottom{gap:5px}.pasture-bottom>span{font-size:10px}.pasture-bottom>span .resource-icon{width:17px;height:17px}}
@media(max-width:360px){.pasture-bottom .pasture-return .seed-icon{display:none}.pasture-bottom>span{font-size:9px}}
