/* One-column result, processing, payment status and legal pages. */

html.result-page-root,
html.legal-page-root {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.result-page-body {
  height: auto !important;
  min-height: 100%;
  overflow-x: clip !important;
  overflow-y: clip !important;
}

.page--result {
  --result-text: rgba(244, 238, 226, 0.9);
  --result-line: rgba(216, 174, 103, 0.28);
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
}

.page--result .checkout-hero {
  align-items: flex-start;
  max-width: 100%;
  min-height: auto;
  padding-top: clamp(96px, 12vh, 136px);
  padding-bottom: clamp(46px, 8vh, 82px);
}

.page--result .checkout-content {
  width: min(920px, calc(100vw - 40px));
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page--result .checkout-content::before,
.page--result .checkout-content::after {
  display: none;
}

.result-stack,
.legal-layout,
.result-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: clamp(24px, 4vw, 42px);
  width: 100%;
}

.result-layout .checkout-copy,
.legal-layout .checkout-copy,
.result-copy {
  max-width: 760px;
}

.result-layout .checkout-copy h1,
.legal-layout .checkout-copy h1,
.result-copy h1 {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.98;
}

.result-summary,
.order-summary.result-summary {
  max-width: 620px;
}

.result-shell,
.legal-document,
.result-reading {
  width: 100%;
  min-width: 0;
  color: var(--result-text);
  font-family: "Montserrat", Inter, system-ui, sans-serif;
  line-height: 1.68;
}

.result-shell--reading,
.result-shell--status,
.result-shell--legal,
.legal-document,
.result-reading {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.result-shell--status {
  display: grid;
  gap: 22px;
}

.result-shell--legal,
.legal-document {
  max-height: none;
  overflow: visible;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 14px;
  margin: 0;
}

.result-cards-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.result-cards-panel[hidden],
.result-cards[hidden] {
  display: none !important;
}

.result-cards-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 174, 103, 0.2);
}

.result-cards-title {
  font-size: clamp(26px, 2.6vw, 34px);
}

