/* Natal Chart Lab — night-sky design system. One dark theme by design: gold for emphasis, one color per
   element (fire coral, earth sage, air lavender, water aqua), Cormorant Garamond for display type. */

@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --night: #090b20; --night-2: #11143a; --night-3: #1a1e50;
  --ink: #eeedf8; --muted: #a9abcf; --faint: #7d80ab;
  --line: rgba(233, 214, 160, 0.16); --line-soft: rgba(255, 255, 255, 0.07);
  --surface: rgba(255, 255, 255, 0.035); --surface-2: rgba(255, 255, 255, 0.06);
  --gold: #e6c67d; --gold-2: #f6dfa4; --gold-deep: #b8913e; --violet: #a796ff;
  --fire: #ff9273; --earth: #a6d784; --air: #c3b5ff; --water: #67d2ee;
  --good: #8fd6a8; --hard: #ff8f7e;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --display: "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; color: var(--ink); font: 17px/1.65 var(--sans); min-height: 100vh; display: flex; flex-direction: column; background: var(--night); position: relative; }
/* The sky sits on its own fixed layer: background-attachment: fixed breaks compositing with the sticky,
   blurred header and is ignored on iOS. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 34%, rgba(246,223,164,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 41%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 72%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 83%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 88%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(900px 600px at 85% -10%, rgba(120, 96, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(64, 160, 220, 0.10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night) 100%);
}
a { color: var(--gold-2); text-decoration-color: rgba(246, 223, 164, 0.4); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--gold); }
::selection { background: rgba(230, 198, 125, 0.35); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 28px; padding-bottom: 64px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--night-3); padding: 8px 12px; z-index: 10; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(9, 11, 32, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.bar { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 23px/1 var(--display); letter-spacing: 0.01em; }
.brand:hover { color: #fff; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--gold); border: 1px solid rgba(230, 198, 125, 0.55); box-shadow: inset 0 0 0 4px rgba(230, 198, 125, 0.08), 0 0 18px rgba(230, 198, 125, 0.18); font-size: 16px; }
nav { display: flex; gap: 2px 4px; flex-wrap: wrap; font-size: 14.5px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 999px; }
nav a:hover { color: var(--ink); background: var(--surface-2); }
nav a[aria-current="page"] { color: var(--night); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
@media (max-width: 720px) { nav { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 6px; scrollbar-width: none; } nav a { white-space: nowrap; } }

/* Type */
h1 { font: 700 clamp(36px, 5.2vw, 58px)/1.05 var(--display); margin: 10px 0 14px; letter-spacing: -0.005em; color: #fff; text-wrap: balance; }
h1::after { content: ""; display: block; width: 72px; height: 2px; margin-top: 16px; background: linear-gradient(90deg, var(--gold), transparent); }
h2 { font: 700 clamp(26px, 3vw, 32px)/1.15 var(--display); margin: 48px 0 14px; color: #fff; }
h3 { font: 700 22px/1.2 var(--display); margin: 0 0 6px; color: #fff; }
.lead { font: italic 500 clamp(20px, 2.2vw, 23px)/1.45 var(--display); color: #d6d6ef; max-width: 760px; margin: 0 0 8px; }
.fine { font-size: 14px; color: var(--muted); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0; }
code { font-size: 14px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; color: var(--gold-2); }
p, li, dd { text-wrap: pretty; }
.technical-article { max-width: 820px; margin-inline: auto; }
.technical-article pre { overflow-x: auto; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); line-height: 1.6; }
.technical-article pre code { padding: 0; background: none; border-radius: 0; }

/* Surfaces */
form.tool, .card, table.data, .status, ul.toolcards a, .faq, .explain { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.card, form.tool, .status { box-shadow: var(--shadow); }

/* Forms */
form.tool { padding: 22px; margin: 26px 0; display: grid; gap: 16px; position: relative; overflow: visible;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); }
form.tool::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(230,198,125,.6), rgba(167,150,255,.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
form.tool.two { grid-template-columns: 1fr; }
@media (min-width: 760px) { form.tool.two { grid-template-columns: 1fr 1fr; } form.tool.two button { grid-column: 1 / -1; } }
fieldset.birth { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 640px) { fieldset.birth { grid-template-columns: 1fr 1fr; } fieldset.birth .place, fieldset.birth .check { grid-column: 1 / -1; } }
form.two fieldset.birth { grid-template-columns: 1fr 1fr; }
form.two fieldset.birth .place, form.two fieldset.birth .check { grid-column: 1 / -1; }
legend { font: 700 22px var(--display); color: var(--gold-2); margin-bottom: 8px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); position: relative; }
label .fine { text-transform: none; letter-spacing: 0; font-weight: 400; }
label.check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; color: var(--ink); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); }
input[type=date], input[type=time], input[type=text], select {
  font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; padding: 12px 14px; min-height: 48px; width: 100%;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); background: rgba(9, 11, 32, 0.6); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 198, 125, 0.18); }
