/* ヘリオセントリック鑑定 — ナイト+ゴールド(seigaku-horoscope/sabianと共通トーン) */
:root {
  --bg: #0e0f24;
  --bg2: #15173a;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(231, 196, 108, 0.22);
  --line-dim: rgba(231, 196, 108, 0.12);
  --ink: #e8e6f2;
  --muted: rgba(232, 230, 242, 0.62);
  --gold: #e7c46c;
  --gold-dim: rgba(231, 196, 108, 0.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(1100px 560px at 50% -8%, #1b1d4a 0%, var(--bg) 55%);
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.85;
  font-size: 15px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 18px 60px; }

/* ---- ヒーロー ---- */
.kicker { color: var(--gold); font-size: 12px; letter-spacing: 0.28em; text-align: center; }
h1 { text-align: center; font-size: 27px; font-weight: 700; margin: 6px 0 18px; letter-spacing: 0.06em; }
.lead { color: var(--muted); font-size: 14px; max-width: 600px; margin: 0 auto 28px; }

/* ---- フォーム ---- */
.form-card {
  background: var(--card); border: 1px solid var(--line-dim); border-radius: 8px;
  padding: 26px 24px 20px; max-width: 480px; margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row > label { display: block; font-size: 12px; color: var(--gold); margin-bottom: 7px; letter-spacing: 0.1em; }
input[type="text"], input[type="time"], select {
  background: var(--bg2); color: var(--ink); border: 1px solid var(--line-dim);
  border-radius: 8px; padding: 9px 12px; font-size: 15px; font-family: inherit;
}
input[type="text"] { width: 100%; }
input[type="time"]:disabled { opacity: 0.35; }
.date-selects { display: flex; gap: 8px; }
.date-selects select { flex: 1; }
.time-line { display: flex; align-items: center; gap: 14px; }
.chk { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.hint { font-size: 11.5px; color: var(--muted); margin-top: 7px; line-height: 1.7; }
.hint.center { text-align: center; margin-top: 12px; }
.run-btn {
  display: block; width: 100%; margin-top: 4px;
  background: var(--gold); color: #20183a; border: none; border-radius: 999px;
  padding: 13px; font-size: 15px; font-weight: 700; letter-spacing: 0.1em;
  cursor: pointer; font-family: inherit;
}
.run-btn:hover { filter: brightness(1.08); }

/* ---- 結果 ---- */
.result { margin-top: 44px; }
.intro-note, .outro-note {
  color: var(--muted); font-size: 13px; border-left: 2px solid var(--line);
  padding: 2px 0 2px 14px; margin: 0 0 30px;
}
.outro-note { margin: 30px 0 0; }
.blk { margin-bottom: 40px; }
.blk h2 {
  font-size: 19px; color: var(--gold); font-weight: 700; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dim); padding-bottom: 8px; margin-bottom: 14px;
}
.blk .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.blk .sub { color: var(--muted); font-size: 12.5px; margin: -6px 0 14px; }
.blk p { margin-bottom: 12px; }
.wheel-toggle { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.wheel-toggle button {
  background: transparent; border: 1px solid var(--line-dim); color: var(--muted);
  border-radius: 999px; padding: 5px 16px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.wheel-toggle button.on { color: var(--gold); border-color: var(--gold); }
.wheel-wrap { max-width: 560px; margin: 0 auto 18px; }
.wheel-wrap svg { width: 100%; height: auto; display: block; }

/* 位置表 */
.pos-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pos-table th {
  text-align: left; color: var(--gold); font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.1em; border-bottom: 1px solid var(--line); padding: 6px 8px;
}
.pos-table td { border-bottom: 1px solid var(--line-dim); padding: 8px; }
.pos-table .zs { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.row-earth td { background: var(--gold-dim); }
.row-earth td:first-child { color: var(--gold); font-weight: 700; }
.diff-table .star { color: var(--gold); }

/* アスペクト項目 */
.asp-item { margin-bottom: 18px; }
.asp-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.asp-item .orb { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 10px; }

/* ---- 共有・フッター ---- */
.share { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }
.share-btn {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 9px 22px; font-size: 13px; cursor: pointer;
  font-family: inherit; text-decoration: none;
}
.share-btn:hover { color: var(--gold); border-color: var(--gold); }
.foot { margin-top: 56px; text-align: center; color: var(--muted); font-size: 11.5px; }
.foot a { color: var(--muted); }

@media (max-width: 560px) {
  h1 { font-size: 22px; }
  .pos-table { font-size: 12px; }
  .pos-table th, .pos-table td { padding: 6px 5px; }
}
