/* =====================================================================
   style.css — 恵方（今年の恵方・恵方巻きの方角）ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 年入力を短めに */
.eho-year-input {
  max-width: 200px;
}

/* 結果の補足行 */
.sg-result__sub {
  margin-top: 4px;
  color: var(--sg-muted, #666);
  font-size: 0.92rem;
}

/* コンパス方角図 */
.eho-compass-wrap {
  display: flex;
  justify-content: center;
  margin: var(--sg-space-3, 12px) 0;
}
.eho-compass {
  width: 220px;
  height: 220px;
  max-width: 100%;
}

/* 恵方のメタ情報 */
.eho-meta {
  display: flex;
  flex-direction: column;
  margin-top: var(--sg-space-3, 12px);
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.eho-meta-row {
  display: flex;
  align-items: baseline;
  gap: var(--sg-space-3, 12px);
  padding: 7px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.eho-meta-row__key {
  flex: 0 0 8.5em;
  font-weight: 600;
  color: var(--sg-fg, #333);
}
.eho-meta-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
}

/* 節分の注記 */
.eho-setsubun {
  margin-top: var(--sg-space-3, 12px);
  line-height: 1.7;
  color: var(--sg-muted, #555);
  font-size: 0.92rem;
}

/* 今後の恵方一覧 */
.eho-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--sg-space-2, 8px);
}
.eho-list-row {
  display: grid;
  grid-template-columns: 5.5em 8em 1fr 4.5em;
  gap: 8px;
  align-items: baseline;
  padding: 7px 6px;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.eho-list-row--head {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--sg-muted, #777);
  border-bottom: 2px solid var(--sg-border, #d7dbe6);
}
.eho-list-row.is-current {
  background: var(--sg-accent-weak, #eef2ff);
  border-radius: 8px;
  font-weight: 600;
}
.eho-list-cell {
  color: var(--sg-muted, #555);
}
.eho-list-cell--year {
  font-weight: 600;
  color: var(--sg-fg, #333);
}
@media (max-width: 480px) {
  .eho-list-row {
    grid-template-columns: 4.5em 6.5em 1fr 4em;
    font-size: 0.86rem;
  }
}
