/* ============================================================
   Ezoterium — Wróżba z tarota
   Wspólne style wszystkich etapów wróżby (/wrozba/tarot/).
   ============================================================ */

:root {
  --bg: #07061a;
  --ink: #f4eefe;
  --ink-soft: rgba(240, 235, 253, .92);
  --ink-mute: rgba(226, 220, 248, .76);
  --ink-faint: rgba(214, 208, 240, .58);
  --gold: #e8c478;
  --gold-light: #f3e6c4;
  --gold-12: rgba(232, 196, 120, .12);
  --gold-24: rgba(232, 196, 120, .24);
  --gold-38: rgba(232, 196, 120, .38);
  --gold-60: rgba(232, 196, 120, .60);
  --panel: rgba(16, 11, 40, .52);
  --serif-display: 'Cormorant Garamond', Georgia, serif;
  --serif-text: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* atrybut hidden ma wygrywać także z regułami ustawiającymi display
   (bez tego ukryty formularz czatu zostawał na ekranie) */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-text);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

h1, h2 { font-family: var(--serif-display); font-weight: 500; margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- animacje ---------- */
@keyframes tw     { 0%, 100% { opacity: .22; } 50% { opacity: 1; } }
@keyframes drift  { 0%, 100% { transform: translateY(8px) rotate(var(--r, 0deg)); opacity: .22; }
                    50%      { transform: translateY(-12px) rotate(var(--r, 0deg)); opacity: .5; } }
@keyframes nebula { 0%, 100% { transform: scale(1) translate(0, 0); }
                    50%      { transform: scale(1.08) translate(2%, -2%); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* samo rozjaśnienie — transform zostaje do dyspozycji układu i najechania */
@keyframes glyphIn { from { opacity: 0; } to { opacity: 1; } }
/* jak riseIn, ale zachowuje wyśrodkowanie elementu przez translateX(-50%);
   zwykłe riseIn nadpisałoby transform i zbiłoby czat z osi strony */
@keyframes riseInCentered {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%); }
}
@keyframes dot    { 0%, 70%, 100% { transform: translateY(0); opacity: .35; }
                    35%           { transform: translateY(-4px); opacity: 1; } }

/* ============================================================
   SCENA
   ============================================================ */

.scene {
  position: relative;
  display: flex;
  flex-direction: column;
  /* scena zajmuje dokładnie jeden ekran — karuzela dostaje resztę wysokości */
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 16%, #241548 0%, #120c34 46%, #07061a 100%);
}

.scene__nebula {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  animation: nebula 28s ease-in-out infinite;
  background:
    radial-gradient(42% 32% at 24% 30%, rgba(150, 88, 200, .30), transparent 70%),
    radial-gradient(46% 36% at 80% 26%, rgba(212, 90, 168, .20), transparent 70%),
    radial-gradient(52% 42% at 60% 80%, rgba(120, 80, 200, .16), transparent 72%);
}

.scene__sky { position: absolute; inset: 0; pointer-events: none; }

.star {
  position: absolute;
  left: var(--l); top: var(--t);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff;
  animation: tw var(--du) ease-in-out var(--d) infinite;
}

.mote {
  position: absolute;
  left: var(--l); top: var(--t);
  font-size: var(--s);
  line-height: 1;
  color: var(--gold);
  opacity: .3;
  animation: drift var(--du) ease-in-out var(--d) infinite;
}

.scene__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  background: radial-gradient(120% 120% at 50% 45%, transparent 54%, rgba(4, 3, 14, .74) 100%);
}

/* ============================================================
   TŁO: TASUJĄCA SIĘ TALIA
   ============================================================ */

.deck {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  /* szerokość karty steruje całą resztą wymiarów w tej sekcji */
  --cw: min(8.8vw, 110px);
}

.deck__card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--cw);
  height: calc(var(--cw) * 1.5);
  /* przesunięcie o pół karty, potem drobne rozsunięcie, na końcu przekrzywienie */
  transform:
    translate(-50%, -50%)
    translate(calc(var(--cw) * var(--jx)), calc(var(--cw) * var(--jy)))
    rotate(var(--rot));
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, .6);
  overflow: hidden;
  opacity: .62;
  font-size: calc(var(--cw) * 0.12);
  background: radial-gradient(circle at 50% 34%,
    rgba(53, 39, 107, .9) 0%, rgba(26, 17, 64, .9) 55%, rgba(12, 8, 36, .92) 100%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4));
  transition:
    left 1.3s cubic-bezier(.65, 0, .35, 1),
    top  1.3s cubic-bezier(.65, 0, .35, 1);
}

