  html {
    scroll-behavior: smooth;
}

#provider-directory {
    scroll-margin-top: 40px;
}
  


  body.sponsor-page {
    min-height: 100vh;
    padding-top: 72px;
    background: radial-gradient(circle at top, rgba(40, 230, 255, .16), transparent 34%), #060812;
    color: #eefcff;
    overflow-x: hidden;
  }

  .mqr-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(180deg, rgba(6, 6, 15, .50), rgba(10, 10, 28, .22));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 34px rgba(0,0,0,.42), 0 0 30px rgba(139,92,246,.12);
  }
  .mqr-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .mqr-navbar .navbar-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(190,140,255,.65);
  }
  .mqr-navbar .navbar-nav {
    gap: .35rem;
  }
  .mqr-navbar .nav-link {
    color: rgba(255,255,255,.76);
    font-size: .92rem;
  }
  .mqr-navbar .nav-link:hover,
  .mqr-navbar .nav-link:focus {
    color: #fff;
  }
  .mqr-top-btn {
    color: #fff;
    text-decoration: none;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 0 20px rgba(236,72,153,.35);
    font-size: .9rem;
    border: 0;
  }
  .mqr-top-btn:hover,
  .mqr-top-btn:focus {
    color: #fff;
    filter: brightness(1.08);
  }
  .navbar-toggler {
    border-color: rgba(255,255,255,.2);
  }
  @media (max-width: 991.98px) {
    body.sponsor-page { padding-top: 66px; }
    .mqr-navbar .navbar-collapse {
      margin-top: .75rem;
      padding: .75rem;
      border-radius: 18px;
      background: rgba(7, 12, 26, .94);
      border: 1px solid rgba(255,255,255,.12);
    }
    .mqr-navbar .navbar-nav {
      gap: .1rem;
      margin-bottom: .75rem;
    }
    .mqr-top-btn {
      display: inline-flex;
      justify-content: center;
      width: 100%;
    }
  }

  #sponsor-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  #sponsor-particles canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }
  .sponsor-wrap { position: relative; z-index: 1; }
  
  .sponsor-card {
    background: rgba(7, 12, 26, .78);
    border: 1px solid rgba(108, 243, 255, .25);
    box-shadow: 0 0 40px rgba(0, 210, 255, .12), inset 0 0 22px rgba(255,255,255,.03);
    backdrop-filter: blur(12px);
    border-radius: 28px;
  }
  .sponsor-photo {
    width: 268px;
    height: 268px;
    object-fit: cover;
    border-radius: 50%;
    border: 0px solid rgba(120, 245, 255, .72);
    box-shadow: 0 0 30px rgba(0, 230, 255, .35), 0 0 80px rgba(125, 80, 255, .18);
    animation: floatSponsor 4.2s ease-in-out infinite;
    background: rgba(255,255,255,.08);
  }
  @keyframes floatSponsor {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
  }
  .magic-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 12px;
    max-width: 360px;
    margin-inline: auto;
    touch-action: none;
    user-select: none;
  }
  .magic-tile {
    aspect-ratio: 1;
    border-radius: 20px;
    border: 1px solid rgba(120, 245, 255, .38);
    color: #090909;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(0, 218, 255, .12);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .magic-tile.active {
    transform: scale(.94) rotate(2deg);
    border-color: rgba(255, 210, 95, .95);
    box-shadow: 0 0 28px rgba(255, 210, 95, .35), 0 0 48px rgba(0, 235, 255, .22);
  }
  .selection-pill {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
  }
  .btn-sponsor-action { white-space: normal; }
  
  .brand-subtitle{
	margin-top:-5px; 
    display:block;
    font-size:.8rem;
    opacity:.8;
    color:#c8a2ff;
  }
  
  .journey-group-title{
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin:.5rem 0 .65rem;
}

.journey-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.75rem;
}

@media(min-width:768px){
  .journey-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

.journey-card{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:18px;
  padding:1rem .75rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  transition:.2s ease;
}

.journey-card:hover,
.journey-card.active{
  border-color:rgba(199,162,255,.85);
  background:rgba(150,90,255,.18);
  box-shadow:0 0 24px rgba(180,120,255,.25);
}

.journey-icon{
  font-size:1.4rem;
}

.natal-fields{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:1rem;
}

.natal-fields .form-control{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}

.natal-fields .form-control::placeholder{
  color:rgba(255,255,255,.45);
}
.journey-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
}

