/* Warm wood, parchment and sky palette for the supplied art direction. */
:root{--paper:#fff0c9;--gold:#f7c654}
body{background:linear-gradient(#65c8ef,#b9e9f1 70%,#c4ecf6);color:#583c25;font-family:Trebuchet MS,system-ui,sans-serif;background-attachment:fixed}
.game{max-width:1460px;padding:14px 20px 20px}.topbar{border:3px solid #633a20;border-radius:18px;background:linear-gradient(#bd8850,#915d34 47%,#7a4827 49%,#aa713d);box-shadow:inset 0 2px 0 #e9b675,0 4px 0 #57371d;color:var(--paper);padding:10px 18px;gap:24px}
.brand{min-width:215px;color:#ffdc70;font:bold 1.8rem/.95 Trebuchet MS,system-ui,sans-serif;letter-spacing:-.03em;text-shadow:2px 2px 0 #633818,-1px -1px 0 #fff2bd}.brand small{color:#c1e967;font-size:1.05rem;letter-spacing:0;text-shadow:1px 2px 0 #4b5824}.brand>span:first-child{font-size:2.4rem}.avatar{background:#f3d486;border:2px solid #6d411e;box-shadow:inset 0 2px #fff0ba;border-radius:50%}.player-info strong{font-size:1rem}.player-info small{color:#fff1d2}.progress{height:12px;border:2px solid #5d341b;background:#684121;margin:5px 0 2px;box-shadow:inset 0 2px 2px #3b241d66}.progress div{background:linear-gradient(#fff17b,#ecb32c)}
.coins{background:#5f361f;border:2px solid #d49e61;color:#ffe699;box-shadow:inset 0 2px 3px #42221166;text-shadow:0 1px #3c241b;font-size:1rem;padding:9px 16px}.coins strong{color:#fff3c6}
.drawer{border:2px solid #76451f;background:var(--paper);box-shadow:0 3px 0 #70452033;border-radius:13px}.drawer>summary,.orchard-drawer>summary{color:#fff0ce;background:linear-gradient(#b98249,#8e592d);border-radius:10px;text-shadow:0 1px #633916;box-shadow:inset 0 2px 0 #dca365;padding:10px 15px}.drawer[open]>summary{border-radius:10px 10px 0 0;border-bottom:2px solid #71411f}
#objectives-drawer:not([open]),#test-drawer:not([open]){display:inline-block;margin:13px 8px 12px 0}#objectives-drawer[open],#test-drawer[open]{margin:13px 0}
.drawer>summary:focus-visible,.orchard-drawer>summary:focus-visible{outline:3px solid #214b68;outline-offset:3px}
.layout{gap:14px}.farm{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.section-title{padding:0 6px 7px}.section-title .eyebrow{display:none}.section-title h2{font:bold 1.45rem Trebuchet MS,system-ui,sans-serif;color:#fff3cd;text-shadow:1px 2px 0 #5e5d31;margin:0}.section-title .secondary{background:linear-gradient(#ffe5a0,#eab85b);color:#68431f;border:2px solid #8e5c28;box-shadow:inset 0 2px #fff4cd,0 2px 0 #7a512b;padding:9px 14px}
.farm-scene.phaser-ready{border:3px solid #70552a;border-radius:22px;background:#67c5eb;box-shadow:0 7px 0 #5b713f33,inset 0 0 0 2px #e3f5ba;overflow:hidden}
#farm-canvas{position:relative}#farm-canvas canvas{border-radius:17px}.scene-tools{border:3px solid #5c361b;background:linear-gradient(#b78148,#89532d);border-radius:16px;box-shadow:inset 0 2px #e1b475,0 4px 9px #49321d55;padding:7px;gap:7px}.scene-tools button{background:linear-gradient(#fff1c1,#e7ba73);border:2px solid #69401f;border-radius:11px;box-shadow:inset 0 2px 0 #fff9df,0 2px 0 #644320;color:#654224;width:54px;height:54px;flex-basis:54px}.scene-tools button:hover{background:linear-gradient(#fff9dc,#f7d18a)}.scene-tools button[aria-pressed="true"]{background:linear-gradient(#ebffb5,#afd469);border-color:#587531;box-shadow:inset 0 2px #fff9c7,0 0 0 2px #f6d05e}.scene-tools button:disabled{background:#bdad8a;opacity:.65;color:#665c47}.tool-label{color:#fff0cc;text-shadow:0 1px #67391c}.scene-message{bottom:calc(2% + 80px);background:#fff4d6f5;color:#5f4225;border:1px solid #b18d4a;box-shadow:0 2px 5px #4c472e33;font-weight:700}
.farm-bottom{background:#f8ebcbe8;border:1px solid #bfa06b;border-radius:11px;margin-top:14px;padding:10px 12px;color:#614b2c}.farm-bottom .secondary{border:1px solid #729244}.hint{color:#3c6959;font-size:.75rem;margin-top:9px}.orchard-drawer{margin-top:12px;border:2px solid #8e6439;border-radius:12px;background:#fff0cb}.orchard-drawer>summary{cursor:pointer;font-weight:800;min-height:44px;list-style:none}.orchard-drawer[open]>summary{border-radius:9px 9px 0 0}.orchard-controls{background:#fff0cb;margin:0;padding:12px;border-radius:0 0 10px 10px}.orchard-controls h3{color:#6b512d}.orchard-controls p{color:#82673e}
.areas-drawer aside{background:#fff0cb;padding:18px}.tabs{border-color:#dac18e}.tab{color:#937045}.tab.active{background:#e7bd77;color:#593f23;box-shadow:inset 0 2px #ffedb7}.panel-head h2,.goals h2,.missions h2{color:#784e29}.panel-head p{color:#8a7047}.item{background:#fffae9;border:1px solid #dbc797;box-shadow:0 2px 0 #d4bb8533}.item-icon{background:#f5e5bf;border:1px solid #e8d4a7}.item-info small{color:#8a7856}.action,.secondary{font-family:inherit}.action{background:linear-gradient(#8cb74c,#649537);border:1px solid #52762d;box-shadow:inset 0 1px #b7d478}.action:hover{background:linear-gradient(#a0c565,#77a647)}.action:disabled,.secondary:disabled{box-shadow:none}.secondary{background:#e5e9b5;color:#5c703b}.seed-dialog{background:var(--paper);border:3px solid #8d5b2f;box-shadow:0 14px 40px #233b3266}.seed-dialog h2{color:#704825}.seed-choice{background:#fff8df;border:1px solid #cfb27b}.seed-choice:hover{background:#f2e5b8}.mission-item{background:#f7e5b4}.missions{background:#fff1ce;border-color:#f2d89f}.goals{background:#fff2ce}.next-unlock{background:#f2e7c3;border-color:#d6c28b}.test-controls small{color:#8b7450}.capacity{background:#ebdbb3;color:#79582d}footer{color:#3f7463}
.scene-kitchen-control{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}
.scene-kitchen-control:focus-visible{left:12px;top:12px;width:auto;height:44px;margin:0;clip-path:none;z-index:15;padding:8px 14px;border-radius:8px;background:#fff0cb;color:#684522}
@media(max-width:760px){.game{padding:10px}.topbar{gap:9px;padding:10px 12px}.brand{min-width:0;font-size:1.5rem}.brand small{font-size:.9rem}.player-info strong{font-size:.86rem}.coins{padding:7px 10px;font-size:.86rem}.farm-scene.phaser-ready{border-radius:15px}.section-title h2{font-size:1.15rem}.section-title .secondary{font-size:.7rem;padding:7px 10px}.areas-drawer aside{padding:12px}}
@media(max-width:450px){.phaser-ready .scene-tools{border-width:2px;padding:5px;border-radius:0;background:linear-gradient(#b78148,#89532d)}.phaser-ready .scene-tools button{width:44px;height:44px;flex-basis:44px}.phaser-ready .scene-message{bottom:67px;max-width:92%;font-size:.62rem}.tool-label{max-width:86px}.brand>span:first-child{font-size:1.8rem}.player{gap:8px}#objectives-drawer:not([open]),#test-drawer:not([open]){margin:10px 3px 9px 0}.drawer>summary{font-size:.74rem;padding:8px 11px}}
