/* =============================================================================
   Urania · home.css — a home (formulário, mapa pronto, convite à leitura).
   Carregado depois de styles.css. Marca: azul-noite e ouro, EB Garamond nos
   títulos e nos símbolos, Inter no resto. Fontes self-host (ver styles.css).

   Plano de design (2026-10-17)
   · Cor: creme #FBF8F1 (chão), tinta #1F2B3D (texto e botão), noite #0E1829
     (o palco do mapa), ouro #C9A84B só em superfície e sobre azul, ouro-texto
     #7C5F0C sobre creme, vermelho de erro #A8323F.
   · Tipo: EB Garamond 600 nos títulos e nos nomes de signo; Inter 400/600 em
     formulário, rótulos e texto corrido (17 px nos campos, 16 no corpo). Sem
     rótulo em caixa alta e sem mono para texto de interface.
   · Uma coisa memorável: a roda do mapa, grande, no palco escuro, que se
     desenha uma vez. Todo o resto fica quieto: sem cartões iguais, sem animação
     de entrada por seção, sem gradiente decorativo.
   · Layout: texto à esquerda, nunca centralizado em bloco. Mobile: título,
     uma frase, formulário, tudo antes do aviso de cookies. Desktop: texto e
     formulário lado a lado; no mapa, a roda à esquerda e a leitura à direita.
   ============================================================================= */

main { max-width: none; padding: 0; }
.fold, .caps, .disc-card { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

/* ---------------------------------------------------------------- primeira dobra */
.fold { display: grid; gap: 18px; padding: 18px 0 8px; }
.fold-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0;
  font-size: clamp(34px, 9.6vw, 46px); line-height: 1.06; letter-spacing: -.012em; max-width: 17ch;
  text-wrap: balance;
}
.fold-sub { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--faint); max-width: 44ch; }
.fold-gives { display: none; list-style: none; margin: 22px 0 0; padding: 0; gap: 12px; }
.fold-gives li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 16.5px; }
.fold-gives li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; background: var(--gold-soft); }

.birth {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 16px;
  box-shadow: 0 1px 0 rgba(31,43,61,.03);
}
.birth .field { margin-bottom: 14px; }
.birth .field > label { font-size: 14.5px; }
.echo { margin: 6px 0 0; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--gold); }
.echo:empty { display: none; }
.time-row { display: grid; grid-template-columns: 124px 1fr; gap: 6px 14px; align-items: center; }
#timeHelp { margin-top: 4px; }
.birth .hint[data-kind="warn"], #placeStatus[data-kind="warn"] { color: var(--red); }
#placeStatus[data-kind="err"] { color: var(--red); font-weight: 500; }
#placeStatus[data-kind="ok"] { color: #24694B; }
#placeStatus:empty { display: none; }

.adv-opts { margin: 2px 0 14px; border-top: 1px solid var(--line-2); }
.adv-opts summary {
  display: flex; align-items: center; min-height: var(--tap); cursor: pointer;
  font-size: 14.5px; color: var(--faint); width: 100%;
}
.adv-opts summary { list-style: none; justify-content: space-between; }
.adv-opts summary::-webkit-details-marker { display: none; }
.adv-opts summary::after { content: "+"; font-size: 22px; color: var(--gold); line-height: 1; }
.adv-opts[open] summary::after { content: "−"; }
.adv-opts summary:hover { color: var(--ink); }
.adv-opts[open] summary { color: var(--ink); margin-bottom: 6px; }

.btn-go { min-height: 56px; font-size: 17px; margin-top: 4px; }
.birth .free-pill {
  display: block; background: none; border: 0; padding: 0; margin: 12px 0 0;
  font-size: 14px; color: var(--faint); text-align: left;
}

/* progresso real do cálculo */
.calc { margin: 16px 0 2px; padding: 14px 14px 6px; background: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; }
.calc-steps { list-style: none; margin: 0; padding: 0; }
.calc-steps li { display: grid; grid-template-columns: 18px 1fr; gap: 2px 10px; align-items: center; padding: 0 0 10px; color: #7A7568; font-size: 14.5px; }
.calc-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #B9B2A2; justify-self: center; }
.calc-steps li.is-active { color: var(--ink); font-weight: 600; }
.calc-steps li.is-active .calc-dot { border-color: var(--ink); background: var(--gold-soft); }
.calc-steps li.is-done { color: var(--faint); }
.calc-steps li.is-done .calc-dot { border-color: var(--green); background: var(--green); }
.calc-bar { grid-column: 2; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; display: none; }
.calc-steps li.is-active .calc-bar { display: block; }
.calc-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform .2s linear; }

