body {
  background: #eef1dc;
  color: #293d31;
  font-family: Nunito, system-ui, sans-serif;
  --pixel: Georgia, serif;
}
header {
  background: #243e35;
  border-color: #698273;
}
.brand {
  font:
    800 25px Nunito,
    sans-serif;
}
.top nav a:hover {
  color: #ffdfa4;
}
#reward {
  max-width: 1240px;
  padding-top: 25px;
}
footer {
  margin-top: 24px;
  border-top: 1px solid #bec8aa;
  padding-top: 15px;
  padding-bottom: 24px;
}
footer a,
.seed-shelf a,
.potting-book > a {
  color: #285b43;
}
.garden-gate {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 350px;
  background: #243f34;
  color: #fff3cf;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #355843;
  box-shadow: 0 5px 0 #c1c5a6;
}
.garden-picture {
  position: relative;
  min-height: 350px;
}
.garden-picture img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 58%;
}
.gate-sign {
  padding: clamp(22px, 3.5vw, 50px);
  align-self: center;
}
.seed-ornament {
  display: block;
  color: #eabc83;
  font:
    42px/0.9 Georgia,
    serif;
  margin-bottom: 12px;
}
.gate-sign small,
.garden-heading small,
.garden-door small,
.pressed-flower small {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 950;
}
.gate-sign h1,
.garden-heading h1 {
  font:
    700 clamp(2.7rem, 5vw, 4.5rem)/1 Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 0.12em 0 0.23em;
}
.gate-sign p {
  max-width: 36ch;
  margin: 0 0 22px;
  font-size: 1.08rem;
}
#reward .honey {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  border: 1px solid #946e38;
  box-shadow: 0 2px 0 #926a3b;
  background: #f5ce85;
  color: #3c3727;
  font-weight: 900;
  padding: 9px 16px;
  border-radius: 24px;
}
.garden-doors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.garden-door {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 18px 13px;
  background: #fff9e9;
  border: 1px solid #adb99a;
  border-radius: 14px;
  text-decoration: none;
  color: #2c4636;
  box-shadow: 0 3px 0 #c9cfb1;
}
.garden-door:hover,
.garden-door:focus-visible {
  background: #fff4d3;
}
.garden-door small,
.garden-heading small,
.pressed-flower small {
  color: #567051;
}
.garden-door strong {
  display: block;
  font:
    700 1.35rem/1.08 Georgia,
    serif;
  margin: 6px 0;
}
.garden-door span:last-child {
  font-size: 0.9rem;
  display: block;
}
.sprout-icon {
  font:
    28px/1 Georgia,
    serif;
  flex: none;
  color: #8f5845;
}
.seed-shelf {
  border-block: 1px solid #bdc5a7;
  padding: 10px 4px;
}
.seed-shelf summary {
  cursor: pointer;
  color: #2a543c;
  font-weight: 900;
}
.seed-shelf ul {
  padding-left: 1.4rem;
}
.garden-heading {
  margin: 5px 0 12px;
}
.garden-heading h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}
.garden-tabs,
.garden-tools,
.scale-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.garden-tabs {
  margin-bottom: 15px;
}
.garden-tabs a {
  color: #345843;
  border: 1px solid #adbfa3;
  text-decoration: none;
  border-radius: 20px;
  padding: 5px 14px;
  background: #f8f7e8;
  font-weight: 850;
}
.garden-tabs a.here {
  background: #325641;
  color: #fff1cc;
  border-color: #35533d;
}
.garden-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(265px, 0.9fr);
  gap: 17px;
  align-items: start;
  margin-bottom: 18px;
}
.garden-bench,
.potting-book {
  min-width: 0;
  border-radius: 16px;
  border: 1px solid #abba9f;
  box-shadow: 0 3px 0 #c7cbae;
  padding: clamp(14px, 2vw, 26px);
  background: #fff9e9;
}
.garden-bench {
  border-top: 6px solid #658b69;
}
.potting-book {
  background: #f3ebce;
  border-top: 6px solid #cfad72;
}
.potting-book h2,
.pressed-flower h2 {
  font:
    700 1.6rem/1.2 Georgia,
    serif;
  margin: 0 0 10px;
}
.potting-book p {
  line-height: 1.46;
}
.flow-caption p,
.flow-canvas text {
  font-size: 0.94rem;
}
.flow-canvas text {
  font-size: 13px;
}
.seed-order {
  margin-bottom: 15px;
}
.seed-order strong {
  font:
    700 1.55rem/1.18 Georgia,
    serif;
  color: #2f4a36;
}
.seed-order p,
.recipe-key p,
.test-patch p {
  margin: 5px 0;
}
.garden-bench button {
  background: #fffef4;
  color: #334935;
  border: 1px solid #98a78b;
  min-height: 39px;
  line-height: 1.22;
}
.garden-bench button[aria-pressed='true'] {
  background: #dce8c8;
  border-color: #547750;
  box-shadow: inset 0 0 0 1px #547750;
}
.garden-tools,
.scale-tray {
  margin: 11px 0;
}
.garden-slip,
.grade-strip,
.test-patch,
.practice-bed {
  border-radius: 9px;
  padding: 11px 13px;
  background: #e7edda;
  border: 1px dashed #9cad90;
  margin: 13px 0;
  color: #314736;
}
#garden-note {
  color: #4b4630;
  border-left: 3px solid #c69d59;
  padding: 7px 10px;
  background: #faf0d0;
  margin: 14px 0 0;
}
#garden-note:empty {
  display: none;
}
.batch-pots,
.advantages,
.flat-pots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.plant-buttons,
.proxy-pots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.plant-buttons button {
  display: grid;
  justify-items: center;
  padding: 10px;
  background: #eaf0df;
}
.soil-plot {
  display: block;
  width: 100%;
  max-width: 111px;
  margin: auto;
}
.pair-beds {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pair-beds > div {
  width: 50%;
  min-width: 0;
}
.batch-pots button {
  padding: 9px 4px;
  background: #f2ead4;
}
.batch-pots small {
  font-size: 0.76rem;
  font-weight: 800;
}
.plant-buttons span,
.flower-seal {
  display: block;
}
.advantages fieldset {
  margin: 0;
  padding: 4px;
  border: 1px solid #bcc5a7;
  min-width: 0;
  text-align: center;
  border-radius: 8px;
}
.advantages button {
  padding: 5px;
  min-width: 32px;
}
.advantages legend {
  font-size: 0.85rem;
}
.mint-pots {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mint-pots > div,
.proxy-pots > div {
  border: 1px solid #c0c6a7;
  background: #f7f1db;
  border-radius: 9px;
  padding: 9px;
}
.mint-pots .lifted {
  border: 2px solid #557c56;
  background: #e4edcf;
}
.soil-meter {
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin: 9px 0;
}
.soil-meter > div,
.odds span {
  flex: 1;
  min-width: 10px;
  height: 12px;
  background: #ddd6bc;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.soil-meter i,
.odds i {
  background: #619478;
  display: block;
  height: 100%;
  transition: width 0.2s;
}
.soil-meter b {
  position: absolute;
  inset: 0 auto 0 53.33%;
  width: 4.44%;
  border-inline: 2px solid #644f27;
}
.mint-pots .soil-meter {
  display: grid;
  grid-template-columns: 1fr auto;
}
.mint-pots .soil-meter span {
  grid-column: 1/-1;
}
.trace-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 13px 0;
}
.trace-strip > * {
  border-radius: 6px;
  padding: 7px 9px;
  background: #e9eddc;
  overflow-wrap: anywhere;
}
.trace-strip .trace-tool {
  background: #fae8c5;
  border: 1px dashed #a07e51;
}
.trace-strip button[aria-pressed='true'] {
  background: #c7dfbe;
  border: 2px solid #486743;
}
.trial-lines > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  justify-content: space-between;
  padding: 8px 4px;
  border-bottom: 1px solid #d2d4b9;
}
.odds {
  padding: 11px;
  background: #f2eedc;
  border-radius: 9px;
}
.odds > div {
  display: grid;
  grid-template-columns: 7.9em 1fr 4em;
  align-items: center;
  gap: 7px;
  margin: 5px 0;
}
.odds output {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.odds div:nth-child(2) i {
  background: #416b85;
}
.odds div:nth-child(3) i {
  background: #b56757;
}
.recipe-key {
  font-size: 0.88rem;
  margin: 10px 0;
}
.test-patch strong {
  font:
    700 1.35rem Georgia,
    serif;
}
.pressed-flower .flower-seal {
  font:
    40px/1 Georgia,
    serif;
  color: #678952;
}
.pressed-flower > a,
.pressed-flower > button {
  margin: 8px 6px 3px 0;
}
.practice-bed h3 {
  margin: 0;
  font:
    700 1.3rem Georgia,
    serif;
}
.practice-bed label {
  display: inline-grid;
  margin: 5px;
  gap: 3px;
  font-size: 0.85rem;
}
.practice-bed select {
  font: inherit;
  padding: 6px;
  color: #254331;
  background: #fff8e7;
  border-radius: 5px;
}
.practice-bed output {
  display: block;
}
.garden-chart {
  margin: 12px 0;
  background: #f7f2df;
  border-radius: 9px;
  padding: 9px;
}
.garden-chart svg {
  display: block;
  width: 100%;
  height: 100px;
}
.garden-chart figcaption {
  font-size: 0.82rem;
}
.garden-chart polyline {
  fill: none;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 860px) {
  .garden-doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .garden-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(225px, 1fr);
  }
  .batch-pots,
  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .garden-gate {
    grid-template-columns: 1.15fr 1fr;
  }
}
@media (max-width: 660px) {
  .top {
    flex-wrap: wrap;
    gap: 4px 15px;
    padding-block: 8px;
  }
  .top nav {
    flex-wrap: wrap;
    gap: 5px 11px;
    font-size: 0.85rem;
  }
  .garden-layout,
  .garden-gate {
    grid-template-columns: 1fr;
  }
  .garden-picture {
    min-height: 0;
    aspect-ratio: 1.65;
  }
  .gate-sign {
    padding: 18px 20px;
  }
  .seed-ornament {
    display: none;
  }
  .gate-sign h1 {
    font-size: 2.65rem;
  }
  .gate-sign p {
    margin-bottom: 12px;
  }
  .garden-doors {
    gap: 7px;
  }
  .garden-door {
    padding: 11px;
    display: block;
  }
  .sprout-icon {
    display: none;
  }
  .garden-door strong {
    font-size: 1.16rem;
  }
  .garden-tabs {
    gap: 5px;
  }
  .garden-tabs a {
    padding: 5px 8px;
    font-size: 0.84rem;
  }
  .odds > div {
    grid-template-columns: 6.8em 1fr 3.5em;
    font-size: 0.89rem;
  }
  .mint-pots {
    font-size: 0.84rem;
  }
  #reward {
    padding-top: 14px;
  }
  .practice-bed {
    padding: 8px;
  }
  .garden-bench button {
    min-height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .soil-meter i,
  .odds i {
    transition: none;
  }
}