.result-cards-toggle {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 38px;
  padding: 4px 16px 4px 5px;
  border: 1px solid rgba(216, 174, 103, 0.36);
  border-radius: 999px;
  background: rgba(244, 238, 226, 0.045);
  color: rgba(244, 238, 226, 0.74);
  font-family: "Montserrat", "Montserrat Fallback", Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.result-cards-toggle.is-active {
  background: rgba(216, 174, 103, 0.14);
  color: var(--gold);
}

.result-cards-toggle__knob {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(216, 174, 103, 0.72);
  box-shadow: 0 0 0 1px rgba(216, 174, 103, 0.28);
}

.result-cards-toggle.is-active .result-cards-toggle__knob {
  background: rgba(216, 174, 103, 0.96);
  box-shadow: 0 0 18px rgba(216, 174, 103, 0.26);
}

.result-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(216, 174, 103, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 907 / 1600;
  object-fit: cover;
  border-radius: 6px;
}

.result-card.is-reversed img {
  transform: rotate(180deg);
}

.result-card strong,
.result-card span {
  display: block;
  margin-top: 9px;
  color: rgba(244, 238, 226, 0.82);
  font-size: 11px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.result-card strong {
  color: rgba(216, 174, 103, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-output,
.legal-output {
  display: grid;
  gap: 22px;
  min-width: 0;
  color: rgba(244, 238, 226, 0.9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.78;
}

.reading-section {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 174, 103, 0.2);
}

.result-interpretation .reading-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.reading-output h2,
.reading-output h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Forum", "Alice", serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.reading-output h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.reading-output h3 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.reading-output p,
.legal-output p {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-output {
  white-space: normal;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

.result-actions--mobile {
  display: none;
}

.result-primary-btn {
  --morph-btn-size: 160px;
  width: var(--morph-btn-size);
  height: var(--morph-btn-size);
  color: var(--ink);
  text-decoration: none;
}

.result-primary-btn.is-disabled {
  pointer-events: none;
  opacity: 0.42;
}

.result-primary-btn .morph-btn__text {
  padding-inline: 14px;
  font-size: 11px;
  line-height: 1.22;
  letter-spacing: 0.13em;
}

.result-note {
  max-width: 560px;
  margin: 0;
  color: rgba(244, 238, 226, 0.74);
  font-size: 15px;
  line-height: 1.72;
}

.result-status {
  min-height: 1.4em;
  color: rgba(180, 210, 180, 0.86);
}

.result-status--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.result-order-number {
  margin: 0;
  color: rgba(244, 238, 226, 0.62);
  font-family: "Montserrat", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.result-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 18px;
}

.result-meta-summary {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
}

.result-meta-summary--order {
  justify-items: end;
  text-align: right;
}

.result-meta-summary--order .result-meta-badge {
  justify-self: end;
}

.result-meta-badge {
  justify-self: start;
  max-width: 100%;
  padding: 8px 20px;
  border: 1px solid rgba(216, 174, 103, 0.35);
  border-radius: 100px;
  background: rgba(216, 174, 103, 0.06);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(4px);
}

.result-spread-meta {
  max-width: 100%;
  color: rgba(244, 238, 226, 0.74);
  font-family: "Montserrat", Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.result-subtitle {
  margin-top: 16px;
}

.result-section-title {
  margin: 0;
  color: var(--ink);
  font-family: "Forum", "Alice", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.result-interpretation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 174, 103, 0.2);
}

.result-view-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(216, 174, 103, 0.28);
  border-radius: 999px;
  background: rgba(244, 238, 226, 0.045);
}

.result-view-btn {
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 238, 226, 0.66);
  font-family: "Montserrat", "Montserrat Fallback", Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.result-view-btn.is-active {
  background: rgba(216, 174, 103, 0.9);
  color: #08090b;
}

.result-view-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.result-question-block,
.result-interpretation {
  display: grid;
  width: 100%;
  gap: 14px;
  text-align: left;
}

.result-question-block p {
  margin: 0;
  color: rgba(244, 238, 226, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.result-slides {
  display: grid;
  gap: 18px;
}

.result-slides[hidden],
.reading-output[hidden] {
  display: none !important;
}

.result-slide-stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.result-slide {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  min-height: 360px;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(216, 174, 103, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 174, 103, 0.13), transparent 34%),
    rgba(244, 238, 226, 0.035);
}

.result-slide[hidden] {
  display: none !important;
}

.result-slide-visual {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.result-slide-visual img {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 907 / 1600;
  object-fit: cover;
  border: 1px solid rgba(216, 174, 103, 0.35);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  -webkit-user-drag: none;
  user-select: none;
}

.result-slide-visual img.is-reversed {
  transform: rotate(180deg);
}

.result-slide-visual figcaption,
.result-slide-section,
.result-slide-count {
  color: rgba(216, 174, 103, 0.78);
  font-family: "Montserrat", Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.result-slide-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  text-align: left;
}

.result-slide-count {
  text-align: left;
}

.result-slide-section {
  color: rgba(244, 238, 226, 0.54);
  text-align: left;
}

.result-slide-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Forum", "Alice", serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.03em;
}

.result-slide-copy p {
  margin: 0;
  color: rgba(244, 238, 226, 0.9);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.74;
  overflow-wrap: anywhere;
}

.result-slide-nav,
.result-slide-dot {
  border: 1px solid rgba(216, 174, 103, 0.36);
  background: rgba(244, 238, 226, 0.045);
  color: var(--ink);
  cursor: pointer;
}

.result-slide-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: "Forum", "Alice", serif;
  font-size: 34px;
  line-height: 1;
}

.result-slide-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.result-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.result-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
}

.result-slide-dot.is-active {
  background: rgba(216, 174, 103, 0.9);
}

.result-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(216, 174, 103, 0.48);
  border-radius: 999px;
  background: rgba(216, 174, 103, 0.12);
  color: var(--ink);
  font-family: "Montserrat", Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer !important;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.result-action-btn:hover {
  border-color: rgba(216, 174, 103, 0.78);
  background: rgba(216, 174, 103, 0.2);
  color: var(--gold);
}

.result-action-btn.is-disabled {
  pointer-events: none;
  opacity: 0.42;
}

body.reading-result-page .result-action-primary {
  min-height: 46px;
  padding: 0 28px;
  border-color: rgba(216, 174, 103, 0.95);
  background: var(--gold);
  color: #08090b;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.24),
    0 0 26px rgba(216, 174, 103, 0.18);
}

body.reading-result-page .result-action-primary:hover {
  border-color: rgba(244, 238, 226, 0.72);
  background: #f0cb83;
  color: #08090b;
}

body.reading-result-page .result-action-link {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 238, 226, 0.78);
  box-shadow: none;
  text-decoration-line: underline;
  text-decoration-color: rgba(216, 174, 103, 0.72);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.36em;
}

body.reading-result-page .result-action-link:hover {
  border: 0;
  background: transparent;
  color: var(--gold);
  text-decoration-color: currentColor;
}

body.reading-result-page .result-action-link:focus-visible,
body.reading-result-page .result-action-primary:focus-visible {
  outline: 2px solid rgba(244, 238, 226, 0.72);
  outline-offset: 4px;
}

.legal-back {
  align-self: flex-start;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(216, 174, 103, 0.52);
  border-radius: 999px;
  background: rgba(216, 174, 103, 0.15);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
}

.legal-back:hover {
  border-color: rgba(216, 174, 103, 0.8);
  background: rgba(216, 174, 103, 0.24);
  color: var(--gold);
}

body[data-legal-slug="personal-data"] .legal-layout .checkout-copy,
body[data-legal-slug="personal-data"] .legal-layout .checkout-copy h1 {
  max-width: 100%;
}

body.oracle-unavailable-page .result-stack,
body.payment-status-page .result-stack {
  justify-items: center;
}

body.oracle-unavailable-page .result-copy,
body.payment-status-page .result-copy {
  align-items: center;
  text-align: center;
  max-width: 100%;
  padding-top: 50px;
}

body.oracle-unavailable-page .result-copy h1,
body.payment-status-page .result-copy h1 {
  max-width: 100%;
}

body.oracle-unavailable-page .result-copy .eyebrow,
body.payment-status-page .result-copy .eyebrow {
  align-self: center;
}

body.oracle-unavailable-page .result-copy .result-actions,
body.payment-status-page .result-copy .result-actions {
  justify-content: center;
}

body.oracle-unavailable-page .result-copy .result-actions,
body.payment-status-page .result-copy .result-actions {
  margin-top: 22px;
}

body.oracle-unavailable-page .result-copy .eyebrow,
body.payment-status-page .result-copy .eyebrow {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  body.oracle-unavailable-page .page--checkout,
  body.oracle-unavailable-page .page--checkout > .page-content,
  body.oracle-unavailable-page .page--result,
  body.payment-status-page .page--checkout,
  body.payment-status-page .page--checkout > .page-content,
  body.payment-status-page .page--result {
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.oracle-unavailable-page .page--result .checkout-hero,
  body.payment-status-page .page--result .checkout-hero {
    flex: 0 0 auto;
    height: 100svh;
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 78px;
    padding-bottom: 0;
  }

  body.oracle-unavailable-page .result-copy .checkout-lead,
  body.payment-status-page .result-copy .checkout-lead,
  body.oracle-unavailable-page .result-copy .result-note,
  body.payment-status-page .result-copy .result-note {
    margin-top: 14px;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 900px) {
    body.oracle-unavailable-page .page--checkout,
    body.oracle-unavailable-page .page--checkout > .page-content,
    body.oracle-unavailable-page .page--result,
    body.oracle-unavailable-page .page--result .checkout-hero,
    body.payment-status-page .page--checkout,
    body.payment-status-page .page--checkout > .page-content,
    body.payment-status-page .page--result,
    body.payment-status-page .page--result .checkout-hero {
      height: 100dvh;
      min-height: 100dvh;
    }
  }
}

.oracle-loader {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 6px 0 4px;
  border-radius: 50%;
  filter: drop-shadow(0 0 34px rgba(216, 174, 103, 0.22));
}

.oracle-loader span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(216, 174, 103, 0.36);
  animation: oracleOrbit 4.8s linear infinite;
}

.oracle-loader span:nth-child(2) {
  inset: 16px;
  border-color: rgba(244, 238, 226, 0.28);
  animation-duration: 3.7s;
  animation-direction: reverse;
}

.oracle-loader span:nth-child(3) {
  inset: 42px;
  border: 0;
  background: radial-gradient(circle, rgba(244, 238, 226, 0.95), rgba(216, 174, 103, 0.22) 46%, transparent 68%);
  animation: oraclePulse 1.9s ease-in-out infinite;
}

.oracle-loader::before,
.oracle-loader::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border-top: 1px solid rgba(216, 174, 103, 0.78);
  border-bottom: 1px solid rgba(216, 174, 103, 0.12);
  animation: oracleOrbit 5.8s linear infinite;
}

.oracle-loader::after {
  inset: 8px;
  border-top-color: rgba(244, 238, 226, 0.36);
  transform: rotate(62deg);
  animation-duration: 7.2s;
  animation-direction: reverse;
}

@keyframes oracleOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes oraclePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes oracleGlint {
  0%,
  100% {
    opacity: 0.48;
    transform: translateX(-50%) scale(0.72);
  }

  42% {
    opacity: 1;
    transform: translateX(-50%) scale(1.28);
  }

  68% {
    opacity: 0.68;
    transform: translateX(-50%) scale(0.92);
  }
}

body.processing-page .page--result .checkout-hero,
body.reading-result-page .page--result .checkout-hero {
  align-items: center;
  justify-content: center;
  padding-top: 108px;
  padding-bottom: 56px;
}

body.reading-result-page .page--result {
  width: 100%;
  height: auto !important;
  min-height: 100svh;
  overflow: visible !important;
}

body.reading-result-page .page--checkout > .page-content {
  height: auto !important;
  min-height: auto;
  overflow: visible !important;
}

body.processing-page .checkout-content,
body.reading-result-page .checkout-content {
  width: min(1040px, calc(100vw - 48px));
}

body.processing-page .result-stack,
body.reading-result-page .result-stack {
  justify-items: center;
}

body.processing-page .checkout-content,
body.processing-page .result-stack,
body.processing-page .result-copy {
  overflow: visible;
}

body.processing-page .result-copy,
body.reading-result-page .result-copy {
  align-items: center;
  max-width: 940px;
  padding-top: 0;
  text-align: center;
}

body.processing-page .page--result {
  min-height: 100svh;
  overflow: hidden;
}

body.processing-page .page--checkout > .page-content {
  min-height: 100svh;
  overflow: visible;
}

body.reading-result-page .result-copy {
  margin-bottom: clamp(44px, 5vw, 72px);
}

body.processing-page .result-copy h1,
body.reading-result-page .result-copy h1 {
  max-width: 940px;
}

body.processing-page .checkout-lead,
body.reading-result-page .checkout-lead {
  max-width: 680px;
  margin-inline: auto;
}

body.processing-page .oracle-loader {
  width: min(350px, calc(100vw - 72px));
  height: min(350px, calc(100vw - 72px));
  flex: 0 0 auto;
  margin: 0 auto clamp(20px, 3vh, 34px);
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 245, 216, 0.24), rgba(216, 174, 103, 0.08) 18%, transparent 34%),
    conic-gradient(
      from 18deg,
      transparent 0deg,
      rgba(255, 238, 178, 0.72) 14deg,
      transparent 30deg,
      transparent 112deg,
      rgba(255, 168, 92, 0.48) 128deg,
      transparent 146deg,
      transparent 236deg,
      rgba(255, 248, 225, 0.54) 252deg,
      transparent 276deg,
      transparent 360deg
    );
  box-shadow:
    inset 0 0 42px rgba(255, 229, 151, 0.18),
    inset 0 0 110px rgba(255, 149, 72, 0.1);
  filter:
    drop-shadow(0 0 42px rgba(255, 222, 136, 0.5))
    drop-shadow(0 0 86px rgba(255, 142, 72, 0.28));
}

