
:root {
  --ink: #221d33; --muted: #625a78; --paper: #fbf8f1; --card: #ffffff;
  --line: #e4ddcd; --accent: #4b3a8c; --accent-2: #efeafa; --gold: #b0852b;
  --fire: #b3412e; --earth: #4f6b2c; --air: #8a6d1d; --water: #2e5f8a;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #ece8f6; --muted: #b3aac8; --paper: #15121f; --card: #1f1a2e; --line: #342d48;
    --accent: #b8a6ff; --accent-2: #2a2340; --gold: #e0b75a; --err: #ff8a7a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.62 var(--sans); }
a { color: var(--accent); text-underline-offset: 2px; }
img, svg { max-width: 100%; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px; z-index: 9; }
header.top { background: rgba(27,22,48,.96); color: #fff; position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(224,183,90,.18); box-shadow: 0 6px 24px rgba(10,8,22,.25); }

header.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; max-width: 1180px; }
.brand { color: #fff; text-decoration: none; font: 700 21px/1 var(--serif); display: flex; align-items: center; gap: 8px; margin-right: auto; white-space: nowrap; }
.brand i { color: #e0b75a; font-style: normal; }
header a.cta { background: linear-gradient(135deg, #f0c96a, #d9a441); color: #1b1630; font-weight: 700; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; box-shadow: 0 4px 14px rgba(224,183,90,.35); }
header a.cta:hover { filter: brightness(1.06); }

.navt { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
label.burger { display: none; cursor: pointer; color: #fff; font-size: 15px; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; order: 3; user-select: none; }
label.burger span, label.burger span::before, label.burger span::after { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
label.burger span::before, label.burger span::after { content: ""; position: absolute; left: 0; }
label.burger span::before { top: -5px; } label.burger span::after { top: 5px; }
.navt:focus-visible + label.burger { outline: 2px solid #e0b75a; outline-offset: 2px; }
nav.main ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
nav.main li.has { position: relative; }
nav.main a.tl { display: block; color: #e8e3f5; text-decoration: none; padding: 19px 12px; font-size: 15px; font-weight: 500; position: relative; }
nav.main a.tl[aria-current] { color: #fff; }
nav.main a.tl[aria-current]::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 2px; background: #e0b75a; border-radius: 2px; }
nav.main .di a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; display: block; }
nav.main .di span { display: block; font-size: 13px; color: var(--muted); }
nav.main .di { padding: 9px 12px; border-radius: 10px; position: relative; }
nav.main .di a::after { content: ""; position: absolute; inset: 0; }   
@media (min-width: 900px) {
  nav.main a.tl::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid #bdb3de;
    border-bottom: 1.5px solid #bdb3de; transform: rotate(45deg) translateY(-3px); }
  nav.main li.has:hover > a.tl, nav.main li.has:focus-within > a.tl { color: #fff; }
  nav.main .drop { display: none; position: absolute; top: 100%; left: -8px; min-width: 290px; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 8px; box-shadow: 0 18px 44px rgba(10,8,22,.28); }
  nav.main li.has:hover > .drop, nav.main li.has:focus-within > .drop { display: grid; }
  nav.main .di:hover, nav.main .di:focus-within { background: var(--accent-2); }
}
@media (max-width: 899px) {
  label.burger { display: flex; }
  header a.cta { padding: 8px 13px; font-size: 14px; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #1b1630; border-top: 1px solid rgba(224,183,90,.2);
    padding: 4px 16px 18px; max-height: calc(100vh - 60px); overflow-y: auto; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
  .navt:checked ~ nav.main { display: block; }
  .navt:checked + label.burger { background: rgba(255,255,255,.1); }
  nav.main ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  nav.main a.tl { padding: 14px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #e0b75a; }
  nav.main a.tl[aria-current]::before { display: none; }
  nav.main .di { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  nav.main .di a { color: #e8e3f5; font-weight: 500; }
  nav.main .di span { display: none; }
}
@media (max-width: 380px) { .brand span { display: none; } nav.main ul { grid-template-columns: 1fr; } }
.tdeck a { font-size: 13px; }
main { padding: 18px 0 40px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.22; }
h1 { font-size: 32px; margin: 10px 0 8px; }
h2 { font-size: 24px; margin: 34px 0 10px; }
h3 { font-size: 19px; margin: 24px 0 8px; }
@media (min-width: 760px) { h1 { font-size: 40px; } h2 { font-size: 27px; } }
.lede { font-size: 19px; color: var(--muted); max-width: 44em; }
.crumbs { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs i { font-style: normal; padding: 0 6px; }
.prose p { max-width: 44em; overflow-wrap: break-word; }
.toolbox, .answer, .signsec { min-width: 0; overflow-wrap: break-word; }
.toolbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 18px 0; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
form.birth + form.birth { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.formtitle { margin: 0 0 8px; }
form.birth label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); flex: 1 1 140px; min-width: 0; }
form.birth .row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
form.birth label.check { flex-direction: row; align-items: center; gap: 8px; margin: 0 0 10px; }
form.birth input, form.birth select { font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; min-width: 0; max-width: 100%; }
form.birth label.check input { width: auto; }
form.birth .place { position: relative; margin-bottom: 4px; }
.sugg { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; z-index: 5; max-height: 280px; overflow: auto; }
.sugg:empty { display: none; }
.sugg li { padding: 9px 12px; cursor: pointer; color: var(--ink); font-size: 15px; }
.sugg li span { display: block; font-size: 13px; color: var(--muted); }
.sugg li:hover, .sugg li:focus { background: var(--accent-2); outline: none; }
.placeinfo { font-size: 13px; color: var(--muted); margin: 2px 0 10px; min-height: 1em; }
details.adv { margin: 0 0 12px; font-size: 14px; }
details.adv summary { cursor: pointer; color: var(--accent); }
.hint { font-size: 13px; color: var(--muted); }
.actions { align-items: center; }
.btn { display: inline-block; font: 600 16px var(--sans); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; text-decoration: none; cursor: pointer; margin: 4px 6px 4px 0; }
@media (prefers-color-scheme: dark) { .btn { color: #15121f; } }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.profiles { max-width: 200px; }
.err { color: var(--err, #c0392b); font-size: 14px; margin: 6px 0 0; min-height: 1em; }
#result { margin: 14px 0 0; }
.answer { background: var(--accent-2); border-radius: var(--r); padding: 14px 16px; }
.answer .big { font: 22px/1.3 var(--serif); margin: 4px 0 8px; }
.answer .meta, .meta { font-size: 13px; color: var(--muted); }
.big3 { font-size: 17px; }
.wheelbox { max-width: 440px; margin: 0 auto; }
.wheel text { font-family: var(--serif); text-anchor: middle; dominant-baseline: central; }
.w-outer { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.w-ring { fill: var(--card); stroke: var(--ink); stroke-width: 1; }
.w-inner { fill: var(--card); stroke: var(--line); stroke-width: 1; }
.w-tick { stroke: var(--ink); stroke-width: 1; }
.w-sign { font-size: 16px; fill: var(--ink); }
.w-sign.e0 { fill: var(--fire); } .w-sign.e1 { fill: var(--earth); } .w-sign.e2 { fill: var(--air); } .w-sign.e3 { fill: var(--water); }
.w-cusp { stroke: var(--line); stroke-width: 1; } .w-axis { stroke: var(--ink); stroke-width: 2; }
.w-hnum { font-size: 12px; fill: var(--muted); }
.w-planet { font-size: 16px; fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.w-lead { stroke: var(--muted); stroke-width: .75; }
.w-asp { stroke-width: 1; opacity: .7; } .a-trine, .a-sextile { stroke: #2e7d5b; } .a-square, .a-opposition { stroke: #c0392b; }
.scroll { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); border-radius: 10px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl tr.hit td { background: var(--accent-2); font-weight: 600; }
.tbl caption { caption-side: bottom; font-size: 12px; color: var(--muted); text-align: left; padding: 6px 2px; }
.bal { display: flex; flex-wrap: wrap; gap: 8px; }
.bal .b { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 88px; }
.bal .b b { display: block; font: 22px var(--serif); }
.bal .b span { font-size: 13px; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .trio { grid-template-columns: 1fr; } }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; color: var(--ink); }
.card span { font-size: 13px; color: var(--muted); display: block; }
.card b { font: 24px var(--serif); display: block; }
.card small { color: var(--muted); }
.signs { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 820px) { .signs { grid-template-columns: 1fr 1fr; } }
.signsec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px 12px; scroll-margin-top: 12px; }
.signsec.hit { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.signsec h3 { margin: 12px 0 6px; }
.signsec .gl { color: var(--gold); margin-right: 6px; }
.signsec dl { font-size: 14px; margin: 8px 0 0; }
.signsec dt { font-weight: 600; color: var(--muted); }
.signsec dd { margin: 0 0 4px; }
.sfacts { font-size: 14px; margin: 8px 0 0; }
.skylist { margin: 8px 0; padding-left: 18px; font-size: 15px; }
.skylist li { margin: 0 0 4px; }
.skysign .note { margin: 8px 0; }
.signnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.signnav a { font-size: 14px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 12px 0; }
.grid a { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.grid a b { display: block; font-family: var(--serif); font-size: 17px; }
.grid a span { font-size: 13px; color: var(--muted); }
.list li { margin: 4px 0; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--gold); padding: 4px 12px; margin: 16px 0; }
.shared { margin-top: 36px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
footer { margin-top: 40px; padding: 34px 0 30px; font-size: 14px; color: #bdb3de;
  background: linear-gradient(180deg, #1b1630, #120f22); border-top: 1px solid rgba(224,183,90,.25); }
footer a { color: #d9d2ee; text-decoration: none; display: block; padding: 5px 0; }
footer a:hover { color: #fff; text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 24px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.fgrid .fh { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #e0b75a; }
.fbase { display: flex; gap: 18px; align-items: flex-start; padding-top: 18px; flex-wrap: wrap; }
.fbase .brand { margin: 0; }
.fbase p { margin: 0; flex: 1 1 300px; font-size: 13px; line-height: 1.6; }
.flegal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.flegal a { display: inline-block; font-size: 13px; color: #bdb3de; }
noscript p { background: #fff6d8; color: #221d33; padding: 10px 12px; border-radius: 10px; }


#tool[data-kind] { min-height: 414px; }
#tool[data-kind=chart], #tool[data-kind=house] { min-height: 485px; }
#tool[data-kind=solar] { min-height: 483px; }
#tool[data-kind=synastry], #tool[data-kind=compat] { min-height: 924px; }
#now[data-kind=moon] { min-height: 650px; }
#now[data-kind=mercury] { min-height: 127px; }
#now[data-kind=phase] { min-height: 300px; }
#now[data-kind=phase][data-focus=all] { min-height: 360px; }
@media (min-width: 900px) {
  #tool[data-kind] { min-height: 334px; }
  #tool[data-kind=chart], #tool[data-kind=house] { min-height: 406px; }
  #tool[data-kind=solar] { min-height: 404px; }
  #tool[data-kind=synastry], #tool[data-kind=compat] { min-height: 757px; }
  #now[data-kind=moon] { min-height: 631px; }
  #now[data-kind=mercury] { min-height: 72px; }
  #now[data-kind=phase] { min-height: 190px; }
  #now[data-kind=phase][data-focus=all] { min-height: 305px; }
}
.forget { margin-left: auto; }

.sugg li.none { cursor: default; color: var(--muted); font-size: 14px; }
.sugg li[aria-selected=true] { background: var(--accent-2); }



.hero { position: relative; isolation: isolate; overflow: hidden; margin: -18px calc(50% - 50vw) 0; padding: 18px calc(50vw - 50%) 58px; color: #fff;
  background: radial-gradient(ellipse at 85% -10%, rgba(140,110,230,.55), transparent 60%),
    radial-gradient(ellipse at 0% 110%, rgba(224,183,90,.18), transparent 55%),
    linear-gradient(180deg, #1b1630 0%, #2a2150 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; top: -400px; left: -800px; right: 0; bottom: 0;
  background: url(/assets/art/sky.svg) 0 0 / 800px 400px repeat; pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: #dcd5f0; }
.hero .crumbs, .hero .crumbs a { color: #bdb3de; }
.hero-art { width: 92px; height: 92px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.45)); align-self: start; margin-top: 30px; }
.hero-art.wheel { width: 120px; height: 120px; opacity: .9; }
@media (min-width: 760px) {
  .hero { padding-bottom: 70px; }
  .hero-art { width: 168px; height: 168px; margin-top: 0; align-self: center; }
  .hero-art.wheel { width: 250px; height: 250px; }
}
.hero + .toolbox, .hero + .meta + .toolbox { position: relative; margin-top: -40px; box-shadow: 0 14px 40px rgba(27,22,48,.18); }
.hero + .meta { position: relative; margin: -46px 0 0; color: #dcd5f0; font-size: 14px; }
.hero + .meta + .toolbox { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chips span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: #fff; }
.chips small { color: #bdb3de; margin-right: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.grid a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; transition: transform .15s, box-shadow .15s; }
.grid a b, .grid a span { grid-column: 2; }
.grid a .ic { grid-row: 1 / span 2; width: 44px; height: 44px; }
.grid a:not(:has(.ic)) b, .grid a:not(:has(.ic)) span { grid-column: 1 / -1; }
.grid a:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,22,48,.12); border-color: var(--gold); }
.signsec h3 { display: flex; align-items: center; gap: 10px; }
.signsec .gl { width: 40px; height: 40px; margin: 0; flex: none; }
.signsec .more a { font-weight: 600; }
.signnav a:hover { border-color: var(--gold); }

form.birth .actions .btn[type=submit] { padding: 13px 28px; font-size: 17px; box-shadow: 0 6px 16px rgba(75,58,140,.28); }
@media (max-width: 560px) { form.birth .actions .btn[type=submit] { flex: 1 1 100%; margin-right: 0; } }
.btn.link { background: none; border: 0; color: var(--muted); padding: 6px 4px; font-weight: 500; font-size: 14px; text-decoration: underline; }

.answer { background: linear-gradient(135deg, var(--accent-2), var(--card)); border: 1px solid var(--line); }
.answer .medal { float: right; width: 104px; height: 104px; margin: 0 0 8px 12px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.answer .big b { color: var(--accent); }
.trio .card img { width: 56px; height: 56px; float: right; }
.answer .gist { font-size: 16px; border-left: 3px solid var(--gold); padding-left: 12px; margin: 10px 0; }
@media (max-width: 759px) {
  .hero-in { display: block; position: relative; }
  .hero-art, .hero-art.wheel { position: absolute; top: 4px; right: 0; width: 54px; height: 54px; margin: 0; }
  .hero .crumbs { padding-right: 64px; }
  .hero h1:first-child, .hero .crumbs + h1 { padding-right: 0; }
  .hero .lede { font-size: 17px; }
  .hero h1:first-child { padding-right: 64px; }
}
.grid a { align-items: start; } .grid a .ic { margin-top: 2px; }


.hero-art.tcardart { width: 66px; height: 110px; border-radius: 6px; }
@media (min-width: 760px) { .hero-art.tcardart { width: 132px; height: 220px; } }
.grid a .ic.tc { width: 30px; height: 50px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; margin: 12px 0; }
.tgrid a { text-decoration: none; color: var(--ink); text-align: center; }
.tgrid img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 16px rgba(27,22,48,.22); transition: transform .15s; }
.tgrid a:hover img { transform: translateY(-3px) rotate(-1deg); }
.tgrid b { display: block; font: 600 15px var(--serif); margin-top: 6px; }
.tgrid span { font-size: 12px; color: var(--muted); }
#tarot label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); margin: 0 0 10px; }
#tarot label.check { flex-direction: row; align-items: center; gap: 8px; }
#tarot input[type=text], #tarot select { font: 16px var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.tout { margin-top: 14px; }
.tspread { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .tspread { grid-template-columns: 1fr; } }
.tcard { margin: 0; text-align: center; }
.tcard .pos { font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 6px; }
.tface { position: relative; width: 168px; height: 280px; margin: 0 auto; perspective: 900px; }
.tface img, .tface a { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; backface-visibility: hidden; transition: transform .7s cubic-bezier(.3,.7,.3,1); }
.tface .tfront { transform: rotateY(180deg); box-shadow: 0 10px 26px rgba(27,22,48,.3); }
.tface .tfront.rev { transform: rotateY(180deg) rotate(180deg); }
.tface .tback { transform: rotateY(0); box-shadow: 0 10px 26px rgba(27,22,48,.3); }
.tcard.open .tface .tback { transform: rotateY(-180deg); }
.tcard.open .tface .tfront { transform: rotateY(0); }
.tcard.open .tface .tfront.rev { transform: rotate(180deg); }
.tname { font: 600 18px var(--serif); margin: 10px 0 2px; }
.tname small { font: 500 12px var(--sans); color: var(--muted); text-transform: uppercase; }
.tgist { font-size: 15px; margin: 4px auto; max-width: 30em; }
.tkeys { font-size: 13px; color: var(--muted); }
.tanswer { font: 700 44px/1 var(--serif); text-align: center; margin: 6px 0 12px; letter-spacing: .06em; }
.tanswer.a-yes { color: #2e7d5b; } .tanswer.a-no { color: #c0392b; } .tanswer.a-maybe { color: var(--gold); }
.tkeysbox { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.tkeysbox > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 14px; }
.tkeysbox .h3 { font-size: 17px; margin: 10px 0 4px; }
.tkeysbox p { margin: 0 0 10px; font-size: 15px; }
#tarot { min-height: 52px; }
#tarot[data-kind=yesno] { min-height: 196px; } #tarot[data-kind=reading] { min-height: 190px; }
.tbl small { color: var(--muted); font-size: 12px; }

.chips.trust span { font-size: 13px; } .chips.trust a { color: #fff; }


[hidden] { display: none !important; }
.hero a { color: #f3d27f; }
.hero .crumbs a { color: #cfc6ea; }
@media (max-width: 759px) { .hero h1 { padding-right: 60px; } .hero .lede { font-size: 16px; line-height: 1.55; } }
.tcard .pos { color: var(--accent); }
.tname .revtag { font: 700 13px var(--sans); color: var(--accent); text-transform: none; }
@media (max-width: 899px) { nav.main { max-height: calc(100dvh - 60px); } nav.main .di { padding: 11px 0; } }
#result:focus { outline: none; }


.gauge { --p: 50; width: 150px; height: 150px; border-radius: 50%; margin: 6px auto 4px; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0); }
.gauge > div { width: 118px; height: 118px; border-radius: 50%; background: var(--card); display: grid; place-content: center; text-align: center; }
.gauge b { font: 700 34px/1 var(--serif); color: var(--accent); }
.gauge span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.b3row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.b3row > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.b3row img { width: 52px; height: 52px; display: block; margin: 0 auto 4px; }
.b3row small { display: block; font-size: 12px; color: var(--muted); }
.b3row b { font: 600 17px var(--serif); }
@media (min-width: 900px) {
  .chart-top { display: grid; grid-template-columns: minmax(380px, 440px) 1fr; gap: 22px; align-items: start; }
  .chart-top .wheelbox { margin: 0; position: sticky; top: 76px; }
}


:root { color-scheme: light dark; }
nav.main .di:focus-within { outline: 2px solid var(--gold); outline-offset: -2px; }
nav.main a.tl:focus-visible { outline: 2px solid #e0b75a; outline-offset: -4px; border-radius: 8px; }
.crumbs a { display: inline-block; padding: 6px 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}




.searchbtn { color: #e8e3f5; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.18); flex: none; }
.searchbtn:hover { background: rgba(255,255,255,.1); color: #fff; }
.search { position: fixed; inset: 0; z-index: 60; background: rgba(12,9,26,.6); backdrop-filter: blur(6px); display: none;
  align-items: flex-start; justify-content: center; padding: 70px 16px 16px; }
.search.open { display: flex; animation: fadein .18s ease-out; }
.search-box { width: 100%; max-width: 620px; background: var(--card); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  padding: 12px; position: relative; }
.search-box input { width: 100%; font: 18px var(--sans); padding: 14px 44px 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); }
.search-x { position: absolute; right: 22px; top: 22px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.search-r { max-height: 60vh; overflow-y: auto; margin-top: 8px; }
.search-r a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-r a span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.search-r a.on, .search-r a:hover { background: var(--accent-2); }
.search-r .none { color: var(--muted); font-size: 14px; padding: 8px 12px; margin: 0; }
html.noscroll { overflow: hidden; }


.toc { position: sticky; top: 60px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center;
  margin: 18px calc(50% - 50vw) 8px; padding: 8px calc(50vw - 50%); background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-bottom: 1px solid var(--line); }
.toc::-webkit-scrollbar { display: none; }
.toc-l { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); white-space: nowrap; margin-right: 4px; }
.toc a { white-space: nowrap; font-size: 14px; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); background: var(--card); transition: background .2s, border-color .2s, color .2s; }
.toc a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .toc a.on { color: #15121f; } }
.prose h2[id], .faq h2, .signsec { scroll-margin-top: 120px; }


.totop { position: fixed; right: 16px; bottom: 18px; z-index: 25; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; text-decoration: none; font-size: 20px; box-shadow: 0 10px 26px rgba(27,22,48,.3);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }


.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 10px; }
.pager a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none;
  color: var(--ink); font: 600 17px var(--serif); transition: transform .15s, box-shadow .15s, border-color .15s; }
.pager a small { display: block; font: 500 12px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.pager .pg-prev small::before { content: "\2190  "; } .pager .pg-next { text-align: right; grid-column: 2; } .pager .pg-next small::after { content: "  \2192"; }
.pager a:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 24px rgba(27,22,48,.12); }


.prose > h2 { position: relative; padding-top: 22px; margin-top: 40px; }
.prose > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent); }
.prose > h2 + p { font-size: 18.5px; line-height: 1.62; color: var(--ink); }
.prose > h2 + p::first-line { font-weight: 600; }
.prose p { line-height: 1.72; }
.prose h3 { color: var(--accent); }
#months + h3, #months ~ h3 { font-family: var(--serif); }
#months ~ p { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 10px 14px; }
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gold); box-shadow: 0 6px 18px rgba(27,22,48,.08); }
.faq summary::marker { color: var(--gold); }
.note { background: var(--card); border-radius: 0 10px 10px 0; }


@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(800px, 400px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 240s linear infinite; will-change: transform; }
  .hero-art { animation: float 7s ease-in-out infinite; }
  .hero-art.wheel { animation: spin 160s linear infinite; }
  header a.cta { position: relative; }
  header a.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 4px 24px rgba(224,183,90,.7); opacity: 0; animation: glow 4s ease-in-out infinite; will-change: opacity; }
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
  #result > .answer > * { animation: up .5s cubic-bezier(.2,.7,.2,1) both; }
  #result > .answer > *:nth-child(2) { animation-delay: .06s; } #result > .answer > *:nth-child(3) { animation-delay: .12s; }
  #result > .answer > *:nth-child(4) { animation-delay: .18s; } #result > .answer > *:nth-child(n+5) { animation-delay: .24s; }
  .answer .medal { animation: up .6s cubic-bezier(.2,.7,.2,1) both, float 7s ease-in-out .6s infinite; }
  .grid a, .tgrid a img, .card { will-change: transform; }
  .signsec { transition: transform .2s, box-shadow .2s; }
  .signsec:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27,22,48,.1); }
}
@keyframes shuffle { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-9px) rotate(-4deg); } 75% { transform: translateX(9px) rotate(4deg); } }
@media (prefers-reduced-motion: no-preference) {
  .tcard.flip:not(.open) .tface { animation: shuffle .32s ease-in-out 2; }
  .tcard.open .tface { animation: none; }
  .tgrid a:hover img { box-shadow: 0 14px 30px rgba(224,183,90,.35); }
}

@media (min-width: 900px) { .fgrid { grid-template-columns: repeat(6, 1fr); } }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
@media (max-width: 759px) { .hero-art.tcardart { width: 44px; height: 73px; } }


#numer { min-height: 196px; }
.numform small { color: var(--muted); font-weight: 400; }
.numout { margin-top: 16px; }
.nhero .ncard { text-align: center; padding: 22px 18px; background: linear-gradient(160deg, #2a2150, #1b1630); color: #fff; border: 0; }
.nhero .ncard b { font: 700 86px/1 var(--serif); color: #f3d27f; display: block; margin: 6px 0; }
.nhero .ncard small { color: #cfc6ea; }
.nhero .ncard p { color: #e8e3f5; max-width: 34em; margin: 8px auto; }
.nhero .ncard .meta { color: #bdb3de; }
.nhero .ncard a { color: #f3d27f; font-weight: 600; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.ncard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ncard small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ncard b { font: 700 40px/1.1 var(--serif); color: var(--accent); }
.ncard .meta { margin: 4px 0 0; }
.numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin: 12px 0; }
.numgrid a { text-align: center; text-decoration: none; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: transform .15s, border-color .15s; }
.numgrid a b { display: block; font: 700 34px/1.1 var(--serif); color: var(--accent); }
.numgrid a span { font-size: 12px; color: var(--muted); }
.numgrid a:hover, .numgrid a[aria-current] { border-color: var(--gold); transform: translateY(-2px); }


#result, #main, .tout, .numout { scroll-margin-top: 76px; }
@media (min-width: 900px) { .navt { display: none; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); margin: 8px 0 0; justify-content: center; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 5px; }
.legend .lg-tr { border-color: #2e7d5b; } .legend .lg-sq { border-color: #c0392b; }
.answer ul { margin: 4px 0 10px 18px; padding: 0; }
.trio a.card small { color: var(--accent); }


.chart-h { font: 600 22px/1.3 var(--serif); margin: 2px 0 12px; }
.w-ang { font: 700 11px var(--sans); fill: var(--accent); letter-spacing: .04em; }
.w-rx { font-size: 10px; fill: #c0392b; }
.actions-row { display: flex; flex-wrap: wrap; gap: 4px; }
.readings details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin: 8px 0; }
.readings details[open] { border-color: var(--gold); }
.readings summary { cursor: pointer; padding: 10px 0; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.readings summary img { width: 30px; height: 30px; flex: none; }
.readings details p { margin: 0 0 10px; }
.keyasp { list-style: none; padding: 0; margin: 6px 0 14px; }
.keyasp li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 9px 12px; margin: 6px 0; font-size: 15px; }
.keyasp small { color: var(--muted); }
details.fold { margin: 10px 0; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--card); }
details.fold summary { cursor: pointer; padding: 11px 0; font-weight: 600; color: var(--accent); }
.pair { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 10px; text-align: center; }
.pair img { width: 64px; height: 64px; display: block; margin: 0 auto 4px; }
.pair small { display: block; font-size: 12px; color: var(--muted); }
.pair b { font: 600 17px var(--serif); }
.pair .amp { font: 700 30px var(--serif); color: var(--gold); }
.verdict { text-align: center; font: 700 22px var(--serif); color: var(--accent); margin: 4px 0; }
.center { text-align: center; }
@media print {
  header.top, footer, .toolbox form, .toc, .totop, .pager, .actions-row, .share, .btn, nav.signnav, .search { display: none !important; }
  .hero { background: none !important; color: #000; padding: 0; margin: 0; } .hero h1, .hero .lede { color: #000; }
  body { background: #fff; } .answer { background: #fff !important; border: 0; }
  details { display: block; } details > * { display: block !important; }
  .chart-top { display: block; } .wheelbox { max-width: 420px; }
}

.phasefig { margin: 18px 0; }
.phasefig svg { width: 100%; height: auto; display: block; color: var(--muted); }
.phasefig figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.phasenow { display: flex; gap: 14px; align-items: center; }
.moonnow { flex: 0 0 80px; width: 80px; height: 80px; }
dl.months dt { font-weight: 600; margin-top: 12px; }
dl.months dd { margin: 2px 0 0; }
.moontbl th[scope="row"] { font-size: 14px; color: inherit; }