/* dwie złote ramki na rewersie */
.deck__frame {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 90, .42);
  border-radius: 4px;
}
.deck__frame--inner {
  inset: 9px;
  border-color: rgba(212, 175, 90, .16);
  border-radius: 3px;
}

.deck__seal {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 90, .45);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(212, 175, 90, .2);
  font-family: var(--serif-display);
  font-size: 1.6em;
  color: rgba(232, 196, 120, .85);
  text-shadow: 0 0 10px rgba(212, 175, 90, .6);
}

.deck__mark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .8em;
  color: rgba(212, 175, 90, .5);
}
.deck__mark--top    { top: 8%; }
.deck__mark--bottom { bottom: 8%; }


/* ============================================================
   GÓRNA BELKA
   ============================================================ */

.topbar {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(14px, 2.6vh, 26px) clamp(16px, 4vw, 44px);
  /* puste miejsce w belce nie zasłania tego, co pod nią (karty sfery) */
  pointer-events: none;
}
.topbar__back,
.topbar__reset { pointer-events: auto; }

.topbar__back {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-decoration: none;
  transition: color .3s ease;
}
.topbar__back:hover { color: var(--ink); }

.topbar__mark {
  font-family: var(--serif-display);
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .42em;
  text-indent: .42em;
  color: #efeaff;
}

