/* 냥냥 낚시 전용 스타일 (공통은 ../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; }

.dex-title { margin: 18px 0 8px; font-size: 1rem; text-align: center; }
.dex-title small { color: var(--muted); font-weight: 600; }
.dex { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dex li { background: #f3f8fc; border: 1px solid #d8e6f0; border-radius: 10px; padding: 6px 2px; text-align: center; font-size: 0.78rem; line-height: 1.3; }
.dex li i { display: block; font-style: normal; font-size: 1.4rem; }
.dex li b { display: block; }
.dex li small { color: var(--muted); }
.dex li.unknown { opacity: 0.5; }
.dex li.unknown i { filter: grayscale(1) brightness(0.3); }

/* 위 상태줄: 글자 크기를 게임판 폭에 맞춰(fish.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; }
#hudBig { color: var(--accent); }
#hudTime.low { color: #e63946; }
.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: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

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

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

/* 코인·장비·미끼 */
.coins { text-align: center; margin: 6px 0 2px; font-weight: 800; }
.coins b { color: #d08a00; font-size: 1.2rem; }
.gear { text-align: center; margin: 0 0 8px; font-size: 0.85rem; color: var(--muted); }
.bait-title { text-align: center; margin: 6px 0 4px; font-size: 0.85rem; font-weight: 700; }
.bait-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; }
.bait-pick button { padding: 5px 12px; border-radius: 999px; font-size: 0.9rem; }
.bait-pick button.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.bait-pick small { opacity: 0.8; }
.roll-row { gap: 8px; }

/* 상점 */
.shop-title { text-align: center; margin: 0 0 4px; }
#shop h3 { margin: 16px 0 6px; font-size: 1rem; }
#shop h3 small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.shop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.shop-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #f7f3ec; border: 1px solid var(--border); border-radius: 12px; }
.shop-list li.cur { background: #eaf6ee; border-color: #a7dbb8; }
.shop-list i { font-style: normal; font-size: 1.5rem; flex: none; }
.shop-list li > span { flex: 1; min-width: 0; }
.shop-list b { display: block; }
.shop-list small { display: block; color: var(--muted); font-size: 0.8rem; }
.shop-list b small { display: inline; }
.shop-list button { flex: none; padding: 6px 12px; font-size: 0.88rem; }
.shop-list button:disabled { opacity: 0.45; }
.shop-list em { flex: none; font-style: normal; font-size: 0.8rem; color: var(--muted); }
.shop-list em.on { color: #2a9d5c; font-weight: 800; }
