/* 月相查詢頁專用樣式；表單與表格沿用 site.css */
.mp-datebar { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mp-datebar input[type=date] { width: 100%; min-height: 48px; font-size: 1.05rem; }
.mp-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.mp-btns .btn { min-height: 46px; padding-left: 4px; padding-right: 4px; }
.mp-go { margin-top: 10px; width: 100%; min-height: 52px; font-size: 1.1rem; }
.mp-hero { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; margin: 12px 0; }
.mp-moon { width: 160px; height: 160px; }
.mp-moon svg { display: block; max-width: 100%; height: auto; }
.mp-name { font-size: 2rem; font-weight: 800; color: var(--brand-dark); line-height: 1.2; margin: 0; }
.mp-when { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.mp-events { margin: 6px 0 0; font-weight: 600; color: var(--brand-dark); }
.mp-h3 { font-size: 1.05rem; margin: 16px 0 6px; }
.mp-caltop { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin: 14px 0 6px; }
.mp-caltop h3 { margin: 0; font-size: 1.05rem; text-align: center; }
.mp-caltop .btn { min-height: 44px; }
.mp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mp-wd { text-align: center; font-weight: 700; color: var(--muted); font-size: .9rem; padding: 2px 0; }
.mp-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 0 4px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; color: var(--fg); line-height: 1.2; }
.mp-day:hover { border-color: var(--brand); }
.mp-day.on { border: 2px solid var(--brand); background: #eff4ff; }
.mp-day.mp-q { background: #fff7d6; }
.mp-dn { font-size: .85rem; font-weight: 700; }
.mp-ic svg { display: block; width: 26px; height: 26px; }
.mp-lu { font-size: .68rem; color: var(--muted); }
.mp-qn { font-size: .68rem; color: var(--brand-dark); font-weight: 600; }
@media (max-width: 480px) {
  .mp-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .mp-grid { gap: 2px; }
  .mp-ic svg { width: 22px; height: 22px; }
  .mp-dn { font-size: .8rem; }
  .mp-lu, .mp-qn { font-size: .62rem; }
}