body.processing-page .oracle-loader span {
  border-color: rgba(255, 220, 132, 0.72);
  box-shadow:
    0 0 18px rgba(255, 221, 137, 0.36),
    inset 0 0 18px rgba(255, 221, 137, 0.12);
}

body.processing-page .oracle-loader span::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: clamp(8px, 3.2vw, 16px);
  height: clamp(8px, 3.2vw, 16px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 248, 1), rgba(255, 218, 116, 0.86) 42%, transparent 72%);
  box-shadow:
    0 0 16px rgba(255, 246, 208, 0.98),
    0 0 32px rgba(255, 185, 84, 0.78),
    0 0 58px rgba(255, 116, 62, 0.36);
  transform: translateX(-50%);
  animation: oracleGlint 1.8s ease-in-out infinite;
}

body.processing-page .oracle-loader span:nth-child(2),
body.reading-result-page .result-page-loader span:nth-child(2) {
  inset: 14%;
}

body.processing-page .oracle-loader span:nth-child(2) {
  border-color: rgba(255, 247, 223, 0.58);
}

body.processing-page .oracle-loader span:nth-child(2)::before {
  top: auto;
  right: -4px;
  bottom: 18%;
  left: auto;
  width: clamp(6px, 2.6vw, 13px);
  height: clamp(6px, 2.6vw, 13px);
  animation-delay: -0.55s;
}

