:root {
  --bg: #0a0912;
  --card: #171624;
  --line: #2a2740;
  --text: #eceaf4;
  --muted: #9a96b0;
  --gold: #e3bd4d;
  --gold-dim: rgba(227,189,77,.14);
  --font: "Vazirmatn", Tahoma, sans-serif;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/static/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: .6rem;
}
html, body { margin: 0; min-height: 100%; }
body.bio-body {
  font-family: var(--font);
  color: var(--text);
  background: #0a0912;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a { color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }
.bio {
  --bio-max: 26.5rem;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  background:
    radial-gradient(ellipse 80% 40% at 50% -8%, rgba(227,189,77,.14), transparent 55%),
    radial-gradient(ellipse 70% 36% at 100% 18%, rgba(167,139,250,.16), transparent 50%),
    #0a0912;
}
.bio-inner {
  max-width: var(--bio-max);
  margin: 0 auto;
  padding: .15rem .9rem 1.6rem;
  overflow-x: hidden;
}
.bio-top {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  position: relative; z-index: 2; margin: .35rem 0 .55rem;
}
.bio-brand {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 800; color: var(--text); text-decoration: none;
}
.bio-brand img { width: 1.35rem; height: 1.35rem; border-radius: 8px; object-fit: cover; }
.bio-copy {
  font: inherit; font-size: .68rem; font-weight: 700; padding: .22rem .6rem;
  border-radius: 999px; cursor: pointer; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--muted);
  text-decoration: none; display: inline-flex; align-items: center;
}
.bio-cover {
  position: relative; height: 168px; width: 100%; max-width: 100%;
  margin: 0 0 .15rem; overflow: hidden;
}
.bio-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,18,.15) 20%, #0a0912 96%);
}
.bio-avatar-wrap { display: grid; place-items: center; margin: .2rem 0 .55rem; }
.bio-avatar {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 800;
  background: linear-gradient(160deg, #6d28d9, #1e1b4b 55%, #0f172a);
  box-shadow: 0 0 0 2px #e3bd4d, 0 0 0 5px rgba(157,122,234,.45);
}
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio h1.who { margin: 0; text-align: center; font-size: 1.18rem; font-weight: 800; }
.handle {
  display: block; text-align: center; font-size: .72rem; color: var(--muted);
  direction: ltr; margin-top: .15rem;
}
.tagline {
  text-align: center; font-size: .82rem; color: var(--muted);
  margin: .45rem auto .75rem; max-width: 22rem;
}
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-bottom: .85rem; }
.b3 {
  text-align: center; padding: .55rem .3rem .5rem; border-radius: 14px;
  border: 1px solid rgba(167,139,250,.18); background: rgba(23,22,36,.82);
}
.b3 small { display: block; font-size: .62rem; color: var(--muted); font-weight: 700; }
.b3 b { display: block; font-size: .88rem; margin-top: .12rem; }
.b3 .g { font-size: 1.05rem; }
.block { margin: .85rem 0; }
.block-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: .4rem;
  margin-bottom: .45rem; padding-inline: .15rem;
}
.block-h h2 { margin: 0; font-size: .78rem; font-weight: 800; }
.block-h span { font-size: .65rem; color: var(--muted); }
.wheel-card {
  border-radius: 18px; border: 1px solid rgba(167,139,250,.2);
  background: radial-gradient(circle at 50% 40%, rgba(157,122,234,.14), rgba(10,9,18,.92) 62%);
  padding: .55rem; display: grid; place-items: center;
}
.wheel-card:not(.bio-natal-wheel-wrap) svg { width: min(100%, 240px); height: auto; max-width: 100%; }
.bio-natal-wheel-wrap .natal-wheel-svg { width: 100%; max-width: 640px; height: auto; }
.bars { display: grid; gap: .45rem; }
.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "lbl pct" "track track";
  gap: .18rem .45rem;
  align-items: baseline;
  font-size: .72rem;
}
.bar-row .lbl {
  grid-area: lbl;
  min-width: 0;
  width: auto;
  overflow: visible;
  white-space: normal;
  line-height: 1.45;
  font-weight: 700;
}
.bar-row .track { grid-area: track; height: 8px; border-radius: 99px; background: rgba(167,139,250,.12); overflow: hidden; }
.bar-row .fill { display: block; height: 100%; border-radius: 99px; }
.bar-row .pct { grid-area: pct; width: auto; text-align: end; color: var(--muted); font-size: .68rem; }
.el-card {
  border-radius: 16px; border: 1px solid rgba(167,139,250,.18);
  background: rgba(23,22,36,.78); padding: .7rem .75rem;
}
.el-photo { width: 100%; height: 96px; object-fit: cover; border-radius: 12px; margin-bottom: .55rem; display: block; }
.cn-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; }
.cn-ico {
  width: 2.4rem; height: 2.4rem; border-radius: 12px; object-fit: cover;
  display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(227,189,77,.12); border: 1px solid rgba(227,189,77,.28);
}
.cn-head b { display: block; font-size: .88rem; }
.cn-head small { color: var(--muted); font-size: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .32rem; justify-content: center; margin: .2rem 0 .85rem; }
.chip {
  font-size: .68rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.22); background: rgba(23,22,36,.7); color: var(--muted);
}
.chip b { color: var(--text); }
.links { display: grid; gap: .45rem; }
.link {
  display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text);
  padding: .72rem .8rem; border-radius: 16px;
  border: 1px solid rgba(167,139,250,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.link-ico, .link-thumb {
  width: 2.45rem; height: 2.45rem; border-radius: 11px; object-fit: cover; flex: 0 0 auto;
  display: grid; place-items: center; background: rgba(167,139,250,.12);
}
.link b { display: block; font-size: .86rem; }
.link small { display: block; font-size: .68rem; color: var(--muted); font-weight: 500; }
.link .go { margin-inline-start: auto; color: var(--muted); }
.cta-own {
  margin-top: 1.1rem; text-align: center; padding: .9rem .8rem;
  border-radius: 16px; border: 1px dashed rgba(227,189,77,.35);
  background: rgba(227,189,77,.06);
}
.cta-own b { display: block; font-size: .86rem; }
.cta-own p { margin: .25rem 0 .65rem; font-size: .72rem; color: var(--muted); }
.cta-own a {
  display: inline-block; text-decoration: none; color: #0b0a12; font-weight: 800; font-size: .78rem;
  padding: .4rem 1rem; border-radius: 999px; background: linear-gradient(135deg, #e3bd4d, #c9a227);
}
.bio-foot { margin-top: .9rem; text-align: center; font-size: .65rem; color: var(--muted); }
.hl { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin: .15rem 0 .9rem; }
.hl-item {
  width: 3.85rem; text-align: center; text-decoration: none; color: inherit;
  cursor: pointer; border: 0; background: none; padding: 0; font: inherit;
}
.hl-item img {
  width: 2.95rem; height: 2.95rem; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto;
  border: 2px solid #e3bd4d; padding: 2px; background: #0a0912;
}
.hl-item small { display: block; font-size: .58rem; color: var(--muted); margin-top: .18rem; font-weight: 700; }
.talent-head { font-size: .8rem; margin: 0 0 .45rem; overflow-wrap: anywhere; }
.fam-list { display: grid; gap: .4rem; }
.fam {
  display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text);
  padding: .45rem .5rem; border-radius: 14px; border: 1px solid rgba(167,139,250,.18); background: rgba(23,22,36,.78);
  min-width: 0;
}
.fam > span:nth-child(2) { min-width: 0; flex: 1; }
.fam-photo {
  position: relative; flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #4c1d95, #1e1b4b);
}
.fam-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.fam-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .95rem; font-weight: 800; color: #eceaf4;
}
.fam b { display: block; font-size: .8rem; overflow-wrap: anywhere; }
.fam small { display: block; font-size: .66rem; color: var(--muted); overflow-wrap: anywhere; }
.fam-pct {
  margin-inline-start: auto;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 800; color: var(--gold);
  border: 2px solid rgba(227,189,77,.45); background: var(--gold-dim);
  box-sizing: border-box;
}
.mini-note { font-size: .68rem; color: var(--muted); margin: 0 0 .5rem; }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.num-cell {
  text-align: center; padding: .5rem .25rem; border-radius: 12px;
  border: 1px solid rgba(167,139,250,.18); background: rgba(23,22,36,.78);
}
.num-cell b { display: block; font-size: 1.15rem; color: var(--gold); }
.num-cell small { font-size: .62rem; color: var(--muted); font-weight: 700; }
.mz { display: flex; gap: .65rem; align-items: center; }
.mz img { width: 4.4rem; height: 4.4rem; object-fit: cover; border-radius: 12px; }
.mz b { display: block; font-size: .86rem; }
.mz p { margin: .15rem 0 0; font-size: .7rem; color: var(--muted); }
.atlas-row { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; min-width: 0; }
.atlas-tile {
  padding: .5rem .55rem; border-radius: 12px; border: 1px solid rgba(167,139,250,.18);
  background: rgba(23,22,36,.78); font-size: .72rem;
}
.atlas-tile small { display: block; color: var(--muted); font-size: .62rem; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mod {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(167,139,250,.2);
  text-decoration: none; color: var(--text); background: #12111c; display: block;
}
.mod img { width: 100%; height: 82px; object-fit: cover; display: block; }
.mod span { display: block; padding: .4rem .55rem .55rem; font-size: .72rem; font-weight: 700; }
.mod small { display: block; font-weight: 500; color: var(--muted); font-size: .64rem; margin-top: .12rem; }
.how { display: grid; gap: .55rem; }
.how-row {
  display: grid; grid-template-columns: 4.6rem 1fr; gap: .65rem; align-items: center;
  padding: .45rem; border-radius: 14px; border: 1px solid rgba(167,139,250,.16); background: rgba(23,22,36,.7);
}
.how-row img { width: 4.6rem; height: 4.6rem; object-fit: cover; border-radius: 12px; }
.how-row b { display: block; font-size: .8rem; }
.how-row p { margin: .15rem 0 0; font-size: .7rem; color: var(--muted); }
.off-badge {
  display: inline-block; font-size: .62rem; font-weight: 800; color: #0b0a12;
  background: var(--gold); border-radius: 999px; padding: .08rem .45rem; margin-bottom: .35rem;
}
.passport {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: center;
  padding: .7rem .8rem; border-radius: 18px; margin-bottom: .85rem;
  background: linear-gradient(135deg, rgba(227,189,77,.1), rgba(167,139,250,.08));
  border: 1px solid rgba(227,189,77,.28);
}
.orbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.orb { text-align: center; }
.orb i {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin: 0 auto .2rem;
  border-radius: 50%; font-style: normal; font-size: .72rem; font-weight: 800; color: #0b0a12;
}
.orb small { font-size: .62rem; color: var(--muted); }
.wx { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .28rem; margin-top: .35rem; }
.wx span {
  text-align: center; font-size: .62rem; font-weight: 700; padding: .35rem .1rem;
  border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.wx b { display: block; font-size: .78rem; }
.hero-wheel { margin: -.2rem 0 .7rem; }
.bio-toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #1a1730; border: 1px solid rgba(227,189,77,.4); color: var(--text);
  padding: .5rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 700; z-index: 80;
  transition: transform .35s;
}
.bio-toast.is-on { transform: translateX(-50%) translateY(0); }
@media (max-width: 380px) {
  .bio-inner { padding-inline: .65rem; }
}
.bio-dir { margin-top: .35rem; }
.bio-dir-search {
  display: block; margin: 0 0 .55rem;
}
.bio-dir-search input {
  width: 100%; max-width: 100%; box-sizing: border-box;
  font: inherit; font-size: .82rem; color: var(--text);
  padding: .6rem .95rem; border-radius: 999px;
  border: 1px solid rgba(167,139,250,.28);
  background: rgba(23,22,36,.88);
  outline: none;
}
.bio-dir-search input:focus {
  border-color: rgba(227,189,77,.55);
  box-shadow: 0 0 0 3px rgba(227,189,77,.12);
}
.bio-dir-count {
  margin: 0 0 .55rem; text-align: center; font-size: .68rem; color: var(--muted);
}
.bio-dir-grid {
  display: grid; gap: .45rem;
}
.bio-dir-card {
  display: flex; align-items: center; gap: .65rem; min-width: 0;
  text-decoration: none; color: var(--text);
  padding: .55rem .65rem; border-radius: 16px;
  border: 1px solid rgba(167,139,250,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(23,22,36,.8));
}
.bio-dir-card:hover { border-color: rgba(227,189,77,.4); }
.bio-dir-av {
  position: relative; flex: 0 0 2.7rem; width: 2.7rem; height: 2.7rem;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #6d28d9, #1e1b4b);
  box-shadow: 0 0 0 2px rgba(227,189,77,.35);
}
.bio-dir-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bio-dir-av span { display: grid; place-items: center; height: 100%; font-weight: 800; }
.bio-dir-card b { display: block; font-size: .82rem; }
.bio-dir-card small { display: block; font-size: .66rem; color: var(--muted); direction: ltr; text-align: right; }
.bio-dir-card em {
  display: block; font-style: normal; font-size: .68rem; color: var(--muted);
  margin-top: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bio-dir-card > div { min-width: 0; flex: 1; }
.bio-dir-empty { text-align: center; color: var(--muted); font-size: .78rem; padding: .8rem .4rem; }
.bio-dir-pager {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: .75rem;
}
.bio-dir-pager button {
  font: inherit; font-size: .72rem; font-weight: 700; min-width: 2rem;
  padding: .28rem .55rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted);
}
.bio-dir-pager button.is-on {
  color: #0b0a12; background: var(--gold); border-color: var(--gold);
}
.bio-dir-skel {
  height: 3.4rem; border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04));
  background-size: 200% 100%; animation: bioShimmer 1.1s linear infinite;
}
@keyframes bioShimmer { to { background-position: -200% 0; } }

