/* Public share pages — natal chart + persona atlas (variant 1) */
:root {
  --fire: #f87171; --earth: #34d399; --air: #38bdf8; --water: #c084fc;
}
.share-pg, .share-builder {
  font-family: var(--font, "Vazirmatn", "Segoe UI", Tahoma, sans-serif);
}
.share-pg button, .share-pg input, .share-pg select, .share-pg textarea,
.share-builder button, .share-builder input, .share-builder select {
  font-family: inherit;
}
.share-pg { padding: 0 0 2.5rem; max-width: none; margin: 0; }
.share-pg__body { padding-bottom: 0; }
.share-pg--famous .share-famous-body { max-width: 920px; margin: 0 auto; padding: 0 1.1rem; }
/* Famous natal: sit in content column, clear of header + hero */
.share-crumbs--banner.breadcrumb,
.share-pg--famous > .breadcrumb {
  position: relative;
  z-index: 3;
  display: inline-flex;
  width: fit-content;
  max-width: min(920px, calc(100% - 2.2rem));
  margin-block: 1.45rem 1.2rem;
  margin-inline-start: max(1.1rem, calc((100% - 920px) / 2));
  margin-inline-end: auto;
  padding: 0.42rem 0.95rem;
}
.share-famous-hero { margin-top: 0; margin-bottom: 0.25rem; }
.share-famous-hero em { font-style: normal; color: #c4b5fd; }

/* Hero sits on a dark photo in both themes — keep chips/CTAs spaced + light-on-dark. */
.share-famous-hero .share-chips--hero {
  margin-top: 0.9rem;
  margin-bottom: 0.15rem;
  gap: 0.55rem 0.65rem;
}
.share-famous-hero .share-chip {
  background: rgba(12, 10, 24, 0.55);
  border-color: rgba(232, 228, 245, 0.28);
  color: rgba(245, 243, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.28rem 0.75rem;
}
.share-famous-hero .share-chip--ok {
  background: rgba(6, 40, 28, 0.55);
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.share-famous-hero .share-chip--warn {
  background: rgba(48, 32, 6, 0.55);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fcd34d;
}
.share-famous-hero .tl-hero__actions {
  margin-top: 1.15rem;
  gap: 0.7rem 0.85rem;
}
.share-famous-hero .tl-hero__actions .btn {
  min-height: 2.65rem;
  padding: 0.7rem 1.15rem;
}
.share-famous-hero .tl-hero__actions .btn-ghost {
  background: rgba(12, 10, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.share-famous-hero .tl-hero__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}
.share-famous-hero .tl-special-pill { margin-top: 1rem; }
.share-famous-summary__text {
  margin: 0; padding: 1rem 1.1rem; border-radius: 14px;
  border: 1px solid rgba(157,122,234,.18); background: var(--surface);
  line-height: 1.85; font-size: .88rem; color: var(--muted);
}
.share-famous-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .65rem;
}
@media (min-width: 768px) {
  .share-famous-grid { grid-template-columns: repeat(5, 1fr); }
  .share-famous-grid--hub { grid-template-columns: repeat(6, 1fr); }
}
.share-famous-card {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(157,122,234,.14); background: var(--surface);
  text-decoration: none; color: inherit; transition: border-color .15s;
}
.share-famous-card:hover { border-color: rgba(157,122,234,.35); }
.share-famous-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.share-famous-card span {
  display: block; padding: .45rem .55rem; font-size: .72rem; font-weight: 700;
  text-align: center; line-height: 1.45;
}
.share-famous-disclaimer {
  margin-top: 2rem; font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.7;
}
.share-bio-text.prose a { color: #5eead4; }
.share-bio-text.prose p { margin: 0 0 .75rem; line-height: 1.85; font-size: .88rem; color: var(--muted); }

.share-pg > .share-crumbs {
  margin-inline: 1.1rem;
}

.share-owner {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .5rem .8rem; margin-bottom: .9rem; border-radius: 11px;
  border: 1px dashed rgba(227,189,77,.4); background: rgba(227,189,77,.07); font-size: .73rem;
  direction: rtl; justify-content: flex-start; width: 100%; box-sizing: border-box;
}
.share-owner b { color: var(--gold, #e3bd4d); }
.share-owner .spacer { flex: 1; min-width: .5rem; }
.share-chip-btn {
  font-family: inherit;
  font-size: .69rem; font-weight: 600; padding: .22rem .65rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  color: var(--text, #e8e8f0);
}
.share-owner .share-chip-btn:hover { border-color: rgba(157,122,234,.35); background: rgba(157,122,234,.1); }
.share-owner label.share-chip-btn {
  display: inline-flex; align-items: center; gap: .35rem; cursor: pointer;
}
.share-owner label.share-chip-btn input[type="checkbox"] {
  width: auto; min-height: 0; margin: 0; flex-shrink: 0;
}
.share-chip-btn--danger { border-color: rgba(248,113,113,.4); color: #f87171; }

.share-hero { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: 1rem; }
.share-sigil {
  width: 62px; height: 62px; border-radius: 18px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.5rem;
  background: radial-gradient(circle at 30% 25%, rgba(157,122,234,.45), rgba(109,40,217,.15));
  border: 1px solid rgba(157,122,234,.2);
}
.share-hero-main { flex: 1 1 260px; min-width: 0; }
.share-hero h1 { font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 800; line-height: 1.45; margin: 0; }
.share-hero h1 em { font-style: normal; color: var(--purple-2, #c084fc); }
.share-sub { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.share-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; direction: rtl; justify-content: flex-start; }
.share-chip {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .69rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 999px; border: 1px solid rgba(157,122,234,.14);
  background: var(--surface); color: var(--muted);
}
.share-chip--ok { border-color: rgba(52,211,153,.32); color: #34d399; }
.share-chip--warn { border-color: rgba(251,191,36,.32); color: #fbbf24; }

.share-bar { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; direction: rtl; justify-content: flex-start; }
.share-sb {
  display: inline-flex; align-items: center; gap: .35rem; font-family: inherit;
  font-size: .72rem; font-weight: 700;
  padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; text-decoration: none; color: inherit;
}
.share-sb--pri { background: linear-gradient(135deg, #9d7aea, #6d28d9); border-color: transparent; color: #fff; }
.share-link-row {
  display: flex; align-items: center; gap: .4rem; margin-top: .55rem; padding: .3rem .3rem .3rem .7rem;
  border-radius: 999px; border: 1px solid rgba(157,122,234,.14); background: var(--bg-soft, rgba(0,0,0,.2));
  font-size: .68rem; direction: ltr; max-width: 100%;
}
.share-link-row code { flex: 1; background: none; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.share-sec { margin-top: 1.6rem; }
.share-sec-h {
  display: flex; align-items: baseline; gap: .5rem; margin-bottom: .7rem;
}
.share-sec-h h2 { font-size: .95rem; font-weight: 800; margin: 0; }
.share-sec-h span { font-size: .7rem; color: var(--muted); }
.share-sec-h::after { content: ""; flex: 1; height: 1px; background: rgba(157,122,234,.14); }

.share-sec-edu {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: 0 0 .75rem; padding: .65rem .8rem; border-radius: 12px;
  border: 1px solid rgba(56,189,248,.18);
  background: linear-gradient(120deg, rgba(56,189,248,.07), rgba(157,122,234,.06));
  direction: rtl;
}
.share-sec-edu-ico {
  flex-shrink: 0; width: 1.35rem; height: 1.35rem; border-radius: 8px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: rgba(56,189,248,.15); color: #38bdf8;
}
.share-sec-edu p {
  margin: 0; font-size: .76rem; line-height: 1.7; color: var(--muted);
}

.share-wheel {
  border: 1px solid rgba(157,122,234,.14); border-radius: 14px; background: var(--surface);
  padding: .8rem; display: grid; place-items: center; position: relative; overflow: hidden;
}
.share-wheel svg { max-width: 100%; height: auto; }

.share-big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (max-width: 640px) { .share-big3 { grid-template-columns: 1fr; } }
.share-b3 {
  border: 1px solid rgba(157,122,234,.14); border-radius: 13px; background: var(--surface);
  padding: .8rem .9rem; position: relative; overflow: hidden;
}
.share-b3 h3 { font-size: .72rem; font-weight: 700; color: var(--muted); margin: 0; }
.share-b3 .val { font-size: 1.05rem; font-weight: 800; margin-top: .1rem; }
.share-b3 .deg { font-size: .68rem; color: var(--muted); direction: ltr; display: inline-block; }
.share-b3 p { font-size: .76rem; color: var(--muted); margin: .4rem 0 0; line-height: 1.75; }

.share-bal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.share-bal-card { border: 1px solid rgba(157,122,234,.14); border-radius: 13px; background: var(--surface); padding: .8rem .9rem; }
.share-bal-card h4 { font-size: .76rem; font-weight: 700; margin: 0 0 .5rem; color: var(--muted); }
.share-bar-row { display: flex; align-items: center; gap: .5rem; font-size: .72rem; margin-bottom: .32rem; direction: rtl; }
.share-bar-row .lbl { width: 3.4rem; flex: 0 0 auto; text-align: start; }
.share-bar-row .track { flex: 1; height: 7px; border-radius: 4px; background: rgba(157,122,234,.13); overflow: hidden; }
.share-bar-row .fill { height: 100%; border-radius: 4px; display: block; }
.share-bar-row .pct { width: 2.2rem; text-align: start; color: var(--muted); font-size: .68rem; font-variant-numeric: tabular-nums; }

.share-plist { display: grid; gap: .45rem; direction: rtl; }
.share-pl {
  display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: start;
  border: 1px solid rgba(157,122,234,.14); border-radius: 12px; background: var(--surface); padding: .6rem .75rem;
}
.share-pl .glyph { font-size: 1.2rem; line-height: 1; text-align: center; }
.share-pl .meta { font-size: .68rem; color: var(--muted); }
.share-pl .note { font-size: .74rem; color: var(--muted); margin-top: .25rem; line-height: 1.65; }

.share-aspects { display: grid; gap: .4rem; }
.share-aspects--collapsed .share-asp--extra {
  max-height: 0; opacity: 0; overflow: hidden; margin: 0; padding: 0;
  border-width: 0; transform: translateY(-4px); pointer-events: none;
}
.share-aspects:not(.share-aspects--collapsed) .share-asp--extra {
  max-height: 8rem; opacity: 1; transform: translateY(0);
}
.share-aspects .share-asp--extra {
  transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s ease, transform .35s ease, padding .35s ease, margin .35s ease, border-width .2s;
}
.share-expand-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  margin-top: .55rem; padding: .38rem .9rem; border-radius: 999px;
  border: 1px dashed rgba(157,122,234,.35); background: rgba(157,122,234,.08);
  color: var(--purple-2, #c084fc); font-family: inherit; font-size: .74rem; font-weight: 700;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
}
.share-expand-btn:hover { background: rgba(157,122,234,.16); border-color: rgba(157,122,234,.5); }
.share-expand-btn:active { transform: scale(.98); }
.share-expand-btn[aria-expanded="true"] { border-style: solid; background: rgba(157,122,234,.14); }
.share-asp {
  border: 1px solid rgba(157,122,234,.14); border-radius: 11px; background: var(--surface);
  padding: .55rem .75rem; font-size: .74rem;
}
.share-asp b { font-weight: 700; }
.share-asp--harm { border-inline-start: 3px solid #34d399; }
.share-asp--tens { border-inline-start: 3px solid #f87171; }

.share-xlink {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  direction: rtl; justify-content: space-between;
  border: 1px solid rgba(157,122,234,.32); border-radius: 14px;
  background: linear-gradient(120deg, rgba(157,122,234,.12), rgba(56,189,248,.07));
  padding: .9rem 1rem; margin-top: 1.5rem;
}
.share-sec-h { direction: rtl; }
.share-big3, .share-bal { direction: rtl; }
.share-b3 .deg { font-variant-numeric: tabular-nums; }
.share-pl .meta { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: embed; display: inline-block; text-align: left; }

/* Atlas bento */
.atlas-hero {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(157,122,234,.14);
  background: linear-gradient(120deg, rgba(157,122,234,.16), rgba(56,189,248,.07) 60%, transparent);
}
.atlas-stats { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: .5rem; }
.atlas-stat b { display: block; font-size: 1.05rem; font-weight: 800; }
.atlas-stat span { font-size: .66rem; color: var(--muted); }
.share-groupbar { display: flex; gap: .3rem; flex-wrap: wrap; margin: 1rem 0 .9rem; direction: rtl; justify-content: flex-start; }
.share-gb {
  font-family: inherit;
  font-size: .71rem; font-weight: 700; padding: .28rem .75rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
}
.share-gb.on { background: linear-gradient(135deg, #9d7aea, #6d28d9); border-color: transparent; color: #fff; }
.share-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
@media (max-width: 820px) { .share-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .share-bento { grid-template-columns: 1fr; } }
.share-bt {
  border: 1px solid rgba(157,122,234,.14); border-radius: 13px; background: var(--surface);
  padding: .65rem .75rem; position: relative; min-height: 88px;
}
.share-bt .k { font-size: .66rem; color: var(--muted); font-weight: 600; }
.share-bt .v { font-size: .95rem; font-weight: 800; margin-top: .05rem; line-height: 1.4; }
.share-bt .n { font-size: .68rem; color: var(--muted); margin-top: .2rem; line-height: 1.7; }
.share-bt .src {
  position: absolute; top: .5rem; inset-inline-end: .55rem;
  font-size: .58rem; font-weight: 700; padding: .04rem .38rem; border-radius: 999px;
  border: 1px solid rgba(157,122,234,.14); color: var(--muted);
}
.share-bt--fire { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.05); }
.share-bt--water { border-color: rgba(192,132,252,.3); background: rgba(192,132,252,.05); }
.share-bt--gold { border-color: rgba(227,189,77,.3); background: rgba(227,189,77,.05); }
.share-bt--sky { border-color: rgba(56,189,248,.28); background: rgba(56,189,248,.05); }

.share-radar-wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.share-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 620px) { .share-twocol { grid-template-columns: 1fr; } }
.share-lcard { border: 1px solid rgba(157,122,234,.14); border-radius: 13px; background: var(--surface); padding: .75rem .85rem; }
.share-lcard h4 { font-size: .8rem; font-weight: 700; margin: 0 0 .4rem; }
.share-lcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.share-lcard li { font-size: .76rem; color: var(--muted); padding-inline-start: 1.05rem; position: relative; }

/* Hub builder */
.share-hub-hero { text-align: center; padding: 1.5rem 0 1rem; max-width: 640px; margin: 0 auto; }
.share-hub-hero h1 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 800; }
.share-builder {
  border: 1px solid rgba(157,122,234,.2); border-radius: 16px; background: var(--surface);
  padding: 1rem 1.1rem; max-width: 520px; margin: 1.2rem auto 2rem;
}
.share-builder label { display: block; font-size: .78rem; font-weight: 600; margin: .6rem 0 .25rem; }
.share-builder input:not([type="checkbox"]),
.share-builder select,
.share-builder .abjad-dp-trigger {
  width: 100%;
  min-height: 2.65rem;
  box-sizing: border-box;
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font, inherit);
  font-size: .85rem;
  color: inherit;
}
.share-builder input::placeholder {
  font-family: inherit;
  color: var(--muted);
  opacity: 1;
}
.share-builder input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
}
.share-time-row {
  display: flex; align-items: center; gap: .35rem; width: 100%;
}
.share-time-row select {
  flex: 1; min-width: 0;
}
.share-time-sep {
  flex-shrink: 0; font-weight: 700; color: var(--muted); line-height: 1;
}
.share-builder label.share-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem;
  margin: .55rem 0 .35rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.share-builder label.share-check input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent-2, #9d7aea);
}
.share-builder [data-suggest] button {
  border: 1px solid rgba(157, 122, 234, .28);
  border-radius: 8px;
  padding: .32rem .55rem;
  background: rgba(157, 122, 234, .1);
  color: var(--text);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.share-builder [data-suggest] button:hover { border-color: var(--accent-2, #9d7aea); }
.share-builder .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.share-builder .foot { margin-top: 1rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.share-builder .msg { font-size: .75rem; color: var(--muted); }

/* Hub educational (phase 6 SEO) */
.hub-lead { max-width: 36rem; margin: .5rem auto 0; line-height: 1.65; }
.hub-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.hub-step {
  display: flex; gap: .75rem; align-items: flex-start;
  border: 1px solid rgba(157,122,234,.16); border-radius: 14px; padding: .75rem .9rem; background: var(--surface);
}
.hub-step-n {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  background: linear-gradient(135deg, rgba(227,189,77,.25), rgba(157,122,234,.2)); color: var(--gold);
}
.hub-step p { margin: .2rem 0 0; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.hub-edu-body { font-size: .88rem; color: var(--muted); line-height: 1.7; max-width: none; margin: 0; }
.share-pg .hub-faq-list { max-width: none; }
.hub-faq-list { display: grid; gap: .45rem; max-width: 42rem; }
.hub-faq-item {
  border: 1px solid rgba(157,122,234,.14); border-radius: 12px; background: var(--surface); padding: 0 .85rem;
}
.hub-faq-item summary { cursor: pointer; font-size: .82rem; font-weight: 700; padding: .65rem 0; list-style: none; }
.hub-faq-item summary::-webkit-details-marker { display: none; }
.hub-faq-item p { margin: 0 0 .75rem; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.hub-links li { margin-bottom: .45rem; font-size: .82rem; }
.hub-links a { color: var(--purple-2); text-decoration: none; }

/* Build-your-chart CTA (famous pages) */
.share-build-cta { margin-top: 1.6rem; }
.share-build-cta__card {
  border-radius: 16px;
  border: 1px solid rgba(157,122,234,.22);
  background: linear-gradient(135deg, rgba(157,122,234,.12), rgba(109,40,217,.08));
  padding: clamp(1.1rem, 3vw, 1.5rem);
  text-align: center;
  direction: rtl;
}
.share-build-cta__card h2 {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 800;
  margin: 0 0 .45rem;
}
.share-build-cta__card p {
  margin: 0 auto 1rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 32rem;
}

/* Optional public index (phase 7) */
.share-owner-index textarea {
  width: 100%; margin-top: .5rem; padding: .55rem .65rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); font-family: inherit;
  font-size: .82rem; line-height: 1.6; resize: vertical; min-height: 6rem;
}
.share-public-bio .share-bio-text {
  font-size: .9rem; line-height: 1.75; color: var(--text); white-space: pre-wrap;
}

/* Passport */
.share-passport-page { max-width: 720px; margin: 0 auto; padding-bottom: 2rem; }
.share-passport-stage { margin-top: .75rem; }
.share-passport-doc {
  position: relative; overflow: hidden;
  border: 2px solid rgba(227,189,77,.35); border-radius: 18px; padding: 1.2rem 1.25rem;
  background: linear-gradient(145deg, rgba(227,189,77,.08), rgba(21,16,40,.95) 45%, var(--surface));
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.share-passport-wm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(3rem, 12vw, 5rem); font-weight: 800; color: rgba(255,255,255,.04);
  transform: rotate(-28deg); pointer-events: none; user-select: none;
}
.pp-head { position: relative; z-index: 1; margin-bottom: 1rem; }
.pp-brand { font-size: .72rem; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.pp-title { margin: .45rem 0 .35rem; font-size: clamp(1.15rem, 3.5vw, 1.45rem); font-weight: 800; }
.pp-title span { color: var(--gold); }
.pp-idline { display: flex; flex-wrap: wrap; gap: .5rem .85rem; font-size: .72rem; color: var(--muted); }
.pp-idline b { color: var(--text); }
.pp-body { position: relative; z-index: 1; display: grid; gap: .65rem; }
.pp-row .lab { display: block; font-size: .68rem; font-weight: 700; color: var(--gold); margin-bottom: .3rem; }
.pp-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.pp-pills .pill {
  border: 1px solid rgba(157,122,234,.22); border-radius: 10px; padding: .35rem .55rem;
  background: rgba(157,122,234,.08); font-size: .72rem; min-width: 4.5rem;
}
.pp-pills .pill em { display: block; font-style: normal; font-size: .58rem; color: var(--muted); }
.pp-pills .pill b { color: var(--text); font-weight: 700; }
.pp-twocol { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
@media (max-width: 560px) { .pp-twocol { grid-template-columns: 1fr; } }
.pp-foot {
  position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; margin-top: 1rem; flex-wrap: wrap;
}
.pp-note { flex: 1; font-size: .68rem; color: var(--muted); line-height: 1.55; margin: 0; min-width: 12rem; }
.pp-qr svg { width: 88px; height: 88px; background: #fff; border-radius: 8px; padding: 4px; }
.pp-actions { margin-top: 1rem; flex-wrap: wrap; }

.share-passport {
  border: 2px solid rgba(227,189,77,.35); border-radius: 18px; padding: 1.2rem;
  background: linear-gradient(145deg, rgba(227,189,77,.08), transparent);
}
.share-passport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin-top: 1rem; }
.share-passport-cell { border: 1px solid rgba(157,122,234,.14); border-radius: 10px; padding: .5rem .65rem; font-size: .74rem; }
.share-passport-cell b { display: block; font-size: .65rem; color: var(--muted); }

.share-ext-bar, .share-match-bar {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: .85rem 0 1.1rem;
  direction: rtl; justify-content: flex-start; width: 100%;
}
.share-match-in {
  flex: 1; min-width: 10rem; border: 1px solid rgba(157,122,234,.25); border-radius: 10px;
  padding: .45rem .65rem; background: var(--bg-soft, rgba(0,0,0,.08)); color: var(--text);
  font-family: inherit; font-size: .8rem; direction: rtl; text-align: right;
}
.share-match-in::placeholder {
  text-align: right; direction: rtl; color: var(--muted); opacity: 1;
}
.share-match-in:not(:placeholder-shown) {
  direction: ltr; text-align: left; font-variant-numeric: tabular-nums;
}
.share-timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid rgba(227,189,77,.35); }
.share-tl { position: relative; padding: .65rem 0 .65rem 1rem; margin-inline-start: .65rem; }
.share-tl::before {
  content: ""; position: absolute; inset-inline-start: -.78rem; top: 1rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold, #e3bd4d);
}
.share-tl p { margin: .25rem 0 0; font-size: .82rem; color: var(--muted); }
.share-tl-phase { display: block; font-size: .68rem; color: var(--gold); font-weight: 700; margin-bottom: .15rem; }
.share-feedback-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; direction: rtl; justify-content: flex-start; }
.share-focus { font-size: .92rem; color: var(--text); margin-top: .35rem; line-height: 1.7; }
.sp-index-on { color: #7dcea0; font-size: .75rem; font-weight: 700; }

.share-pg--event .share-pg__body,
.share-pg--circle .share-pg__body { max-width: 920px; }
.share-reading {
  margin: 0 0 .85rem; padding: 1rem 1.1rem; border-radius: 14px;
  border: 1px solid rgba(157,122,234,.18); background: var(--surface);
  line-height: 1.85; font-size: .88rem; color: var(--text);
}
.share-how {
  margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .4rem;
  font-size: .82rem; line-height: 1.8; color: var(--muted);
}
.share-bento--members { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.share-pairs { display: grid; gap: .55rem; }
.share-pair {
  border: 1px solid rgba(157,122,234,.14); border-radius: 13px; background: var(--surface);
  padding: .75rem .9rem; display: grid; gap: .35rem;
}
.share-pair__who { font-weight: 800; font-size: .88rem; }
.share-pair__meta { display: flex; gap: .5rem; align-items: baseline; font-size: .78rem; color: var(--muted); }
.share-pair__meta strong { color: var(--text); font-size: 1rem; }
.share-pair__track { height: 7px; border-radius: 4px; background: rgba(157,122,234,.13); overflow: hidden; }
.share-pair__track span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #9d7aea, #6d28d9); }

/* Q5 · کارت «مرا بخوان» — the story card offered on every public share page. */
.share-readme-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.share-readme-card {
  width: 170px; height: auto; border-radius: 14px;
  border: 1px solid rgba(227, 189, 77, .35); background: #0b0a14;
}
.share-readme-acts { flex: 1 1 12rem; }
