body {
  background: radial-gradient(ellipse at 20% 8%, #4e5c4f, transparent 54%), #263738;
}
.shelf-hero {
  min-height: 235px;
  aspect-ratio: 3;
  margin: 16px 0;
  display: flex;
  align-items: center;
  padding: clamp(16px, 4vw, 44px);
  background:
    linear-gradient(90deg, #132e2bea, transparent 85%),
    url(assets/playhouse-tea.webp) center 45% / cover;
  border-radius: 13px;
  border: 2px solid #92a58c;
}
.shelf-hero > div {
  max-width: 53%;
}
.shelf-hero h1 {
  font: 700 clamp(38px, 5.5vw, 72px)/0.96 var(--pixel);
  margin: 5px 0;
  color: #fff2ba;
}
.shelf-hero p {
  margin: 8px 0 16px;
}
.shelf-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shelf-rooms article,
.desk {
  background: #f5efd9;
  color: #353e36;
  border: 2px solid #ab9c74;
  border-radius: 10px;
  padding: 15px;
}
.shelf-rooms .mini {
  color: #356855;
}
.shelf-rooms h2,
.desk h2 {
  font: 700 25px var(--pixel);
  color: #354b3e;
  margin: 6px 0;
}
.shelf-rooms p {
  margin: 5px 0 12px;
}
.shelf-rooms a {
  display: block;
  color: #334c40;
  border-top: 1px dashed #b2ad8b;
  padding: 6px 0;
}
.stacks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}
.desk .mini {
  color: #426754;
}
.desk p {
  margin: 7px 0;
}
.notebook ul {
  padding-left: 22px;
}
.guest-ticket,
.ribbon-lane,
.ordered,
.slips,
.chips,
.vote-row,
.desk-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.guest-ticket {
  padding: 10px 12px;
  background: #e4ead6;
  border-left: 4px solid #659574;
  border-radius: 5px;
}
.guest-ticket img {
  width: 33px;
}
.guest-ticket small,
.guest-ticket strong,
.catalog-cards small {
  display: block;
}
.guest-ticket small {
  font-size: 0.88rem;
  color: #48604b;
}
.guest-ticket strong {
  font-size: 1.06rem;
}
.catalog-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0;
}
.catalog-cards article {
  padding: 9px 10px;
  background: #fff9e9;
  border: 1px solid #b6b196;
  border-radius: 6px;
  border-top: 4px solid #8ba897;
}
.catalog-cards article:nth-child(even) {
  border-top-color: #c2a88c;
}
.catalog-cards strong {
  color: #275544;
}
.catalog-cards p {
  font-size: 0.97rem;
  margin: 5px 0;
}
.catalog-cards small {
  color: #526054;
  font-family: monospace;
}
.desk button {
  color: #354638;
  background: #fff9e6;
  border: 1px solid #8e9a80;
  border-radius: 6px;
  padding: 6px 12px;
  min-height: 37px;
  cursor: pointer;
}
.desk button[aria-pressed='true'] {
  background: #325b4e;
  color: #fff8de;
}
.desk button[data-action='check'],
.desk button[data-action='widen'] {
  background: #316652;
  color: white;
  margin: 8px 0;
  font-weight: 850;
}
.desk button:focus-visible {
  outline: 3px solid #935e33;
  outline-offset: 2px;
}
.vote-row {
  justify-content: space-between;
  margin: 7px 0;
  border-bottom: 1px dashed #c4c5a8;
  padding-bottom: 6px;
}
.chips {
  gap: 4px;
}
.feedback {
  background: #dce8d2;
  padding: 9px 11px;
  border-radius: 6px;
  font-weight: 800;
  margin-top: 7px;
}
.desk-foot {
  margin-top: 10px;
  justify-content: space-between;
}
.desk-foot a {
  color: #345346;
}
.ribbon-lane {
  background: #e5e6d1;
  padding: 7px;
  border-radius: 5px;
  margin: 6px 0;
}
.ribbon-lane strong {
  flex: 1;
}
.ribbon-lane span {
  background: #fcf6df;
  padding: 4px 10px;
  border: 1px solid #aba384;
  border-radius: 4px;
}
.ribbon-lane small {
  color: #6d735c;
  font-size: 0.78rem;
}
.desk details {
  padding: 5px 8px;
  background: #e9ead5;
  border-radius: 5px;
}
.ordered {
  margin: 8px 0;
}
.ordered span,
.ordered button {
  padding: 8px;
  background: #e8e6d2;
  border: 1px dashed #8b998a;
  border-radius: 5px;
  flex: 1;
  text-align: center;
}
.ordered button {
  background: #dceacc;
}
.sr {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 780px) {
  .stacks-grid {
    grid-template-columns: 1fr;
  }
  .shelf-rooms {
    grid-template-columns: 1fr;
  }
  .shelf-hero {
    aspect-ratio: auto;
  }
  .shelf-hero > div {
    max-width: 86%;
  }
  .desk {
    padding: 10px;
  }
}
@media (max-width: 470px) {
  .catalog-cards {
    grid-template-columns: 1fr;
  }
  .vote-row {
    justify-content: flex-start;
  }
  .desk button {
    min-height: 40px;
  }
  .chips button {
    padding: 4px 10px;
  }
}