.bio-packet {
  padding: .85rem .8rem .9rem;
  border-radius: 20px;
  border: 1px solid rgba(227,189,77,.28);
  background:
    radial-gradient(circle at 50% 18%, rgba(167,139,250,.22), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(45,212,191,.1), transparent 46%),
    rgba(12,11,22,.92);
}
.bio-packet-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .35rem;
}
.bio-packet-head b {
  color: var(--gold); font-size: .92rem; font-weight: 800;
}
.bio-packet-gate {
  font-size: .68rem; font-weight: 700; color: #5eead4;
  border: 1px solid rgba(45,212,191,.4); border-radius: 999px;
  padding: .16rem .6rem; box-shadow: 0 0 12px rgba(45,212,191,.18);
}
.bio-packet-seal { display: grid; place-items: center; margin: .15rem 0 .2rem; }
.bio-packet-seal svg { width: min(100%, 220px); height: auto; }
.bio-packet-hint { margin: 0; text-align: center; font-size: .62rem; color: var(--muted); }
.bio-packet-cipher {
  margin: .45rem 0 .55rem; text-align: center; font-weight: 800;
  font-size: .92rem; color: var(--gold); letter-spacing: .02em;
}
.bio-packet-chips {
  display: flex; flex-wrap: wrap; gap: .32rem; justify-content: center;
}
.bio-pchip {
  font-size: .66rem; font-weight: 700; padding: .16rem .55rem; border-radius: 999px;
  border: 1px solid rgba(45,212,191,.32); background: rgba(10,9,18,.55);
}
.bio-pchip--gold { color: var(--gold); border-color: rgba(227,189,77,.4); }
.bio-pchip--teal { color: #5eead4; }
.bio-pchip--purple { color: #c4b5fd; border-color: rgba(167,139,250,.4); }
.bio-packet-note { margin: .55rem 0 0; text-align: center; font-size: .7rem; color: var(--muted); }
.bio-packet-empty { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); padding: .4rem .2rem; }

.bio-age {
  text-align: center; padding: 1.05rem .8rem 1.15rem;
  border-radius: 20px; border: 1px solid rgba(167,139,250,.2);
  background: rgba(10,9,18,.72);
}
.bio-age-cap { font-size: .78rem; font-weight: 800; color: #d6d3e8; margin-bottom: .2rem; }
.bio-age-years { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.bio-age-clock {
  margin-top: .15rem; font-size: .98rem; font-weight: 600; color: #c9c5d8;
  font-variant-numeric: tabular-nums; direction: ltr;
}

.bio-psyche {
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(167,139,250,.22);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(167,139,250,.18), transparent 58%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(45,212,191,.12), transparent 58%),
    rgba(16,14,28,.92);
}
.psy-head { padding: .95rem .9rem .15rem; text-align: center; }
.psy-kicker, .bio-arch-kicker {
  margin: 0 0 .2rem; font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  color: #c4b5fd; text-transform: none;
}
.psy-head h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.02em; }
.psy-lead {
  margin: .45rem 0 0; font-size: .74rem; color: var(--muted); line-height: 1.75;
}
.psy-lead .c-astro, .bio-psyche-scorekey .c-astro { color: #c4b5fd; font-weight: 800; }
.psy-lead .c-psy, .bio-psyche-scorekey .c-psy { color: #5eead4; font-weight: 800; }
.psy-src-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
  padding: .75rem .75rem .2rem;
}
.psy-src {
  display: grid; grid-template-columns: auto 1fr; gap: .45rem; align-items: center;
  text-align: right; font: inherit; cursor: pointer;
  padding: .55rem .55rem .55rem .5rem; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(10,9,18,.45); color: var(--muted);
}
.psy-src b { display: block; font-size: .76rem; color: var(--text); }
.psy-src small { display: block; font-size: .62rem; margin-top: .08rem; color: var(--muted); }
.psy-src-swatch {
  width: .7rem; height: 1.85rem; border-radius: 99px;
  background: #4b4566;
}
.psy-src--astro .psy-src-swatch { background: linear-gradient(180deg, #ddd6fe, #7c3aed); }
.psy-src--psy .psy-src-swatch { background: linear-gradient(180deg, #99f6e4, #0d9488); }
.psy-src.on[data-layer="astro"] {
  color: #c4b5fd; border-color: rgba(167,139,250,.5);
  box-shadow: 0 0 0 1px rgba(167,139,250,.18), 0 8px 22px rgba(109,74,212,.18);
}
.psy-src.on[data-layer="psy"] {
  color: #5eead4; border-color: rgba(45,212,191,.5);
  box-shadow: 0 0 0 1px rgba(45,212,191,.16), 0 8px 22px rgba(13,148,136,.16);
}
.psy-src:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.psy-stage {
  margin: .35rem .45rem .15rem;
  padding: .15rem .1rem .2rem;
  border-radius: 18px;
  background: rgba(8,7,16,.55);
}
.bio-psyche svg { width: 100%; height: auto; display: block; }
.bio-psyche .axis { stroke: rgba(167,139,250,.28); stroke-width: .8; }
.bio-psyche .grid { fill: none; stroke: rgba(167,139,250,.16); stroke-width: .7; }
.bio-psyche .grid--outer { stroke: rgba(167,139,250,.32); }
.bio-psyche .poly-astro { fill: rgba(167,139,250,.26); stroke: #a78bfa; stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(167,139,250,.35)); }
.bio-psyche .poly-psy { fill: rgba(45,212,191,.2); stroke: #2dd4bf; stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(45,212,191,.28)); }
.bio-psyche[data-hide-astro] .poly-astro,
.bio-psyche[data-hide-astro] .d-astro { display: none; }
.bio-psyche[data-hide-psy] .poly-psy,
.bio-psyche[data-hide-psy] .d-psy { display: none; }
.bio-psyche[data-hide-astro] .psy-cmp-score.c-astro,
.bio-psyche[data-hide-psy] .psy-cmp-score.c-psy { opacity: .28; }
.bio-psyche .axlbl { fill: #d6d3e8; font-size: 8.2px; font-weight: 700; }
.d-astro { fill: #c4b5fd; }
.d-psy { fill: #5eead4; }
.psy-cmp { padding: .15rem .75rem .35rem; display: grid; gap: .32rem; }
.psy-cmp-h, .psy-cmp-row {
  display: grid; gap: .35rem; align-items: center;
  grid-template-columns: 4.6rem 1fr;
}
.bio-psyche.has-test .psy-cmp-h,
.bio-psyche.has-test .psy-cmp-row { grid-template-columns: 4.6rem 1fr 1fr; }
.psy-cmp-h { font-size: .6rem; font-weight: 800; color: var(--muted); padding: 0 .1rem; }
.psy-cmp-h .c-astro { color: #c4b5fd; }
.psy-cmp-h .c-psy { color: #5eead4; }
.psy-cmp-lbl { font-size: .68rem; font-weight: 700; color: #d6d3e8; }
.psy-cmp-score {
  position: relative; height: 1.15rem; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.psy-cmp-score i {
  position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit;
  max-width: 100%;
}
.psy-cmp-score.c-astro i { background: linear-gradient(90deg, rgba(167,139,250,.25), #a78bfa); }
.psy-cmp-score.c-psy i { background: linear-gradient(90deg, rgba(45,212,191,.22), #2dd4bf); }
.psy-cmp-score b {
  position: relative; z-index: 1; display: block; text-align: center;
  font-size: .62rem; font-weight: 800; line-height: 1.15rem; color: #eceaf4;
}
.psy-foot {
  margin: 0; padding: .15rem .9rem .85rem;
  text-align: center; font-size: .66rem; color: var(--muted); line-height: 1.7;
}

.bio-arch-cta { margin-top: 1.15rem; }
.bio-arch-cta-card {
  padding: 1rem .95rem 1.05rem; text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(227,189,77,.28);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(227,189,77,.12), transparent 60%),
    rgba(23,22,36,.82);
}
.bio-arch-cta-card h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.bio-arch-cta-card p { margin: 0 0 .75rem; font-size: .76rem; color: var(--muted); line-height: 1.75; }
.bio-arch-go {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.4rem; padding: .4rem 1.15rem; border-radius: 999px;
  font-size: .82rem; font-weight: 800; text-decoration: none;
  color: #0b0a12; background: var(--gold);
}
.bio-arch-hero { text-align: center; padding: .2rem .15rem 1rem; }
.bio-arch-hero h1 { margin: 0 0 .4rem; font-size: 1.45rem; }
.bio-arch-hero p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.75; }
.bio-arch-meta { margin-top: .45rem !important; font-size: .68rem !important; color: #c4b5fd !important; }
.bio--archive { --bio-max: 28rem; }

.bio-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 3px; margin-inline-end: .28rem; vertical-align: middle; }
.bio-dot--astro { background: #a78bfa; }
.bio-dot--psy { background: #2dd4bf; }

@keyframes bioSealSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.bio-packet-seal .bio-sweep {
  transform-origin: 100px 100px;
  animation: bioSealSweep 9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .bio-packet-seal .bio-sweep { animation: none; }
  .bio-age-clock { font-variant-numeric: tabular-nums; }
}

