.pb-stage {
  flex: 1 1 300px;
  max-width: 420px;
  text-align: center;
}

.pb-stage .gk-hud {
  text-align: left;
}

.pb-stat-wide {
  flex: 2 1 0;
}

.pb-bun-wrap {
  position: relative;
  margin: 18px auto 6px;
  width: min(208px, 60vw);
}

.pb-bun {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.06s ease-out;
  filter: drop-shadow(0 6px 0 var(--gk-line));
}

:root[data-theme="neon"] .pb-bun {
  filter: drop-shadow(0 0 14px var(--gk-primary));
}

.pb-bun:active,
.pb-bun.is-pressed {
  transform: scale(0.93);
}

.pb-bun canvas {
  display: block;
  width: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.pb-float {
  position: absolute;
  pointer-events: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gk-ink);
  text-shadow: 0 1px 0 var(--gk-bg);
  transform: translate(-50%, -50%);
  animation: pb-rise 0.8s ease-out forwards;
}

@keyframes pb-rise {
  to {
    transform: translate(-50%, -260%);
    opacity: 0;
  }
}

.pb-total {
  font-size: 0.95rem;
}

#status {
  min-height: 1.3em;
  color: var(--gk-ink);
  font-weight: 600;
}

.pb-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.pb-tools .gk-btn {
  font-size: 0.85rem;
  min-height: 36px;
}

.pb-shop {
  flex: 1 1 300px;
  max-width: 420px;
}

.pb-shop h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.pb-shop h2:not(:first-child) {
  margin-top: 16px;
}

.pb-list {
  display: grid;
  gap: 6px;
}

.pb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--gk-line);
  border-radius: 12px;
  background: var(--gk-surface);
  color: var(--gk-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.pb-item:not(:disabled):hover {
  border-color: var(--gk-primary);
  box-shadow: var(--gk-glow);
}

.pb-item:disabled {
  opacity: 0.5;
  cursor: default;
}

.pb-item.is-bought {
  opacity: 1;
  border-style: dashed;
  color: var(--gk-muted);
}

.pb-icon {
  flex: none;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.pb-item-main {
  flex: 1;
  min-width: 0;
}

.pb-item-name {
  display: block;
  font-weight: 700;
}

.pb-item-note {
  display: block;
  color: var(--gk-muted);
  font-size: 0.8rem;
}

.pb-price {
  flex: none;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .pb-bun {
    transition: none;
  }
}