.topbar__reset {
  border: 1px solid var(--gold-60);
  background: rgba(232, 196, 120, .08);
  color: var(--gold-light);
  font-family: var(--serif-text);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 22px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.topbar__reset:hover { background: rgba(232, 196, 120, .2); color: #fff; }
.topbar__reset--off { opacity: 0; pointer-events: none; }

/* ============================================================
   SCENA ETAPU
   ============================================================ */

.stage {
  position: relative;
  z-index: 70;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(14px, 3vh, 30px) clamp(14px, 4vw, 40px) clamp(18px, 3vh, 34px);
}

/* ---------- wariant: zwykła, przewijalna strona ---------- */

.scene--page {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  /* na stronie z treścią tekst ma być do zaznaczenia */
  user-select: text;
  -webkit-user-select: text;
}

/* dekoracje zostają nieruchome, zamiast rozciągać się na całą wysokość treści */
.scene--page .scene__nebula,
.scene--page .scene__sky,
.scene--page .scene__vignette { position: fixed; }

.stage--page { display: block; width: 100%; }

.stage__head {
  text-align: center;
  flex-shrink: 0;
  animation: riseIn .6s ease both;
}

.eyebrow {
  color: rgba(232, 196, 120, .72);
  font-size: 12.5px;
  letter-spacing: .42em;
  text-transform: uppercase;
}

/* dyskretny, jak podtytuł na stronie głównej — orbita dostaje resztę ekranu */
.stage__title {
  margin: 0;
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.55;
  letter-spacing: .1em;
  color: rgba(214, 205, 244, .62);
}

.stage__lead {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

/* ============================================================
   EKRAN ŁĄCZENIA Z WRÓŻBITĄ
   ============================================================ */

.connect {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  /* działa też na etapach, gdzie scena nie przyjmuje kliknięć (sfera) */
  pointer-events: auto;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(58, 34, 112, .55), transparent 70%),
    rgba(7, 6, 26, .97);
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity .7s ease, visibility .7s ease;
}

/* bez JS-a nie ma czym zdjąć zasłony — więc się nie pojawia */
.no-js .connect { display: none; }

.connect.is-gone { opacity: 0; visibility: hidden; }

.connect__inner {
  text-align: center;
  animation: riseIn .8s ease both;
}

/* portret w kręgu, wokół niego dwie obracające się obręcze */
.connect__orb {
  position: relative;
  width: clamp(132px, 22vh, 190px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-24);
  border-top-color: var(--gold);
  border-right-color: var(--gold-60);
  animation: connectSpin 2.6s linear infinite;
}
.connect__ring--slow {
  inset: 11px;
  border-color: var(--gold-12);
  border-bottom-color: var(--gold-60);
  border-left-color: var(--gold-24);
  animation: connectSpin 4.4s linear infinite reverse;
}

.connect__photo {
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 0 34px rgba(232, 196, 120, .26), inset 0 0 26px rgba(90, 60, 160, .2);
  animation: connectPulse 3s ease-in-out infinite;
}

.connect__seal {
  font-family: var(--serif-display);
  font-size: clamp(34px, 6vh, 48px);
  color: var(--gold);
  animation: connectPulse 3s ease-in-out infinite;
}

.connect__text {
  margin: clamp(20px, 3.2vh, 32px) 0 0;
  font-family: var(--serif-display);
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: .14em;
  color: var(--gold-light);
}

/* trzy kropki dochodzące po kolei */
.connect__dots i {
  font-style: normal;
  opacity: 0;
  animation: connectDot 1.5s ease-in-out infinite;
}
.connect__dots i:nth-child(2) { animation-delay: .25s; }
.connect__dots i:nth-child(3) { animation-delay: .5s; }

@keyframes connectSpin  { to { transform: rotate(360deg); } }
@keyframes connectPulse { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
@keyframes connectDot   { 0%, 20% { opacity: 0; } 45%, 100% { opacity: 1; } }

/* ============================================================
   ETAP 1 — WYBÓR PRZEWODNIKA
   ============================================================ */

/* ---------- przewodnicy w łuku (jak działy tarota na stronie głównej) ----------
   Dyżurujący teraz stoi pośrodku i jest największy, pozostali po bokach —
   im dalej od środka, tym niżej i mocniej odchyleni, jak rozkład na stole. */

.guides {
  --gc: min(230px, 22vw, calc((100svh - 230px) * .6));   /* szerokość karty środkowej */
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 24px);
  width: 100%;
  margin: 0;
  padding: clamp(6px, 2vh, 24px) 0 0;
  list-style: none;
}
.stage:has(.guides) { padding-top: clamp(4px, 1vh, 12px); }

.guide {
  width: calc(var(--gc) * .78);
  container-type: inline-size;
  animation: guideIn .8s cubic-bezier(.34, 1.3, .5, 1) both;
  animation-delay: calc(.1s + var(--k, 0) * .12s);
}
.guide--center { width: var(--gc); z-index: 2; }
.guide--left  { transform: translateY(calc(var(--k) * 16px)) rotate(calc(var(--k) * -3deg)); }
.guide--right { transform: translateY(calc(var(--k) * 16px)) rotate(calc(var(--k) * 3deg)); }

/* karty wychodzą spod środkowej, jak rozłożone skrzydła */
@keyframes guideIn {
  from { opacity: 0; translate: 0 18px; scale: .6; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

.guide--center .reader {
  border-color: var(--gold-60);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 40px rgba(232, 196, 120, .2), inset 0 0 24px rgba(90, 60, 160, .12);
}
.guide--center .reader__name { font-size: clamp(16px, 1.6vw, 22px); }

@media (prefers-reduced-motion: reduce) {
  .guide { animation: none; }
}

/* telefon: środkowy na górze, pozostali rzędem pod nim */
@media (max-width: 639px) {
  .guides {
    flex-wrap: wrap;
    align-content: center;
    column-gap: 8px;
    row-gap: 16px;
    padding: 0 12px;
  }
  /* cztery w rzędzie — liczone od szerokości listy, nie okna (scena ma własne marginesy) */
  .guide { width: calc((100% - 3 * 8px) / 4); }
  .guide--center { order: -1; flex-basis: 100%; width: auto; display: flex; justify-content: center; }
  .guide--center .reader { width: min(48vw, 200px); }
  .guide--left, .guide--right { transform: none; }
  .guide .reader { padding: 6px 6px 8px; }
  .guide:not(.guide--center) .reader__name { font-size: 11px; }
  .guide:not(.guide--center) .reader__rule { margin: 6px 0 5px; }
}

/* ---------- znacznik dyżuru ---------- */

.reader__status {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 24px);
  padding: 3px 10px;
  border: 1px solid rgba(150, 150, 180, .35);
  border-radius: 20px;
  background: rgba(10, 8, 30, .78);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-mute);
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.reader__status::before {
  content: '';
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(160, 160, 185, .7);
}

.reader__status--online {
  border-color: rgba(110, 220, 150, .5);
  color: #bef2d1;
}
.reader__status--online::before {
  background: #46d67e;
  box-shadow: 0 0 8px rgba(70, 214, 126, .9);
  animation: onlinePulse 2.2s ease-in-out infinite;
}

@keyframes onlinePulse { 50% { opacity: .35; } }

/* na wąskiej karcie plakietka kurczy się razem z nią, żeby „wkrótce online"
   nigdy nie wyszło poza obrys (reguła musi stać ZA bazową, żeby wygrać kaskadę) */
@container (max-width: 120px) {
  .reader__status {
    gap: 3px;
    padding: 2px 6px;
    font-size: 7px;
    letter-spacing: .03em;
  }
}

/* najmniejsze karty (telefon, rząd pod środkową) — plakietka jeszcze ciaśniej */
@container (max-width: 96px) {
  .reader__status {
    top: 10px;
    gap: 2px;
    padding: 1px 5px;
    font-size: 7px;
    letter-spacing: .04em;
  }
  /* nawet przy 6px „wkrótce online" wychodziło poza obrys — zostaje samo „wkrótce" */
  .reader__status-more { display: none; }
}

/* ---------- karta wróżbity ---------- */

.reader {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  border: 1px solid rgba(212, 175, 90, .34);
  border-radius: 13px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4), inset 0 0 24px rgba(90, 60, 160, .1);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.reader:hover,
.reader:focus-within {
  transform: translateY(-5px);
  border-color: var(--gold-60);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5), 0 0 34px rgba(232, 196, 120, .18), inset 0 0 24px rgba(90, 60, 160, .12);
}

/* ---------- ornamenty obrzeża ---------- */

/* druga, cieńsza ramka tuż przy krawędzi karty */
.reader__frame {
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-24);
  border-radius: 10px;
  pointer-events: none;
}

/* ta sama filigrana w czterech rogach — kolejne obracamy odbiciem */
.reader__corner {
  position: absolute;
  width: 17px; height: 17px;
  color: var(--gold-60);
  pointer-events: none;
}
.reader__corner svg { display: block; width: 100%; height: 100%; }
.reader__corner--tl { top: 2px; left: 2px; }
.reader__corner--tr { top: 2px; right: 2px; transform: scaleX(-1); }
.reader__corner--bl { bottom: 2px; left: 2px; transform: scaleY(-1); }
.reader__corner--br { bottom: 2px; right: 2px; transform: scale(-1); }

.reader:hover .reader__frame { border-color: var(--gold-38); }
.reader:hover .reader__corner { color: var(--gold); }

/* ---------- zdjęcie ---------- */

.reader__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 90, .18);
  background: linear-gradient(160deg, rgba(53, 39, 107, .55), rgba(12, 8, 36, .75));
}