.journey-btn{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.05);
  color:#fff;
  border-radius:999px;
  padding:.45rem .9rem;
  font-size:.85rem;
}

.journey-btn.active{
  background:rgba(180,120,255,.25);
  border-color:#c8a2ff;
}

.dropdown{
  position:relative;
  z-index:5000;
}

.dropdown-menu{
  z-index:6000;
}

#sponsor-particles{
  pointer-events:none;
}

.journey-picker{
  position:relative;
  z-index:5000;
}

.journey-picker .dropdown-menu{
  z-index:6000;
  min-width:220px;
}

.swirl-panel{
  text-align:center;
  margin-top:1.5rem;
}

.current-mode{
  display:inline-block;
  margin-bottom:1rem;
  padding:.4rem 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.9);
  font-size:.9rem;
}

.magic-squares{
  width:min(320px, 88vw);
  height:min(320px, 88vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:.65rem;
  touch-action:none;
}

.magic-tile{
  border:1px solid rgba(255,255,255,.18);
  border-radius:22px;
  background: #0b0f1a;
  box-shadow:0 0 24px rgba(180,120,255,.22);
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}


.magic-tile.swirling{
  transform:scale(1.08) rotate(8deg);
  filter:brightness(1.35);
  box-shadow:0 0 36px rgba(255,255,255,.45);
}

.magic-tile.selected{
  transform:scale(.96);
  outline:2px solid rgba(255,255,255,.8);
}

.reveal-card{
  margin:1rem auto 0;
  display:inline-block;
  padding:.7rem 1.2rem;
  border-radius:18px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:1.1rem;
}



.history-title{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.55);
  margin-bottom:.6rem;
}



.swirl-wrap{
 
  width:min(320px, 88vw);
  margin:0 auto;
}

.history-rail{
  position: absolute;
  top: 80px;
  right: -100px;
  width: 70px;

  padding: .75rem .5rem;
  border-radius: 18px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);

  z-index: 10;
}

.magic-wrapper{
  position: relative;
}

.swirl-panel,
.magic-wrapper{
  overflow: visible;
}

.mqr-card {
  width: 100%;
  height: 460px;
  perspective: 1200px;
  position: relative;
}

.mqr-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.mqr-card.flipped .mqr-card-inner {
  transform: rotateY(180deg);
}

.mqr-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.mqr-front {
  transform: rotateY(0deg);
}

.mqr-back {
  transform: rotateY(180deg);
}



.card-back {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-result-img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

#resultTitle {
  
  font-weight: 700;
}

#resultJourney,
#resultNumber {
  color: rgba(255,255,255,0.65);
}





#astralMode input {
  width: 70%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  margin-bottom: 12px;
}

#astralMode button {
  width: 70%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #222;
  color: #fff;
  font-weight: 600;
}

#astralMode input[type="date"],
#astralMode input[type="time"] {
  width: 70%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  box-sizing: border-box;
}

#astralMode input[type="date"]::-webkit-calendar-picker-indicator,
#astralMode input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
  cursor: pointer;
}

.history-title button {
  font-size: 12px;
  padding: 4px 10px;
  opacity: 0.5;
  
  position: absolute;
  top: -40px;
  left: 1px;
}

.history-title button:hover {
  opacity: 1;
}

.debug-text{
  position: absolute;
  top: -76px;
  left: 4px;
	
}

.magic-tile {
  transition: transform 0.08s ease, filter 0.08s ease, box-shadow 0.08s ease;
}

.magic-stage {
  width: 100%;
  height:100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#magicCanvas {
  display: block;
  /* Width and height will be set dynamically via JS */
}

.stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hint {
  opacity: 0.6;
  font-size: 12px;
  padding-bottom: 12px;
}

.storefront-section {
  max-width: 1120px;
  margin: 0 auto;
}
.storefront-card {
  position: relative;
  height: 100%;
  border: 1px solid rgba(120, 255, 235, .22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  overflow: hidden;
}

.

.storefront-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(200,100,100,.16), transparent 42%);
  pointer-events: none;
}


