.inventory {display:none}
.preview:has(.wall:not([hidden])) .inventory:has(.inventory-slot:not([hidden])) {
  display:flex;
  gap:8px;
  position:absolute;
  z-index:200;
  left:8px;
  bottom:8px;
}
.inventory .inventory-slot:not([hidden]) {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:6px;
  color:#ead4ae;
  background:#211a16df;
  border:1px solid #b7986b9c;
  cursor:pointer;
  animation:inventory-enter .22s ease-out both;
}
.inventory .inventory-silver:not([hidden]) {
  color:#dce9e8;
  background:#1c2324e6;
  border-color:#839b9caa;
}
.inventory-slot img {
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:contain;
  pointer-events:none;
  filter:brightness(1.23) drop-shadow(0 1px 1px #091010);
}
.inventory .inventory-slot:hover {background:#3a2c21}
.inventory .inventory-silver:hover {background:#2d3a3a}
.inventory .inventory-slot[aria-pressed="true"] {
  background:#4b3426;
  border-color:#f3cd88;
  box-shadow:inset 0 0 0 1px #f3cd888a,0 0 8px #e4a6494d;
}
.inventory .inventory-silver[aria-pressed="true"] {
  background:#384b4d;
  border-color:#e2f2f1;
  box-shadow:inset 0 0 0 1px #e2f2f18a,0 0 8px #b8e2eb4d;
}
.inventory-reveal:not([hidden]) {
  display:grid;
  justify-items:center;
  gap:8px;
  width:clamp(128px,24%,235px);
  position:absolute;
  z-index:240;
  left:50%;
  top:48%;
  translate:-50% -50%;
  margin:0;
  padding:clamp(8px,1.1vw,15px);
  color:#312a20;
  background:linear-gradient(149deg,#e9dcc0,#cdbda1 85%);
  border:1px solid #baa684;
  border-radius:3px;
  box-shadow:0 8px 28px #080806bf;
  pointer-events:none;
  animation:inventory-enter .22s ease-out both;
}
.inventory-reveal img {
  display:block;
  width:100%;
  height:clamp(80px,12vw,123px);
  object-fit:contain;
  background:radial-gradient(ellipse at 44% 41%,#52483c,#242322);
  border-radius:1px;
  padding:7px;
  filter:drop-shadow(0 1px 1px #392a1a66);
}
.inventory-reveal figcaption {
  font:500 clamp(11px,1.4vw,15px)/1.3 system-ui,sans-serif;
}
.inventory-announcement {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
@keyframes inventory-enter {
  from {opacity:0;transform:translateY(4px)}
  to {opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce) {
  .inventory .inventory-slot,
  .inventory-reveal:not([hidden]) {animation:none}
}
.inventory .inventory-film:not([hidden]) {
  background:#202721;
  border-color:#829982ad;
}
.inventory .inventory-film:hover {background:#304037}
.inventory .inventory-film[aria-pressed="true"] {
  background:#3b4b3b;
  border-color:#dce5b5;
  box-shadow:inset 0 0 0 1px #dce5b589,0 0 8px #b7d0a14f;
}
.inventory .inventory-ticket:not([hidden]) {
  background:#28211a;
  border-color:#bd985caa;
}
.inventory .inventory-ticket:hover {background:#453625}
.wall.station ~ .inventory .inventory-ticket:focus-visible {outline:2px solid #e6c083}
.inventory-reveal[data-item="ticket"]:not([hidden]) {
  width:clamp(190px,32%,390px);
  color:#3d2d1b;
  background:#d5be8e;
}
.inventory-reveal[data-item="ticket"] img {
  height:auto;
  padding:0;
  background:none;
  filter:drop-shadow(0 1px 2px #4b321785);
}

.inventory .inventory-access:not([hidden]) {
  background:#1a242c;
  border-color:#788d9bba;
}
.inventory .inventory-access:hover {background:#2c3d48}
.inventory .inventory-access[aria-pressed="true"] {
  background:#364852;
  border-color:#d1e3ea;
  box-shadow:inset 0 0 0 1px #cde3eb82,0 0 8px #a4cbdc48;
}