.reader__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  display: block;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.reader:hover .reader__photo img { transform: scale(1.05); }

/* zastępcza sylwetka, gdy brakuje pliku .jpg */
.reader__silhouette {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: .45;
}

/* ---------- podpis ---------- */

.reader__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 4px;
}

/* złota linia z gwiazdką — oddziela zdjęcie od podpisu */
.reader__rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 9px;
  font-size: 9px;
  color: var(--gold-60);
}
.reader__rule::before,
.reader__rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-38), transparent);
}
.reader__rule i { font-style: normal; }

.reader__name {
  font-family: var(--serif-display);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
}

/* specjalizacje — wypływają na zdjęciu, gdy kursor staje na karcie */
.reader__spec {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 10px 8px 12px;
  background: linear-gradient(to top, rgba(8, 6, 26, .9) 0%, rgba(8, 6, 26, .45) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.reader:hover .reader__spec,
.reader:focus-within .reader__spec { opacity: 1; }

.reader__spec i {
  max-width: 100%;
  overflow: hidden;
  padding: 3px 10px;
  border: 1px solid var(--gold-38);
  border-radius: 16px;
  background: rgba(10, 8, 30, .6);
  font-style: normal;
  font-size: clamp(9.5px, .8vw, 11px);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gold-light);
}

/* cała karta wybiera przewodnika — link rozciągnięty na jej powierzchnię */
.reader__pick {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 13px;
  text-decoration: none;
}

/* imię i nazwisko prowadzi do profilu — musi być ponad linkiem karty */
.reader__profile {
  position: relative;
  z-index: 3;
  text-decoration: none;
  color: inherit;
  text-decoration-color: var(--gold-38);
  text-underline-offset: 3px;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.reader__profile:hover,
.reader__profile:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* ---------- pusty katalog wróżbitów ---------- */

.empty {
  max-width: 520px;
  margin: 40px auto;
  padding: 24px 28px;
  border: 1px dashed var(--gold-38);
  border-radius: 16px;
  background: var(--panel);
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.6;
}
.empty code,
.soon code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--gold-light);
}

/* ============================================================
   ETAP 2 — ROZMOWA Z WRÓŻBITĄ
   ============================================================ */

/* pionowy układ: portret z imieniem u góry, okno rozmowy na resztę sceny */
.ask {
  width: min(680px, 94vw);
  animation: riseIn .6s ease both;
}

