/* June & Aurora Tarot — game UI (cards sit on tabletop below video; figure on video) */

.tarot-cards-slot {
  pointer-events: none;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.tarot-cards-slot.is-active {
  pointer-events: auto;
}

.tarot-ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  padding: 0 1rem 1.25rem;
}

.tarot-ui > [data-phase] {
  pointer-events: auto;
  width: min(560px, 92%);
  margin-bottom: clamp(1rem, 4vh, 2rem);
}

.tarot-ui > [data-phase="ask"] {
  width: min(420px, 92%);
  margin-bottom: clamp(1.1rem, 4vh, 2.2rem);
}

.tarot-panel {
  background: rgba(255, 249, 240, 0.92);
  border: 1px solid rgba(201, 162, 122, 0.45);
  border-radius: 18px;
  padding: 1.15rem 1.25rem 1.2rem;
  box-shadow: 0 14px 32px rgba(20, 10, 4, 0.26);
  backdrop-filter: blur(8px);
  color: #2d241c;
  font-family: Inter, system-ui, sans-serif;
}

.tarot-panel--ask {
  width: min(420px, 92%);
  text-align: left;
  padding: 1.25rem 1.35rem 1.35rem;
}

.tarot-panel h2,
.tarot-panel .tarot-reading__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: #2d241c;
}

.tarot-panel p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5a4b40;
}

.tarot-question {
  width: 100%;
  border: 1px solid #d4b089;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  background: #fffdf8;
  color: #2d241c;
  margin-bottom: 0.7rem;
}

.tarot-question:focus {
  outline: 2px solid #c66a3b;
  outline-offset: 1px;
}

.tarot-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.tarot-panel--ask .tarot-themes {
  margin-top: 1rem;
}

.tarot-themes button {
  border: 1px solid #d4b089;
  background: transparent;
  color: #5a4b40;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tarot-themes button:hover {
  border-color: #c66a3b;
  color: #8a3f1e;
  background: rgba(201, 106, 59, 0.1);
}

.tarot-themes button:focus-visible {
  outline: 2px solid #c66a3b;
  outline-offset: 2px;
}

.tarot-themes button.is-selected {
  background: #c66a3b;
  border-color: #c66a3b;
  color: #fffaf4;
}

.tarot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: #c66a3b;
  color: #fffaf4;
  box-shadow: 0 4px 12px rgba(120, 50, 20, 0.25);
}

.tarot-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.tarot-btn--ghost {
  background: transparent;
  color: #5a4b40;
  border: 1px solid #d4b089;
  box-shadow: none;
}

.tarot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tarot-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #f5e6d4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
}

/* Desk play area — cards live on the tabletop */
.tarot-play {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.25rem 0 0.5rem;
  box-sizing: border-box;
  pointer-events: auto;
}



.tarot-table {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Card — enlarged, native card art ratio (784×1168), never distorted */
.tarot-card {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: clamp(72px, 12.5vw, 158px);
  aspect-ratio: 784 / 1168;
  perspective: 900px;
  filter: drop-shadow(0 10px 12px rgba(10, 5, 2, 0.4));
  transition: transform 0.22s ease;
}

.tarot-card:disabled {
  cursor: default;
}

.tarot-card__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tarot-card.is-flipped .tarot-card__inner {
  transform: rotateY(180deg);
}

.tarot-card__face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(210, 180, 140, 0.35);
}

.tarot-card__face--front {
  transform: rotateY(180deg);
  background-color: #fff9f0;
}

.tarot-card__face--back {
  background-color: #2a1810;
}

.tarot-fan {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 900px;
  transform-style: preserve-3d;
}

