:root {
  --night: #171226;
  --ink-elev: #2a2340;
  --paper: #f3ead9;
  --mist: #e7dbc6;
  --gold: #c6a15b;
  --gold-light: #e3c888;
  --text-night: #f3ead9;
  --muted-night: #b9ae9a;
  --text-paper: #211b33;
  --muted-paper: #6e6656;
  --gold-ink: #9a7b3a;
  --vata: #a594c6;
  --pitta: #c56b45;
  --kapha: #5e8378;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 54px rgba(8, 5, 18, 0.22);
  --max: 1120px;
  --safe-bottom: max(20px, env(safe-area-inset-bottom));
  --display: "Fraunces", Georgia, serif;
  --body: "Mulish", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--night);
  color: var(--text-night);
  font-family: var(--body);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 82% -10%,
      rgba(198, 161, 91, 0.11),
      transparent 34%
    ),
    radial-gradient(
      circle at 8% 35%,
      rgba(165, 148, 198, 0.09),
      transparent 30%
    ),
    var(--night);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hidden {
  display: none !important;
}
.app-shell {
  min-height: 100vh;
  padding-bottom: 108px;
}
.page {
  max-width: var(--max);
  margin: auto;
  padding: 26px 20px 44px;
}
.paper-page {
  background: var(--paper);
  color: var(--text-paper);
  min-height: 100vh;
  max-width: none;
  padding-bottom: 120px;
}
.paper-page > .page {
  padding-bottom: 44px;
}
.eyebrow,
.label {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.subtitle {
  color: var(--muted-night);
  line-height: 1.75;
  max-width: 680px;
}
.paper-page .subtitle {
  color: var(--muted-paper);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: auto;
  padding: 18px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand-word {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
}
.brand-word small {
  display: block;
  margin-top: 5px;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn,
.ghost-btn {
  border: 1px solid rgba(198, 161, 91, 0.32);
  background: rgba(243, 234, 217, 0.04);
  color: inherit;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}
.icon-btn {
  width: 42px;
  padding: 0;
  display: grid;
  place-items: center;
}
.paper-page .icon-btn,
.paper-page .ghost-btn {
  background: rgba(33, 27, 51, 0.03);
}
.hero {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 40px;
  align-items: center;
  padding: 34px 0 26px;
}
.cosmic-dial {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(198, 161, 91, 0.13) 0 26%, transparent 27%),
    conic-gradient(
      from -90deg,
      var(--dial-color, var(--kapha)) calc(var(--score, 55) * 1%),
      rgba(243, 234, 217, 0.09) 0
    );
  box-shadow:
    inset 0 0 0 1px rgba(198, 161, 91, 0.28),
    0 0 50px rgba(198, 161, 91, 0.08);
}
.cosmic-dial:before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: inset 0 0 0 1px rgba(198, 161, 91, 0.18);
}
.cosmic-dial:after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(198, 161, 91, 0.25);
  animation: orbit 32s linear infinite;
}
.dial-center {
  position: relative;
  z-index: 2;
  text-align: center;
}
.dial-center img {
  width: 68px;
}
.score {
  display: block;
  font-family: var(--display);
  font-size: 55px;
  line-height: 1;
  margin-top: 8px;
}
.score small {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted-night);
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 10px 0 16px;
}
.hero-copy p {
  color: var(--muted-night);
  font-size: 17px;
  line-height: 1.75;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.chip {
  padding: 9px 12px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist);
  background: rgba(243, 234, 217, 0.035);
}
.primary-btn {
  border: 0;
  background: var(--gold);
  color: #171226;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 28px rgba(198, 161, 91, 0.2);
}
.primary-btn:hover {
  background: var(--gold-light);
}
.secondary-btn {
  border: 1px solid rgba(198, 161, 91, 0.45);
  background: transparent;
  color: inherit;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.danger-btn {
  border: 1px solid rgba(197, 107, 69, 0.4);
  background: transparent;
  color: var(--pitta);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.section {
  padding: 26px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  margin: 5px 0 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 4;
  border: 1px solid rgba(198, 161, 91, 0.18);
  background: var(--ink-elev);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -55px;
  top: -55px;
  background: var(--accent, var(--gold));
  opacity: 0.08;
}
.card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 430;
  margin: 8px 0;
}
.card p {
  color: var(--muted-night);
  line-height: 1.65;
}
.card .action {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
}
.card.vata {
  --accent: var(--vata);
}
.card.pitta {
  --accent: var(--pitta);
}
.card.kapha {
  --accent: var(--kapha);
}
.card.wide {
  grid-column: span 6;
}
.card.full {
  grid-column: 1/-1;
}
.paper-card {
  background: #fbf6eb;
  color: var(--text-paper);
  border: 1px solid rgba(33, 27, 51, 0.1);
  box-shadow: 0 12px 35px rgba(33, 27, 51, 0.08);
}
.paper-card p {
  color: var(--muted-paper);
}
.meter {
  height: 7px;
  border-radius: 99px;
  background: rgba(243, 234, 217, 0.1);
  overflow: hidden;
  margin: 12px 0;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--value);
  background: var(--accent);
  border-radius: inherit;
}
.disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-night);
  opacity: 0.85;
  border-top: 1px solid rgba(198, 161, 91, 0.15);
  padding-top: 14px;
  margin-top: 20px;
}
.paper-page .disclaimer {
  color: var(--muted-paper);
}
.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 720px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(23, 18, 38, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(198, 161, 91, 0.24);
  border-radius: 25px;
  padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.38);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted-night);
  font-size: 10px;
  min-height: 48px;
  justify-content: center;
  border-radius: 18px;
}
.nav-item span:first-child {
  font-size: 20px;
}
.nav-item.active {
  color: var(--gold-light);
  background: rgba(198, 161, 91, 0.1);
}
.nav-vita {
  margin-top: -28px;
}
.nav-vita .moon-button {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 7px var(--night),
    0 0 28px rgba(198, 161, 91, 0.2);
}
.nav-vita img {
  width: 48px;
  height: 48px;
}
.auth-shell,
.landing-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(100%, 520px);
  border: 1px solid rgba(198, 161, 91, 0.22);
  background: rgba(42, 35, 64, 0.78);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.auth-logo {
  text-align: center;
  margin-bottom: 26px;
}
.auth-logo img {
  width: 82px;
}
.auth-logo h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  margin: 10px 0 4px;
}
.auth-logo p {
  color: var(--muted-night);
}
.field {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-night);
  font-weight: 700;
}
.field input,
.field select,
.field textarea,
.search-input {
  width: 100%;
  border: 1px solid rgba(198, 161, 91, 0.25);
  background: rgba(243, 234, 217, 0.055);
  color: var(--text-night);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus {
  border-color: var(--gold);
}
.field option {
  color: #171226;
}
.paper-page .field input,
.paper-page .field select,
.paper-page .field textarea,
.paper-page .search-input {
  background: #fffaf0;
  color: var(--text-paper);
  border-color: rgba(33, 27, 51, 0.16);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted-night);
  font-size: 13px;
  line-height: 1.5;
}
.check input {
  margin-top: 3px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--gold-light);
}
.form-error {
  color: #e89a7c;
  font-size: 13px;
  min-height: 18px;
}
.stepper {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}
.stepper i {
  height: 4px;
  flex: 1;
  background: rgba(243, 234, 217, 0.1);
  border-radius: 9px;
}
.stepper i.active {
  background: var(--gold);
}
.tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 4px;
  margin: 16px 0 22px;
}
.tab {
  white-space: nowrap;
  border: 1px solid rgba(33, 27, 51, 0.14);
  background: transparent;
  color: var(--muted-paper);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}