.ask--chat {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 auto;
}

.ask__head {
  flex-shrink: 0;
  text-align: center;
  margin-bottom: clamp(10px, 1.8vh, 18px);
}

/* wizerunek wybranego przewodnika nad oknem rozmowy */
.ask__guide {
  position: relative;
  width: clamp(60px, 8.6vh, 88px);
  aspect-ratio: 1;
  margin: 0 auto clamp(8px, 1.4vh, 14px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold-60);
  background: linear-gradient(160deg, rgba(53, 39, 107, .55), rgba(12, 8, 36, .75));
  box-shadow: 0 0 30px rgba(232, 196, 120, .22), inset 0 0 26px rgba(90, 60, 160, .2);
}
.ask__guide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}

/* imię wróżbity — tuż pod portretem, bez żadnej etykiety nad nim */
.ask__title {
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
  color: var(--ink);
  letter-spacing: .01em;
}

.ask__error {
  flex-shrink: 0;
  margin: 0 auto clamp(10px, 1.6vh, 16px);
  width: min(600px, 90vw);
  padding: 10px 18px;
  border: 1px solid rgba(232, 120, 120, .45);
  border-radius: 20px;
  background: rgba(70, 20, 40, .35);
  font-size: 14px;
  color: rgba(250, 220, 220, .92);
  text-align: center;
}

/* ---------- okno rozmowy: ten sam czat, co przy wróżbie ---------- */

/* Bazowy .chat jest przybity do ekranu etapu wróżby — tutaj płynie w układzie.
   Podwójna klasa wygrywa z bazową regułą niezależnie od kolejności w pliku. */
.chat.chat--ask {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin-bottom: clamp(10px, 2vh, 22px);
  animation: riseIn .6s ease both;
}

/* ---------- bez JS-a: proste pytanie i wybór rozkładu ---------- */

.ask__plain { display: none; }

.no-js .chat--ask { display: none; }
.no-js .ask__plain {
  display: block;
  width: min(600px, 92vw);
  margin: 0 auto;
}
.ask__plain-note {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
  text-wrap: pretty;
}
.ask__plain .chat__field {
  width: 100%;
  margin-bottom: 16px;
}

/* ============================================================
   ROZKŁADY — TRZY GLIFY
   ============================================================ */

/* Trzy glify stoją w jednym rzędzie pod polem pytania, węższe niż
   w dawnym osobnym etapie. „flex: 1 1 0" dzieli szerokość po równo,
   więc rząd zostaje jednolinijkowy także na wąskim ekranie. */
.spreads {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(8px, 2.4vw, 26px);
  transition: opacity .4s ease;
  --face: clamp(62px, 9.4vw, 96px);
}

.spread {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 190px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  animation: glyphIn .55s cubic-bezier(.2, .8, .2, 1) var(--delay, 0s) both;
}

.spread:hover,
.spread:focus-visible { transform: scale(1.07); }

.spread__face {
  width: var(--face);
  height: var(--face);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(232, 196, 120, .55);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    rgba(232, 196, 120, .16), rgba(28, 18, 64, .5) 68%, transparent 100%);
  box-shadow: 0 0 22px rgba(232, 196, 120, .2), inset 0 0 26px rgba(232, 196, 120, .12);
  backdrop-filter: blur(6px);
  transition: box-shadow .4s ease, border-color .4s ease;
}
.spread:hover .spread__face,
.spread:focus-visible .spread__face {
  border-color: var(--gold);
  box-shadow: 0 0 34px rgba(232, 196, 120, .38), inset 0 0 30px rgba(232, 196, 120, .18);
}

.spread__face svg {
  display: block;
  width: 47%;
  height: auto;
}