.tarot-card--fan {
  margin: 0 -18px;
  position: relative;
  z-index: 1;
  width: clamp(42px, 4.2vw, 68px);
  transform-origin: center bottom;
  transform: rotate(calc(var(--t) * 18deg)) translateY(calc(var(--abs) * 10px));
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.tarot-card--fan:hover:not(:disabled) {
  transform: rotate(calc(var(--t) * 18deg)) translateY(calc(var(--abs) * 10px - 14px));
  z-index: 5;
}

.tarot-card--fan.is-chosen {
  opacity: 0.28;
  transform: rotate(calc(var(--t) * 18deg)) translateY(calc(var(--abs) * 10px + 6px)) scale(0.92);
}

/* Shuffle pile */
.tarot-pile {
  position: relative;
  width: clamp(70px, 12vw, 150px);
  aspect-ratio: 784 / 1168;
  margin-bottom: 0.5rem;
}

.tarot-pile .tarot-card--pile {
  position: absolute;
  inset: 0;
  width: 100%;
  /* Fake desk perspective: cards nearer the top of the stack are smaller,
     anchored to the bottom edge so the deck looks like it recedes onto the table */
  transform-origin: 50% 100%;
  transform: translate(calc(var(--i) * 1.2px), calc(var(--i) * -1.6px))
    scale(calc(1 - var(--i) * 0.032)) rotate(calc(var(--i) * 0.4deg));
}

.tarot-pile.is-shuffling .tarot-card--pile {
  animation: tarot-shuffle 1.5s ease-in-out both;
  animation-delay: calc(var(--i) * 35ms);
}

@keyframes tarot-shuffle {
  0% {
    transform: translate(calc(var(--i) * 1.2px), calc(var(--i) * -1.6px)) scale(calc(1 - var(--i) * 0.032)) rotate(calc(var(--i) * 0.4deg));
  }
  25% {
    transform: translate(0, 0) scale(0.94) rotate(0deg);
  }
  45% {
    transform: translate(calc((var(--i) - 4) * 14px), -18px) scale(calc(1 - var(--i) * 0.02)) rotate(calc((var(--i) - 4) * 6deg));
  }
  70% {
    transform: translate(calc((4 - var(--i)) * 10px), 10px) scale(calc(1 - var(--i) * 0.026)) rotate(calc((4 - var(--i)) * 5deg));
  }
  100% {
    transform: translate(calc(var(--i) * 1.2px), calc(var(--i) * -1.6px)) scale(calc(1 - var(--i) * 0.032)) rotate(calc(var(--i) * 0.4deg));
  }
}

/* Past / Present / Future slots */
.tarot-slots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.55rem, 2.5vw, 1.4rem);
  width: 100%;
  margin-top: 0.35rem;
  padding-bottom: 0.15rem;
}

.tarot-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: clamp(72px, 12vw, 150px);
}

.tarot-slot__label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3e4d0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.tarot-slot__card {
  display: block;
  width: clamp(72px, 12.5vw, 158px);
  aspect-ratio: 784 / 1168;
}

.tarot-slot:not(.is-filled) .tarot-slot__card {
  border: 1px dashed rgba(240, 215, 180, 0.35);
  border-radius: 8px;
  background: rgba(20, 10, 4, 0.18);
}

.tarot-reading__line {
  font-size: 0.9rem !important;
}

.tarot-reading__closing {
  font-style: italic;
}

.tarot-btn.is-saved {
  background: #6b8f71;
}

/* Mobile: keep playable, no redesign */
@media (max-width: 768px) {
  .tarot-ui > [data-phase] {
    margin-bottom: clamp(1rem, 5vh, 2.5rem);
    width: min(96%, 420px);
  }

  .tarot-card {
    width: clamp(58px, 17vw, 96px);
  }

  .tarot-card--fan {
    margin: 0 -16px;
  }

  .tarot-panel {
    padding: 0.85rem 0.9rem;
  }

  .tarot-figure {
    width: 48%;
  }
}


/* Ask panel — match design: dark glass, white type, peach accents */
.tarot-panel--ask {
  width: min(720px, 94%);
  background: rgba(28, 18, 12, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 1.35rem 1.5rem 1.4rem;
  box-shadow: 0 16px 40px rgba(10, 5, 2, 0.35);
  backdrop-filter: blur(10px);
  color: #fffaf4;
  text-align: center;
}

.tarot-ask__eyebrow {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 500;
  font-style: italic;
  color: #fffaf4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.tarot-ask__label {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: rgba(255, 250, 244, 0.72);
}

.tarot-ask__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.05rem;
}

