.tarot-page {
  -webkit-touch-callout: none;
  user-select: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(137, 14, 22, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 38%, rgba(191, 154, 100, 0.1), transparent 34rem),
    #070808;
}

.tarot-page input,
.tarot-page select {
  user-select: text;
}

.tarot-page img {
  -webkit-user-drag: none;
  user-select: none;
}

.tarot-page .site-header {
  position: sticky;
}

.tarot-reader-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.98), rgba(7, 8, 8, 0.73)),
    radial-gradient(circle at 78% 35%, rgba(208, 24, 34, 0.13), transparent 27rem);
}

.tarot-reader-hero-shell,
.reader-shell,
.ritual-shell,
.guidebook-shell,
.physical-shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.tarot-reader-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(24rem, 1.06fr);
  align-items: center;
  min-height: 620px;
  padding: clamp(4rem, 8vw, 7rem) 0;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.reader-hero-copy {
  position: relative;
  z-index: 2;
}

.reader-hero-copy h1 {
  max-width: 8ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-wrap: balance;
}

.reader-hero-intro {
  max-width: 55ch;
  margin: 1.6rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.reader-pill-row {
  display: flex;
  flex-wrap: wrap;
  margin: 1.8rem 0 2rem;
  padding: 0;
  gap: 0.6rem;
  list-style: none;
}

.reader-pill-row li {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(191, 154, 100, 0.32);
  color: #dac4a5;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-seal {
  position: relative;
  display: flex;
  width: min(100%, 29rem);
  min-height: 470px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 188, 143, 0.58);
  box-shadow: inset 0 0 0 8px #090a0a, inset 0 0 0 9px rgba(218, 188, 143, 0.24), 0 34px 80px rgba(0, 0, 0, 0.55);
  color: #eadbc4;
  background:
    linear-gradient(132deg, transparent 48%, rgba(208, 24, 34, 0.82) 49%, rgba(208, 24, 34, 0.82) 50%, transparent 51%),
    radial-gradient(circle at center, rgba(191, 154, 100, 0.18), transparent 36%),
    #090b0c;
  text-align: center;
}

.reader-seal::before,
.reader-seal::after {
  position: absolute;
  border: 1px solid rgba(218, 188, 143, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.reader-seal::before {
  width: 19rem;
  height: 19rem;
}

.reader-seal::after {
  width: 24rem;
  height: 24rem;
}

.reader-seal-knot,
.reader-seal-title,
.reader-seal-subtitle,
.reader-seal-credit {
  position: relative;
  z-index: 1;
  display: block;
}

.reader-seal-knot {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 8rem);
  line-height: 0.7;
}

.reader-seal-title {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.reader-seal-subtitle {
  margin-top: 0.35rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.32em;
}

.reader-seal-credit {
  margin-top: 2.4rem;
  color: #a99a88;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.reading-studio {
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: 7rem;
}

.reader-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-items: end;
  margin-bottom: 2.4rem;
  gap: 2rem;
}

.reader-heading h2,
.guidebook-heading h2,
.physical-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.reader-heading > p,
.guidebook-heading > p {
  max-width: 55ch;
  margin: 0;
  color: var(--paper-muted);
}

.spread-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.spread-option {
  min-height: 170px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  background: linear-gradient(145deg, rgba(23, 22, 21, 0.92), rgba(9, 9, 9, 0.94));
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.spread-option:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 154, 100, 0.5);
}

.spread-option[aria-pressed="true"] {
  border-color: var(--red);
  background:
    linear-gradient(145deg, rgba(134, 14, 21, 0.2), rgba(9, 9, 9, 0.96)),
    #0b0b0b;
  box-shadow: inset 0 -3px 0 var(--red);
}

.spread-kicker,
.spread-name,
.spread-summary {
  display: block;
}

.spread-kicker {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spread-name {
  margin-top: 0.52rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.12;
}

.spread-summary {
  margin-top: 0.68rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.spread-selected {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.74);
}

.spread-selected-copy {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-right: 1px solid var(--line);
}

.spread-selected-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
}

.spread-selected-copy p {
  margin: 0.75rem 0 0;
  color: var(--paper-muted);
}