body.processing-page .oracle-loader span:nth-child(3),
body.reading-result-page .result-page-loader span:nth-child(3) {
  inset: 39%;
}

body.processing-page .oracle-loader span:nth-child(3) {
  background:
    radial-gradient(circle, rgba(255, 255, 246, 1), rgba(255, 214, 113, 0.58) 42%, transparent 72%);
  box-shadow:
    0 0 24px rgba(255, 245, 210, 0.9),
    0 0 62px rgba(255, 173, 74, 0.42);
}

body.processing-page .oracle-loader::before,
body.reading-result-page .result-page-loader::before {
  inset: 24%;
}

body.processing-page .oracle-loader::before {
  border-top-color: rgba(255, 241, 194, 0.92);
  border-bottom-color: rgba(255, 166, 82, 0.26);
  box-shadow: 0 -10px 34px rgba(255, 206, 112, 0.28);
}

body.processing-page .oracle-loader::after,
body.reading-result-page .result-page-loader::after {
  inset: 7%;
}

body.processing-page .oracle-loader::after {
  border-top-color: rgba(255, 250, 232, 0.68);
  border-bottom-color: rgba(255, 145, 73, 0.18);
  box-shadow: 0 -14px 46px rgba(255, 235, 178, 0.22);
}

body.processing-page .result-order-number {
  margin-top: 12px;
}