input::placeholder { color: var(--faint); }
input:disabled { opacity: .45; }
::-webkit-calendar-picker-indicator { filter: invert(0.85) sepia(0.4) saturate(2) hue-rotate(5deg); cursor: pointer; }
button, .button {
  font: 700 16px var(--sans); letter-spacing: 0.02em; color: #1b1606; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 6px 24px rgba(230, 198, 125, 0.25), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, box-shadow .15s;
}
button:hover, .button:hover { color: #1b1606; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(230, 198, 125, 0.35), inset 0 1px 0 rgba(255,255,255,.5); }
.button.secondary { background: transparent; color: var(--gold-2); border: 1px solid rgba(230,198,125,.5); box-shadow: none; }
.button.secondary:hover { background: rgba(230,198,125,.1); color: #fff; }
.suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 6px 0 0; padding: 6px; list-style: none; background: #151845; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-transform: none; letter-spacing: 0; }
.suggest li { padding: 9px 12px; cursor: pointer; font-size: 15px; font-weight: 400; color: var(--ink); border-radius: 8px; }
.suggest li[aria-selected="true"], .suggest li:hover { background: rgba(230,198,125,.14); }

/* Messages */
.error { background: rgba(255, 120, 100, 0.12); color: #ffc2b8; border: 1px solid rgba(255,120,100,.35); border-radius: var(--radius-sm); padding: 12px 16px; margin: 18px 0; }
.note { background: rgba(230, 198, 125, 0.09); color: #f3e3bd; border: 1px solid rgba(230,198,125,.28); border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0; font-size: 15px; }
.disclaimer { font-size: 13.5px; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 48px; max-width: 860px; }

/* Results */
.result { margin-top: 18px; scroll-margin-top: 90px; }
.result > h2:first-child { margin-top: 24px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 18px 0; }
.card { padding: 20px 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.card.wide { max-width: 760px; }
.card.muted { color: var(--muted); }
.card .deg { color: var(--gold); font: 600 14px var(--sans); letter-spacing: .04em; margin: 0 0 8px; }
.card p { margin: 8px 0; }
.share { margin: 10px 0 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Big Three medallions */
.big3 .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.medal { text-align: center; padding-top: 26px; }
.medal .orb { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(255,255,255,.02) 60%), rgba(9,11,32,.6);
  border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 60%, transparent); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 0 36px color-mix(in srgb, var(--c, var(--gold)) 35%, transparent); }
.medal .orb .sg { font: 56px/1 var(--display); color: var(--c, var(--gold)); }
.medal .orb .pl { position: absolute; bottom: -6px; right: 4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid var(--line); color: var(--gold-2); font-size: 18px; }
.medal .role { margin: 0; }
.medal h3 { font-size: 30px; margin: 4px 0 2px; }
.medal p { text-align: left; }
.medal .role, .medal .deg { text-align: center; }
.fire { --c: var(--fire); } .earth { --c: var(--earth); } .air { --c: var(--air); } .water { --c: var(--water); }

/* Chart wheel */
.chart-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 920px) { .chart-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
figure.wheel { margin: 0; }
figure.wheel svg { width: 100%; height: auto; max-width: 580px; display: block; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(120, 96, 255, .18)); }
figure.wheel figcaption { text-align: center; margin-top: 8px; }
.w-ring { fill: none; stroke: rgba(230,198,125,.55); stroke-width: 1.4; }
.w-inner { fill: rgba(9, 11, 32, 0.85); stroke: rgba(230,198,125,.35); }
.w-band { stroke: rgba(9,11,32,.6); stroke-width: 1; }
.w-band.fire { fill: rgba(255,146,115,.13); } .w-band.earth { fill: rgba(166,215,132,.12); } .w-band.air { fill: rgba(195,181,255,.13); } .w-band.water { fill: rgba(103,210,238,.12); }
.w-tick { stroke: rgba(230,198,125,.35); stroke-width: 1; } .w-cusp { stroke: rgba(255,255,255,.14); stroke-width: 1; } .w-angle { stroke: var(--gold); stroke-width: 2; }
.w-sign { font: 21px var(--display); text-anchor: middle; dominant-baseline: central; }
.w-sign.fire { fill: var(--fire); } .w-sign.earth { fill: var(--earth); } .w-sign.air { fill: var(--air); } .w-sign.water { fill: var(--water); }
.w-house { font: 11px var(--sans); fill: var(--faint); text-anchor: middle; dominant-baseline: central; }
.w-anglelabel { font: 700 12px var(--sans); fill: var(--gold-2); text-anchor: middle; dominant-baseline: central; letter-spacing: .08em; }
.w-planet { font: 20px var(--sans); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.w-ptick { stroke: var(--gold-2); stroke-width: 1.5; } .w-lead { stroke: var(--faint); stroke-width: .6; }
.w-asp { stroke-width: 1.1; opacity: .8; } .w-asp.soft { stroke: var(--water); } .w-asp.hard { stroke: var(--hard); }

/* Tables */
table.data { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; overflow: hidden; font-size: 15px; }
table.data caption { text-align: left; font: 700 20px var(--display); color: #fff; padding: 0 0 10px; caption-side: top; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child > * { border-bottom: 0; }
table.data thead th { font: 600 11.5px var(--sans); color: var(--gold); text-transform: uppercase; letter-spacing: .14em; background: rgba(230,198,125,.05); }
table.data tbody tr:hover { background: rgba(255,255,255,.025); }
table.data tbody th { color: #fff; font-weight: 600; }
table.data tr.now { background: rgba(230,198,125,.09); box-shadow: inset 3px 0 0 var(--gold); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.glyph { color: var(--gold); }
.sign { white-space: nowrap; }
.rx { color: var(--hard); font-weight: 600; white-space: nowrap; }
.asp.trine, .asp.sextile { color: var(--water); } .asp.square, .asp.opposition { color: var(--hard); } .asp.conjunction { color: var(--gold); }
@media (max-width: 640px) { table.data { display: block; overflow-x: auto; } }

/* Explainers, FAQ, related */
.explain { padding: 6px 24px 18px; margin-top: 40px; }
.explain h2 { margin-top: 22px; }
dl.cols { display: grid; gap: 6px 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { dl.cols { grid-template-columns: 1fr 1fr; } }
dl.cols > div { padding: 4px 0 10px; border-bottom: 1px solid var(--line-soft); }
dl dt { font: 700 19px var(--display); color: var(--gold-2); margin-top: 14px; }
dl dd { margin: 2px 0 0; color: var(--muted); }
.faq { padding: 4px 24px 12px; margin-top: 40px; }
.faq h2 { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font: 700 20px var(--display); color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 400 24px/1 var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #cfd0ea; margin: 10px 0 0; }
ul.tools { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
ul.tools a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: 15px; }
ul.tools a:hover { border-color: var(--gold); color: #fff; background: rgba(230,198,125,.08); }

/* Home */
.hero { display: grid; gap: 24px; align-items: center; padding: 8px 0 0; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { font-size: clamp(42px, 6vw, 72px); }
.hero-art { display: grid; place-items: center; order: -1; }
@media (min-width: 960px) { .hero-art { order: 0; } }
.hero-art svg { width: min(100%, 440px); height: auto; overflow: visible; }
@media (max-width: 959px) { .hero-art svg { width: min(70%, 300px); } }
.zring { transform-origin: 50% 50%; animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zring { animation: none; } button, .button, ul.toolcards a { transition: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 14px 0 0; list-style: none; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 11px; }
.banner { margin: 28px 0 0; }
.banner a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.banner a::before { content: "☿\FE0E"; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; flex: none; }
.banner.yes a::before { background: rgba(255,143,126,.15); color: var(--hard); box-shadow: 0 0 18px rgba(255,143,126,.3); }
.banner.no a::before { background: rgba(143,214,168,.12); color: var(--good); }
.banner a:hover { border-color: var(--gold); }
ul.toolcards { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
@media (min-width: 900px) { ul.toolcards { grid-template-columns: repeat(3, 1fr); } }
ul.toolcards a { display: grid; grid-template-rows: 36px auto 1fr; gap: 6px; padding: 20px; text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, transform .15s, background .15s; }
ul.toolcards a:hover { border-color: rgba(230,198,125,.6); transform: translateY(-2px); background: rgba(255,255,255,.06); }
ul.toolcards .ic { font: 30px/36px var(--display); height: 36px; color: var(--gold); }
ul.toolcards strong { font: 700 22px var(--display); color: #fff; }
ul.toolcards span { color: var(--muted); font-size: 15px; }
.why { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; list-style: none; }
.why li { padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.why strong { display: block; font: 700 20px var(--display); color: var(--gold-2); margin-bottom: 4px; }

/* Status (Mercury, verdicts) */
.status { padding: 26px 28px; margin: 22px 0 28px; display: grid; gap: 6px; position: relative; overflow: hidden; }
.status .answer { font: 700 clamp(64px, 10vw, 104px)/0.9 var(--display); margin: 0 0 8px; letter-spacing: -0.02em; }
.status.yes .answer { color: var(--hard); text-shadow: 0 0 40px rgba(255,143,126,.35); }
.status.no .answer { color: var(--good); text-shadow: 0 0 40px rgba(143,214,168,.3); }
.status p { margin: 0; position: relative; }
.status.yes { border-color: rgba(255,143,126,.35); }
.orbit { position: absolute; right: -40px; top: 50%; translate: 0 -50%; width: 260px; height: 260px; opacity: .5; pointer-events: none; }
@media (max-width: 640px) { .orbit { display: none; } }
ul.key li { margin: 10px 0; }

/* Compatibility */
form.picker { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { form.picker { grid-template-columns: 1fr 1fr auto; } }
.gridwrap { overflow-x: auto; border-radius: var(--radius); }
table.compat-grid { font-size: 13px; min-width: 780px; margin: 0; }
table.compat-grid th, table.compat-grid td { padding: 7px 6px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line-soft); }
table.compat-grid thead th { font: 20px var(--display); letter-spacing: 0; color: var(--gold); }
table.compat-grid tbody th { text-align: left; font-size: 14px; }
table.compat-grid tbody th a { color: var(--ink); text-decoration: none; }
table.compat-grid td a { text-decoration: none; color: inherit; display: block; border-radius: 6px; padding: 2px; }
table.compat-grid td a:hover { outline: 1px solid currentColor; }
.v5 { background: rgba(166,215,132,.16); color: #cdeeb5; } .v4 { background: rgba(103,210,238,.13); color: #b6ecfa; }
.v3 { background: rgba(195,181,255,.14); color: #dcd3ff; } .v2 { background: rgba(230,198,125,.10); color: #f0dcae; }
.v1 { background: rgba(255,146,115,.13); color: #ffc4b4; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.legend span { display: inline-block; padding: 3px 10px; border-radius: 999px; margin: 3px 6px 3px 0; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 26px 0 10px; text-align: center; }
.pair .medal { padding: 22px 16px 18px; }
.pair .medal h3 { font-size: 26px; }
.pair .medal .orb { width: 104px; height: 104px; }
.pair .link { width: clamp(60px, 16vw, 180px); height: 60px; }
.pair .link path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 5; }
.pair .link circle { fill: var(--gold); }
.status.verdict { text-align: center; justify-items: center; }
.status.verdict .answer.small { font-size: clamp(34px, 5vw, 48px); margin: 0; }
.status.verdict.v5 .answer, .status.verdict.v4 .answer, .status.verdict.v3 .answer, .status.verdict.v2 .answer, .status.verdict.v1 .answer { color: inherit; text-shadow: none; }
.status.verdict p { max-width: 720px; color: #e5e5f7; }

/* Retrograde years */
nav.yearnav { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0 8px; flex-wrap: wrap; }
nav.yearnav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

/* Footer */
footer.site { border-top: 1px solid var(--line-soft); background: rgba(9, 11, 32, .7); padding: 34px 0 40px; font-size: 15px; color: var(--muted); }
footer.site strong { font: 700 20px var(--display); color: #fff; }
footer.site .fine a { color: var(--muted); }
footer.site .fine a:hover { color: var(--gold-2); }
.cards.narrow { max-width: 380px; }

/* Persuasion details: reasons, proof, next step, rare facts, remembering */
label .hint { font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--faint); }
.proof { margin: 2px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.proof span { color: var(--good); margin-right: 4px; }
.proof a { color: var(--muted); }
.remember { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.remember label.check { font-size: 14px; color: var(--muted); }
button.linkish { all: unset; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
button.linkish:hover { color: var(--gold-2); }
button.linkish:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
aside.next { margin: 30px 0 8px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid rgba(230,198,125,.45);
  background: radial-gradient(600px 200px at 0% 0%, rgba(230,198,125,.14), transparent 70%), var(--surface); display: grid; gap: 10px; justify-items: start; }
aside.next .fine { margin: 0; }
aside.next .alt { margin: 0; font-size: 15px; }
.facts .fact { border-color: rgba(195,181,255,.35); background: radial-gradient(400px 160px at 100% 0%, rgba(167,150,255,.14), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.facts .fact h3 { font-size: 23px; }
.facts .fact .eyebrow { color: var(--air); }
button.linkish[hidden] { display: none; } /* `all: unset` above would otherwise override [hidden] */
fieldset.birth { align-items: start; }