.spread__text {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spread__name {
  font-family: var(--serif-display);
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.2;
  color: var(--ink);
}

.spread__sub {
  margin-top: 5px;
  font-size: clamp(9.5px, 1.05vw, 11px);
  letter-spacing: .06em;
  line-height: 1.35;
  color: rgba(214, 206, 240, .55);
  text-wrap: pretty;
}

/* ============================================================
   ETAP 3 — WYBÓR KART (kula: tarot-rozklad.css, tarot-globe.js)
   ============================================================ */

/* treść etapu pytania stoi ponad talią w tle */
.ask { position: relative; z-index: 1; }

/* zapasowy przycisk, gdy bez JS-a kula nie może się obrócić */
.orb__go {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  background: rgba(232, 196, 120, .14);
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(232, 196, 120, .2);
}
/* ============================================================
   ETAP 4 — ODSŁONIĘCIE KART
   ============================================================ */

.reading {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* karta wygaszona w talii — to ona „poleciała" na stół */
.deck__card--taken {
  opacity: 0;
  transition: opacity .7s ease;
}

/* ---------- ramki pozycji rozkładu ---------- */

.slot {
  position: absolute;
  border: 1px dashed rgba(232, 196, 120, .3);
  border-radius: 6px;
  background: rgba(232, 196, 120, .03);
  opacity: 0;
  transition: opacity .5s ease, border-color .4s ease, background .4s ease;
}
.slot.is-filled  { opacity: 1; border-color: rgba(232, 196, 120, 0); background: transparent; }
.slot.is-gone    { opacity: 0; }

/* ---------- karta wróżby ---------- */

.rcard {
  position: absolute;
  perspective: 1000px;
  opacity: 0;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55));
  transition:
    left   .9s cubic-bezier(.5, 0, .2, 1),
    top    .9s cubic-bezier(.5, 0, .2, 1),
    width  .9s cubic-bezier(.5, 0, .2, 1),
    height .9s cubic-bezier(.5, 0, .2, 1),
    transform .6s cubic-bezier(.5, 0, .2, 1),
    opacity .3s ease,
    filter .4s ease;
}
.rcard.is-live { opacity: 1; }

.is-lifted .rcard {
  pointer-events: auto;
  cursor: pointer;
}
.rcard.is-selected {
  filter: drop-shadow(0 0 24px rgba(232, 196, 120, .75));
  z-index: 2;
}

.rcard__flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
  transition: transform .95s cubic-bezier(.45, .05, .2, 1);
}
.rcard.is-revealed .rcard__flip { transform: rotateY(0deg); }

.rcard__face,
.rcard__back {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rcard__face { background: #0c0824; }
.rcard__face img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* rewers ten sam co w talii w tle */
.rcard__back {
  transform: rotateY(180deg);
  border: 1px solid #000;
  background: radial-gradient(circle at 50% 34%, #35276b 0%, #1a1140 55%, #0c0824 100%);
}
.rcard__back .deck__frame { border-color: rgba(212, 175, 90, .5); }
.rcard__back .deck__seal {
  border-color: rgba(212, 175, 90, .5);
  box-shadow: inset 0 0 20px rgba(212, 175, 90, .22);
  color: rgba(232, 196, 120, .9);
  font-size: 1.7em;
}

/* ---------- podpis pozycji ---------- */

.rcard__tag {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  /* szerzej niż karta, ale węziej niż jej rozstaw w rzędzie —
     inaczej podpisy sąsiednich kart nachodzą na siebie */
  width: max(56px, 118%);
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  color: rgba(239, 234, 255, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease .3s, color .3s ease;
}
.is-lifted .rcard__tag { opacity: 1; }
.reading[data-spread="1"] .rcard__tag { display: none; }
.reading[data-spread="celtic"] .rcard__tag { font-size: 8.5px; }
.rcard.is-selected .rcard__tag { color: rgba(232, 196, 120, .95); }

/* ============================================================
   ETAP 4 — CZAT Z WYROCZNIĄ
   ============================================================ */

.chat {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 93vw);
  z-index: 70;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 90, .34);
  border-radius: 22px;
  background: rgba(16, 11, 40, .62);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 50px rgba(150, 88, 200, .18),
              inset 0 0 44px rgba(90, 60, 160, .12);
  animation: riseInCentered .6s ease both;
}

.chat__bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(212, 175, 90, .16);
}

.chat__avatar {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 120, .6);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(232, 196, 120, .3);
  color: var(--gold);
  font-family: var(--serif-display);
  font-size: 15px;
}
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.chat__who {
  flex: 1;
  font-family: var(--serif-display);
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--ink);
}

.chat__spread {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 196, 120, .55);
}

.chat__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 90, .3) transparent;
  user-select: text;
  -webkit-user-select: text;
}
.chat__scroll::-webkit-scrollbar { width: 7px; }
.chat__scroll::-webkit-scrollbar-thumb { background: rgba(212, 175, 90, .3); border-radius: 6px; }
.chat__scroll::-webkit-scrollbar-track { background: transparent; }

/* ---------- dymki rozmowy ---------- */

.msg {
  display: flex;
  gap: 9px;
  align-items: flex-end;
  animation: riseIn .4s ease both;
}
.msg--mine { justify-content: flex-end; }

