/* =====================================================================
   style.css — おみくじ・今日の運勢 ツール固有の微調整のみ。
   共通スタイルは /_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;
}

/* 総合運の見出し（大きく） */
.omk-overall {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* カテゴリ別の一言 */
.omk-cats {
  display: flex;
  flex-direction: column;
  margin-top: var(--sg-space-3, 12px);
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.omk-cat-row {
  display: flex;
  align-items: baseline;
  gap: var(--sg-space-3, 12px);
  padding: 8px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.omk-cat-row__key {
  flex: 0 0 5.5em;
  font-weight: 600;
  color: var(--sg-fg, #222);
}
.omk-cat-row__text {
  flex: 1 1 auto;
  line-height: 1.7;
  color: var(--sg-muted, #555);
}

/* ラッキーアイテム（3カラム） */
.omk-lucky {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: var(--sg-space-4, 16px);
}
.omk-lucky-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 10px);
  text-align: center;
}
.omk-lucky-cell__label {
  font-size: 0.78rem;
  color: var(--sg-muted, #777);
}
.omk-lucky-cell__value {
  font-size: 1.3rem;
  font-weight: 700;
}

/* 免責の注記 */
.omk-note {
  margin-top: var(--sg-space-3, 12px);
}

/* 運勢順序の早見表 */
.sg-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 2px 16px;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row__key {
  flex: 0 0 1.6em;
  font-weight: 600;
  text-align: center;
  color: var(--sg-muted, #777);
}
.sg-chart-row__val {
  flex: 1 1 auto;
  font-weight: 600;
}

@media (max-width: 420px) {
  .omk-lucky { grid-template-columns: 1fr; }
  .omk-cat-row__key { flex-basis: 4.8em; }
}
