/* Painted steel cabinets and a mechanical coin door. */
.homepage { padding-top: 16px; }
.arcade-wallet {
  display: none;
  position: fixed;
  z-index: 10;
  right: 24px;
  top: 16px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: var(--frame);
  outline: var(--frame-line);
  outline-offset: -1px;
  border-radius: var(--radius);
  /* see-through as the windows over the game (owner, 2026-11-28) */
  background: var(--screen-fill);
  box-shadow: inset 0 1px #ffffff30, 0 10px 24px #0008;
}
.arcade-home .arcade-wallet,
.paid-screen .arcade-wallet { display: flex; }
.arcade-wallet > div { display: grid; gap: 5px; }
.arcade-eyebrow { color: #baa97d; font-size: 8px; letter-spacing: 2px; }
.arcade-balance {
  font-size: 20px;
  line-height: 28px;
  color: #ffe08b;
  text-shadow: 0 0 12px #f4b34b55;
  font-variant-numeric: tabular-nums;
}
.arcade-wallet small { font: 11px/1.4 Courier, monospace; color: #c1c2b8; text-shadow: none; }
/* the drawn token at a whole share of its 96 px, so every pixel of it stays sharp */
.arcade-coin {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}
/* bigger in the coin slots and the pocket (owner, 2026-11-28), still half of its 96 px */
.arcade-slot .arcade-coin,
.arcade-wallet .arcade-coin {
  width: 48px;
  height: 48px;
}
.arcade-cabinet {
  overflow: hidden;
  text-align: center;
  border: var(--frame);
  outline: var(--frame-line);
  outline-offset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #3c4140, #202525 65%);
  box-shadow: inset 0 1px #b5b6a540, 0 7px 0 #111514, 0 10px 20px #0005;
  transition: border-color .2s, box-shadow .2s;
}
.arcade-cabinet:hover {
  border-color: #b8a271;
  box-shadow: inset 0 1px #b5b6a540, 0 7px 0 #111514, 0 10px 26px #0007;
}
.arcade-cabinet h3 {
  margin: 0;
  padding: 18px 12px;
  min-height: 66px;
  /* the year sits on the title's line, a subtitle takes a line of its own */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: baseline;
  column-gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #f4e3b6;
  background: repeating-linear-gradient(0deg, #0000 0 2px, #0002 2px 4px), #292e2c;
  border-bottom: 2px solid #141918;
}
.arcade-subtitle {
  flex-basis: 100%;
  margin-top: 4px;
  /* the pixel font stays sharp only at multiples of 8 px */
  font-size: 8px;
  color: #b8a271;
}
.arcade-screen {
  position: relative;
  margin: 10px 12px;
  overflow: hidden;
  border: 5px solid #101716;
  border-radius: var(--radius);
  box-shadow: 0 1px #9a9e8540;
  background: #101716;
}
.arcade-screen > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
/* the coin slot under each cabinet; the token is paid at the game's start */
.arcade-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 13px 16px;
  min-height: 74px;
  border: var(--frame);
  outline: var(--frame-line);
  outline-offset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(#404340, #292c29);
  box-shadow: inset 0 1px #e3dfc040, 0 4px 0 #111411;
  color: #ffe0a0;
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.arcade-slot:hover { background: linear-gradient(#515044, #36392e); border-color: #edc46b; }
.arcade-slot:active { translate: 0 2px; box-shadow: inset 0 2px 4px #0009, 0 2px #111411; }
.arcade-slot-label { flex: 1; }
.arcade-slot small { display: block; margin-top: 5px; font: 10px/1.4 Courier, monospace; color: #c8c8b6; text-shadow: none; }
.arcade-slot-mouth {
  width: 10px;
  height: 34px;
  border: 3px ridge #a4a694;
  border-radius: 3px;
  background: #050a07;
  box-shadow: 0 0 0 5px #1c211d, 0 -9px 7px -3px #92c579;
}
.arcade-empty .arcade-slot-mouth { box-shadow: 0 0 0 5px #1c211d, 0 -9px 7px -3px #e16e52; }
.arcade-empty .arcade-balance { color: #ef8c74; }
@media (max-width: 1100px) {
  .homepage { padding-top: 112px; }
}
@media (max-width: 500px) {
  .homepage { padding-top: 96px; }
  .arcade-wallet { right: 12px; top: 12px; gap: 10px; padding: 10px 12px; }
  .arcade-wallet .arcade-coin { width: 32px; height: 32px; }
  .arcade-eyebrow { font-size: 7px; letter-spacing: 1px; }
  .arcade-balance { font-size: 17px; }
  .arcade-wallet small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-cabinet, .arcade-slot { transition: none; }
}
