/* =====================================================================
   style.css — ブロック崩し ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる。
   ===================================================================== */

/* 難易度選択 */
.sg-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: var(--sg-space-1, 4px);
}
.sg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* ツールバー（操作ボタン + スコア） */
.sg-bo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sg-bo-actions {
  display: flex;
  gap: 8px;
}
.sg-bo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.sg-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.sg-stat__label {
  font-size: 0.72rem;
  color: var(--sg-muted, #777);
}
.sg-stat__value {
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sg-bo-status {
  margin-top: 10px;
  font-weight: 600;
  color: var(--sg-accent, #3b5bdb);
}

/* 盤面（Canvas） */
.sg-board-wrap {
  display: flex;
  justify-content: center;
}
#board {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 480 / 600;
  border-radius: 12px;
  background: var(--sg-card-bg, #fff);
  border: 1px solid var(--sg-border, #e5e7eb);
  /* 盤面上のドラッグでページがスクロールしないように */
  touch-action: none;
  cursor: pointer;
}
