#painel-vila.vila-na-horta>.capa-vila{display:none}
#horta-vila{padding:0;border:0;background:none;min-width:0}
#horta-vila *{box-sizing:border-box}
.horta-capa{display:flex;align-items:flex-end;justify-content:space-between;gap:.7rem;min-height:8.3rem;padding:1rem 1.1rem;background:linear-gradient(90deg,rgba(8,25,24,.88),rgba(11,28,30,.23) 67%,rgba(9,26,23,.53)),url('/assets/dungeons/hortas-da-ilha.webp') center 58%/cover;border:1px solid #546958;border-radius:8px}
.horta-capa h2,.horta-capa p{margin:0;color:#fff8da;text-shadow:0 1px 4px #07180d}
.horta-capa h2{font-size:clamp(1.25rem,3vw,1.9rem)}
.horta-capa a{display:inline-flex;align-items:center;min-height:44px;padding:0 .65rem;color:#f1fbdc;background:#18382b;border:1px solid #789377;border-radius:5px;text-decoration:underline;text-underline-offset:.2em}
.horta-locais,.horta-vagas,.horta-acoes,.horta-destinos{display:flex;flex-wrap:wrap;gap:.5rem}
.horta-locais,.horta-vagas{margin:.65rem 0}
#horta-vila button,#horta-vila select{min-height:44px;min-width:0;max-width:100%;height:auto;white-space:normal;line-height:1.3}
.horta-locais button,.horta-vagas button{border:1px solid #577164;background:#132b21;color:#dcebdc;padding:.5rem .85rem;border-radius:6px;font:inherit;cursor:pointer}
.horta-locais [aria-pressed=true],.horta-vagas [aria-pressed=true]{background:#234831;border-color:#bdd58b;color:#fff5d8;box-shadow:inset 0 -3px #cbe28d}
.horta-vagas button small{display:block;color:#d0ddcc}
.horta-folha{display:grid;gap:.75rem;padding:clamp(.8rem,2.5vw,1.35rem);border:1px solid #48634f;background:#15251f;color:#e6efdf;border-radius:8px;max-width:56rem}
.horta-folha h3,.horta-folha h4,.horta-folha p,.horta-folha fieldset,.horta-folha figure{margin:0}
.horta-folha h3,.horta-folha h4{color:#fff5d8}
.horta-folha header>p{font-size:.85rem;color:#b9d5a7}
.horta-folha>button,.horta-receita>select{justify-self:start}
.horta-semente,.horta-plantada{display:flex;align-items:center;gap:.8rem}
.horta-semente label,.horta-receita label{display:block;font-weight:650}
.horta-semente select,.horta-receita select{background:#0e1c19;color:#f0f5e5;border:1px solid #749179;border-radius:4px;padding:.45rem .65rem;font:inherit}
.horta-semente [data-saco]{display:grid;place-items:center;width:60px;min-height:68px;background:#273d2b;border:1px solid #567051;border-radius:6px}
.horta-plantada [data-planta]{width:clamp(7rem,23vw,11.5rem);flex:none}
.horta-plantada [data-planta] svg{max-width:100%;height:auto}
.horta-fase{color:#d3e5a1}
.horta-medidas{display:flex;flex-wrap:wrap;gap:.65rem 2rem;padding:.65rem 0;border-block:1px solid #415447}
.horta-medidas span{font-size:.9rem;color:#bdccbf}
.horta-medidas strong{display:block;color:#f4f6e9;font-size:1rem}
.horta-cuidados{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:.65rem;border:1px solid #576a51;padding:.7rem;border-radius:5px;min-width:0}
.horta-cuidados legend{padding:0 .3rem;font-weight:650;color:#e9edbc}
.horta-cuidados>p{grid-column:1/-1}
.horta-cuidados small{display:block;line-height:1.4;margin-top:.3rem;color:#c1d2c3}
.horta-link{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;justify-self:start;color:#cae9ae;text-underline-offset:.2em}
.horta-destinos{padding-top:.65rem;border-top:1px solid #415447}
.horta-acoes{align-items:center}
.horta-visita{padding:.4rem .7rem;border-left:3px solid #cada8f}
.horta-casa{margin:.6rem 0;color:#d3ddce}
.horta-casa button{margin-left:.3rem}
.horta-status{position:absolute;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap;overflow:hidden}
.horta-pedidos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));list-style:none;padding:0;margin:0;gap:.8rem}
.horta-pedidos li{min-width:0;padding:.7rem;background:#1b3028;border:1px solid #4b6351;border-radius:6px}
.horta-pedidos progress{display:block;width:100%;margin:.25rem 0;accent-color:#c7d981}
.horta-pedidos small{display:block;color:#c8d9c9}
.horta-pedidos form{display:grid;gap:.3rem;margin-top:.6rem}
.horta-pedidos input{box-sizing:border-box;width:100%;min-height:44px;color:#f0f5e5;background:#0e1c19;border:1px solid #749179;border-radius:4px;font:inherit;padding:.4rem}
.horta-cesta{border-top:1px solid #52634f;padding-top:.6rem}
.horta-cesta button{margin:.5rem .3rem 0 0}
#horta-vila :is(a,button,select):focus-visible{outline:3px solid #f8db83;outline-offset:2px}
@media(max-width:540px){
  .horta-capa{min-height:5.6rem;padding:.65rem;background-image:linear-gradient(90deg,rgba(6,25,20,.85),rgba(9,27,19,.38)),url('/assets/dungeons/hortas-da-ilha-mobile.webp')}
  .horta-locais{display:grid;grid-template-columns:.82fr 1fr 1fr;gap:.3rem}
  .horta-locais button{padding:.35rem .25rem}
  .horta-medidas{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:.5rem}
  .horta-receita .horta-medidas{grid-template-columns:repeat(2,minmax(0,1fr))}
  .horta-plantada{align-items:flex-start}
  .horta-plantada [data-planta]{width:5.6rem}
  .horta-cuidados{grid-template-columns:1fr}
  .horta-cuidados>div{display:grid;grid-template-columns:6.5rem 1fr;align-items:center;gap:.5rem}
  .horta-cuidados small{margin:0}
  .horta-acoes button,.horta-destinos button{width:100%}
}
