.wallpaper-room .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wallpaper-room > h2 { margin-bottom: 4px; }
.wallpaper-room > p { margin: 0 0 20px; }
.wallpaper-machine {
  --vend-metal: #e59182;
  --vend-trim: #873b50;
  --vend-ink: #271e32;
  --vend-cream: #ffe8c7;
  background: var(--vend-metal);
  border: 3px solid var(--vend-trim);
  border-radius: 12px 12px 4px 4px;
  box-shadow: inset 0 3px #ffbcaa, inset 0 -4px #be5c68, 0 8px 20px #4c293632;
  color: var(--vend-ink);
  padding: clamp(10px, 2vw, 20px);
}
.wallpaper-marquee {
  display: grid;
  grid-template-columns: minmax(8px, 1fr) auto minmax(8px, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
  padding: 8px 12px;
  margin-bottom: 12px;
  border: 2px solid #482a49;
  background: #62304d;
  color: #fff0c9;
  text-align: center;
  font: clamp(13px, 2.3vw, 23px)/1.3 var(--pixel);
  box-shadow: inset 0 1px #f1ad9c;
}
.wallpaper-lights {
  height: 3px;
  background: linear-gradient(90deg, #ffa49e, #fbe088, #e6b6fc, #9bd9c5);
}
.wallpaper-lights:first-child { transform: scaleX(-1); }
.wallpaper-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(205px, .45fr);
  gap: 12px;
}
.wallpaper-packets {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 3px solid #4b2d42;
  border-radius: 4px;
  background: radial-gradient(ellipse at 50% 14%, #54445f, var(--vend-ink) 72%);
  box-shadow: inset 0 -4px #17131b;
}
.wallpaper-rack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 16px);
  align-items: center;
  min-height: 100%;
}
.wallpaper-slot { position: relative; min-width: 0; }
.wallpaper-foil {
  --foil-light: #f8dbc2;
  --foil-mid: #e69c83;
  --foil-dark: #623449;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 10px 6px 12px;
  overflow: hidden;
  cursor: pointer;
  color: #fff3da;
  background: linear-gradient(130deg, var(--foil-dark) 4%, var(--foil-mid) 19%, var(--foil-light) 31%, var(--foil-dark) 43%, var(--foil-mid) 68%, var(--foil-dark) 92%);
  box-shadow: 0 4px 7px #0d0a17b3;
  clip-path: polygon(0 0, 100% 0, 98% 8%, 100% 92%, 100% 100%, 0 100%, 0 92%, 2% 8%);
  transition: transform .16s ease-out;
}
.wallpaper-foil::before, .wallpaper-foil::after {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: repeating-linear-gradient(90deg, #2e163139 0 1px, transparent 1px 4px), linear-gradient(0deg, #3424445c, #fff3cf9e);
}
.wallpaper-foil::after { inset: auto 0 0; transform: scaleY(-1); }
.wallpaper-foil-night { --foil-light: #f3dbfe; --foil-mid: #a28acb; --foil-dark: #514071; }
.wallpaper-foil-film { --foil-light: #d9fbe6; --foil-mid: #73bdb8; --foil-dark: #345c5f; }
.wallpaper-foil img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 170px;
  height: auto;
  object-fit: cover;
  border: 1px solid #fff1d2b3;
  background: var(--foil-dark);
}
.wallpaper-foil-flight img { object-position: 50% 16%; }
.wallpaper-slot-id, .wallpaper-foil-name {
  z-index: 1;
  background: #2b2234;
  text-align: center;
  font: 11px/1.35 var(--pixel);
  padding: 2px 4px;
}
.wallpaper-foil-name { display: grid; width: 100%; min-height: 22px; place-items: center; }
.wallpaper-slot input:checked + label {
  box-shadow: inset 0 0 0 2px #ffde8e, 0 4px 7px #0d0a17b3;
  transform: translateY(-2px);
}
.wallpaper-slot input:checked + label .wallpaper-slot-id { background: #ffde8e; color: var(--vend-ink); }
.wallpaper-slot input:focus-visible + label {
  outline: 3px solid #fff4a9;
  outline-offset: 3px;
  clip-path: none;
}
.wallpaper-slot label:hover { transform: translateY(-3px); }
.wallpaper-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 9px;
  background: #fac4a2;
  border: 2px solid #a84d5c;
  border-radius: 4px;
}
.wallpaper-display {
  padding: clamp(9px, 1.8vw, 15px);
  background: #302738;
  border: 2px solid #714d60;
  color: var(--vend-cream);
}
.wallpaper-display h3 {
  font: 15px/1.4 var(--pixel);
  margin: 0 0 5px;
  color: #ffe194;
}
.wallpaper-display p { font-size: 13px; line-height: 1.55; margin: 0 0 9px; }
.wallpaper-display .wallpaper-specs { color: #e6cde9; }
.wallpaper-display .wallpaper-price { font: 22px/1.1 var(--pixel); }
.house-site .wallpaper-display .wallpaper-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #ffe9a8;
  border-radius: 3px;
  background: #f7cf78;
  color: #302738;
  text-align: center;
  text-decoration: none;
  font: bold 13px/1.4 Verdana, sans-serif;
}
.house-site .wallpaper-display .wallpaper-buy:hover, .house-site .wallpaper-display .wallpaper-buy:focus-visible {
  background: #ffe4a3;
  color: #302738;
}
.house-site .wallpaper-display .wallpaper-buy:disabled {
  opacity: 1;
  background: #eed9b4;
  border-color: #d1ac94;
  color: #4d374b;
  cursor: default;
}
.wallpaper-chute {
  height: 20px;
  margin-top: 9px;
  border: 3px solid #ab5e68;
  border-bottom-width: 4px;
  border-radius: 3px;
  background: linear-gradient(#1f1825, #442f41);
}
.wallpaper-chute i { display: block; width: 24%; height: 3px; margin: -2px auto 0; background: #f6dd9e; }
.wallpaper-samples { margin-top: 20px; }
.wallpaper-samples h3 { margin: 0 0 8px; font: 14px/1.5 var(--pixel); }
.wallpaper-sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.16fr) minmax(0, 1fr);
  gap: 12px;
}
.wallpaper-samples figure { margin: 0; min-width: 0; }
.wallpaper-samples img { display: block; width: 100%; height: auto; background: #4a362b; border: 2px solid #776d59; }
.wallpaper-samples figcaption { margin-top: 4px; font-size: 12px; }
@media (max-width: 620px) {
  .wallpaper-console { grid-template-columns: 1fr; gap: 8px; }
  .wallpaper-packets { padding: 8px; }
  .wallpaper-foil { padding-inline: 4px; gap: 4px; }
  .wallpaper-foil-name, .wallpaper-slot-id { font-size: 9px; }
  .wallpaper-sample-grid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wallpaper-foil { transition: none; }
}