.storefront-card-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}
.storefront-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(100,100,100,.12);
  color: #7c4dff;
  font-size: 1.35rem;
  border: 1px solid rgba(127,255,234,.25);
}
.storefront-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.storefront-muted {
  color: rgba(255,255,255,.72);
}
.storefront-card .btn {
  border-radius: 999px;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-price {
  color: #64ffe3;
  font-weight: 700;
  font-size: 1.1rem;
}

.product-features {
  padding-left: 1.1rem;
}

.product-features li {
  margin-bottom: 0.35rem;
}

#magicCanvas,
.magic-stage {
  touch-action: none;
  overscroll-behavior: contain;
}

#journeyDropdown{
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

#journeyDropdown::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:var(--journey-bg);
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;

    opacity:.50;           /* adjust to taste */
    z-index:-1;
    pointer-events:none;
}

.action-card .storefront-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.action-card .storefront-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.action-card .action-btn {
    margin-top: auto;
}
.reading-setup {
  max-width: 760px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(7, 15, 28, 0.72);
}

.reading-setup .form-control,
.reading-setup .form-select {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.reading-setup .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.reading-setup .form-select:disabled {
  color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.04);
}

.spread-summary {
  padding: 0.85rem 1rem;
  border-left: 3px solid #35d6e8;
  background: rgba(53, 214, 232, 0.08);
}

.review-card-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) 2fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.review-card-row:last-child {
  border-bottom: 0;
}

.review-card-row.is-selected {
  margin-inline: -0.5rem;
  padding-inline: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(53, 214, 232, 0.1);
}

.review-spread-wrap {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
}

.review-spread-canvas {
  position: relative;
  width: 100%;
  min-width: 420px;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background:
    radial-gradient(circle at center, rgba(53, 214, 232, 0.12), transparent 58%),
    rgba(7, 15, 28, 0.82);
}

.review-spread-card {
  position: absolute;
  aspect-ratio: 11 / 18;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0.4rem;
  background: #17131f;
  box-shadow: 0 0.45rem 1.1rem rgba(0, 0, 0, 0.48);
  transform-origin: center;
  transition: box-shadow 0.18s ease, filter 0.18s ease;
}

.review-spread-card.is-selected {
  border-color: #35d6e8;
  box-shadow:
    0 0 0 3px rgba(53, 214, 232, 0.3),
    0 0.7rem 1.5rem rgba(0, 0, 0, 0.65);
  filter: brightness(1.08);
}

.review-spread-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.review-spread-index {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  color: #07101c;
  background: #35d6e8;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.45);
}

.review-spread-number {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 700;
}

.review-legend {
  margin: -0.25rem 0 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(7, 15, 28, 0.72);
}

.review-legend-label {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-legend-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.review-legend-button {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.review-legend-button:hover,
.review-legend-button:focus-visible,
.review-legend-button.is-selected {
  color: #07101c;
  border-color: #35d6e8;
  background: #35d6e8;
  outline: 0;
}

.review-legend-detail {
  min-height: 3.25rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  line-height: 1.45;
}

.reading-locked {
  opacity: 0.45;
  pointer-events: none;
}

#readingCardCount,
#readingSpread {
    color: #fff;
    background-color: #24202c;
    border-color: rgba(255, 255, 255, 0.35);
    color-scheme: dark;
}

#readingCardCount option,
#readingSpread option {
    color: #fff;
    background-color: #24202c;
}

#historyList {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#historyList .history-item {
    display: block;
    margin: 0;
    padding: .12rem 0;
    line-height: 1.1;
    border: 0;
    color: #fff;
    font-size: .9rem;
}

/* Space only between completed groups of three */
#historyList .history-item:nth-child(3n):not(:last-child) {
    margin-bottom: .8rem;
}

.process-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr) 2rem minmax(0, 1fr) 2rem minmax(0, 1.25fr);
	align-items: stretch;
	width: 100%;
	max-width: 1400px;
	margin: 1.5rem auto 2.25rem;
	text-align: left;
}

.process-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.15rem 1rem 1.25rem;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(108, 243, 255, .055));
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 22px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.process-stage:not(.process-stage-reveal) {
	justify-content: center;
}

.process-stage::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, rgba(108, 243, 255, .9), rgba(139, 92, 246, .45));
}

.process-stage-heading {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: 1rem;
}

.process-stage-number {
	display: inline-grid;
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border: 1px solid rgba(108, 243, 255, .55);
	border-radius: 50%;
	background: rgba(6, 8, 18, .42);
	color: #6cf3ff;
	font-weight: 800;
	box-shadow: 0 0 18px rgba(0, 218, 255, .16);
}