@media (min-width: 900px) {
  .fold { grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; align-items: center; padding: 56px 0 48px; }
  .fold-title { font-size: clamp(54px, 5vw, 68px); max-width: 16ch; }
  .fold-sub { font-size: 18px; margin-top: 18px; }
  .fold-gives { display: grid; }
  .birth { padding: 28px 28px 22px; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .fold { width: min(560px, calc(100% - 44px)); padding-top: 32px; }
}

/* ---------------------------------------------------------------- o mapa pronto */
.stage {
  --ring: var(--gold-soft);
  background-color: var(--night); color: #EDE7D8; padding: 26px 0 34px;
  /* céu fixo: pontos de luz, sem movimento e sem gradiente */
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(244,239,227,.55) 49%, transparent 51%),
    radial-gradient(1.4px 1.4px at 71% 11%, rgba(201,168,75,.55) 49%, transparent 51%),
    radial-gradient(1px 1px at 88% 61%, rgba(244,239,227,.4) 49%, transparent 51%),
    radial-gradient(1.2px 1.2px at 36% 83%, rgba(244,239,227,.4) 49%, transparent 51%),
    radial-gradient(1px 1px at 6% 68%, rgba(201,168,75,.4) 49%, transparent 51%),
    radial-gradient(1.2px 1.2px at 53% 47%, rgba(244,239,227,.35) 49%, transparent 51%);
  background-size: 420px 360px, 520px 480px, 460px 400px, 580px 520px, 500px 440px, 540px 460px;
}
.stage-in {
  width: min(1120px, calc(100% - 32px)); margin-inline: auto;
  display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "wheel" "explain" "actions" "read";
}
.stage-left, .stage-right { display: contents; }
.stage-head { grid-area: head; }
.stage-wheel { grid-area: wheel; }
.explain { grid-area: explain; }
.stage-actions { grid-area: actions; }
.stage-read { grid-area: read; }
.stage :where(a, button, summary, input):focus-visible { outline-color: var(--gold-soft); }

.stage-title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 8vw, 40px); line-height: 1.1; margin: 0; color: #F7F2E6; }
.stage-title:focus { outline: none; }
.stage-meta { margin: 6px 0 0; font-size: 15px; color: rgba(237,231,216,.74); }

.wheel-pane { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; }
.wheel-mount { width: 100%; display: flex; justify-content: center; position: relative; }
.wheel-mount svg { max-width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); touch-action: manipulation; }
.wheel-hint { margin: 0; font-size: 14.5px; color: rgba(237,231,216,.74); text-align: left; width: 100%; }
.wheel-meta { font-size: 11.5px; color: var(--faint); line-height: 1.7; margin: 26px 0 0; }

/* roda: tipografia, interação e a única animação de entrada da página */
.urania-wheel .sel-sign { font-family: var(--serif); }
.urania-wheel .sel-planet { font-family: var(--serif); font-weight: 600; }
.urania-wheel .sel-pdeg, .urania-wheel .sel-housenum { font-family: var(--mono); }
.urania-wheel .sel-axis { font-family: var(--mono); letter-spacing: .04em; }
.urania-wheel .sel-caption { font-family: var(--serif); }
.urania-wheel .sel-caption--name { font-weight: 700; }
.urania-wheel .sel-retro { font-family: var(--serif); }
.urania-wheel--compact .sel-pg path, .urania-wheel--compact .sel-pg circle:not(.sel-hit) { stroke-width: 1.9; }
.urania-wheel .sel-hhit, .urania-wheel .sel-asp-hit { cursor: pointer; }
.urania-wheel .sel-hhit:hover { fill: rgba(201,168,75,.22); }
svg.focus .sel-asp { opacity: .08; }
.urania-wheel .sel-asp { transition: opacity .3s ease, filter .3s ease; }
svg.focus .sel-asp.on { opacity: 1; filter: drop-shadow(0 0 3px rgba(201,168,75,.9)); }
.urania-wheel .sel-pg { cursor: pointer; transition: filter .25s ease; }
.urania-wheel .sel-pg:hover, .urania-wheel .sel-pg.on { filter: drop-shadow(0 0 5px rgba(201,168,75,.9)); }
.wheel-tip {
  position: absolute; z-index: 40; pointer-events: none;
  background: rgba(10,16,29,.96); color: #EDE7D8; border: 1px solid rgba(201,168,75,.5); border-radius: 8px;
  font-family: var(--sans); font-size: 13px; line-height: 1.5; padding: 7px 10px; max-width: 240px;
}