.msg__avatar {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 196, 120, .5);
  border-radius: 50%;
  background: rgba(20, 14, 48, .6);
  color: var(--gold);
  font-family: var(--serif-display);
  font-size: 14px;
  box-shadow: 0 0 14px rgba(232, 196, 120, .25);
}

.msg__bubble {
  max-width: 80%;
  padding: 11px 15px;
  border: 1px solid rgba(212, 175, 90, .22);
  border-radius: 18px 18px 18px 5px;
  background: rgba(70, 48, 132, .28);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3), inset 0 0 26px rgba(90, 60, 160, .16);
}
.msg--mine .msg__bubble {
  border-radius: 18px 18px 5px 18px;
  border-color: rgba(232, 196, 120, .32);
  background: rgba(232, 196, 120, .13);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28), 0 0 22px rgba(232, 196, 120, .1);
}

.msg__cap {
  margin-bottom: 5px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(232, 196, 120, .75);
}

.msg__name {
  margin-bottom: 5px;
  font-family: var(--serif-display);
  font-size: 19px;
  color: var(--gold-light);
  text-shadow: 0 0 14px rgba(232, 196, 120, .3);
}

.msg__text {
  min-height: 1.2em;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(236, 230, 252, .92);
  white-space: pre-wrap;
  text-wrap: pretty;
}
.msg--mine .msg__text { color: #f6efdd; }

/* podpowiedź pośrodku, bez dymka */
.msg--hint { justify-content: center; }
.msg--hint .msg__bubble {
  max-width: 90%;
  padding: 2px 8px;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
.msg--hint .msg__text {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(232, 196, 120, .7);
}

/* „wyrocznia myśli" */
.msg__dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 3px 2px;
}
.msg__dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot 1.1s ease-in-out infinite;
}
.msg__dots span:nth-child(2) { animation-delay: .18s; }
.msg__dots span:nth-child(3) { animation-delay: .36s; }

/* ---------- pole dopytania ---------- */

.chat__form {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(212, 175, 90, .16);
}

.chat__field {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(212, 175, 90, .4);
  border-radius: 24px;
  background: rgba(20, 14, 48, .5);
  color: var(--ink);
  font-family: var(--serif-text);
  font-size: 15.5px;
  line-height: 1.4;
  outline: none;
  resize: none;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(90, 60, 160, .14);
  user-select: text;
  -webkit-user-select: text;
}
.chat__field::placeholder { color: rgba(210, 200, 240, .42); }
.chat__field:focus { border-color: var(--gold-60); }

.chat__send {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(232, 196, 120, .14);
  color: var(--gold-light);
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(232, 196, 120, .25);
  transition: all .3s ease;
}
.chat__send:hover { background: rgba(232, 196, 120, .24); color: #fff; }

.chat__form:has(.chat__field:placeholder-shown) .chat__send {
  border-color: rgba(232, 196, 120, .3);
  background: transparent;
  color: rgba(232, 196, 120, .4);
  box-shadow: none;
  cursor: not-allowed;
}

/* ============================================================
   PROFIL WRÓŻBITY
   ============================================================ */

.profile {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: clamp(30px, 6vh, 60px);
  animation: riseIn .6s ease both;
}

/* ---------- nagłówek: zdjęcie + wizytówka ---------- */

.profile__hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 36px);
  align-items: center;
  margin-top: clamp(10px, 2vh, 22px);
}

.profile__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--gold-38);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(53, 39, 107, .55), rgba(12, 8, 36, .75));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 40px rgba(150, 88, 200, .16);
}
.profile__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

.profile__name {
  margin: 12px 0 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  color: var(--ink);
}

.profile__lead {
  margin: 12px 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.45;
  color: rgba(243, 230, 196, .88);
  text-wrap: pretty;
}

.profile__cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  border-radius: 26px;
  background: rgba(232, 196, 120, .14);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(232, 196, 120, .18);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.profile__cta:hover {
  background: rgba(232, 196, 120, .28);
  color: #fff;
  box-shadow: 0 0 32px rgba(232, 196, 120, .38);
}

/* ---------- dłuższy opis ---------- */

.profile__body {
  margin-top: clamp(26px, 4.5vh, 44px);
  padding-top: clamp(22px, 3.5vh, 34px);
  border-top: 1px solid var(--gold-24);
}
.profile__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.profile__body p:last-child { margin-bottom: 0; }

/* ---------- kilka słów od wróżbity ---------- */