.process-stage-heading h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(.92rem, 1.25vw, 1.15rem);
	font-weight: 800;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.process-steps {
	display: grid;
	gap: .58rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: process-step;
}

.process-steps[start="5"] { counter-reset: process-step 4; }
.process-steps[start="9"] { counter-reset: process-step 8; }

.process-steps li {
	display: grid;
	grid-template-columns: 1.45rem 1.35rem minmax(0, 1fr);
	align-items: center;
	gap: .3rem;
	min-height: 2.15rem;
	color: rgba(238, 252, 255, .92);
	font-size: .84rem;
	line-height: 1.22;
	counter-increment: process-step;
}

.process-steps li::before {
	content: counter(process-step);
	display: grid;
	width: 1.35rem;
	height: 1.35rem;
	place-items: center;
	border-radius: 50%;
	background: rgba(108, 243, 255, .1);
	color: rgba(238, 252, 255, .7);
	font-size: .66rem;
	font-weight: 700;
}

.process-steps i,
.reveal-option > i {
	color: #6cf3ff;
	font-size: 1rem;
	text-align: center;
}

.process-draw-steps li:first-child {
	align-items: start;
}

.process-draw-steps strong,
.process-draw-steps small {
	display: block;
}

.process-draw-steps strong {
	color: #fff;
	font-size: .76rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.process-draw-steps strong:not(:first-child) {
	margin-top: .4rem;
}

.process-draw-steps small {
	color: rgba(238, 252, 255, .82);
	font-size: .8rem;
}

.process-arrow {
	display: grid;
	place-items: center;
	color: rgba(108, 243, 255, .72);
	font-size: 1rem;
	filter: drop-shadow(0 0 7px rgba(108, 243, 255, .45));
}

.process-stage-intro {
	margin: -.45rem 0 .75rem 2.65rem;
	color: rgba(238, 252, 255, .68);
	font-size: .76rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.reveal-options {
	display: grid;
	gap: .48rem;
}

.reveal-option {
	display: grid;
	grid-template-columns: 1.7rem minmax(0, 1fr);
	align-items: center;
	gap: .5rem;
	padding: .48rem .55rem;
	background: rgba(6, 8, 18, .28);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 12px;
}

.reveal-option strong,
.reveal-option small {
	display: block;
}

.reveal-option strong {
	color: #fff;
	font-size: .82rem;
}

.reveal-option small {
	margin-top: .08rem;
	color: rgba(238, 252, 255, .72);
	font-size: .69rem;
	line-height: 1.2;
}

body.cat-thinking-active {
	overflow: hidden;
}

.cat-thinking-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	background: rgba(4, 7, 15, .72);
	-webkit-backdrop-filter: blur(9px);
	backdrop-filter: blur(9px);
}

.cat-thinking-overlay[hidden] {
	display: none;
}

.cat-thinking-card {
	width: min(92vw, 430px);
	padding: 2rem 1.5rem 1.65rem;
	text-align: center;
	color: #eefcff;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07));
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 24px;
	box-shadow:
		0 22px 65px rgba(0, 0, 0, .42),
		inset 0 1px 0 rgba(255, 255, 255, .16);
}

.cat-thinking-orb {
	position: relative;
	width: 84px;
	height: 84px;
	margin: 0 auto 1.2rem;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, #fff 0 4%, #8df8ff 13%, #4d7dff 42%, #8e42c8 70%, #211337 100%);
	box-shadow:
		0 0 22px rgba(108, 243, 255, .6),
		0 0 50px rgba(142, 66, 200, .42);
	animation: cat-orb-float 2.2s ease-in-out infinite;
}

.cat-thinking-orb::after {
	content: "";
	position: absolute;
	inset: -7px;
	border: 2px solid transparent;
	border-top-color: rgba(141, 248, 255, .9);
	border-right-color: rgba(255, 255, 255, .32);
	border-radius: 50%;
	animation: cat-orb-spin 1.15s linear infinite;
}

.cat-thinking-orb span {
	position: absolute;
	top: 38px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px rgba(255, 255, 255, .9);
	animation: cat-dot-pulse 1.2s ease-in-out infinite;
}

.cat-thinking-orb span:nth-child(1) {
	left: 25px;
}

.cat-thinking-orb span:nth-child(2) {
	left: 39px;
	animation-delay: .16s;
}

.cat-thinking-orb span:nth-child(3) {
	left: 53px;
	animation-delay: .32s;
}

.cat-thinking-title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.25rem, 4vw, 1.65rem);
}

