/* 金魚すくい固有のスタイル（共通部分は assets/css/game.css） */

body { background-color: #f6ecd7; }
.choices small { font-size: 0.72rem; color: var(--ink-soft); }
.fish-table { margin: 8px auto; border-collapse: collapse; font-size: 0.9rem; }
.fish-table th, .fish-table td { border: 2px solid var(--ink); padding: 3px 8px; background: #fff; }
.fish-table th { background: #ffe1d6; }

.hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-bottom: 8px;
  font-weight: 700;
}
.hud-item { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
.hud-item b { font-size: 1.2rem; color: var(--red); }
#pois .art { width: 22px; height: 22px; vertical-align: middle; }
#pois .used { opacity: 0.25; }
.paper-meter {
  flex: 1; min-width: 120px; max-width: 260px;
  height: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.paper-meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f27c9b, #ffd0dc); transition: width 0.1s; }
.paper-meter.weak span { background: var(--red); }

.tank-wrap {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #3a2c22;
}
.tank {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 600;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: none;
}
.big-text {
  position: absolute; left: 0; right: 0; top: 40%;
  text-align: center;
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink);
  pointer-events: none;
}
.big-text.show { animation: pop 0.3s ease-out; }
.big-text.red { color: var(--red); }
.big-text.gold { color: var(--yellow); }
.status { text-align: center; font-weight: 700; color: var(--ink-soft); min-height: 1.4em; }

.ranking { text-align: left; margin: 8px auto 12px; max-width: 260px; padding-left: 1.6em; }
.ranking li { font-weight: 700; margin-bottom: 4px; }
.ranking li.me { color: var(--red); }
.ranking .wait { color: var(--ink-soft); font-weight: 500; }
.ranking .art { width: 1.5em; height: 1.5em; vertical-align: middle; }
.timer { font-variant-numeric: tabular-nums; font-weight: 900; }
.timer.hurry { color: var(--red); border-color: var(--red); animation: pop 0.5s ease-out infinite alternate; }