.spread-prompts {
  font-family: var(--serif);
  font-style: italic;
}

.reading-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  gap: 0.75rem 1rem;
}

.reading-form label {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading-form input,
.guide-search input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  color: var(--paper);
  background: #0b0c0c;
  font: inherit;
}

.reading-form input:focus,
.guide-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(191, 154, 100, 0.14);
}

.reading-form .button {
  border: 1px solid var(--red);
}

.reading-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.reading-board {
  margin-top: 3rem;
  scroll-margin-top: 8rem;
}

.reading-question {
  display: flex;
  margin: 0 auto 2rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--red);
  background: rgba(208, 24, 34, 0.06);
  gap: 0.7rem;
}

.reading-question span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reading-question strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.drawn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  align-items: start;
  gap: clamp(1.2rem, 2.2vw, 2rem);
}

.drawn-cards-1 {
  width: min(100%, 23rem);
  margin: 0 auto;
}

.drawn-cards[data-spread="crossroads"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". lantern ."
    "mist knot river"
    ". root .";
  width: min(100%, 64rem);
  margin: 0 auto;
}

.drawn-cards[data-spread="crossroads"] .drawn-position:nth-child(1) { grid-area: knot; }
.drawn-cards[data-spread="crossroads"] .drawn-position:nth-child(2) { grid-area: lantern; }
.drawn-cards[data-spread="crossroads"] .drawn-position:nth-child(3) { grid-area: river; }
.drawn-cards[data-spread="crossroads"] .drawn-position:nth-child(4) { grid-area: root; }
.drawn-cards[data-spread="crossroads"] .drawn-position:nth-child(5) { grid-area: mist; }

.drawn-position {
  min-width: 0;
}

.position-copy {
  min-height: 116px;
  margin-bottom: 1rem;
}

.position-number {
  margin: 0;
  color: #dfc194;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.position-description {
  margin: 0.55rem 0 0;
  color: var(--paper-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.digital-card {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 3.6% / 2.1%;
  background: transparent;
  cursor: pointer;
  perspective: 1400px;
}

.digital-card.is-revealed::after,
.dialog-visual.is-revealed::after {
  position: absolute;
  inset: 25% -32%;
  z-index: 3;
  display: grid;
  place-items: center;
  color: rgba(255, 244, 220, 0.42);
  content: "PENNY VELA · DIGITAL PREVIEW\A\A© 2026 · THE RED THREAD TAROT\A\APENNY VELA · DIGITAL PREVIEW";
  font-size: clamp(0.55rem, 1.25vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.82);
  transform: rotate(-28deg);
  white-space: pre;
}

.digital-card-inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 640 / 1098;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.digital-card.is-revealed .digital-card-inner {
  transform: rotateY(180deg);
}

.digital-card-front,
.digital-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(229, 204, 167, 0.45);
  border-radius: 3.6% / 2.1%;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
}

.digital-card-front {
  transform: rotateY(180deg);
  object-fit: cover;
  pointer-events: none;
}

.digital-card-back {
  display: grid;
  padding: 7%;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 47%, rgba(208, 24, 34, 0.72) 48%, rgba(208, 24, 34, 0.72) 50%, transparent 51%),
    radial-gradient(circle, rgba(191, 154, 100, 0.2), transparent 36%),
    #090b0c;
}

.digital-card-back-frame {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 188, 143, 0.72);
  box-shadow: inset 0 0 0 5px #090b0c, inset 0 0 0 6px rgba(218, 188, 143, 0.28);
  color: #e7d4b8;
  text-align: center;
}

.back-knot {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(208, 24, 34, 0.35);
}

.back-title,
.back-subtitle {
  display: block;
  font-family: var(--serif);
  letter-spacing: 0.12em;
}

.back-title {
  margin-top: 1rem;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
}

.back-subtitle {
  margin-top: 0.35rem;
  color: var(--gold);
  font-size: 0.72rem;
}