.cat-thinking-message {
	margin: .65rem 0 0;
	color: rgba(238, 252, 255, .88);
	font-size: 1rem;
	line-height: 1.5;
}

.cat-thinking-note {
	margin: .75rem 0 0;
	color: rgba(238, 252, 255, .58);
	font-size: .78rem;
}

@keyframes cat-orb-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes cat-orb-float {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-7px) scale(1.025);
	}
}

@keyframes cat-dot-pulse {
	0%,
	100% {
		opacity: .35;
		transform: scale(.7);
	}
	50% {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cat-thinking-orb,
	.cat-thinking-orb::after,
	.cat-thinking-orb span {
		animation-duration: 3s;
	}
}

.instant-cat-shell {
	color: #effcff;
	border: 1px solid rgba(151, 238, 255, .28);
	border-radius: 24px;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 0%, rgba(48, 189, 210, .17), transparent 34%),
		radial-gradient(circle at 100% 18%, rgba(139, 83, 190, .2), transparent 38%),
		linear-gradient(145deg, #111d27 0%, #171427 100%);
	box-shadow: 0 26px 80px rgba(0, 0, 0, .5);
}

.instant-cat-disclaimer {
	margin-top: 1.5rem;
	padding: 1rem 1.15rem;
	color: rgba(239, 252, 255, .72);
	font-size: .78rem;
	line-height: 1.55;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	background: rgba(0, 0, 0, .16);
}

.instant-cat-disclaimer p {
	margin: 0 0 .45rem;
}

.instant-cat-disclaimer a {
	color: #8df3ff;
	font-weight: 700;
}

.instant-cat-header,
.instant-cat-footer {
	border-color: rgba(255, 255, 255, .12);
	padding: 1.25rem 1.5rem;
}

@media print {
	body.printing-instant-cat > *:not(#instantCatModal) {
		display: none !important;
	}

	body.printing-instant-cat #instantCatModal {
		position: static !important;
		display: block !important;
		overflow: visible !important;
		background: #fff !important;
	}

	body.printing-instant-cat #instantCatModal .modal-dialog,
	body.printing-instant-cat #instantCatModal .modal-content,
	body.printing-instant-cat #instantCatModal .modal-body {
		position: static !important;
		width: 100% !important;
		max-width: none !important;
		max-height: none !important;
		margin: 0 !important;
		overflow: visible !important;
		box-shadow: none !important;
	}

	body.printing-instant-cat #instantCatModal .instant-cat-shell {
		color: #111 !important;
		background: #fff !important;
		border: 0 !important;
	}

	body.printing-instant-cat #instantCatModal .instant-cat-header,
	body.printing-instant-cat #instantCatModal .instant-cat-essential,
	body.printing-instant-cat #instantCatModal .instant-cat-question,
	body.printing-instant-cat #instantCatModal .instant-cat-panel,
	body.printing-instant-cat #instantCatModal .instant-cat-closing,
	body.printing-instant-cat #instantCatModal .instant-cat-disclaimer,
	body.printing-instant-cat #instantCatModal .instant-cat-insight {
		color: #111 !important;
		background: #fff !important;
		border-color: #bbb !important;
		break-inside: avoid;
	}

	body.printing-instant-cat #instantCatModal .instant-cat-choices,
	body.printing-instant-cat #instantCatModal .modal-footer,
	body.printing-instant-cat #instantCatModal .btn-close {
		display: none !important;
	}
}

.instant-cat-eyebrow,
.instant-cat-section-label,
.instant-cat-position {
	color: #8df3ff;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.instant-cat-meta {
	margin-top: .3rem;
	color: rgba(235, 250, 255, .62);
	font-size: .85rem;
}

.instant-cat-body {
	padding: clamp(1rem, 3vw, 2rem);
}