.quote {
  position: relative;
  margin: clamp(26px, 4.5vh, 44px) 0 0;
  padding: clamp(24px, 3.4vw, 34px) clamp(22px, 3.4vw, 34px) clamp(22px, 3vw, 30px);
  border: 1px solid var(--gold-24);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(90, 60, 160, .18), rgba(16, 11, 40, .5));
  box-shadow: inset 0 0 44px rgba(90, 60, 160, .16);
}
.quote::before {
  content: '„';
  position: absolute;
  top: -12px; left: 18px;
  font-family: var(--serif-display);
  font-size: 74px;
  line-height: 1;
  color: var(--gold);
  opacity: .32;
  pointer-events: none;
}

.quote__label {
  position: relative;
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(232, 196, 120, .72);
  text-align: center;
}

.quote p {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 23px);
  line-height: 1.55;
  color: rgba(244, 238, 254, .94);
  text-align: center;
  text-wrap: pretty;
}

.quote__sign {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- opinie klientów ---------- */

.reviews { margin-top: clamp(30px, 5vh, 52px); }

.reviews__head { text-align: center; }
.reviews__title {
  margin: 10px 0 0;
  font-size: clamp(22px, 3.2vw, 30px);
  color: var(--ink);
}

.reviews__grid {
  margin-top: clamp(20px, 3vh, 30px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 18px 20px 16px;
  border: 1px solid rgba(212, 175, 90, .28);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34), inset 0 0 24px rgba(90, 60, 160, .1);
}

.review__stars {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(232, 196, 120, .4);
}

.review__text {
  margin: 12px 0 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.review__author {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gold-24);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 196, 120, .7);
}

/* ---------- stopka profilu ---------- */

.profile__foot {
  margin-top: clamp(28px, 4.5vh, 46px);
  padding-top: clamp(22px, 3.5vh, 32px);
  border-top: 1px solid var(--gold-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.profile__foot .profile__cta { margin-top: 0; }

.profile__back {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
}
.profile__back:hover { color: #fff; }

@media (max-width: 620px) {
  .profile__hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .profile__photo { width: min(230px, 68vw); }
}

/* ---------- zaślepka kolejnego etapu ---------- */

.soon {
  max-width: 560px;
  margin: clamp(24px, 6vh, 60px) auto 0;
  padding: 28px 30px;
  border: 1px solid var(--gold-24);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: center;
  animation: riseIn .6s ease both;
}
.soon p { color: var(--ink-soft); line-height: 1.65; margin: 12px 0 0; }
.soon__back {
  display: inline-block;
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
}
.soon__back:hover { color: #fff; }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */

/* niskie okna — nagłówek ustępuje miejsca orbicie */
@media (max-height: 780px) {
  .stage__lead { font-size: 12.5px; }
}

@media (max-height: 640px) {
  .stage__lead { display: none; }
}

@media (max-width: 560px) {
  .topbar__mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scene__nebula, .star, .mote { animation: none; }
  .reader, .reader__photo img { transition: none; }
  .reader__status--online::before { animation: none; }
  /* ekran łączenia zostaje — gaśnie tylko wirowanie obręczy */
  .connect__ring, .connect__photo, .connect__seal { animation: none; }
  /* talia zostaje rozłożona, ale przestaje się przesuwać */
  .deck__card { transition: none; }
}

/* ============================================================
   KOD Z SMS-A — pole czatu w czasie blokady (tarot-sms.js)
   ============================================================ */

.chat__form.is-code .chat__field {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(232, 196, 120, .35), 0 0 22px rgba(232, 196, 120, .18);
  letter-spacing: .14em;
}
.chat__form.is-code .chat__field::placeholder { letter-spacing: .04em; color: var(--gold-light); opacity: .8; }

/* ============================================================
   NOWY REWERS — na końcu, żeby wygrał z dawnymi regułami talii i kart
   ============================================================ */

/* Nowy rewers (ten sam co w sekcji tarota na stronie głównej i w kuli
   rozkładów) zastępuje stary złoty wzór ramek i pieczęci — rysunek siedzi
   w zmiennej --rewers ustawionej na .scene przez tarot_head(). */
.deck__card,
.rcard__back {
  border: 0;
  border-radius: 7% / 4.4%;
  background: var(--rewers) center / 100% 100% no-repeat;
}
/* nowy rewers jest jaśniejszy od starego — talia w tle nie może konkurować z czatem */
.deck__card { height: calc(var(--cw) * 1.6); opacity: .36; }
.deck__card > *,
.rcard__back > * { display: none; }