.drawn-meaning {
  position: relative;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.drawn-meaning::after {
  position: absolute;
  top: 48%;
  right: 0;
  left: 0;
  color: rgba(255, 244, 220, 0.07);
  content: "© 2026 PENNY VELA · THE RED THREAD";
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  pointer-events: none;
  text-align: center;
  transform: rotate(-12deg);
}

.drawn-meaning h3 {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.08;
}

.drawn-meaning p {
  margin: 0.65rem 0 0;
  color: var(--paper-muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.drawn-meaning strong {
  color: var(--paper);
}

.drawn-card-path,
.guide-card-path,
.dialog-path {
  color: var(--gold) !important;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.drawn-card-vietnamese {
  color: #968b82 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em;
}

.text-link {
  min-height: 44px;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  color: #e6c696;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.reading-status {
  min-height: 1.6em;
  margin: 1.5rem 0 0;
  color: #a99f96;
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
}

.reading-principle {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
  margin-top: 2.3rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(191, 154, 100, 0.22);
  color: var(--paper-muted);
  background: rgba(191, 154, 100, 0.05);
  font-size: 0.9rem;
  text-align: center;
}

.ritual-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(145deg, #11100f, #080909 68%);
}

.ritual-shell {
  display: grid;
  grid-template-columns: minmax(17rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.ritual-intro h2 {
  max-width: 8ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.ritual-intro p:last-child {
  max-width: 42ch;
  color: var(--paper-muted);
}

.ritual-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
  counter-reset: ritual;
}

.ritual-steps li {
  position: relative;
  min-height: 150px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.55);
  counter-increment: ritual;
}

.ritual-steps li::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(208, 24, 34, 0.74);
  content: counter(ritual, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.ritual-steps strong {
  display: block;
  color: #e2c69e;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ritual-steps span {
  display: block;
  max-width: 34ch;
  margin-top: 0.7rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.guidebook-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: 7rem;
}

.guidebook-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-items: end;
  gap: 2rem;
}

.guide-controls {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  margin: 2.4rem 0 1.6rem;
  gap: 0.8rem 1rem;
}

.guide-search {
  display: block;
}

.guide-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.guide-filter {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--paper-muted);
  background: #0b0c0c;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.guide-filter[aria-pressed="true"] {
  border-color: var(--red);
  color: var(--paper);
  background: var(--red-soft);
}

.guide-count {
  margin: 0;
  color: #938a84;
  font-size: 0.82rem;
  white-space: nowrap;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.guide-vault {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  min-height: 18rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(191, 154, 100, 0.38);
  background:
    radial-gradient(circle at 80% 30%, rgba(208, 24, 34, 0.18), transparent 17rem),
    linear-gradient(145deg, rgba(24, 19, 17, 0.95), rgba(7, 8, 8, 0.98));
  gap: clamp(2rem, 6vw, 6rem);
}

.guide-vault::before {
  position: absolute;
  top: -9rem;
  right: -4rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(191, 154, 100, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(191, 154, 100, 0.025), 0 0 0 5.5rem rgba(191, 154, 100, 0.018);
  content: "";
  pointer-events: none;
}

.guide-vault-copy,
.guide-vault-controls {
  position: relative;
  z-index: 1;
}

.guide-vault-kicker,
.guide-vault-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-vault-kicker {
  margin: 0;
}

.guide-vault-title {
  max-width: 12ch;
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.guide-vault-text {
  max-width: 48ch;
  margin: 1.2rem 0 0;
  color: var(--paper-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.guide-vault-controls {
  display: grid;
  gap: 0.65rem;
}

.guide-vault-label {
  margin: 0;
}

.guide-vault-controls select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(191, 154, 100, 0.45);
  border-radius: 0;
  color: var(--paper);
  background: #0b0c0c;
  font: inherit;
  cursor: pointer;
}

.guide-vault-controls select:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(191, 154, 100, 0.15);
  outline-offset: 2px;
}

.guide-vault-actions {
  display: grid;
  align-items: start;
  gap: 0.35rem;
}

.guide-vault-actions .button {
  width: 100%;
}

.guide-vault-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.guide-vault-actions .guide-random-button {
  margin-top: 0.15rem;
  text-align: center;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.44fr) minmax(0, 0.56fr);
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  color: inherit;
  background: linear-gradient(145deg, rgba(21, 20, 19, 0.94), rgba(7, 8, 8, 0.98));
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 154, 100, 0.5);
}

.guide-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.guide-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem 0.85rem;
}

.guide-card-title {
  margin-top: 0.65rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.08;
}

.guide-card-vietnamese {
  margin-top: 0.45rem;
  color: #918781;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.guide-card-core {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--paper-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.guide-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid var(--line);
  color: var(--paper-muted);
  text-align: center;
}

.card-dialog {
  position: relative;
  width: min(calc(100% - 2rem), 980px);
  max-height: calc(100svh - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(191, 154, 100, 0.48);
  border-radius: 0;
  color: var(--paper);
  background: #0d0e0e;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85);
}

.card-dialog::after {
  position: absolute;
  inset: 30% -14%;
  z-index: 3;
  display: grid;
  place-items: center;
  color: rgba(255, 244, 220, 0.08);
  content: "PENNY VELA · THE RED THREAD · © 2026";
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  pointer-events: none;
  text-align: center;
  transform: rotate(-24deg);
}

.card-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px);
}

.dialog-close {
  position: sticky;
  top: 0.8rem;
  left: calc(100% - 3.4rem);
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  place-items: center;
  color: var(--paper);
  background: rgba(8, 9, 9, 0.92);
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  margin-top: -2.8rem;
}

.dialog-visual {
  position: relative;
  min-height: 100%;
  padding: clamp(1.1rem, 3vw, 2.2rem);
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(150deg, #171412, #090909);
}

.dialog-visual img {
  width: min(100%, 23rem);
  margin: 0 auto;
  border: 1px solid rgba(218, 188, 143, 0.42);
  border-radius: 3.6% / 2.1%;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.dialog-copy {
  padding: clamp(2rem, 5vw, 4rem);
}

.dialog-copy h2 {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.dialog-vietnamese {
  margin: 0.7rem 0 1.8rem;
  color: #9b918a;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.dialog-field {
  margin: 1rem 0 0;
  color: var(--paper-muted);
  line-height: 1.55;
}

.dialog-field strong {
  display: block;
  margin-bottom: 0.24rem;
  color: #e2c69e;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
}

.dialog-reflection {
  padding: 1rem;
  border-left: 2px solid var(--red);
  background: rgba(208, 24, 34, 0.07);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.physical-edition {
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 50%, rgba(191, 154, 100, 0.12), transparent 24rem),
    linear-gradient(145deg, #12100e, #080909 70%);
}

.physical-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.physical-visual {
  position: relative;
  display: flex;
  min-height: 420px;
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 154, 100, 0.38);
  color: #eadbc4;
  background:
    linear-gradient(132deg, transparent 48%, rgba(208, 24, 34, 0.66) 49%, rgba(208, 24, 34, 0.66) 50%, transparent 51%),
    radial-gradient(circle at center, rgba(191, 154, 100, 0.16), transparent 38%),
    #090a0a;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.52);
  text-align: center;
}

.physical-product-visual {
  display: block;
  width: min(100%, 24rem);
  margin-inline: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.physical-product-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1229 / 1536;
  object-fit: contain;
}

.physical-seal::before {
  position: absolute;
  width: min(78%, 25rem);
  aspect-ratio: 1;
  border: 1px solid rgba(218, 188, 143, 0.18);
  border-radius: 50%;
  content: "";
}

.physical-seal > * {
  position: relative;
  z-index: 1;
}

.physical-seal-kicker {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.physical-seal strong {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.physical-seal > span:last-child {
  margin-top: 1.5rem;
  color: #9c9082;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.physical-copy h2 {
  max-width: 10ch;
}

.physical-copy > p:not(.eyebrow) {
  max-width: 51ch;
  color: var(--paper-muted);
}

.edition-offer {
  display: flex;
  align-items: baseline;
  margin-top: 1.7rem;
  padding: 1.1rem 1.2rem;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  border: 1px solid rgba(208, 24, 34, 0.62);
  background: linear-gradient(110deg, rgba(208, 24, 34, 0.14), rgba(191, 154, 100, 0.06));
}

.edition-stock {
  width: 100%;
  color: #e4c99f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.edition-price {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.edition-shipping {
  color: #a99f96;
  font-size: 0.8rem;
}

.edition-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.7rem 0;
  padding: 0;
  gap: 0.6rem;
  list-style: none;
}

.edition-points li {
  padding: 0.75rem;
  border: 1px solid var(--line);
  color: #d7c7b6;
  font-size: 0.86rem;
}

.physical-copy .request-status {
  margin-top: 0.4rem;
}

.security-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  border: 1px solid rgba(191, 154, 100, 0.55);
  color: var(--paper);
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  font-size: 0.82rem;
  line-height: 1.35;
}

.privacy-hidden main,
.privacy-hidden .site-footer {
  visibility: hidden;
}

.privacy-hidden::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: #d9c6aa;
  background: #080909;
  content: "The Red Thread Tarot · scherm verborgen";
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: 0.02em;
  text-align: center;
}

.capture-shield .digital-card-front,
.capture-shield .dialog-visual img {
  opacity: 0.06;
  filter: blur(24px);
}

.capture-shield .digital-card::before,
.capture-shield .dialog-visual::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #e2c69e;
  background: #080909;
  content: "PROTECTED PREVIEW · PENNY VELA";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

@media (max-width: 1120px) {
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tarot-reader-hero-shell,
  .reader-heading,
  .guidebook-heading,
  .ritual-shell,
  .physical-shell {
    grid-template-columns: 1fr;
  }

  .tarot-reader-hero-shell {
    min-height: 0;
  }

  .reader-seal {
    width: min(100%, 42rem);
    min-height: 470px;
    margin: 0 auto;
  }

  .guide-vault {
    grid-template-columns: 1fr;
  }

  .spread-picker,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spread-selected {
    grid-template-columns: 1fr;
  }

  .spread-selected-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ritual-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-controls {
    grid-template-columns: 1fr;
  }

  .guide-count {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .tarot-reader-hero-shell,
  .reader-shell,
  .ritual-shell,
  .guidebook-shell,
  .physical-shell {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .tarot-reader-hero-shell {
    padding-top: 3.5rem;
  }

  .reader-hero-copy h1 {
    font-size: clamp(3.7rem, 19vw, 5.7rem);
  }

  .reader-seal {
    min-height: 360px;
  }

  .spread-picker,
  .guide-grid,
  .ritual-steps,
  .edition-points {
    grid-template-columns: 1fr;
  }

  .spread-option {
    min-height: 0;
  }

  .reading-form {
    grid-template-columns: 1fr;
  }

  .reading-form label {
    grid-column: auto;
  }

  .drawn-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drawn-cards[data-spread="crossroads"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }

  .drawn-cards[data-spread="crossroads"] .drawn-position {
    grid-area: auto;
  }

  .drawn-cards-1 {
    grid-template-columns: 1fr;
  }

  .position-copy {
    min-height: 150px;
  }

  .reading-question {
    flex-direction: column;
  }

  .guide-card {
    grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 0.58fr);
  }

  .guide-card img {
    min-height: 280px;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    margin-top: -2.8rem;
  }

  .dialog-visual {
    padding-top: 4.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dialog-visual img {
    width: min(100%, 16rem);
  }

  .dialog-copy {
    padding-top: 2rem;
  }
}

@media (max-width: 420px) {
  .drawn-cards {
    grid-template-columns: 1fr;
  }

  .drawn-cards[data-spread="crossroads"] {
    grid-template-columns: 1fr;
  }

  .drawn-position {
    width: min(100%, 20rem);
    margin: 0 auto;
  }

  .position-copy {
    min-height: 0;
  }

  .guide-card img {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .digital-card-inner {
    transition-duration: 0.01ms;
  }
}

@media print {
  body.tarot-page > * {
    display: none !important;
  }

  body.tarot-page::before {
    display: block;
    padding: 3rem;
    color: #111;
    content: "The Red Thread Tarot · online viewing only · © 2026 Penny Vela";
    font: 16pt Georgia, serif;
    text-align: center;
  }
}
