body {
  background: radial-gradient(ellipse at 75% 10%, #674d40, transparent 54%), #352f36;
}
.oven-hero {
  margin: 18px 0;
  min-height: 225px;
  aspect-ratio: 3;
  display: flex;
  align-items: center;
  padding: clamp(18px, 4vw, 44px);
  border-radius: 14px;
  border: 2px solid #b79f78;
  background:
    linear-gradient(90deg, #402a22f0, transparent),
    url(assets/playhouse-bakery.webp) center/cover;
}
.oven-hero > div {
  max-width: 55%;
}
.oven-hero h1 {
  font: 700 clamp(38px, 5vw, 68px)/1 var(--pixel);
  margin: 5px 0;
  color: #fff0c2;
}
.oven-hero p {
  margin: 6px 0 14px;
}
.oven-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.oven-rooms a,
.batch {
  padding: 14px;
  border-radius: 10px;
  border: 1.5px solid #b7a388;
}
.oven-rooms a {
  background: #444144;
  text-decoration: none;
}
.oven-rooms h2,
.batch h2 {
  font: 700 25px var(--pixel);
  margin: 4px 0;
}
.oven-rooms p,
.batch p {
  margin: 6px 0 10px;
}
.oven-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.84fr);
  gap: 14px;
  align-items: start;
}
.batch {
  padding: 0;
  overflow: hidden;
  background: #fff0d2;
  color: #453d37;
}
.bakers {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #674c40;
  color: #fff2c9;
  padding: 6px 10px;
}
.bakers .face {
  width: 35px;
  height: 35px;
  background-image: url(assets/michi-idle.webp);
}
#kitchen {
  padding: 12px 15px;
}
#kitchen > .mini {
  color: #73533a;
}
.tray,
.bake-choices,
.jars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.tray {
  background: #dfcfad;
  padding: 10px;
  border: 1px solid #9e8d78;
  border-radius: 9px;
  box-shadow: inset 0 -3px #bbab8b;
}
.tray > span:first-child {
  font-weight: bold;
  margin-right: 4px;
}
.bun {
  padding: 4px 8px;
  text-align: center;
  border: 1px solid transparent;
  font-size: 0.85rem;
}
.bun i {
  display: block;
  width: 32px;
  height: 24px;
  margin: auto;
  border: 1px solid #9c7753;
  border-radius: 52% 58% 37% 35%;
  background:
    radial-gradient(ellipse at 42% 39%, #f5ecc4 11%, transparent 13%),
    radial-gradient(ellipse at 62% 43%, #f5ecc4 8%, transparent 10%),
    linear-gradient(#e7ce91, #cca375);
  box-shadow: 0 2px #91714e;
}
.bun-0 i {
  border-top: 5px solid #91b48e;
}
.bun-1 i {
  border-top: 5px solid #d5ae5e;
}
.bun-2 i {
  border-top: 5px solid #af8aaf;
}
.bun.kept {
  opacity: 0.6;
}
.bun.current {
  background: #fff3cf;
  border-color: #9a784c;
  border-radius: 7px;
}
.weights {
  border-collapse: collapse;
  margin: 8px 0;
  width: 100%;
  max-width: 390px;
}
.weights caption {
  text-align: left;
  font-weight: 800;
}
.weights td,
.weights th {
  padding: 4px 8px;
  border-bottom: 1px solid #c9bba0;
  text-align: left;
}
.receipt,
.strip,
.feedback {
  padding: 7px 9px;
  border-radius: 5px;
  background: #f0e0be;
}
.batch button {
  margin: 2px 0;
  border: 1px solid #a18c70;
  background: #fff9e9;
  color: #574137;
  padding: 6px 9px;
  min-height: 38px;
  border-radius: 5px;
  font: 750 0.92rem var(--body, sans-serif);
}
.bake-choices button,
[data-action='jar'] {
  background: #684b3c;
  color: #fff1d0;
}
.jars {
  align-items: stretch;
  gap: 6px;
  margin: 8px 0;
}
.jars > div {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  min-width: 78px;
  gap: 4px;
  padding: 6px;
  border: 1px solid #c9ad84;
  border-radius: 8px;
  background: #ffeac7;
}
.jars b,
.jar-fill {
  width: 100%;
  text-align: center;
}
.jar-fill {
  display: block;
  padding: 5px;
  border: 1px solid #bfa582;
  border-radius: 4px;
  background: linear-gradient(to right, var(--color) var(--fill), #faf4e1 var(--fill));
  font-weight: 900;
}
.tone-0 {
  --color: #b4d4a6;
}
.tone-1 {
  --color: #efd18a;
}
.tone-2 {
  --color: #dfbad8;
}
.jars button {
  flex: 1;
  padding: 3px 5px;
  font-size: 0.83rem;
}
.feedback {
  background: #e6e5cb;
  font-weight: 750;
}
.ledger details {
  padding: 6px 0;
  border-bottom: 1px dotted #c4b297;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 750px) {
  .oven-grid,
  .oven-rooms {
    grid-template-columns: 1fr;
  }
  .oven-hero > div {
    max-width: 86%;
  }
  .oven-hero {
    aspect-ratio: auto;
  }
  .batch button {
    min-height: 41px;
  }
}