body.processing-page .processing-rotating-message {
  min-height: 1.5em;
  margin: clamp(14px, 2vh, 20px) auto 0;
  color: rgba(233, 207, 137, 0.88);
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(0.78rem, 1.7vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 150ms ease;
}

body.processing-page .processing-rotating-message[hidden] {
  display: none !important;
}

body.processing-page .processing-rotating-message.is-fading {
  opacity: 0;
}

html.is-document-hidden body.processing-page .oracle-loader,
html.is-document-hidden body.processing-page .oracle-loader * {
  animation-play-state: paused !important;
}

body.processing-page.processing-visual-stopped .oracle-loader,
body.processing-page.processing-visual-stopped .oracle-loader * {
  animation: none !important;
}

body.processing-page .processing-payment {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(620px, 100%);
  margin: 20px auto 0;
}

body.processing-page .processing-payment[hidden] {
  display: none !important;
}

body.processing-page .processing-payment p {
  max-width: 560px;
  margin: 0;
  color: rgba(244, 238, 226, 0.72);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1.55;
}

body.processing-page .processing-payment__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 240px);
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(213, 174, 101, 0.72);
  border-radius: 999px;
  color: #f4e5bc;
  background: rgba(10, 9, 7, 0.52);
  box-shadow: 0 0 24px rgba(213, 174, 101, 0.16);
  font-family: var(--font-sans, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

body.processing-page .processing-payment__link:hover,
body.processing-page .processing-payment__link:focus-visible {
  color: #08131c;
  background: linear-gradient(135deg, #e9cf89, #b98b3e);
  outline: none;
}

body.reading-result-page .result-reading {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  gap: 0;
}

body.reading-result-page .result-meta-row {
  order: 1;
  max-width: 920px;
  margin-bottom: clamp(26px, 3vw, 44px);
}

body.reading-result-page .result-meta-row .result-order-number {
  justify-self: end;
  text-align: right;
}

body.reading-result-page .result-page-loader {
  order: 2;
  width: min(360px, 52vw);
  height: min(360px, 52vw);
  margin: 0 auto clamp(28px, 4vw, 56px);
  filter: drop-shadow(0 0 46px rgba(216, 174, 103, 0.22));
}

body.reading-result-page .result-page-loader.is-hidden {
  display: none;
}

body.reading-result-page .result-page-loader.is-hidden,
body.reading-result-page .result-page-loader.is-hidden span,
body.reading-result-page .result-page-loader.is-hidden span::before,
body.reading-result-page .result-page-loader.is-hidden::before,
body.reading-result-page .result-page-loader.is-hidden::after {
  animation: none !important;
}

body.reading-result-page .result-copy {
  order: 3;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(124px, 10vw, 176px);
}

body.reading-result-page .result-cards-panel {
  order: 4;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin-top: 0;
  margin-bottom: clamp(32px, 4vw, 52px);
}

body.reading-result-page .result-cards {
  grid-template-columns: repeat(auto-fit, minmax(112px, 150px));
  justify-content: center;
}

body.reading-result-page .result-cards-panel[hidden],
body.reading-result-page .result-cards:empty {
  display: none;
}

body.reading-result-page .result-question-block,
body.reading-result-page .result-interpretation {
  max-width: 920px;
}

body.reading-result-page .result-question-block {
  order: 5;
  margin-top: 0;
}

body.reading-result-page .result-cards-panel:not([hidden]) + .result-question-block {
  margin-top: 0;
}

body.reading-result-page .result-interpretation {
  order: 6;
  margin-top: clamp(28px, 4vw, 48px);
}

body.reading-result-page .result-actions {
  order: 7;
  justify-content: center;
  margin-top: clamp(30px, 4vw, 52px);
}

@media (max-width: 900px) {
  .page--result .checkout-hero {
    padding-top: clamp(78px, 11vh, 112px);
  }

  .page--result .checkout-content {
    width: min(100%, calc(100vw - 28px));
  }

  .result-layout .checkout-copy h1,
  .legal-layout .checkout-copy h1,
  .result-copy h1 {
    font-size: clamp(32px, 8vw, 52px);
  }

  .result-actions {
    justify-content: center;
  }

  .result-interpretation-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-view-switcher {
    width: 100%;
  }

  .result-view-btn {
    flex: 1 1 0;
  }

  .result-slide-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-slide {
    order: 1;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .result-slide-visual img {
    width: min(190px, 58vw);
  }

  .result-slide-nav {
    order: 2;
  }

  .result-slide-nav--prev {
    justify-self: start;
  }

  .result-slide-nav--next {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  body.oracle-unavailable-page .page--result .checkout-hero,
  body.payment-status-page .page--result .checkout-hero {
    padding-top: 78px !important;
    padding-bottom: 0 !important;
  }

  body.oracle-unavailable-page .result-actions,
  body.payment-status-page .result-actions {
    margin-top: 24px;
  }
}

@media (max-width: 540px) {
  .result-cards-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-cards-toggle {
    width: 100%;
    justify-content: space-between;
    padding-right: 14px;
  }

  .result-cards {
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 10px;
  }

  .result-card {
    padding: 8px;
  }

  .reading-output,
  .legal-output,
  .result-note {
    font-size: 14px;
    line-height: 1.68;
  }

  .reading-output h2,
  .reading-output h3 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .result-question-block p {
    font-size: 14px;
    line-height: 1.68;
  }

  .result-primary-btn {
    --morph-btn-size: 132px;
  }

  .oracle-loader {
    width: 96px;
    height: 96px;
  }

  body.oracle-unavailable-page .page--result .checkout-hero,
  body.payment-status-page .page--result .checkout-hero {
    padding-top: 70px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  body.processing-page .page--result .checkout-hero,
  body.reading-result-page .page--result .checkout-hero {
    min-height: 100svh;
    padding: calc(74px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  }

  body.processing-page .checkout-content,
  body.reading-result-page .checkout-content {
    width: min(100%, calc(100vw - 28px));
  }

  body.processing-page .oracle-loader {
    width: min(224px, 68vw, 40svh);
    height: min(224px, 68vw, 40svh);
    margin-top: 14px;
    margin-bottom: 20px;
  }

  body.reading-result-page .result-page-loader {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
  }

  body.reading-result-page .result-meta-row {
    gap: 12px;
  }

  body.reading-result-page .result-cards {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    justify-content: stretch;
  }

  body.reading-result-page .result-actions {
    align-items: center;
  }
}

@media (max-width: 540px) {
  body.processing-page .page--result .checkout-hero,
  body.reading-result-page .page--result .checkout-hero {
    padding-top: calc(66px + env(safe-area-inset-top));
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  body.processing-page .oracle-loader {
    width: min(176px, 62vw, 34svh);
    height: min(176px, 62vw, 34svh);
    margin-top: 16px;
    margin-bottom: 18px;
  }

  body.reading-result-page .result-page-loader {
    width: min(230px, 68vw);
    height: min(230px, 68vw);
  }

  body.reading-result-page .result-meta-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .result-meta-summary {
    justify-items: center;
  }

  .result-meta-summary--order {
    justify-items: center;
    text-align: center;
  }

  .result-meta-summary--order .result-meta-badge {
    justify-self: center;
  }

  .result-meta-badge,
  .result-spread-meta,
  body.reading-result-page .result-meta-row .result-order-number {
    justify-self: center;
    text-align: center;
  }

  .result-meta-badge {
    padding: 6px 12px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .result-order-number {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .result-spread-meta {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .result-section-title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .result-slide {
    padding: 14px;
  }

  .result-slide-copy h3 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .result-slide-copy p {
    font-size: 14px;
    line-height: 1.66;
  }

  body.reading-result-page .result-actions {
    flex-direction: column;
    gap: 12px;
  }

  .result-action-btn {
    width: min(100%, 280px);
    min-height: 42px;
    padding: 0 16px;
    font-size: 10px;
    text-align: center;
  }

  body.reading-result-page .result-action-link {
    width: auto;
    min-height: auto;
    padding: 4px 0;
  }

  body.reading-result-page .result-action-primary {
    width: min(100%, 320px);
    min-height: 46px;
    padding: 0 20px;
  }
}

/* Status pages share one low-cost CTA, identical in every performance tier. */
body.result-page-body .status-standard-cta {
  --morph-btn-size: auto;
  width: clamp(172px, 16vw, 232px);
  height: 58px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid rgba(216, 174, 103, 0.46);
  border-radius: 14px;
  background: rgba(7, 9, 14, 0.72);
  color: #f4eee2;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(216, 174, 103, 0.14);
}

body.result-page-body .status-standard-cta::before {
  inset: -14px;
  border-radius: 18px;
  background: rgba(216, 174, 103, 0.1);
  filter: blur(18px);
}

html body.result-page-body .status-standard-cta::after {
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(244, 238, 226, 0.035), rgba(0, 0, 0, 0.18));
  opacity: 1;
}

body.result-page-body .status-standard-cta .morph-btn__canvas {
  display: none !important;
}

body.result-page-body .status-standard-cta .morph-btn__text {
  width: auto;
  min-height: auto;
  padding: 0;
  flex-direction: row;
  font-size: 12px;
  line-height: 1.12;
  letter-spacing: 0.1em;
  transform: none;
}

@media (max-width: 900px) {
  body.result-page-body .status-standard-cta {
    width: min(200px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 540px) and (max-height: 740px) {
  body.processing-page .page--result .checkout-hero {
    padding-top: calc(58px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  body.processing-page .oracle-loader {
    width: min(150px, 56vw, 30svh);
    height: min(150px, 56vw, 30svh);
    margin-top: 18px;
    margin-bottom: 14px;
  }

  body.processing-page .result-copy h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oracle-loader,
  .oracle-loader span,
  .oracle-loader span::before,
  .oracle-loader::before,
  .oracle-loader::after {
    animation: none;
  }

  body.processing-page .processing-rotating-message {
    transition: none;
  }
}
