/* 消しピン固有のスタイル（共通部分は assets/css/game.css） */

.turn-bar {
  display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  font-weight: 900;
  min-height: 1.6em;
}
.turn-bar.mine #turn-text { color: var(--red); animation: pop 0.35s ease-out; }
.turn-sub { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }

.desk-wrap {
  position: relative;
  /* 机の外（教室の床）も少し見せる：落ちる演出のため */
  background: repeating-linear-gradient(90deg, #d9ae78 0 46px, #cc9f69 46px 48px);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.desk {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 600;
  touch-action: none; /* ドラッグ中にスクロールしない */
  cursor: grab;
}
.desk.aiming { cursor: grabbing; }

.player-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 12px 0 0;
}
.player-list li {
  display: flex; align-items: center; gap: 6px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 12px 2px 4px;
  font-weight: 700;
  font-size: 0.9rem;
}
.player-list li.turn { background: var(--yellow); }
.player-list li.out { opacity: 0.4; text-decoration: line-through; }
.player-list .art { width: 1.6em; height: 1.6em; }
.player-list .chip {
  width: 22px; height: 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

/* 消しゴム・ステージの選択 */
.pick-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.pick-card {
  display: grid; justify-items: center; align-content: start; gap: 2px;
  padding: 6px 4px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.pick-card .art { width: 70px; height: 42px; }
.pick-card b { font-size: 0.85rem; }
.pick-card small { font-size: 0.68rem; color: var(--ink-soft); line-height: 1.2; }
.pick-card.on { background: var(--yellow); box-shadow: var(--shadow); }
.pick-cards.stages .pick-card { min-height: 64px; }
.player-list .order {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  font-size: 0.75rem;
  color: #fff; background: var(--ink);
  border-radius: 50%;
}
