/* 냥냥 붕어빵 전용 스타일 (공통은 ../style.css) */

.best { text-align: center; margin: 0 0 4px; font-size: 1.1rem; }
.best b { color: var(--accent); font-size: 1.5rem; }
.center { text-align: center; }
.muted { color: var(--muted); margin: 0 0 8px; }
button.small { padding: 4px 12px; font-size: 0.85rem; color: var(--muted); }

/* 위 상태줄: 글자 크기를 게임판 폭에 맞춰(bung.js resize) 어느 폰·브라우저에서도 한 줄로 */
.hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin: 8px auto 6px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  max-width: 100%;
}
.hud > span { flex: none; }
#hudMoney { color: var(--accent); }
#hudTime.low { color: #d62828; }
.hud-btns { display: flex; gap: 0.35em; flex: none; }
.hud button { padding: 0.25em 0.55em; font-size: 1em; border-radius: 0.5em; }

.stage-wrap { display: flex; justify-content: center; }
#stage {
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.over-score { margin: 4px 0 0; font-size: 2.2rem; font-weight: 800; color: var(--accent); }

.playing .rules { display: none; }
body.playing { overscroll-behavior: none; user-select: none; -webkit-user-select: none; }

/* 상점 */
.shop-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.shop-head > b { font-size: 1.15rem; }
#shopBank { color: var(--accent); font-size: 1.2rem; }
.shop-list { list-style: none; padding: 0; margin: 0; }
.shop-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.shop-icon { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: #fff3c4; border-radius: 10px; }
.shop-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.shop-text small { color: var(--muted); }
.shop-row button { flex: none; padding: 6px 12px; white-space: nowrap; }
.shop-row.locked { opacity: 0.6; }
.swatch { display: block; width: 26px; height: 18px; border-radius: 5px; background-image: repeating-linear-gradient(90deg, transparent 0 6px, #fff4e0 6px 12px) !important; }