.tab.active {
  background: var(--text-paper);
  color: var(--paper);
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.recipe-card {
  background: #fffaf1;
  border: 1px solid rgba(33, 27, 51, 0.11);
  border-radius: 20px;
  padding: 18px;
  cursor: pointer;
  transition: 0.2s transform;
}
.recipe-card:hover {
  transform: translateY(-2px);
}
.recipe-card h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 450;
}
.recipe-card p {
  color: var(--muted-paper);
  font-size: 14px;
  line-height: 1.55;
}
.recipe-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--gold-ink);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 24px;
}
.pagination button {
  border: 1px solid rgba(33, 27, 51, 0.15);
  background: transparent;
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
}
.pagination button.active {
  background: var(--text-paper);
  color: var(--paper);
}
.modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(8, 5, 18, 0.72);
  display: grid;
  place-items: end center;
  padding: 18px;
}
.modal-panel {
  width: min(100%, 760px);
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  color: var(--text-paper);
  border-radius: 30px;
  padding: 26px;
}
.modal-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}
.ingredient-list,
.step-list {
  padding-left: 20px;
  line-height: 1.8;
}
.safety {
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  background: rgba(198, 161, 91, 0.09);
  font-size: 13px;
  line-height: 1.55;
}
.chat {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 150px);
  max-width: 850px;
  margin: auto;
}
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 0 24px;
}
.chat-disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.68;
}
.chat-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chat-clear {
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: transparent;
  color: var(--text-night);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.bubble {
  max-width: 82%;
  padding: 16px 18px;
  border-radius: 22px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.bubble.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--night);
  border-bottom-right-radius: 7px;
}
.bubble.vita {
  align-self: flex-start;
  background: var(--ink-elev);
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-bottom-left-radius: 7px;
}
.bubble small {
  display: block;
  margin-top: 8px;
  opacity: 0.7;
}
.chat-form {
  position: sticky;
  bottom: 94px;
  display: flex;
  gap: 9px;
  background: var(--night);
  padding: 12px 0;
}
.chat-form textarea {
  flex: 1;
  resize: none;
  min-height: 54px;
  max-height: 150px;
  border: 1px solid rgba(198, 161, 91, 0.3);
  background: var(--ink-elev);
  color: var(--text-night);
  border-radius: 18px;
  padding: 14px;
}
.chat-form button {
  width: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  border: 0;
  cursor: pointer;
}
.chat-send { background: var(--gold); color: var(--night); }
.chat-mic { background: var(--ink-elev); color: var(--text-night); border: 1px solid rgba(198, 161, 91, 0.3) !important; }
.chat-mic.listening { background: var(--gold); color: var(--night); animation: voicePulse 1s ease-in-out infinite; }
@keyframes voicePulse { 50% { transform: scale(.94); opacity: .72; } }
.chat-voice-toggle {
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(198, 161, 91, 0.08);
  color: var(--text-night);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.bubble-speak {
  display: block;
  margin-top: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: 11px;
  cursor: pointer;
}
.install-banner {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: calc(104px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 680px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(198, 161, 91, .35);
  background: rgba(23, 18, 38, .98);
  color: var(--text-night);
  box-shadow: 0 16px 48px rgba(0,0,0,.42);
}
.install-banner img { width: 48px; height: 48px; border-radius: 12px; }
.install-copy { display: grid; gap: 3px; min-width: 0; }
.install-copy strong { color: var(--gold-light); }
.install-copy span { color: var(--muted-night); font-size: 12px; line-height: 1.35; }
.install-actions { display: flex; gap: 6px; align-items: center; }
.install-now, .install-later { border: 0; border-radius: 999px; padding: 9px 12px; cursor: pointer; white-space: nowrap; }
.install-now { background: var(--gold); color: var(--night); font-weight: 700; }
.install-later { background: transparent; color: var(--muted-night); }
.chart-wheel {
  width: min(82vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 24px auto;
  position: relative;
  border: 1px solid var(--gold);
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(198, 161, 91, 0.18) 0 1deg,
      transparent 1deg 30deg
    ),
    radial-gradient(
      circle,
      transparent 0 33%,
      rgba(198, 161, 91, 0.12) 34% 35%,
      transparent 36% 63%,
      rgba(198, 161, 91, 0.18) 64% 65%,
      transparent 66%
    );
  display: grid;
  place-items: center;
}
.chart-wheel img {
  width: 74px;
}
.planet-table {
  width: 100%;
  border-collapse: collapse;
}
.planet-table td {
  padding: 12px 6px;
  border-bottom: 1px solid rgba(198, 161, 91, 0.14);
}
.planet-table td:last-child {
  text-align: right;
  color: var(--gold-light);
}
.more-list {
  display: grid;
  gap: 10px;
}
.more-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid rgba(198, 161, 91, 0.17);
  border-radius: 18px;
  background: var(--ink-elev);
  cursor: pointer;
}
.more-item div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.more-item b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 450;
}
.switch {
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: rgba(243, 234, 217, 0.16);
  padding: 3px;
  cursor: pointer;
}
.switch i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mist);
  transition: 0.2s;
}
.switch.on {
  background: var(--kapha);
}
.switch.on i {
  transform: translateX(20px);
  background: white;
}
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.price-card {
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 25px;
  padding: 24px;
  background: var(--ink-elev);
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(198, 161, 91, 0.12);
}
.price-card .badge {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--gold);
  color: var(--night);
  padding: 6px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.price {
  font-family: var(--display);
  font-size: 44px;
}
.price small {
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted-night);
}
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted-night);
}
.feature-list li:before {
  content: "✦";
  color: var(--gold);
  margin-right: 8px;
}
.share-preview {
  aspect-ratio: 1;
  background: var(--night);
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 430px;
}
.share-preview.paper {
  background: var(--paper);
  color: var(--text-paper);
}
.share-preview img {
  width: 55px;
}
.share-preview h3 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}
.share-preview p {
  line-height: 1.6;
}
.share-watermark {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 120px;
  transform: translate(-50%, 20px);
  background: #0d0a18;
  color: var(--paper);
  border: 1px solid rgba(198, 161, 91, 0.3);
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  max-width: 90vw;
  text-align: center;
}
.tzolkin-coming {
  margin-top: 22px;
}
.tzolkin-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(198, 161, 91, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.025);
}
.tzolkin-card::after {
  content: "13 · 20 · 260";
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: rgba(198, 161, 91, 0.12);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 7vw, 76px);
  letter-spacing: 0.04em;
  pointer-events: none;
}
.tzolkin-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.coming-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(198, 161, 91, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tzolkin-card h2,
.tzolkin-card p,
.tzolkin-preview {
  position: relative;
  z-index: 1;
}
.tzolkin-card h2 {
  max-width: 760px;
  margin: 20px 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 400;
}
.tzolkin-card p {
  max-width: 760px;
  color: var(--muted-night);
}
.tzolkin-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tzolkin-preview span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: var(--text-night);
  font-size: 12px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.empty {
  padding: 30px;
  text-align: center;
  color: var(--muted-paper);
}
.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(198, 161, 91, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 30px auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cosmic-dial {
    width: min(78vw, 330px);
    margin: auto;
  }
  .chips,
  .button-row {
    justify-content: center;
  }
  .card,
  .card.wide {
    grid-column: span 6;
  }
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .page {
    padding-left: 15px;
    padding-right: 15px;
  }
  .topbar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .card,
  .card.wide {
    grid-column: 1/-1;
  }
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 25px 20px;
  }
  .app-shell, .paper-page { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    position: fixed !important;
    z-index: 1100;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    padding-bottom: calc(9px + env(safe-area-inset-bottom));
  }
  .chat-form { bottom: calc(82px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
  .install-banner {
    bottom: calc(91px + env(safe-area-inset-bottom));
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .install-banner img { width: 42px; height: 42px; }
  .install-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .nav-item {
    font-size: 9px;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .title {
    font-size: 36px;
  }
  .modal {
    padding: 0;
  }
  .modal-panel {
    border-radius: 28px 28px 0 0;
    max-height: 94vh;
  }
  .bubble {
    max-width: 92%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Daily semantic indicators */
.daily-indicators {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}
.daily-indicators > div {
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: 16px;
  padding: 12px;
  background: rgba(243, 234, 217, 0.035);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.daily-indicators span {
  color: var(--muted-night);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.daily-indicators b {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}
.daily-indicators i {
  grid-column: 1 / -1;
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--indicator-color) var(--indicator),
    rgba(243, 234, 217, 0.08) 0
  );
}
.event-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.event-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(198, 161, 91, 0.12);
}
.event-row:first-child {
  border-top: 0;
}
.event-row p {
  margin: 4px 0 0;
}
.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  box-shadow: 0 0 16px rgba(198, 161, 91, 0.45);
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  padding: 12px 0 0;
  font-weight: 700;
  cursor: pointer;
}
.soft-disabled {
  opacity: 0.42;
  filter: grayscale(0.2);
}
.soft-disabled input {
  pointer-events: none;
}
.connection-grid {
  display: grid;
  gap: 12px;
}
.connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--ink-elev);
}
.connection-row strong {
  display: block;
}
.connection-row small {
  color: var(--muted-night);
}
.connection-state {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 10px;
  white-space: nowrap;
}
.connection-state.ready {
  color: var(--kapha);
  background: rgba(94, 131, 120, 0.13);
}
.connection-state.missing {
  color: var(--pitta);
  background: rgba(197, 107, 69, 0.13);
}

@media (max-width: 560px) {
  .daily-indicators {
    grid-template-columns: 1fr;
  }
  .daily-indicators > div {
    grid-template-columns: 1fr auto;
  }
}

/* ==============================================================
   VITALIZA MÍSTICA — reconstrucción editorial y de legibilidad
   ============================================================== */
:root {
  --surface-night: #241d39;
  --surface-night-2: #302746;
  --surface-paper: #fffaf0;
  --line-night: rgba(227, 200, 136, 0.23);
  --line-paper: rgba(33, 27, 51, 0.14);
}
body { color: var(--text-night); }
button, a, input, select, textarea { font-family: var(--body); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(227, 200, 136, .55);
  outline-offset: 3px;
}
.page { padding-top: 22px; }
.page-intro { max-width: 800px; margin: 18px 0 30px; }
.page-intro .title { margin-bottom: 10px; }
.page-intro .subtitle { max-width: 720px; font-size: 17px; line-height: 1.75; }
.topbar { min-height: 76px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.account-link {
  color: var(--paper);
  border: 1px solid rgba(227, 200, 136, .32);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
}
.account-link.solid { background: var(--gold); color: var(--night); border-color: var(--gold); }
.back-btn, .auth-back, .modal-back {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  padding: 9px 0;
}
.auth-back { margin-bottom: 12px; }
.modal-back { margin-bottom: 14px; }
.account-banner, .profile-strip {
  border: 1px solid var(--line-night);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(198,161,91,.11), rgba(165,148,198,.08)), var(--surface-night);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin: 8px 0 28px;
}
.account-banner h3, .profile-strip h3 { margin: 4px 0 4px; font-family: var(--display); font-size: 24px; font-weight: 430; }
.account-banner p, .profile-strip p { margin: 0; color: var(--muted-night); line-height: 1.55; }
.profile-strip { justify-content: flex-start; }
.profile-strip > a { margin-left: auto; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font-family: var(--display); font-size: 28px; flex: 0 0 auto; }

/* Landing */
.landing-editorial {
  width: min(1180px, 100%);
  margin: auto;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  gap: 64px;
  padding: 70px 34px;
}
.landing-brand { max-width: 620px; }
.landing-brand > img { width: 210px; margin-bottom: 42px; }
.landing-brand h1 { font-family: var(--display); font-size: clamp(52px, 7vw, 84px); font-weight: 350; letter-spacing: -.055em; line-height: .98; margin: 14px 0 22px; }
.landing-brand > p { color: var(--muted-night); font-size: 18px; line-height: 1.75; max-width: 600px; }
.landing-actions { margin-top: 28px; justify-content: flex-start; }
.landing-preview { display: grid; gap: 16px; }
.preview-reading {
  min-height: 600px;
  border: 1px solid rgba(227,200,136,.27);
  background: linear-gradient(160deg, rgba(198,161,91,.10), transparent 38%), var(--surface-night);
  border-radius: 34px;
  padding: 42px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.preview-orbit { width: 108px; height: 108px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin-bottom: 52px; box-shadow: 0 0 42px rgba(198,161,91,.13); }
.preview-orbit img { width: 80px; }
.preview-reading .label { color: var(--gold-light); }
.preview-reading ol { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 24px; }
.preview-reading li { padding-bottom: 20px; border-bottom: 1px solid rgba(227,200,136,.13); display: grid; gap: 6px; }
.preview-reading li b { font-family: var(--display); font-size: 25px; font-weight: 430; }
.preview-reading li span { color: var(--muted-night); }
.preview-footer { margin-top: auto; color: var(--gold); letter-spacing: .16em; font-size: 10px; }
.landing-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.landing-pillar-grid article { border: 1px solid rgba(227,200,136,.18); background: rgba(42,35,64,.72); border-radius: 18px; padding: 16px; display: grid; gap: 10px; min-height: 118px; }
.landing-pillar-grid article span { color: var(--gold); font-size: 24px; }
.landing-pillar-grid article b { font-size: 13px; line-height: 1.35; }

/* Home diario */
.today-hero { align-items: center; }
.sky-line { color: var(--gold-light); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 10px 0 4px; }
.priority-box { border-left: 3px solid var(--gold); background: rgba(198,161,91,.09); padding: 14px 16px; margin: 18px 0; border-radius: 0 14px 14px 0; display: grid; gap: 5px; }
.priority-box span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.priority-box strong { font-size: 16px; line-height: 1.55; }
.reading-guide .section-head p { color: var(--muted-night); max-width: 700px; line-height: 1.65; }
.reading-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reading-steps article { border: 1px solid var(--line-night); border-radius: 20px; padding: 20px; background: rgba(42,35,64,.7); }
.reading-steps article span { color: var(--gold); font-family: var(--display); font-size: 28px; }
.reading-steps article p { color: var(--paper); margin: 12px 0 0; line-height: 1.55; }
.text-link { color: var(--gold-light); font-weight: 700; font-size: 13px; }
.semantic-card { color: var(--paper); }
.semantic-card h3, .semantic-card b { color: var(--paper); }
.semantic-card p { color: #cfc4b2; }
.fact-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fact-row span { border: 1px solid rgba(227,200,136,.17); border-radius: 999px; padding: 7px 10px; color: var(--mist); font-size: 11px; }

/* Biblioteca Ayurveda / ancestral */
.paper-page { background: var(--paper); color: var(--text-paper); }
.paper-page .topbar { background: rgba(243,234,217,.94); border-bottom-color: rgba(33,27,51,.12); }
.paper-page .brand-word, .paper-page .icon-btn, .paper-page .back-btn { color: var(--text-paper); }
.paper-page .brand-word small { color: var(--gold-ink); }
.paper-page .account-link { color: var(--text-paper); border-color: rgba(33,27,51,.22); }
.paper-page .account-link.solid { color: var(--night); }
.paper-page .account-banner { color: var(--paper); }
.count-ribbon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.count-ribbon span { border: 1px solid var(--line-paper); background: rgba(198,161,91,.08); color: var(--gold-ink); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.library-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; position: sticky; top: 76px; z-index: 15; background: linear-gradient(var(--paper) 76%, rgba(243,234,217,0)); }
.library-tab { border: 1px solid var(--line-paper); background: #fffaf0; color: var(--text-paper); border-radius: 999px; padding: 11px 15px; white-space: nowrap; cursor: pointer; font-weight: 700; }
.library-tab.active { background: var(--text-paper); color: var(--paper); }
.library-tab.resolver-tab { border-color: rgba(154,123,58,.5); }
.library-tools { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 10px; margin: 8px 0 24px; }
.paper-page .search-input { color: var(--text-paper); background: #fffaf0; border-color: var(--line-paper); }
.wisdom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wisdom-card { color: var(--text-paper); background: #fffaf0; border: 1px solid var(--line-paper); border-radius: 22px; padding: 20px; cursor: pointer; box-shadow: 0 10px 28px rgba(33,27,51,.06); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; min-height: 258px; }
.wisdom-card:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(33,27,51,.10); }
.wisdom-meta { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 16px; }
.wisdom-meta span { color: var(--gold-ink); border: 1px solid rgba(154,123,58,.23); border-radius: 999px; padding: 5px 8px; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; }
.wisdom-tradition { color: var(--muted-paper); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.wisdom-card h3 { font-family: var(--display); font-size: 24px; line-height: 1.15; font-weight: 440; margin: 10px 0; color: var(--text-paper); }
.wisdom-card p { color: var(--muted-paper); line-height: 1.58; font-size: 14px; }
.wisdom-card b { margin-top: auto; color: var(--gold-ink); font-size: 13px; }
.resolver-panel { max-width: 820px; margin: 10px auto 50px; border: 1px solid var(--line-paper); background: #fffaf0; color: var(--text-paper); border-radius: 28px; padding: 28px; }
.resolver-panel h2 { font-family: var(--display); font-size: 36px; font-weight: 430; }
.resolver-panel > p { color: var(--muted-paper); line-height: 1.65; }
.resolver-results { margin-top: 20px; }

/* Carta natal y tránsitos */
.sky-hero { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; border: 1px solid var(--line-night); background: linear-gradient(140deg, rgba(165,148,198,.08), transparent 45%), var(--surface-night); border-radius: 32px; padding: 28px; }
.natal-visual { text-align: center; }
.natal-visual > p { color: var(--muted-night); font-size: 12px; line-height: 1.55; max-width: 430px; margin: 12px auto 0; }
.natal-wheel { width: min(100%, 520px); height: auto; overflow: visible; }
.natal-wheel .wheel-outer, .natal-wheel .wheel-zodiac, .natal-wheel .wheel-center { fill: none; stroke: rgba(227,200,136,.48); stroke-width: 1; }
.natal-wheel .wheel-zodiac { stroke: rgba(227,200,136,.25); }
.natal-wheel .wheel-center { fill: rgba(23,18,38,.92); }
.zodiac-spoke { stroke: rgba(227,200,136,.16); stroke-width: 1; }
.house-spoke { stroke: rgba(165,148,198,.22); stroke-width: .8; stroke-dasharray: 3 3; }
.zodiac-labels text { fill: var(--gold-light); font-family: var(--body); font-size: 8px; letter-spacing: .07em; text-anchor: middle; dominant-baseline: middle; text-transform: uppercase; }
.chart-planet circle { fill: var(--surface-night-2); stroke: var(--gold); stroke-width: 1; }
.chart-planet text { fill: var(--paper); font-size: 12px; text-anchor: middle; font-family: var(--display); }
.aspect-line { stroke-width: .8; opacity: .34; }
.aspect-line.flowing { stroke: var(--kapha); }
.aspect-line.tension { stroke: var(--pitta); }
.aspect-line.adjustment { stroke: var(--vata); }
.aspect-line.neutral { stroke: var(--gold); }
.natal-summary h1 { font-family: var(--display); font-size: 44px; font-weight: 380; margin: 8px 0 20px; }
.big-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.big-three article { border: 1px solid var(--line-night); border-radius: 18px; padding: 15px; display: grid; gap: 4px; }
.big-three article > span { color: var(--gold); font-family: var(--display); font-size: 25px; }
.big-three small { color: var(--muted-night); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.big-three b { font-family: var(--display); font-size: 20px; font-weight: 430; }
.big-three em { color: var(--gold-light); font-style: normal; font-size: 11px; }
.natal-facts { display: grid; gap: 8px; margin: 18px 0 22px; color: var(--muted-night); font-size: 13px; }
.complete-chart-panel { border: 1px solid var(--line-night); background: var(--surface-night); border-radius: 28px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.complete-chart-panel h1 { font-family: var(--display); font-size: 42px; font-weight: 390; margin: 6px 0; }
.complete-chart-panel p { color: var(--muted-night); max-width: 650px; }
.sky-date { color: var(--gold-light); font-size: 12px; }
.planet-table-card { overflow-x: auto; }
.planet-symbol-inline { color: var(--gold); display: inline-block; width: 25px; }
.planet-position-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.planet-position { border: 1px solid var(--line-night); background: var(--surface-night); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.planet-glyph { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; font-family: var(--display); font-size: 23px; }
.planet-position small { color: var(--muted-night); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.planet-position h3 { font-family: var(--display); font-size: 22px; font-weight: 430; margin: 4px 0; }
.planet-position h3 em { color: var(--gold-light); font-style: normal; font-family: var(--body); font-size: 11px; }
.planet-position p { color: var(--muted-night); font-size: 13px; margin: 0; }
.aspect-grid, .transit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aspect-card, .transit-card { border: 1px solid var(--line-night); background: var(--surface-night); border-radius: 20px; padding: 18px; }
.aspect-card > span { color: var(--gold-light); font-family: var(--display); font-size: 21px; }
.aspect-card b { display: block; margin: 8px 0; }
.aspect-card p, .transit-card p { color: var(--muted-night); line-height: 1.55; margin-bottom: 0; }
.aspect-card.flow, .transit-card.flow { border-left: 3px solid var(--kapha); }
.aspect-card.tension, .transit-card.tension { border-left: 3px solid var(--pitta); }
.aspect-card.neutral, .transit-card.neutral { border-left: 3px solid var(--vata); }
.transit-head { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.transit-head > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-size: 22px; }
.transit-head small { color: var(--muted-night); font-size: 8px; letter-spacing: .1em; }
.transit-head h3 { font-family: var(--display); font-size: 21px; font-weight: 430; margin: 4px 0; }
.transit-meta { display: flex; gap: 6px; margin-top: 15px; }
.transit-meta span { color: var(--gold-light); border: 1px solid rgba(227,200,136,.18); border-radius: 999px; padding: 5px 8px; font-size: 9px; text-transform: uppercase; }

/* Más: contraste y comprensión */
.more-list { gap: 12px; }
.more-item { color: var(--paper); background: var(--surface-night); border-color: var(--line-night); min-height: 78px; text-align: left; }
.more-item, .more-item b, .more-item span { color: var(--paper); }
.more-item > div { min-width: 0; }
.more-item > div > span:first-child { color: var(--gold-light); font-size: 23px; width: 28px; flex: 0 0 auto; }
.more-item > div > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.more-item b { font-family: var(--display); font-size: 20px; font-weight: 430; line-height: 1.15; }
.more-item small { color: #c9bead; font-size: 11px; line-height: 1.35; }
.more-arrow { color: var(--gold-light) !important; font-size: 18px; }
.language-pill { color: var(--night) !important; background: var(--gold); border-radius: 999px; padding: 7px 9px; font-size: 10px; font-weight: 800; }

/* Modales y tarjetas compartibles */
.modal-panel { box-shadow: 0 -24px 70px rgba(0,0,0,.35); }
.modal-hero { padding-right: 30px; }
.modal-hero .subtitle { color: var(--muted-paper); }
.modal-section { border-top: 1px solid var(--line-paper); padding-top: 18px; margin-top: 20px; }
.modal-section h3 { font-family: var(--display); font-size: 23px; font-weight: 430; }
.safety b { display: block; margin-bottom: 4px; color: var(--gold-ink); }
.safety p { margin: 0; }
.share-preview { box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.share-preview h3 { color: var(--paper); }
.share-preview p { color: var(--muted-night); }
.share-preview.paper h3 { color: var(--text-paper); }
.share-preview.paper p { color: var(--muted-paper); }

@media (max-width: 920px) {
  .landing-editorial { grid-template-columns: 1fr; padding-top: 34px; gap: 34px; }
  .preview-reading { min-height: 520px; }
  .sky-hero { grid-template-columns: 1fr; }
  .wisdom-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .top-actions .account-link:first-of-type { display: none; }
  .account-link.solid { padding: 8px 10px; font-size: 10px; }
  .back-btn span { display: none; }
  .account-banner, .profile-strip, .complete-chart-panel { align-items: flex-start; flex-direction: column; }
  .profile-strip > a { margin-left: 0; }
  .landing-editorial { padding: 24px 18px 110px; }
  .landing-brand > img { width: 175px; margin-bottom: 28px; }
  .landing-brand h1 { font-size: 50px; }
  .landing-pillar-grid { grid-template-columns: 1fr; }
  .preview-reading { min-height: 480px; padding: 28px; }
  .reading-steps, .big-three { grid-template-columns: 1fr; }
  .library-tools { grid-template-columns: 1fr; }
  .wisdom-grid, .planet-position-grid, .aspect-grid, .transit-grid { grid-template-columns: 1fr; }
  .library-tabs { top: 68px; margin-left: -15px; margin-right: -15px; padding-left: 15px; }
  .sky-hero { padding: 16px; }
  .natal-summary h1 { font-size: 36px; }
  .more-item { padding: 15px; }
  .more-item b { font-size: 18px; }
}
.share-builder { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: 24px; align-items: start; margin-top: 24px; }
.share-controls { border: 1px solid var(--line-paper); border-radius: 22px; padding: 20px; background: #fffaf0; }
.share-preview-wrap { display: grid; place-items: center; }
.share-preview.editorial { width: min(100%, 460px); min-height: 460px; padding: 30px; border-radius: 0; position: relative; overflow: hidden; }
.share-preview.editorial:before { content:""; position:absolute; left:0; top:0; bottom:0; width:7px; background: var(--gold); }
.share-preview.editorial[data-type="energy"]:before { background: var(--vata); }
.share-preview.editorial[data-type="ritual"]:before { background: var(--pitta); }
.share-preview.editorial[data-type="transit"]:before { background: var(--kapha); }
.share-preview-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.share-preview-top img { width:54px; }
.share-preview-top span { color: var(--gold); letter-spacing:.16em; font-size:9px; font-weight:800; }
.share-preview-copy { margin:auto 0; }
.share-preview-copy .label { display:block; margin-bottom:16px; }
.share-preview.editorial h3 { font-size:38px; line-height:1.08; }
.share-preview.editorial p { font-size:15px; line-height:1.7; }
@media (max-width:720px){ .share-builder{grid-template-columns:1fr;} }

/* Accesos claros: invitada, cuenta gratuita y Círculo */
.access-gate {
  margin: 22px 0;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(227, 200, 136, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 161, 91, .12), transparent 34%),
    linear-gradient(145deg, rgba(42, 35, 64, .98), rgba(23, 18, 38, .98));
  color: var(--paper);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.access-gate h2 { margin: 6px 0 8px; color: var(--paper); font-family: var(--display); font-weight: 430; font-size: clamp(26px, 4vw, 38px); }
.access-gate p { margin: 0 0 18px; color: #d5cabb; line-height: 1.7; max-width: 760px; }
.access-gate .eyebrow { color: var(--gold-light); }
.gate-symbol {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 200, 136, .45);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 32px;
  box-shadow: 0 0 32px rgba(198,161,91,.13);
}
.premium-gate { border-color: rgba(198, 161, 91, .46); }
.locked-card { position: relative; overflow: hidden; border-style: dashed; }
.locked-card::after {
  content: "♢";
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--gold-light);
  font-size: 18px;
}
.locked-row { border-style: dashed; }
.locked-row .more-arrow { color: var(--gold-light); }
.chat-preview { max-width: 780px; margin: 24px auto 8px; }
.chat-preview .bubble { max-width: none; }

@media (max-width: 680px) {
  .access-gate { grid-template-columns: 1fr; padding: 24px; border-radius: 22px; }
  .gate-symbol { width: 56px; height: 56px; font-size: 26px; }
}