.tarot-panel--ask .tarot-themes {
  margin: 0;
  justify-content: center;
}

.tarot-panel--ask .tarot-themes button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 12, 8, 0.25);
  color: #fffaf4;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tarot-panel--ask .tarot-themes button:hover {
  border-color: #e4a48f;
  background: rgba(217, 143, 122, 0.22);
  color: #fffaf4;
}

.tarot-panel--ask .tarot-themes button.is-selected {
  background: #d98f7a;
  border-color: #d98f7a;
  color: #fffaf4;
}

.tarot-btn--begin {
  background: #d98f7a;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(120, 50, 20, 0.28);
}

.tarot-btn--begin:disabled {
  opacity: 0.45;
}

.tarot-ui > [data-phase="ask"] {
  width: min(720px, 94%);
}


/* June & Aurora tarot introduction — keeps the reading mechanics below intact. */
.tarot-stage__tools {
  position: absolute;
  z-index: 8;
  top: clamp(1rem, 2.4vw, 2.2rem);
  left: clamp(1rem, 3.1vw, 3.2rem);
  right: clamp(1rem, 3.1vw, 3.2rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  font-family: Inter, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .66rem;
  font-weight: 700;
}
.tarot-tool, .tarot-howto summary {
  pointer-events: auto;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.8rem;
  padding: 0 .95rem;
  border: 1px solid rgba(255, 244, 228, .72);
  border-radius: 999px;
  background: rgba(43, 24, 15, .18);
  color: #fff8ed;
  cursor: pointer;
  list-style: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.36);
  transition: background .18s ease, transform .18s ease;
}
.tarot-tool:hover, .tarot-howto summary:hover { background: rgba(217, 143, 122, .38); transform: translateY(-1px); }
.tarot-tool span, .tarot-howto summary span { font-size: 1.25rem; line-height: 1; font-weight: 400; }
.tarot-howto { position: relative; pointer-events: auto; }
.tarot-howto summary::-webkit-details-marker { display: none; }
.tarot-howto p {
  position: absolute;
  top: 3.35rem;
  right: 0;
  width: 15rem;
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(37,21,13,.84);
  color: #fff8ed;
  font: .83rem/1.5 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.tarot-stage__signature {
  position: absolute;
  z-index: 7;
  right: clamp(1rem, 3.2vw, 3.3rem);
  bottom: clamp(1rem, 2vw, 2rem);
  color: rgba(255,245,232,.9);
  font: 600 .56rem/1.4 Inter, system-ui, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.tarot-stage__signature span { color: #ffc2a6; font-size: 1rem; vertical-align: middle; }
.tarot-ui {
  justify-content: flex-start;
  padding: clamp(4.3rem, 7vw, 6.7rem) 1rem 1.25rem;
}
.tarot-ui > [data-phase="ask"], .tarot-ui > [data-phase="ask"].tarot-panel--ask {
  width: min(680px, 94%);
  margin: 0;
}
.tarot-panel--ask {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}
.tarot-ask__intro { text-align: center; color: #fffaf4; }
.tarot-ask__stars { display: block; margin-bottom: .2rem; color: #ffd6b2; font: 1.2rem/1 Georgia, serif; letter-spacing: .35em; }
.tarot-ask__eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4.1vw, 3.65rem);
  font-weight: 500;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.025em;
}
.tarot-ask__label { margin: .85rem 0 0; text-transform: uppercase; font: 700 .64rem/1 Inter, system-ui, sans-serif; letter-spacing: .31em; color: rgba(255,248,239,.84); }
.tarot-panel--ask .tarot-themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin: 1rem 0 .9rem; }
.tarot-panel--ask .tarot-themes button {
  justify-content: center;
  min-height: 3rem;
  border-color: rgba(255,246,234,.78);
  border-radius: 999px;
  background: rgba(48,28,17,.2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
}
.tarot-panel--ask .tarot-themes button span { font-size: 1.24rem; line-height: 1; letter-spacing: 0; }
.tarot-panel--ask .tarot-themes button.is-selected { background: #e18a6b; border-color: #ffd1bf; box-shadow: 0 0 0 2px rgba(255,221,203,.3); }
.tarot-ask__content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(180px, .85fr); align-items: center; gap: 1.35rem; }
.tarot-prompt-list {
  overflow: hidden;
  padding: .35rem .75rem;
  border: 1px solid rgba(255,249,240,.4);
  border-radius: 15px;
  background: rgba(255,249,240,.88);
  box-shadow: 0 12px 28px rgba(22,10,4,.23);
  text-align: left;
}
.tarot-prompt-list__title { margin: .48rem .2rem .38rem; color: #35261e; font: 600 .9rem/1.2 "Cormorant Garamond", Georgia, serif; }
.tarot-prompt-list button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .53rem .2rem;
  border: 0;
  border-top: 1px solid rgba(113,77,51,.13);
  background: transparent;
  color: #4a3227;
  text-align: left;
  font: .75rem/1.28 "Cormorant Garamond", Georgia, serif;
  cursor: pointer;
}
.tarot-prompt-list button:first-of-type { border-top: 0; }
.tarot-prompt-list button:hover, .tarot-prompt-list button.is-selected { color: #b8563d; }
.tarot-prompt-list button.is-selected { margin: .1rem 0; padding: .48rem .5rem; border: 1px solid rgba(206,112,83,.58); border-radius: 8px; background: rgba(241,176,151,.16); }
.tarot-prompt-list button span { font: 1.3rem/1 Georgia, serif; }
.tarot-ask__begin-wrap { text-align: center; }
.tarot-btn--begin {
  width: 100%;
  min-height: 3.65rem;
  padding: .8rem 1.25rem;
  border: 1px solid rgba(255,232,218,.85);
  border-radius: 18px;
  background: #cf6e51;
  box-shadow: 0 8px 20px rgba(68,24,11,.35);
  color: #fffaf4;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
}
.tarot-btn--begin span { font-size: 1.25rem; line-height: 0; }
.tarot-btn--begin:not(:disabled):hover { background: #df8364; transform: translateY(-1px); }
.tarot-ask__begin-wrap p { margin: .9rem 0 0; color: #ffe5d1; font: italic 1.02rem/1.1 "Cormorant Garamond", Georgia, serif; text-shadow: 0 1px 7px rgba(0,0,0,.45); }

@media (max-width: 720px) {
  .tarot-stage__tools { top: .8rem; left: .8rem; right: .8rem; font-size: .56rem; letter-spacing: .12em; }
  .tarot-tool, .tarot-howto summary { min-height: 2.3rem; padding: 0 .66rem; gap: .35rem; }
  .tarot-tool span, .tarot-howto summary span { font-size: 1rem; }
  .tarot-stage__signature { display: none; }
  .tarot-ui { padding-top: 4rem; }
  .tarot-ask__eyebrow { font-size: clamp(2rem, 10vw, 2.85rem); }
  .tarot-panel--ask .tarot-themes { grid-template-columns: repeat(2, 1fr); gap: .48rem; }
  .tarot-panel--ask .tarot-themes button { min-height: 2.65rem; }
  .tarot-ask__content { grid-template-columns: 1fr; gap: .8rem; }
  .tarot-prompt-list { padding: .25rem .65rem; }
  .tarot-prompt-list button { font-size: .73rem; padding-top: .44rem; padding-bottom: .44rem; }
  .tarot-btn--begin { min-height: 3.15rem; border-radius: 15px; }
  .tarot-ask__begin-wrap p { display: none; }
}

/* Keep the invitation legible above the animated scene. */
.tarot-ui { z-index: 9; }
.tarot-stage__tools { z-index: 10; }
.tarot-stage__signature { z-index: 10; }
.tarot-ask__eyebrow { color: #fffaf4 !important; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.tarot-ask__label { color: rgba(255,250,244,.94) !important; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tarot-ask__stars { text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* Make the invitation carry the same visual weight as the June & Aurora section titles. */
.tarot-ask__eyebrow {
  font-size: clamp(2.7rem, 4.7vw, 4.25rem) !important;
  line-height: .98;
}
@media (max-width: 700px) {
  .tarot-ask__eyebrow { font-size: clamp(2.25rem, 11vw, 3.2rem) !important; }
}


/* The topic itself starts the reading; no separate question card is shown. */
.tarot-ask__content {
  display: flex;
  justify-content: center;
  margin-top: 1.55rem;
}
.tarot-ask__begin-wrap {
  align-items: center;
  text-align: center;
}
.tarot-ask__begin-wrap p {
  margin: 1.25rem 0 0;
}

/* Keep the invitation above the portrait, with the action in the clear space at right. */
@media (min-width: 900px) {
  .tarot-ui {
    padding-top: clamp(1.8rem, 2vw, 3.4rem);
  }
  .tarot-ask__content {
    justify-content: flex-end;
    padding-right: clamp(0rem, 4vw, 4.8rem);
    margin-top: 1.15rem;
  }
  .tarot-ask__begin-wrap {
    width: min(15.5rem, 28vw);
  }
}


/* A real deck reads as one aligned paper stack, rather than many fanned copies. */
.tarot-pile {
  isolation: isolate;
  filter: drop-shadow(0 16px 15px rgba(30, 12, 4, .42));
}
.tarot-pile::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .35rem -.15rem -.28rem .12rem;
  border: 1px solid rgba(99, 67, 36, .78);
  border-radius: 8px;
  background: repeating-linear-gradient(
    to bottom,
    #eee3c8 0, #eee3c8 1px,
    #bcae91 1.5px, #f7edd4 2.5px
  );
  box-shadow: inset 0 0 0 1px rgba(255, 250, 231, .55), 0 5px 7px rgba(30, 12, 4, .28);
}
.tarot-pile .tarot-card--pile {
  transform-origin: 50% 100%;
  transform: translate(calc(var(--i) * .42px), calc(var(--i) * -.68px)) rotate(calc(var(--i) * .04deg));
}
.tarot-pile.is-shuffling .tarot-card--pile {
  animation: tarot-shuffle 1.25s ease-in-out both;
  animation-delay: calc(var(--i) * 28ms);
}
@keyframes tarot-shuffle {
  0%, 100% {
    transform: translate(calc(var(--i) * .42px), calc(var(--i) * -.68px)) rotate(calc(var(--i) * .04deg));
  }
  35% {
    transform: translate(calc((var(--i) - 3) * 12px), -15px) rotate(calc((var(--i) - 3) * 4deg));
  }
  68% {
    transform: translate(calc((3 - var(--i)) * 8px), 7px) rotate(calc((3 - var(--i)) * 3deg));
  }
}


/* Keep play instructions on the tabletop, away from June and Aurora. */
.tarot-hint {
  position: relative;
  z-index: 6;
  top: clamp(9rem, 13vw, 14rem);
  margin-bottom: calc(-1 * clamp(9rem, 13vw, 14rem));
}
@media (max-width: 768px) {
  .tarot-hint {
    top: clamp(5.5rem, 16vw, 8rem);
    margin-bottom: calc(-1 * clamp(5.5rem, 16vw, 8rem));
  }
}

/* Minimal hooks for upgraded reading sections — keep cream panel look */

.tarot-reading__opener {
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.tarot-reading__section {
  margin: 0 0 1.15rem;
}

.tarot-reading__section-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  opacity: 0.78;
}

.tarot-reading__card-name {
  display: block;
  margin: 0 0 0.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tarot-reading__body {
  margin: 0;
  line-height: 1.55;
}

.tarot-reading__bridge-label,
.tarot-reading__closing-label {
  display: block;
  margin: 1.35rem 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  opacity: 0.78;
}

.tarot-reading__bridge,
.tarot-reading__closing {
  margin: 0;
  line-height: 1.55;
}

/* Shuffle pile only: lift toward June on the desk (does not affect pick/fan) */
.tarot-stage[data-phase="shuffle"] .tarot-pile {
  transform: translateY(-250px);
}