.urania-wheel.is-reveal .sel-zodiac, .urania-wheel.is-reveal .sel-ticks, .urania-wheel.is-reveal .sel-houses,
.urania-wheel.is-reveal .sel-pg, .urania-wheel.is-reveal .sel-asp, .urania-wheel.is-reveal .sel-center {
  transform-box: fill-box; transform-origin: center;
}
.urania-wheel.is-reveal .sel-zodiac { animation: u-ring .95s cubic-bezier(.2, .7, .2, 1) both; transform-box: view-box; transform-origin: 50% 50%; }
.urania-wheel.is-reveal .sel-ticks { animation: u-fade .6s ease .5s both; }
.urania-wheel.is-reveal .sel-houses { animation: u-fade .7s ease .65s both; }
.urania-wheel.is-reveal .sel-center { animation: u-fade .6s ease 1.4s both; }
.urania-wheel.is-reveal .sel-pg { animation: u-pop .5s cubic-bezier(.2, .9, .3, 1.25) both; }
.urania-wheel.is-reveal .sel-asp { stroke-dasharray: 1; stroke-dashoffset: 1; animation: u-draw .75s ease-out both; }
@keyframes u-ring { from { opacity: 0; transform: rotate(-26deg) scale(.93); } to { opacity: 1; transform: none; } }
@keyframes u-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes u-pop { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }
@keyframes u-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* planetas como botões: teclado, toque e leitura de signo e grau */
.planet-chips { display: flex; gap: 8px; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 6px; scroll-snap-type: x proximity; }
.planet-chip {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  min-width: 104px; min-height: 60px; background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,75,.35);
  border-radius: 12px; padding: 7px 12px; cursor: pointer; color: #EDE7D8; font: inherit; text-align: left;
}
.planet-chip:hover { background: rgba(255,255,255,.09); }
.planet-chip.on { border-color: var(--gold-soft); background: rgba(201,168,75,.2); }
.planet-chip .pc-glyph { font-family: var(--serif); font-size: 20px; color: var(--gold-soft); line-height: 1.1; }
.planet-chip .pc-body { font-size: 12.5px; color: rgba(237,231,216,.72); }
.planet-chip .pc-pos { font-family: var(--serif); font-size: 16px; color: #F4EFE3; white-space: nowrap; }

/* explicação ao toque */
.explain {
  position: relative; border: 1px solid rgba(201,168,75,.4); border-left: 3px solid var(--gold-soft);
  border-radius: 12px; padding: 16px 52px 14px 18px; background: rgba(255,255,255,.04);
}
.explain[hidden] { display: none; }
.explain:focus { outline: none; }
.explain-close {
  position: absolute; top: 4px; right: 4px; width: var(--tap); height: var(--tap); border: 0; border-radius: 10px;
  background: none; color: #EDE7D8; font-size: 26px; line-height: 1; cursor: pointer;
}
.explain-close:hover { background: rgba(255,255,255,.08); }
.explain-title { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; color: #F7F2E6; margin: 0 0 8px; }
.explain-body p { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: #E3DCCB; max-width: 62ch; }
.explain-body .ex-lead { font-size: 17px; color: #F4EFE3; }
.explain-body .ex-note { font-size: 14px; color: rgba(237,231,216,.7); }
.explain-body .ex-sub { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--gold-soft); margin: 14px 0 6px; }
.ex-aspects { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.ex-aspects li { font-size: 15.5px; line-height: 1.5; color: #E3DCCB; }
.ex-aspects strong { color: #F7F2E6; font-weight: 600; }
.ex-asp-name { color: var(--gold-soft); }
.ex-asp-text { display: block; color: rgba(237,231,216,.82); max-width: 62ch; }

/* ações */
.btn-gold { background: var(--gold-soft); color: #14202F; border-color: var(--gold-soft); width: 100%; font-size: 17px; min-height: 52px; }
.btn-gold:hover { background: #D8B95C; }
.btn-quiet {
  background: none; color: #EDE7D8; border: 1px solid rgba(237,231,216,.34); width: auto;
  min-height: var(--tap); padding: 8px 14px; font-size: 15px; font-weight: 500;
}
.btn-quiet:hover { background: rgba(255,255,255,.08); border-color: rgba(237,231,216,.6); }
.btn-quiet-dark {
  background: var(--paper); color: var(--ink); border: 1px solid #B9B2A2; min-height: var(--tap);
  padding: 8px 16px; font-size: 15px; font-weight: 500;
}
.btn-quiet-dark:hover { background: var(--cream-2); }
.stage-actions { display: grid; gap: 12px; align-content: start; }
.stage-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-keep { margin: 0; font-size: 14px; color: rgba(237,231,216,.7); max-width: 52ch; }
.btn-expand { display: none; }
@media (max-width: 419px) { .btn-expand { display: inline-flex; } }

.save-invite { border: 1px solid rgba(201,168,75,.4); border-left: 3px solid var(--gold-soft); border-radius: 12px; padding: 16px 18px; background: rgba(255,255,255,.04); }
.save-invite-lead { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: #F7F2E6; }
.save-invite-text { margin: 0 0 12px; font-size: 15px; color: rgba(237,231,216,.82); max-width: 52ch; }
.save-invite-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.save-invite-actions .btn-gold { width: auto; min-height: 48px; }

/* leitura: Sol, Lua e Ascendente em palavras comuns */
.stage-read { align-content: start; display: grid; gap: 14px; }
.notice { border: 1px dashed rgba(201,168,75,.6); border-radius: 12px; padding: 12px 16px; display: grid; gap: 8px; justify-items: start; }
.notice p { margin: 0; font-size: 15px; color: #E3DCCB; }
.big3 { display: grid; border-top: 1px solid rgba(237,231,216,.16); }
.b3-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 16px 0 18px; border-bottom: 1px solid rgba(237,231,216,.16); }
.b3-glyph { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-soft); text-align: center; padding-top: 2px; }
.b3-label { font-size: 14px; color: rgba(237,231,216,.74); }
.b3-sign { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.12; color: #F7F2E6; margin: 1px 0 6px; }
.b3-desc { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: #D9D2C2; max-width: 40ch; }
.b3-card.is-empty .b3-desc { font-size: 16px; }
.read-on {
  display: inline-flex; align-items: center; min-height: var(--tap); color: var(--gold-soft); font-weight: 600;
  font-size: 15.5px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}

@media (min-width: 900px) {
  .stage { padding: 44px 0 52px; }
  .stage-in { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 64px; grid-template-areas: none; align-items: start; }
  .stage-left, .stage-right { display: grid; gap: 20px; align-content: start; min-width: 0; }
  .stage-head, .stage-wheel, .explain, .stage-actions, .stage-read { grid-area: auto; }
  .stage-title { font-size: 46px; }
  .wheel-hint { text-align: center; }
  .stage-actions { margin-top: 2px; }
  .planet-chips { flex-wrap: wrap; overflow: visible; justify-content: center; }
  .planet-chip { min-width: 0; padding: 6px 10px; min-height: 56px; }
  .planet-chip .pc-pos { font-size: 15px; }
}

/* ---------------------------------------------------------------- corpo do resultado */
.result-body { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 6px 0 0; }
.tabs {
  display: flex; align-items: stretch; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border-bottom: 1px solid var(--line); margin: 0 0 24px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; white-space: nowrap; background: none; border: none; border-bottom: 3px solid transparent;
  margin-bottom: -1px; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--faint);
  min-height: 52px; padding: 0 16px; cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold-soft); }
.tab:focus-visible { outline-offset: -3px; }

.guide { margin: 0 0 34px; }
.guide-title, .shelf-title { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--ink); margin: 0 0 12px; }
.guide-list { margin: 0; display: grid; gap: 0 40px; }
.guide-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.guide-list dt { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); margin: 0 0 3px; }
.guide-list dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
@media (min-width: 760px) { .guide-list { grid-template-columns: 1fr 1fr; } }

/* convite à leitura: calmo, depois do mapa entendido */
.ray-band { background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px 20px; margin: 0 0 34px; }
.ray-band .ray-title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 6.4vw, 32px); line-height: 1.12; color: var(--ink); margin: 0 0 10px; }
.ray-desc { margin: 0 0 16px; font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.ray-band .ray-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ray-band .ray-actions .btn-primary { width: 100%; }
.ray-direct-lead { margin: 18px 0 8px; font-size: 14.5px; color: var(--faint); }
.ray-book-form { margin: 16px 0 0; padding: 16px 0 6px; border-top: 1px solid var(--line); }
.ray-book-form .field { max-width: 420px; }
.ray-book-form .btn { width: 100%; }
.consent { margin: 4px 0 16px; }
.ray-consent { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 6px 0; font-size: 15px; line-height: 1.5; }
.ray-consent input { margin-top: 2px; }
.consent-more { margin: 2px 0 0 34px; }
.consent-more summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; font-size: 14.5px; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.consent-more ul { margin: 0 0 6px; padding-left: 18px; font-size: 14.5px; color: var(--ink-soft); display: grid; gap: 4px; max-width: 56ch; }
@media (min-width: 560px) {
  .ray-band { padding: 28px 28px 24px; }
  .ray-band .ray-actions .btn-primary, .ray-book-form .btn { width: auto; }
}

/* continue explorando: lista, não cartões */
.feature-shelf { margin: 0 0 18px; }
.shelf-grid { border-top: 1px solid var(--line); max-width: 760px; }
.shelf-card {
  display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; width: 100%; text-align: left; align-items: start;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 2px; min-height: 64px;
  cursor: pointer; font: inherit; color: inherit; border-radius: 0;
}
.shelf-card:hover .shelf-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-soft); }
.shelf-glyph { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.1; text-align: center; }
.shelf-name { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.shelf-desc { display: block; font-size: 15px; color: var(--faint); line-height: 1.5; }

/* abas técnicas */
.table-scroll { overflow-x: auto; }
.pos-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pos-table th { text-align: left; font-size: 13px; color: var(--faint); font-weight: 600; padding: 8px; border-bottom: 1.5px solid var(--line); }
.pos-table td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); }
.pos-table tr:last-child td { border-bottom: none; }
.pt-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pt-glyph, .pt-sign-glyph { font-family: var(--serif); font-size: 18px; }
.pt-retro { color: var(--red); font-family: var(--serif); }
.urania-aspgrid { border-collapse: collapse; font-family: var(--serif); }
.urania-aspgrid td, .urania-aspgrid th { width: 32px; height: 32px; text-align: center; border: 1px solid var(--line-2); padding: 0; }
.urania-aspgrid .sel-ag-h { background: var(--cream-2); font-size: 16px; color: var(--ink); }
.urania-aspgrid .sel-ag-diag { background: var(--cream); font-size: 16px; color: var(--ink); }
.urania-aspgrid .sel-ag-c { font-size: 13px; vertical-align: middle; }
.urania-aspgrid .sel-ag-empty { background: #fff; }
.urania-aspgrid .sel-ag-glyph { display: block; font-size: 14px; line-height: 1; }
.urania-aspgrid .sel-ag-orb { display: block; font-family: var(--mono); font-size: 8px; color: var(--faint); line-height: 1; }
.urania-aspgrid .sel-ag--harmonious { color: var(--green); }
.urania-aspgrid .sel-ag--dynamic { color: var(--red); }
.urania-aspgrid .sel-ag--neutral { color: #5E5496; }
.urania-aspgrid .sel-ag--minor { color: #8A6B12; }
.aspgrid-mount { overflow-x: auto; }
#synForm { margin-top: 14px; }
#synForm .field { margin-top: 12px; }
.syn-wheels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 720px) { .syn-wheels { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr; } }
.syn-fig { margin: 0; text-align: center; }
.syn-fig svg { max-width: 100%; height: auto; }
.syn-cap { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--faint); margin-bottom: 6px; }
.urania-syngrid { overflow-x: auto; display: block; }
#srWheel svg, #pgWheel svg { max-width: 100%; height: auto; }
#srResult .btn, #pgResult .btn { margin-top: 14px; width: auto; }

/* ---------------------------------------------------------------- o que mais o Urania faz */
.caps { margin: 56px auto 8px; }
.caps-head { margin: 0 0 18px; max-width: 62ch; }
.caps-title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 6vw, 34px); color: var(--ink); margin: 0 0 8px; line-height: 1.12; }
.caps-sub { font-size: 16px; color: var(--faint); line-height: 1.55; margin: 0; }
.caps-grid { display: grid; grid-template-columns: 1fr; gap: 0 48px; }
@media (min-width: 760px) { .caps-grid { grid-template-columns: 1fr 1fr; } }
.caps-card {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: start; text-align: left;
  background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0 16px;
  cursor: pointer; font: inherit; color: inherit; text-decoration: none; min-height: 72px; align-content: start;
}
.caps-card:hover .caps-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-soft); }
.caps-glyph { grid-row: 1 / span 2; font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1.1; text-align: center; }
.caps-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.caps-desc { font-size: 15px; color: var(--faint); line-height: 1.5; max-width: 52ch; }
.caps-hero {
  position: relative; background: var(--ink); border: 0; border-radius: 14px; padding: 18px 18px 18px; margin: 0 0 6px;
}
@media (min-width: 760px) { .caps-hero { grid-column: 1 / -1; } }
.caps-hero .caps-name { color: #FBF8F1; }
.caps-hero .caps-desc { color: #D9D2C2; }
.caps-hero .caps-glyph { color: var(--gold-soft); }
.caps-hero:hover { background: #26354C; }
.caps-badge {
  grid-column: 2; justify-self: start; order: -1; font-size: 12.5px; font-weight: 600; color: #14202F;
  background: var(--gold-soft); border-radius: 999px; padding: 1px 10px; margin-bottom: 4px;
}
.caps-hero .caps-glyph { grid-row: 1 / span 3; }
.caps-cta { display: flex; width: auto; min-width: 260px; margin: 26px 0 0; }

.disc-card { margin-top: 40px; padding: 20px 0 6px; border-top: 1px solid var(--line); }
.disc-card .card-note { font-size: 15.5px; margin: 0; max-width: 66ch; }

/* ---------------------------------------------------------------- overlay da roda (zoom nativo) */
.wheel-overlay {
  position: fixed; inset: 0; z-index: 1000; background: var(--night);
  display: flex; align-items: center; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; padding: 24px;
  overscroll-behavior: contain;
}
.wheel-overlay-stage { touch-action: pinch-zoom; }
.wheel-overlay-stage svg { display: block; max-width: none; height: auto; }
.wheel-overlay-close {
  position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); z-index: 1001; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(10,16,29,.92); color: #EDE7D8; border: 1px solid rgba(201,168,75,.55); font-size: 22px; line-height: 1; cursor: pointer;
}
.wheel-overlay-close:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

/* ---------------------------------------------------------------- impressão: versão de dia */
@media print {
  .ct-topbar, .ct-footer, .fold, .caps, .disc-card, .stage-actions, .explain, .tabs, .ray-band, .feature-shelf,
  .planet-chips, .btn-expand, .wheel-overlay, .read-on, .wheel-hint, .notice { display: none !important; }
  body { background: #fff; }
  .stage { background: #fff; color: #000; padding: 0; }
  .stage-title, .b3-sign { color: #000; } .stage-meta, .b3-label, .b3-desc { color: #333; }
  .b3-glyph { color: var(--gold); }
  .stage-in { grid-template-columns: 1fr; grid-template-areas: "head" "wheel" "read"; }
  .wheel-mount svg { filter: none; }
  .tabpane.hidden { display: block !important; }
  .tabpane { break-inside: avoid; margin-bottom: 18px; }
}

/* ---- Céu de agora (aba) ---- */
.pos-scroll { overflow-x: auto; margin: 0 0 18px; }
#skyWheel { display: flex; justify-content: center; margin: 8px 0 20px; }
.sky-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.sky-item, .sky-quiet { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; color: var(--ink-soft); }
.sky-quiet { color: var(--faint); }
.sky-item b { color: var(--ink); }
.sky-item .si-glyph { font-size: 19px; color: var(--aspect, var(--gold)); flex: none; width: 22px; text-align: center; }
.sky-item .si-text { flex: 1; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.sky-item .si-asp { color: var(--aspect, var(--gold)); font-weight: 600; }
.sky-item .si-orb { color: var(--faint); font-size: 13px; flex: none; }
.sky-item.cls-harmonious { --aspect: #2F7D5B; }
.sky-item.cls-dynamic { --aspect: #B23A48; }
.sky-item.cls-neutral { --aspect: #6B5FA3; }
.sky-item.cls-minor { --aspect: #8A6A1E; }
@media print { #skyWheel { break-inside: avoid; } }
