/* =====================================================================
   style.css — Base32 / Base58 変換 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* モード切替（向き・方式） */
.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-result__value {
  line-height: 1.7;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* エラー表示 */
.sg-error {
  margin-top: var(--sg-space-2, 8px);
  color: var(--sg-danger, #c0392b);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 方式の解説（早見表） */
.sg-chart {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sg-chart-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row:last-child {
  border-bottom: none;
}
.sg-chart-row__key {
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sg-chart-row__val {
  color: var(--sg-muted, #555);
  line-height: 1.6;
}
