/* Zodia on the Traitwise layout (owner 2026-10-17: "copy exactly how we did the Traitwise web site"): the same
   neutral paper, ink buttons and straight layout as themes/personality.css; the only colour is the twelve sign
   colours of the PDFs (platform src/zodia_design.SIGN_HEX), grouped by element. */
body.theme-horoscope{--ink:#1B2238;--ink2:#3F4659;--muted:#646A7C;--sun:#1B2238;--sun-d:#1B2238;--line:#E6E7EC;
  --card:#FFFFFF;--tint:#EEF0F6;--ok:#2f8a5b;--err:#b3261e;--r:16px;color:var(--ink);background:#FAFAFB;
  --twelve:linear-gradient(90deg,#B3261E,#B5560F,#A0284F,#2F6E3A,#66701F,#6E4A2C,#8A6A00,#2777A3,#4A55B8,#1C3D73,#0F5A63,#0C7A68);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;padding-bottom:84px}
/* `hidden` must win over .btn/form display rules (flagged study form vs legacy payment link). */
.theme-horoscope [hidden]{display:none !important}
.theme-horoscope .brand{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:800;font-size:19px;letter-spacing:-.02em}
.theme-horoscope .tw-sym{color:var(--sun);flex:none}
.theme-horoscope h1,.theme-horoscope h2,.theme-horoscope h3{font-weight:700;letter-spacing:-.035em}
.theme-horoscope .hero{padding:48px 0 10px}
.theme-horoscope .hero h1{font-size:clamp(40px,6.6vw,66px);line-height:1.02;margin:.25em 0 .3em}
.theme-horoscope .hero .tw-sym{display:block;margin:0 auto 10px}
.theme-horoscope .tw-accent{background:var(--twelve);-webkit-background-clip:text;background-clip:text;color:transparent}
.theme-horoscope .kicker{color:var(--sun-d)}
.theme-horoscope .card{box-shadow:0 12px 34px #1B223812;border:1px solid var(--line)}
.theme-horoscope .btn{background:var(--sun);color:#fff;border-radius:12px}
.theme-horoscope .btn[disabled],.theme-horoscope .btn.off{opacity:.45;pointer-events:none}
.theme-horoscope .btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--ink)}
.theme-horoscope .hero .btn.ghost{margin-left:8px}
.theme-horoscope a{color:var(--sun-d)}
.theme-horoscope a.btn{color:#fff}.theme-horoscope a.btn.ghost{color:var(--ink)}
/* header: brand · language pills · buy */
.theme-horoscope header.top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.theme-horoscope .langs{flex:1;display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.theme-horoscope .langs .lang{padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);
  font-size:13px;font-weight:600;letter-spacing:.04em;text-decoration:none}
.theme-horoscope .langs .lang:hover{border-color:var(--ink)}
.theme-horoscope .langs .lang.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.theme-horoscope .tw-nav-buy{padding:9px 16px;font-size:14px}
.theme-horoscope .tw-points{margin-top:14px;font-size:13px;color:var(--muted)}
/* report pages fanned out like a product shot */
.theme-horoscope .tw-fan{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:22px;margin:34px 0 0;padding:34px 0 70px}
.theme-horoscope .tw-fan img{width:27%;max-width:260px;height:auto;border-radius:4px;box-shadow:0 30px 60px #1B22382a}
.theme-horoscope .tw-fan img:nth-of-type(2){width:33%;max-width:320px;transform:translateY(-16px)}
.theme-horoscope .tw-tag{position:absolute;right:4%;top:0;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.theme-horoscope .tw-video{text-align:center;padding:0 0 40px}
.theme-horoscope .tw-video h2{font-size:clamp(24px,3vw,30px);margin:0 0 18px}
.theme-horoscope .tw-video video{width:300px;max-width:72%;height:auto;border-radius:28px;border:8px solid var(--ink);box-shadow:0 24px 60px #1B22382a;background:#EDEAE2}
/* the problem statement: big grey words, the answer highlighted */
.theme-horoscope .tw-band{background:var(--card);padding:90px 0;border-block:1px solid var(--line)}
.theme-horoscope .tw-problem{text-align:center;max-width:760px}
.theme-horoscope .tw-label{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
.theme-horoscope .tw-problem p{font-size:clamp(21px,3vw,30px);line-height:1.38;color:#646A7C;letter-spacing:-.01em}
.theme-horoscope .tw-problem mark{background:var(--tint);color:var(--ink);padding:0 4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* twelve signs, twelve colours: one chip each, fire -> earth -> air -> water */
.theme-horoscope .tw-nine{text-align:center;padding:70px 0 10px}
.theme-horoscope .tw-nine h2{font-size:clamp(28px,3.6vw,38px);margin:0 0 10px}
.theme-horoscope .tw-nine p{max-width:600px;margin:0 auto 26px}
.theme-horoscope .tw-nine ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:780px;margin:0 auto;padding:0}
.theme-horoscope .tw-nine li{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 14px 7px 8px;font-size:14px}
.theme-horoscope .tw-nine i{width:18px;height:18px;border-radius:50%;display:block}
.theme-horoscope .tw-nine span{font-family:"DejaVu Sans","Segoe UI Symbol","Apple Symbols",sans-serif;color:var(--muted)}
.theme-horoscope .tw-nine b{font-weight:800}
.theme-horoscope .grid3{margin-top:50px}
/* what you receive: the quiet numbered 2-column grid */
.theme-horoscope .tw-center{text-align:center;margin:30px 0 30px}
.theme-horoscope .tw-grid{list-style:none;display:grid;grid-template-columns:1fr 1fr;max-width:700px;margin:0 auto;padding:0;counter-reset:tw}
.theme-horoscope .tw-grid li{position:relative;padding:24px 22px 24px 70px;border-bottom:1px solid var(--line);font-weight:600;line-height:1.4}
.theme-horoscope .tw-grid li:nth-child(odd){border-right:1px solid var(--line)}
.theme-horoscope .tw-grid li:nth-last-child(-n+2){border-bottom:0}
.theme-horoscope .tw-grid li:before{counter-increment:tw;content:counter(tw);position:absolute;left:22px;top:20px;width:32px;height:32px;
  display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--sun);font-size:14px;font-weight:800}
.theme-horoscope .tw-closing{text-align:center;padding:70px 0 40px}
.theme-horoscope .tw-closing h2{font-size:clamp(30px,4.6vw,46px);line-height:1.08;max-width:620px;margin:0 auto 24px}
/* sample pages (study, 2027, emails) */
.theme-horoscope .look h2,.theme-horoscope .plans h2{text-align:center}
.theme-horoscope h3.ex{text-align:center;margin:26px 0 0;font-size:19px;color:var(--ink2)}
.theme-horoscope .previews{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:14px 4px 18px}
.theme-horoscope .previews a{flex:0 0 auto;scroll-snap-align:center}
.theme-horoscope .previews img{display:block;flex:0 0 auto;width:min(46vw,190px);height:auto;border-radius:4px;box-shadow:0 18px 40px #1B223826}
.theme-horoscope .previews.mail img{width:min(60vw,240px)}
@media (min-width:900px){.theme-horoscope .previews{justify-content:center;overflow:visible;flex-wrap:wrap;row-gap:26px}.theme-horoscope .previews img{width:170px}}
/* plan cards */
.theme-horoscope .grid4{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.theme-horoscope .plan{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.theme-horoscope .plan .glyph{font-size:30px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;color:#fff;
  font-family:"DejaVu Sans","Segoe UI Symbol","Apple Symbols",sans-serif;background:var(--ink)}
.theme-horoscope .plan.study .glyph{background:#B5560F}.theme-horoscope .plan.both .glyph{background:#A0284F;font-size:24px}
.theme-horoscope .plan.year .glyph{background:#2777A3}.theme-horoscope .plan.daily .glyph{background:#0F5A63}
.theme-horoscope .plan.both{border:2px solid var(--ink)}
.theme-horoscope .plan .badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:4px 12px;border-radius:999px;
  background:var(--ink);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.theme-horoscope .plan .price{font-weight:800;font-size:22px;color:var(--ink);margin:4px 0}
.theme-horoscope .plan .price small{font-size:14px;color:var(--muted)}
.theme-horoscope .plan .muted{flex:1}
.theme-horoscope .plan .save{color:#A0284F;margin:0;font-weight:700}
.theme-horoscope .soon{display:inline-block;align-self:flex-start;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:linear-gradient(90deg,#FFF3D6,#F3E8FF);color:var(--ink);font-size:14px;font-weight:700;letter-spacing:.02em}
/* order form (ids used by assets/horoscope-study-form.mjs - keep) */
.theme-horoscope #study-form label{display:block;margin:10px 0;color:var(--ink2)}
.theme-horoscope #study-form input:not([type=checkbox]):not([type=radio]),.theme-horoscope #study-form select{
  width:100%;max-width:420px;box-sizing:border-box;margin-top:6px;padding:11px 12px;border-radius:10px;border:1px solid var(--line);
  background:#fff;color:var(--ink);font-size:16px}
.theme-horoscope #study-form #study-find{margin:6px 0 4px;background:#fff;color:var(--ink);border:1px solid var(--ink)}
.theme-horoscope #study-form #study-buy,.theme-horoscope #study-form #both-buy,.theme-horoscope #study-form #year-buy{display:block;margin-top:12px}
.theme-horoscope #study-form .btn.picked{box-shadow:0 0 0 3px #B5560F}
.theme-horoscope .err{color:var(--err)}
/* legacy emailed-details pages share this theme */
.theme-horoscope .f{display:block;margin:16px 0}
.theme-horoscope .f span{display:block;font-size:14px;color:var(--ink2);margin-bottom:6px}
.theme-horoscope .f input[type=date],.theme-horoscope .f input[type=time],.theme-horoscope .f input[type=text],.theme-horoscope .f select{
  width:100%;box-sizing:border-box;padding:12px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:16px}
.theme-horoscope .row{display:flex;gap:10px}.theme-horoscope .row input{flex:1}
.theme-horoscope .row button{padding:0 16px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:15px;cursor:pointer}
.theme-horoscope #places label{display:block;padding:10px 12px;margin:6px 0;border:1px solid var(--line);border-radius:10px;cursor:pointer;color:var(--ink2)}
.theme-horoscope #places label:has(input:checked){border-color:var(--ink);color:var(--ink)}
.theme-horoscope .pill{background:#fff;color:var(--ink2);border-color:var(--line)}
/* about + FAQ */
.theme-horoscope .about details{border-top:1px solid var(--line);padding:10px 0}
.theme-horoscope .about summary{cursor:pointer;color:var(--ink);font-weight:600}
/* sticky buy bar */
.theme-horoscope .sticky-buy{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;align-items:center;justify-content:center;
  gap:10px;flex-wrap:wrap;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#FFFFFFee;
  border-top:1px solid var(--line);backdrop-filter:blur(8px);transform:translateY(110%);transition:transform .25s}
.theme-horoscope .sticky-buy.on{transform:none}
.theme-horoscope .sticky-buy .btn{padding:10px 16px;margin:0}
@media (prefers-reduced-motion:reduce){.theme-horoscope .sticky-buy{transition:none}}
@media (max-width:600px){
  .theme-horoscope header.top{flex-wrap:wrap}
  .theme-horoscope .langs{order:3;flex-basis:100%}
  .theme-horoscope .hero .btn.ghost{margin:10px 0 0}
  .theme-horoscope .tw-fan{gap:12px;padding-bottom:40px}
  .theme-horoscope .tw-fan img{width:44%}.theme-horoscope .tw-fan img:nth-of-type(2){width:50%}
  .theme-horoscope .tw-fan img:nth-of-type(3){display:none}
  .theme-horoscope .tw-band{padding:56px 0}
  .theme-horoscope .tw-grid{grid-template-columns:1fr}
  .theme-horoscope .tw-grid li:nth-child(odd){border-right:0}
  .theme-horoscope .tw-grid li:nth-last-child(2){border-bottom:1px solid var(--line)}
  .theme-horoscope .sticky-buy{flex-wrap:nowrap;gap:8px}
  .theme-horoscope .sticky-buy .what{display:none}
  .theme-horoscope .sticky-buy .btn{flex:1;white-space:normal;line-height:1.2;padding:9px 10px;font-size:13.5px;text-align:center}}
/* Solo / Couple choice on the study form (owner 2026-10-22, Traitwise pattern) */
.theme-horoscope .study-plans{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px;max-width:520px}
.theme-horoscope .study-plans .plan{border:2px solid var(--line);background:var(--card);border-radius:14px;padding:12px;cursor:pointer;align-items:flex-start;text-align:left;gap:2px}
.theme-horoscope .study-plans .plan input{position:absolute;opacity:0}
.theme-horoscope .study-plans .plan .price{font-size:18px}
.theme-horoscope .study-plans .plan:has(input:checked){border-color:var(--sun);background:var(--tint)}
.theme-horoscope .study-plans .plan:has(input:focus-visible){outline:2px solid var(--sun);outline-offset:2px}
.theme-horoscope fieldset.partner{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:14px 0;max-width:520px}
.theme-horoscope fieldset.partner legend{font-weight:700;padding:0 6px}