.instant-cat-question,
.instant-cat-essential,
.instant-cat-panel,
.instant-cat-closing {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

.instant-cat-question {
	padding: .9rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: rgba(255, 255, 255, .055);
}

.instant-cat-question span {
	color: rgba(238, 252, 255, .62);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.instant-cat-question p,
.instant-cat-closing p {
	margin: .35rem 0 0;
}

.instant-cat-essential {
	padding: 1.5rem 0 .6rem;
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	line-height: 1.75;
}

.instant-cat-essential p:last-child,
.instant-cat-panel p:last-child {
	margin-bottom: 0;
}

.instant-cat-cards {
	display: flex;
	gap: .8rem;
	justify-content: center;
	margin: 1rem auto 1.4rem;
	padding: .35rem;
	overflow-x: auto;
}

.instant-cat-card {
	flex: 0 0 112px;
	padding: .55rem;
	color: #effcff;
	border: 1px solid rgba(141, 243, 255, .22);
	border-radius: 14px;
	background: rgba(255, 255, 255, .055);
	text-align: center;
	transition: transform .2s ease, border-color .2s ease;
}

.instant-cat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(141, 243, 255, .7);
}

.instant-cat-card img {
	display: block;
	width: 100%;
	aspect-ratio: 11 / 18;
	margin-bottom: .45rem;
	border-radius: 8px;
	object-fit: cover;
}

.instant-cat-card span,
.instant-cat-card strong {
	display: block;
}

.instant-cat-card span {
	color: #8df3ff;
	font-size: .68rem;
}

.instant-cat-card strong {
	margin-top: .15rem;
	font-size: .78rem;
}

.instant-cat-card-number {
	display: grid !important;
	place-items: center;
	min-height: 92px;
	font-size: 2rem !important;
}

.instant-cat-choices {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	justify-content: center;
	max-width: 900px;
	margin: 0 auto 1rem;
}

.instant-cat-choices .btn.active {
	color: #09161e;
	border-color: #8df3ff;
	background: #8df3ff;
}

.instant-cat-panel {
	margin-top: 1rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	background: rgba(255, 255, 255, .055);
}

.instant-cat-obstacle {
	border-color: rgba(239, 183, 122, .3);
	background: rgba(132, 72, 47, .14);
}

.instant-cat-insight {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	transition: background-color .25s ease;
}

.instant-cat-insight:first-child {
	padding-top: .35rem;
}

.instant-cat-insight:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.instant-cat-insight img {
	width: 92px;
	border-radius: 9px;
}

.instant-cat-insight h3 {
	margin: .1rem 0 .35rem;
	font-size: 1.1rem;
}

.instant-cat-keywords {
	color: rgba(238, 252, 255, .62);
	font-size: .82rem;
}

.instant-cat-highlight {
	background: rgba(141, 243, 255, .1);
}

.instant-cat-panel ol {
	margin-bottom: 0;
	padding-left: 1.35rem;
}

.instant-cat-panel li {
	margin: .65rem 0;
	padding-left: .35rem;
}

.instant-cat-closing {
	padding: 1.4rem .4rem .25rem;
	text-align: center;
}

.instant-cat-reflection {
	color: #8df3ff;
	font-weight: 700;
}

@media (max-width: 575.98px) {
	.instant-cat-header,
	.instant-cat-footer {
		padding: 1rem;
	}

	.instant-cat-cards {
		justify-content: flex-start;
	}

	.instant-cat-insight {
		grid-template-columns: 62px minmax(0, 1fr);
	}

	.instant-cat-insight img {
		width: 62px;
	}
}

@media (max-width: 1199.98px) {
	.process-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		max-width: 860px;
	}

	.process-arrow {
		display: none;
	}

	.process-stage-heading h3 {
		font-size: 1rem;
	}
}

@media (max-width: 575.98px) {
	.process-flow {
		grid-template-columns: 1fr;
		gap: .85rem;
		max-width: 430px;
		margin-top: .75rem;
	}

	.process-stage {
		padding: 1rem;
		border-radius: 18px;
	}

	.process-steps li {
		font-size: .88rem;
	}

	.reveal-option small {
		font-size: .74rem;
	}
}
.artifact-anchor {
  max-width: 760px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.artifact-anchor-image {
  display: block;
  width: min(100%, 360px);
  max-height: 420px;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.artifact-anchor-copy {
  max-width: 650px;
}

.artifact-reading-received {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(93, 255, 226, 0.38);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  color: var(--bs-info, #5dffe2);
}

.emoji {
    font-size: 32px;
    line-height: 1;
}