/* Таро — духи помощники (универсальная страница) */
:root {
  --ts-bg0: #0a0a0c;
  --ts-bg1: #121018;
  --ts-paper: rgba(255, 250, 242, 0.94);
  --ts-ink: #0c0c0e;
  --ts-muted: rgba(255, 250, 242, 0.55);
  --ts-line: rgba(255, 250, 242, 0.12);
  --ts-accent: #c9a962;
  --ts-font-display: "Josefin Sans", system-ui, sans-serif;
  --ts-font-body: "Roboto", system-ui, sans-serif;
  --ts-radius: 18px;
  --ts-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ts-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ts-paper);
  background: var(--ts-bg0);
}

.ts-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 169, 98, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(80, 60, 120, 0.12), transparent 45%),
    linear-gradient(180deg, var(--ts-bg1) 0%, var(--ts-bg0) 100%);
  pointer-events: none;
}

.ts-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ts-header {
  position: relative;
  z-index: 2;
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--ts-line);
}

.ts-container {
  width: 100%;
  max-width: var(--ts-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ts-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ts-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ts-brand__sigil {
  font-size: 1.35rem;
  color: var(--ts-accent);
}

.ts-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ts-brand__title {
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ts-brand__sub {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ts-muted);
}

.ts-main {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.ts-longread {
  padding-top: 28px;
}

/* Catalog (главная сетка арканов) */
.ts-section {
  padding: 24px 0 48px;
}

.ts-section__head {
  margin-bottom: 28px;
}

.ts-kicker {
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ts-accent);
  margin-bottom: 10px;
}

.ts-title {
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 12px;
  line-height: 1.2;
}

.ts-p {
  margin: 0;
  max-width: 52ch;
  color: var(--ts-muted);
  font-size: 0.95rem;
}

.ts-aspects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.ts-aspect {
  display: block;
  padding: 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--ts-line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  color: inherit;
}

.ts-aspect:hover {
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.ts-aspect__icon {
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid var(--ts-line);
}

.ts-aspect__name {
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.ts-aspect__edge {
  font-size: 0.75rem;
  color: var(--ts-muted);
}

.tarot-fetch-error {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 140, 0.45);
  background: rgba(40, 18, 18, 0.55);
  color: #ffc9c9;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ——— Страница каталога (tarot/catalog.html) ——— */
/* main без z-index может оказаться под .ts-bg / .ts-noise (fixed, z-index: 0) */
body.tarot-catalog-body main {
  position: relative;
  z-index: 1;
}

.tarot-catalog-section {
  position: relative;
  z-index: 1;
  padding: 32px 0 64px;
  overflow: visible;
}

.tarot-catalog-hero {
  position: relative;
  margin-bottom: 36px;
  padding: 32px 28px 36px;
  border-radius: 22px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: linear-gradient(155deg, rgba(22, 22, 28, 0.92) 0%, rgba(8, 8, 12, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tarot-catalog-hero__glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 80%;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 169, 98, 0.12), transparent 70%);
  pointer-events: none;
}

.tarot-catalog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.tarot-catalog-hero__eyebrow {
  margin: 0 0 10px;
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a05a;
}

.tarot-catalog-hero__title {
  margin: 0 0 14px;
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: 0.02em;
  color: #faf8f2;
  line-height: 1.15;
}

.tarot-catalog-hero__lead {
  margin: 0 0 20px;
  font-family: var(--ts-font-body);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.58);
}

.tarot-catalog-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.tarot-catalog-hero__chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.75);
}

.tarot-catalog-hero__link {
  font-family: var(--ts-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ts-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tarot-catalog-hero__link:hover {
  color: #e8d4a8;
}

/* Сетка: 7 колонок → несколько рядов (22 карты); на узких — больше рядов */
.ts-aspects.ts-catalog-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px 14px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 0;
  overflow: visible;
  position: relative;
  z-index: 2;
  align-items: start;
  isolation: isolate;
}

@media (max-width: 1100px) {
  .ts-aspects.ts-catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .ts-aspects.ts-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
  }
}

.tarot-catalog--loading .ts-catalog-grid {
  min-height: 200px;
  opacity: 0.45;
  pointer-events: none;
}

.ts-aspect--catalog {
  text-align: center;
  color: rgba(255, 250, 242, 0.92);
  text-decoration: none;
}

.ts-aspect--catalog:visited {
  color: rgba(255, 250, 242, 0.88);
}

.ts-aspect--catalog .ts-aspect__name {
  color: rgba(255, 250, 242, 0.95);
}

.ts-aspect--catalog .ts-aspect__edge {
  color: rgba(255, 250, 242, 0.55);
}

.ts-aspect__icon--catalog {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 5 / 8;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: rgba(6, 6, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-catalog-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ts-catalog-card__img[data-ts-missing="1"] {
  min-height: 48px;
  object-fit: none;
  background: rgba(255, 255, 255, 0.04);
}

.ts-aspect--catalog .ts-aspect__name {
  font-size: 0.78rem;
  margin-top: 4px;
}

.ts-aspect--catalog .ts-aspect__edge {
  font-size: 0.7rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Longread blocks */
.tarot-spirits-augury__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ts-line);
}

.tarot-spirits-augury__nav a {
  color: var(--ts-accent);
  text-decoration: none;
  font-size: 0.88rem;
}

.tarot-spirits-augury__nav a:hover {
  text-decoration: underline;
}

.tarot-spirits-augury__counter {
  font-family: var(--ts-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ts-muted);
  margin-left: auto;
}

.tarot-spirits-augury__dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tarot-spirits-augury__btn {
  appearance: none;
  border: 1px solid var(--ts-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ts-paper);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.tarot-spirits-augury__btn:hover:not(:disabled) {
  background: rgba(201, 169, 98, 0.15);
  border-color: rgba(201, 169, 98, 0.4);
}

.tarot-spirits-augury__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Герой: тёмная панель, карта в рамке слева, текст справа */
.tarot-hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(280px, 1fr);
  gap: 32px 48px;
  align-items: center;
  margin-bottom: 40px;
  padding: 28px 28px 32px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(8, 8, 12, 0.98) 0%, rgba(5, 5, 8, 1) 100%);
  border: 1px solid rgba(255, 250, 242, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .tarot-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px 26px;
  }
}

.tarot-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tarot-hero__frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border-radius: 16px;
  background: #050508;
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 242, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.55);
}

.tarot-hero__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 250, 242, 0.06);
  pointer-events: none;
}

.tarot-hero__frame img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: contain;
  border-radius: 8px;
  z-index: 1;
}

.tarot-hero__frame img[data-error="1"] {
  min-height: 200px;
  object-fit: none;
  background: rgba(255, 255, 255, 0.04);
}

.tarot-hero__caption {
  margin: 0;
  font-family: var(--ts-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ts-muted);
  text-align: center;
  max-width: 100%;
}

.tarot-hero__content {
  padding: 8px 4px 8px 0;
}

.tarot-hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--ts-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ts-accent);
}

.tarot-hero__name {
  margin: 0 0 16px;
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  color: var(--ts-paper);
}

.tarot-hero__keywords {
  margin: 0 0 20px;
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.35;
  color: rgba(255, 250, 242, 0.88);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.1);
}

.tarot-hero__keywords:empty {
  display: none;
}

.tarot-hero__lede {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tarot-hero__p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.72);
  max-width: 48ch;
}

.tarot-spirits-augury__kicker {
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ts-accent);
  margin-bottom: 8px;
}

.tarot-spirits-augury__p {
  margin: 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.95rem;
}

.tarot-spirits-augury__grid {
  margin-bottom: 36px;
}

.tarot-spirits-augury__lead {
  margin: 0 0 18px;
  color: var(--ts-muted);
  font-size: 0.92rem;
  max-width: 62ch;
}

/* ——— Точки символизма: круги-кропы → вкладыш с зигзагом ——— */
.ts-symbolism-section .ts-symbolism-block {
  position: relative;
}

.ts-symbolism-lead {
  margin: 0 0 22px;
  max-width: 62ch;
}

.ts-symbolism-lead:empty {
  display: none;
}

.ts-symbolism-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  align-items: flex-start;
}

.ts-symbolism-point {
  --bg: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
  transition: transform 0.25s ease;
}

.ts-symbolism-point:hover,
.ts-symbolism-point:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.ts-symbolism-point:focus-visible .ts-symbolism-point__disc {
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.55), 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ts-symbolism-point__disc {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255, 250, 242, 0.14);
  background-image: var(--bg);
  /* Одна ось в %, вторая auto — иначе портретная карта сплющивается в квадрат диска */
  background-size: calc(520% * var(--fx-zoom, 1)) auto;
  background-position: 0 0;
  background-repeat: no-repeat;
  filter: contrast(1.08) brightness(0.9) grayscale(1);
  margin: 0 auto 8px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ts-symbolism-point:hover .ts-symbolism-point__disc {
  border-color: rgba(201, 169, 98, 0.45);
}

.ts-symbolism-point__cap {
  font-family: var(--ts-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 250, 242, 0.55);
  line-height: 1.25;
}

/* Кнопка-замок: вход в редактор fx */
.tarot-symbolism-admin-gate {
  position: fixed;
  z-index: 90;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
}

.tarot-symbolism-admin-gate__anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.tarot-symbolism-admin-gate__lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 50%;
  background: rgba(12, 10, 14, 0.92);
  color: rgba(255, 250, 242, 0.88);
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 250, 242, 0.06);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.tarot-symbolism-admin-gate__lock:hover {
  border-color: rgba(201, 169, 98, 0.75);
  color: #faf8f2;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 169, 98, 0.2),
    inset 0 1px 0 rgba(255, 250, 242, 0.08);
}

.tarot-symbolism-admin-gate__lock:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.65);
  outline-offset: 3px;
}

.tarot-symbolism-admin-gate__lock[aria-expanded="true"] {
  border-color: rgba(201, 169, 98, 0.85);
  background: rgba(28, 24, 18, 0.96);
}

.tarot-symbolism-admin-gate__lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.tarot-symbolism-admin-login-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: min(calc(100vw - 32px), 300px);
  border-radius: 14px;
  border: 1px solid rgba(255, 250, 242, 0.12);
  background: rgba(6, 6, 10, 0.97);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tarot-symbolism-admin-login-panel[hidden] {
  display: none !important;
}

/* Вход в редактор fx (локальный логин / подсказка) */
.tarot-symbolism-admin-login {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 250, 242, 0.14);
  background: rgba(8, 8, 10, 0.55);
}

.tarot-symbolism-admin-gate .tarot-symbolism-admin-login {
  margin: 0;
  border: none;
  background: transparent;
  padding: 16px 16px 14px;
}

.tarot-symbolism-admin-login__title {
  margin: 0 0 12px;
  font-family: var(--ts-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.9);
}

.tarot-symbolism-admin-login__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tarot-symbolism-admin-login__label {
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.55);
  width: 100%;
}

@media (min-width: 520px) {
  .tarot-symbolism-admin-login__label {
    width: auto;
  }
}

.tarot-symbolism-admin-login__input {
  flex: 1 1 120px;
  min-width: 100px;
  max-width: 180px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ts-paper);
  font-family: var(--ts-font-body);
  font-size: 0.85rem;
}

.tarot-symbolism-admin-login__input::placeholder {
  color: rgba(255, 250, 242, 0.35);
}

.tarot-symbolism-admin-login__submit {
  appearance: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.22);
  color: var(--ts-paper);
  font-family: var(--ts-font-body);
  font-size: 0.82rem;
}

.tarot-symbolism-admin-login__submit:hover {
  background: rgba(201, 169, 98, 0.32);
}

.tarot-symbolism-admin-login__error {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 120, 120, 0.95);
  min-height: 1.2em;
}

.tarot-symbolism-admin-login__hint {
  margin: 10px 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 250, 242, 0.42);
}

.tarot-symbolism-admin-login__hint code {
  font-size: 0.9em;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

/* Режим админа: правка fx точек смысла */
.tarot-symbolism-admin {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: linear-gradient(165deg, rgba(32, 28, 20, 0.96) 0%, rgba(12, 10, 8, 0.98) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.tarot-symbolism-admin__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 48ch;
}

.tarot-symbolism-admin__title {
  font-family: var(--ts-font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ts-accent);
}

.tarot-symbolism-admin__hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 250, 242, 0.72);
}

.tarot-symbolism-admin__kbd {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 250, 242, 0.85);
}

.tarot-symbolism-admin__status {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.85rem;
  color: rgba(144, 220, 160, 0.95);
}

.tarot-symbolism-admin__status--file {
  margin-top: 4px;
  min-height: 1.2em;
  font-size: 0.78rem;
  color: rgba(180, 200, 220, 0.72);
}

.tarot-symbolism-admin__status--file.is-pending {
  color: rgba(201, 169, 98, 0.88);
}

.tarot-symbolism-admin__status--file.is-ok {
  color: rgba(144, 220, 160, 0.92);
}

.tarot-symbolism-admin__status--file.is-error {
  color: rgba(255, 160, 140, 0.92);
}

.tarot-symbolism-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tarot-symbolism-admin__btn {
  appearance: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: rgba(201, 169, 98, 0.18);
  color: var(--ts-paper);
  font-family: var(--ts-font-body);
  font-size: 0.82rem;
  transition: background 0.2s, border-color 0.2s;
}

.tarot-symbolism-admin__btn:hover {
  background: rgba(201, 169, 98, 0.28);
}

.tarot-symbolism-admin__btn--ghost {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.2);
  color: rgba(255, 250, 242, 0.75);
}

.tarot-symbolism-admin__note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 250, 242, 0.42);
}

.tarot-symbolism-admin__note code {
  font-size: 0.68em;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.tarot-hero__frame--symbolism-pick {
  outline: 2px dashed rgba(201, 169, 98, 0.75);
  outline-offset: 4px;
  border-radius: 16px;
}

.tarot-hero__frame--symbolism-pick #card-image {
  cursor: crosshair;
}

.ts-symbolism-point--admin-selected .ts-symbolism-point__disc {
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.85),
    0 12px 32px rgba(0, 0, 0, 0.45);
  border-color: rgba(201, 169, 98, 0.65);
}

/* Модалка выбора fx: круг → клик по увеличенной карте */
.ts-fx-picker {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.ts-fx-picker[hidden] {
  display: none !important;
}

.ts-fx-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 6, 0.88);
  backdrop-filter: blur(8px);
}

.ts-fx-picker__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(96vw, 440px);
  max-height: min(92vh, 900px);
  overflow: auto;
  scrollbar-gutter: stable;
  padding: 20px 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: linear-gradient(165deg, rgba(18, 16, 22, 0.98), rgba(8, 8, 12, 0.99));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.ts-fx-picker__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 250, 242, 0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ts-fx-picker__close:hover {
  background: rgba(201, 169, 98, 0.2);
}

.ts-fx-picker__title {
  margin: 0 44px 8px 0;
  font-family: var(--ts-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.92);
}

.ts-fx-picker__lead {
  margin: 0 0 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 250, 242, 0.55);
}

.ts-fx-picker__frame {
  padding: 12px;
  border-radius: 12px;
  background: #050508;
  border: 1px solid rgba(255, 250, 242, 0.08);
}

.ts-fx-picker__media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.ts-fx-picker__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  vertical-align: top;
  position: relative;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.ts-fx-picker__lens {
  position: absolute;
  box-sizing: border-box;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 98, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 0 9999px rgba(0, 0, 0, 0.45);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.ts-fx-picker__lens:active {
  cursor: grabbing;
}

.ts-fx-picker__toolbar {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.ts-fx-picker__commit {
  appearance: none;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.28);
  color: var(--ts-paper);
  font-family: var(--ts-font-body);
  font-size: 0.88rem;
  font-weight: 600;
}

.ts-fx-picker__commit:hover {
  background: rgba(201, 169, 98, 0.4);
}

.ts-fx-picker__hint {
  margin: 12px 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 250, 242, 0.42);
}

.ts-symbolism-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 24px 16px;
}

.ts-symbolism-overlay[hidden] {
  display: none !important;
}

.ts-symbolism-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 4, 0.82);
  backdrop-filter: blur(6px);
}

.ts-symbolism-overlay__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 250, 242, 0.35), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 250, 242, 0.2), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 250, 242, 0.28), transparent),
    radial-gradient(1px 1px at 90% 90%, rgba(255, 250, 242, 0.18), transparent);
  background-size: 100% 100%;
  pointer-events: none;
}

.ts-symbolism-overlay__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: min(92vh, 900px);
  overflow: hidden auto;
  margin: auto;
  padding: 36px 28px 44px;
  border-radius: 20px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: #050506;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.ts-symbolism-overlay__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: inherit;
}

.ts-symbolism-overlay__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 242, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 250, 242, 0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ts-symbolism-overlay__close:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.4);
}

.ts-symbolism-overlay__title {
  position: relative;
  z-index: 1;
  margin: 0 48px 28px 0;
  font-family: var(--ts-font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  letter-spacing: 0.04em;
  color: #faf8f2;
}

.ts-symbolism-overlay__body {
  position: relative;
  z-index: 1;
}

/* Оверлей «Подробнее» по аспекту карты */
.ts-aspect-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 24px 16px;
}

.ts-aspect-overlay[hidden] {
  display: none !important;
}

.ts-aspect-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 4, 0.86);
  backdrop-filter: blur(8px);
}

.ts-aspect-overlay__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: min(88vh, 820px);
  overflow: hidden auto;
  margin: auto;
  padding: 36px 26px 40px;
  border-radius: 18px;
  border: 1px solid rgba(255, 250, 242, 0.12);
  background: #08080a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7);
}

.ts-aspect-overlay__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ts-aspect-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 242, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 250, 242, 0.88);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ts-aspect-overlay__close:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.4);
}

.ts-aspect-overlay__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a05a;
}

.ts-aspect-overlay__title {
  position: relative;
  z-index: 1;
  margin: 0 44px 22px 0;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.02em;
  color: #faf8f2;
  line-height: 1.35;
}

.ts-aspect-overlay__title-glyph {
  margin-right: 0.35em;
  opacity: 0.95;
}

.ts-aspect-overlay__body {
  position: relative;
  z-index: 1;
  font-family: var(--ts-font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.78);
}

.ts-aspect-detail__detail p {
  margin: 0 0 0.85em;
}

.ts-aspect-detail__detail p:last-child {
  margin-bottom: 0;
}

.ts-aspect-detail__subhead {
  margin: 1.35em 0 0.65em;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.55);
}

.ts-aspect-detail__examples {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: rgba(255, 250, 242, 0.72);
}

.ts-aspect-detail__examples li {
  margin-bottom: 0.5em;
}

.ts-aspect-detail__examples li:last-child {
  margin-bottom: 0;
}

.ts-aspect-detail__empty {
  margin: 0;
  color: rgba(255, 250, 242, 0.45);
  font-size: 0.9rem;
}

.ts-symbolism-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(56px, 10vw, 100px);
}

.ts-symbolism-row:last-child {
  margin-bottom: 0;
}

.ts-symbolism-row--even {
  flex-direction: row-reverse;
}

.ts-symbolism-row__media {
  flex: 0 0 auto;
  width: min(42%, 300px);
  max-width: 300px;
}

.ts-symbolism-row__disc {
  width: 100%;
  aspect-ratio: 1;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 242, 0.12);
  background-image: var(--bg);
  background-size: calc(520% * var(--fx-zoom, 1)) auto;
  background-position: 0 0;
  background-repeat: no-repeat;
  filter: contrast(1.08) brightness(0.92) grayscale(1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.ts-symbolism-row__text {
  flex: 1;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-symbolism-row--odd .ts-symbolism-row__text {
  align-items: flex-start;
  text-align: left;
}

.ts-symbolism-row--even .ts-symbolism-row__text {
  align-items: flex-end;
  text-align: right;
}

.ts-symbolism-row__cat {
  margin: 0;
  font-family: var(--ts-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8956a;
}

.ts-symbolism-row__head {
  margin: 0;
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  color: #fff;
}

.ts-symbolism-row__body {
  font-family: var(--ts-font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.62);
}

.ts-symbolism-row__body p {
  margin: 0 0 0.75em;
}

.ts-symbolism-row__body p:last-child {
  margin-bottom: 0;
}

.ts-symbolism-row__btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 242, 0.35);
  background: transparent;
  color: rgba(255, 250, 242, 0.9);
  font-family: var(--ts-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ts-symbolism-row__btn:hover {
  background: rgba(255, 250, 242, 0.06);
  border-color: rgba(255, 250, 242, 0.55);
}

@media (max-width: 720px) {
  .ts-symbolism-row,
  .ts-symbolism-row--even {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ts-symbolism-row__media {
    width: min(88vw, 280px);
  }

  .ts-symbolism-row--odd .ts-symbolism-row__text,
  .ts-symbolism-row--even .ts-symbolism-row__text {
    align-items: center;
    text-align: center;
  }
}

/* ——— Аспекты карты: референс «Our Services» — звёзды, мандала, матовое стекло, облака, pill-кнопка ——— */
.tarot-aspects-section .tarot-spirits-augury__block {
  position: relative;
  padding: 48px 20px 56px;
  border-radius: 22px;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(18, 16, 24, 0.9) 0%, #020203 55%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.tarot-aspects-section .tarot-spirits-augury__block::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.tarot-aspects-section .tarot-spirits-augury__block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 18% 45%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 92% 88%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 72% 22%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 35% 78%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 55% 8%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 44% 62%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 81% 52%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 12% 68%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 63% 91%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 28% 31%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 96% 38%, rgba(255, 255, 255, 0.35), transparent);
  background-size: 100% 100%;
}

.tarot-aspects-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 36px;
}

.tarot-aspects-head__eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a05a;
}

.tarot-aspects-head__title {
  margin: 0 0 1rem;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: 0.02em;
  color: #faf8f2;
  line-height: 1.15;
}

.tarot-aspects-head__lead {
  margin: 0 auto;
  max-width: 46ch;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.62);
}

.ts-aspects-carousel {
  position: relative;
  z-index: 1;
}

.ts-aspects-carousel__mandala {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(130vw, 780px);
  height: min(130vw, 780px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(circle at 50% 50%, transparent 28%, rgba(140, 150, 170, 0.12) 28.5%, transparent 29%),
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(140, 150, 170, 0.12) 38.5%, transparent 39%),
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(140, 150, 170, 0.1) 48.5%, transparent 49%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(140, 150, 170, 0.08) 58.5%, transparent 59%),
    radial-gradient(circle at 50% 50%, transparent 68%, rgba(140, 150, 170, 0.06) 68.5%, transparent 69%),
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 8deg, rgba(200, 200, 215, 0.07) 8deg 9deg);
  filter: blur(0.35px);
}

.ts-aspects-carousel__controls {
  display: flex;
  align-items: stretch;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.ts-aspects-carousel__arrow {
  flex: 0 0 44px;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 250, 242, 0.88);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.ts-aspects-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fffef8;
}

.ts-aspects-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.35) transparent;
  padding: 8px 4px 20px;
  outline: none;
}

.ts-aspects-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.35);
  border-radius: 12px;
}

.ts-aspects-carousel__track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: max-content;
  min-height: 100%;
}

.ts-aspect-card {
  flex: 0 0 clamp(260px, 30vw, 320px);
  width: clamp(260px, 30vw, 320px);
  scroll-snap-align: start;
}

@media (max-width: 700px) {
  .ts-aspect-card {
    flex: 0 0 min(88vw, 320px);
    width: min(88vw, 320px);
  }

  .ts-aspects-carousel__arrow {
    display: none;
  }
}

.ts-aspect-card__inner {
  position: relative;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(18, 18, 22, 0.35);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35) 100%);
  background-size: 100% 100%;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  box-sizing: border-box;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease,
    transform 0.35s ease;
}

.ts-aspect-card__clouds {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
  -webkit-mask-image: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0.88) 48%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0.88) 48%, transparent 100%);
}

.ts-aspect-card__clouds-layer {
  position: absolute;
  bottom: 0;
  left: -22%;
  width: 144%;
  height: 100%;
  background: url("../images/augury-assets/clouds.png") center bottom / 105% auto no-repeat;
  opacity: 0.34;
  mix-blend-mode: screen;
  filter: saturate(0) brightness(1.14);
  will-change: transform;
  animation: ts-aspect-clouds-drift-a 52s ease-in-out infinite alternate;
}

.ts-aspect-card__clouds-layer--b {
  left: -28%;
  width: 156%;
  opacity: 0.22;
  background-size: 118% auto;
  background-position: 42% bottom;
  filter: saturate(0) brightness(1.06) blur(0.9px);
  animation: ts-aspect-clouds-drift-b 74s ease-in-out infinite alternate-reverse;
}

@keyframes ts-aspect-clouds-drift-a {
  0% {
    transform: translate3d(-5%, 0, 0);
  }
  100% {
    transform: translate3d(5%, 0, 0);
  }
}

@keyframes ts-aspect-clouds-drift-b {
  0% {
    transform: translate3d(4%, 0, 0) scale(1.02);
  }
  100% {
    transform: translate3d(-5%, 0, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-aspect-card__clouds-layer {
    animation: none;
  }
}

.ts-aspect-card.is-active .ts-aspect-card__inner {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(28, 28, 34, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 255, 255, 0.04);
}

.ts-aspect-card:hover .ts-aspect-card__inner {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 56px rgba(0, 0, 0, 0.58);
}

.ts-aspect-card__icon,
.ts-aspect-card__title,
.ts-aspect-card__desc,
.ts-aspect-card__btn {
  position: relative;
  z-index: 1;
}

.ts-aspect-card__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ts-aspect-card__glyph {
  font-size: 2.35rem;
  line-height: 1;
  color: #fff;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
    filter 0.35s ease,
    color 0.3s ease,
    text-shadow 0.35s ease;
}

.ts-aspect-card.is-active .ts-aspect-card__glyph {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.55)) drop-shadow(0 0 36px rgba(255, 255, 255, 0.2));
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}

.ts-aspect-card:hover .ts-aspect-card__glyph {
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.ts-aspect-card__title {
  margin: 0 0 12px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.3;
}

.ts-aspect-card__desc {
  flex: 1;
  margin: 0 0 22px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.ts-aspect-card__btn {
  display: inline-block;
  margin-top: auto;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.ts-aspect-card.is-active .ts-aspect-card__btn {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.ts-aspect-card__btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ts-aspects-carousel__viewport {
    scroll-behavior: auto;
  }

  .ts-aspect-card__glyph {
    transition: none;
  }

  .ts-aspect-card:hover .ts-aspect-card__glyph {
    transform: none;
  }

  .ts-aspect-card.is-active .ts-aspect-card__glyph {
    filter: none;
    text-shadow: none;
  }
}

.tarot-spirits-augury__meanings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .tarot-spirits-augury__meanings {
    grid-template-columns: 1fr;
  }
}

.tarot-spirits-augury__meaning {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--ts-line);
  background: var(--ts-paper);
  color: var(--ts-ink);
}

.tarot-spirits-augury__meaning--hi {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.tarot-spirits-augury__tag {
  font-family: var(--ts-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12, 12, 14, 0.55);
  margin-bottom: 10px;
}

.tarot-spirits-augury__meaning .tarot-spirits-augury__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(12, 12, 14, 0.88);
}

/* ——— Три голоса — testimonials / космос: не стекло и не «Аспекты» (без облаков в карточках, без мандалы) ——— */
.ts-voices-section {
  --ts-voices-accent: #d4883f;
}

.ts-voices-panel {
  position: relative;
  margin: 0 -12px;
  padding: 52px clamp(18px, 4vw, 36px) 44px;
  border-radius: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: none;
  border-right: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ts-voices-cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ts-voices-cosmos__stars {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-image:
    radial-gradient(1px 1px at 4% 8%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 11% 19%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 18% 6%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 25% 42%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 31% 14%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 38% 58%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 44% 28%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 52% 11%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 58% 72%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 63% 38%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 71% 22%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 78% 48%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 84% 16%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 91% 62%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 8% 78%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 48% 92%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 72% 84%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 88% 90%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 15% 52%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 55% 66%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 95% 38%, rgba(255, 255, 255, 0.35), transparent);
  background-size: 100% 100%;
}

.ts-voices-cosmos__stars::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ts-voices-cosmos__planet {
  position: absolute;
  right: -18%;
  top: 8%;
  width: min(58vw, 520px);
  height: min(58vw, 520px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 220, 160, 0.45), transparent 42%),
    radial-gradient(circle at 62% 38%, rgba(180, 95, 45, 0.55), transparent 48%),
    radial-gradient(circle at 40% 55%, rgba(90, 42, 28, 0.9), transparent 52%),
    radial-gradient(circle at 50% 50%, #3d2418 0%, #1a0f0c 55%, #0a0605 78%);
  box-shadow:
    -40px 0 120px rgba(212, 136, 63, 0.12),
    -20px 0 80px rgba(0, 0, 0, 0.85);
  filter: saturate(1.05);
}

.ts-voices-cosmos__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(90%, 720px);
  height: 280px;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(255, 250, 242, 0.04), transparent 70%);
  pointer-events: none;
}

.ts-voices-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
}

.ts-voices-head::after {
  content: "";
  position: absolute;
  left: calc(50% - 140px);
  bottom: -28px;
  width: 120px;
  height: 1px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(-52deg);
  transform-origin: right center;
  pointer-events: none;
}

@media (max-width: 900px) {
  .ts-voices-head::after {
    display: none;
  }
}

.ts-voices-head__kicker {
  margin: 0 0 14px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ts-voices-accent);
}

.ts-voices-head__title {
  margin: 0 0 16px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
}

.ts-voices-head__lead {
  margin: 0 auto;
  max-width: 48ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.48);
}

.ts-voices-layout {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.ts-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 0;
  align-items: stretch;
}

.ts-voices-grid > .ts-voice-card:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 900px) {
  .ts-voices-panel {
    margin: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ts-voices-cosmos__planet {
    right: -35%;
    top: 4%;
    opacity: 0.75;
  }

  .ts-voices-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ts-voices-grid > .ts-voice-card:not(:first-child) {
    border-left: none;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

.ts-voices-pagination {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}

.ts-voices-pagination__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ts-voices-pagination__dot--active {
  background: var(--ts-voices-accent);
  box-shadow: 0 0 14px rgba(212, 136, 63, 0.45);
  transform: scale(1.2);
}

.ts-voice-card {
  text-align: center;
  padding: 0 clamp(12px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.ts-voice-card__shell {
  position: relative;
  padding: 8px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  width: 100%;
  border: none;
  background: transparent;
}

.ts-voice-card__halo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 156px;
  height: 156px;
  margin: 0 auto 24px;
}

.ts-voice-card__halo-rays {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg 1.1deg,
    rgba(255, 255, 255, 0.14) 1.1deg 1.35deg,
    transparent 1.35deg 2.4deg,
    rgba(255, 255, 255, 0.06) 2.4deg 2.55deg
  );
  mask: radial-gradient(circle closest-side, transparent 52%, #000 53%);
  -webkit-mask: radial-gradient(circle closest-side, transparent 52%, #000 53%);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.06));
}

.ts-voice-card--accent .ts-voice-card__halo-rays {
  filter:
    drop-shadow(0 0 16px rgba(212, 136, 63, 0.2))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.08));
}

.ts-voice-card__avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(160deg, #1a1a1e, #050506);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 16px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

.ts-voice-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.ts-voice-card__portrait--astra {
  object-position: center 35%;
}

.ts-voice-card__avatar:has(.ts-voice-card__portrait) {
  padding: 0;
  overflow: hidden;
}

.ts-voice-card--accent .ts-voice-card__avatar {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 16px 44px rgba(0, 0, 0, 0.7),
    0 0 36px rgba(212, 136, 63, 0.18);
}

.ts-voice-card__quote {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.42);
  width: 100%;
}

.ts-voice-card__quote strong {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: rgba(255, 250, 242, 0.78);
  margin-bottom: 0.35em;
}

.ts-voice-card__quote em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
}

.ts-voice-card--accent .ts-voice-card__quote {
  color: rgba(255, 255, 255, 0.58);
}

.ts-voice-card--accent .ts-voice-card__quote strong {
  color: rgba(255, 250, 242, 0.92);
}

.ts-voice-card--accent .ts-voice-card__quote em {
  color: rgba(255, 255, 255, 0.62);
}

.ts-voice-card__quote::before,
.ts-voice-card__quote::after {
  content: none;
}

.ts-voice-card__nameblock {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 6px;
  flex-shrink: 0;
  width: 100%;
}

.ts-voice-card__name {
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.ts-voice-card__name-rule {
  width: 36px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 1px;
  background: transparent;
  transition: background 0.45s ease;
}

.ts-voice-card--accent .ts-voice-card__name-rule {
  background: var(--ts-voices-accent);
  box-shadow: 0 0 12px rgba(212, 136, 63, 0.35);
}

.ts-voice-card__roleline {
  position: relative;
  z-index: 1;
  margin: 0;
  flex-shrink: 0;
  width: 100%;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .ts-voices-pagination__dot,
  .ts-voice-card__name-rule {
    transition: none;
  }
}

.tarot-spirits-augury__kernels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .tarot-spirits-augury__kernels {
    grid-template-columns: 1fr;
  }
}

.tarot-spirits-augury__kernel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tarot-spirits-augury__kernelArt {
  --bg: none;
  --fx: 50% 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: 50%;
  background: #050506;
  border: 2px solid var(--ts-line);
  overflow: hidden;
}

.tarot-spirits-augury__kernelCut {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: var(--bg);
  background-size: 520% 520%;
  background-position: var(--fx);
  background-repeat: no-repeat;
  mask: radial-gradient(circle at 50% 50%, transparent 28%, black 29%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 28%, black 29%);
}

.tarot-spirits-augury__kernelPlace {
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: 0.88rem;
}

.tarot-spirits-augury__kernelBody .tarot-spirits-augury__text {
  font-size: 0.82rem;
  color: var(--ts-muted);
  line-height: 1.5;
}

.tarot-spirits-augury--loading {
  opacity: 0.5;
  pointer-events: none;
}

/* ——— Каталог: «история колоды» — как лонгрид карты: рамка, золото, лётающие мини-карты ——— */
.tarot-deck-lore {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 8vw, 88px);
  padding-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid rgba(255, 250, 242, 0.1);
  --tdl-ink: rgba(255, 250, 242, 0.94);
  --tdl-ink-mid: rgba(255, 250, 242, 0.68);
  --tdl-ink-dim: rgba(255, 250, 242, 0.48);
}

/* Ввод: общая панель в духе .tarot-hero */
.tarot-deck-lore__intro {
  position: relative;
  margin-bottom: clamp(32px, 5vw, 48px);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(8, 8, 12, 0.98) 0%, rgba(5, 5, 8, 1) 100%);
  border: 1px solid rgba(255, 250, 242, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tarot-deck-lore__intro::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 250, 242, 0.05);
  pointer-events: none;
  z-index: 3;
}

.tarot-deck-lore__flight {
  position: relative;
  z-index: 0;
  padding: 22px 18px 14px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.06);
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(201, 169, 98, 0.09), transparent 52%),
    linear-gradient(180deg, #0a0a0e 0%, #060608 100%);
}

.tarot-deck-lore__flight-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 4, 6, 0.92) 0%, transparent 10%, transparent 90%, rgba(4, 4, 6, 0.92) 100%),
    linear-gradient(180deg, transparent 0%, transparent 35%, rgba(4, 4, 6, 0.55) 100%);
}

.tarot-deck-lore__flight-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.5vw, 12px);
}

.tarot-deck-lore__flight-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.8vw, 16px);
  height: clamp(48px, 9vw, 62px);
  overflow: hidden;
  padding: 0 clamp(6px, 1.5vw, 14px);
}

.tarot-deck-lore__mini {
  flex: 0 0 auto;
  position: relative;
  width: clamp(18px, 3.2vw, 26px);
  height: clamp(29px, 5.1vw, 40px);
  border-radius: 4px;
  overflow: hidden;
  background: #070709;
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
}

.tarot-deck-lore__mini-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tarot-deck-lore__mini-img[data-ts-missing="1"] {
  opacity: 0;
  pointer-events: none;
}

.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini {
  animation: tarot-deck-lore-fly-up 4.4s linear infinite;
}

.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini {
  animation: tarot-deck-lore-fly-down 4.8s linear infinite;
}

.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(1) {
  animation-delay: 0s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(2) {
  animation-delay: 0.4s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(3) {
  animation-delay: 0.8s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(4) {
  animation-delay: 1.2s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(5) {
  animation-delay: 1.6s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(6) {
  animation-delay: 2s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(7) {
  animation-delay: 2.4s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(8) {
  animation-delay: 2.8s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(9) {
  animation-delay: 3.2s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(10) {
  animation-delay: 3.6s;
}
.tarot-deck-lore__flight-row--up .tarot-deck-lore__mini:nth-child(11) {
  animation-delay: 4s;
}

.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(1) {
  animation-delay: 0.2s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(2) {
  animation-delay: 0.6s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(3) {
  animation-delay: 1s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(4) {
  animation-delay: 1.4s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(5) {
  animation-delay: 1.8s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(6) {
  animation-delay: 2.2s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(7) {
  animation-delay: 2.6s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(8) {
  animation-delay: 3s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(9) {
  animation-delay: 3.4s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(10) {
  animation-delay: 3.8s;
}
.tarot-deck-lore__flight-row--down .tarot-deck-lore__mini:nth-child(11) {
  animation-delay: 4.2s;
}

@keyframes tarot-deck-lore-fly-up {
  0% {
    transform: translateY(130%);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-130%);
    opacity: 0;
  }
}

@keyframes tarot-deck-lore-fly-down {
  0% {
    transform: translateY(-130%);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(130%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-deck-lore__mini {
    animation: none !important;
    opacity: 0.45;
    transform: translateY(0);
  }
}

.tarot-deck-lore__hero {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0;
  padding: 22px 26px 28px;
}

.tarot-deck-lore__eyebrow {
  margin: 0 0 10px;
  font-family: var(--ts-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ts-accent);
}

.tarot-deck-lore__title {
  margin: 0 0 14px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #faf8f2;
}

.tarot-deck-lore__title-line {
  display: block;
  margin-top: 0.35em;
  font-family: var(--ts-font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.48em;
  color: rgba(255, 250, 242, 0.52);
}

.tarot-deck-lore__lead {
  margin: 0 0 18px;
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.62);
}

.tarot-deck-lore__lead strong {
  font-weight: 600;
  color: rgba(255, 250, 242, 0.9);
}

.tarot-deck-lore__path-plate {
  max-width: 300px;
  opacity: 0.95;
}

.tarot-deck-lore__path-svg {
  display: block;
  width: 100%;
  height: auto;
}

.tarot-deck-lore__path-dot {
  animation: tarot-deck-lore-pulse 3s ease-in-out infinite;
}

@keyframes tarot-deck-lore-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-deck-lore__path-dot {
    animation: none;
  }
}

.tarot-deck-lore__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  align-items: stretch;
}

@media (max-width: 820px) {
  .tarot-deck-lore__grid {
    grid-template-columns: 1fr;
  }
}

.tarot-deck-lore__card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(8, 8, 12, 0.98) 0%, rgba(5, 5, 8, 1) 100%);
  border: 1px solid rgba(255, 250, 242, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 20px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 250, 242, 0.05);
}

.tarot-deck-lore__card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 16px;
  border: 1px solid rgba(255, 250, 242, 0.05);
  pointer-events: none;
}

.tarot-deck-lore__card-kicker {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.85), rgba(201, 169, 98, 0.15));
}

.tarot-deck-lore__h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-family: "Montserrat", var(--ts-font-body), sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #faf8f2;
  line-height: 1.3;
}

.tarot-deck-lore__lede-line {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 250, 242, 0.7);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.07);
}

.tarot-deck-lore__lede-line strong {
  font-weight: 600;
  color: rgba(255, 250, 242, 0.92);
}

.tarot-deck-lore__lede-line--compact {
  padding-bottom: 0;
  margin-bottom: 14px;
  border-bottom: none;
}

.tarot-deck-lore__lead--path {
  margin-top: 0.35em;
  margin-bottom: 0;
}

.tarot-deck-lore__symbol-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 14px;
}

.tarot-deck-lore__symbol-chips span {
  display: inline-block;
  padding: 4px 10px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 242, 0.12);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(255, 250, 242, 0.52);
  font-family: var(--ts-font-display);
}

.tarot-deck-lore__symbol-chips--head {
  margin-top: 6px;
  margin-bottom: 4px;
}

/* Чипы в шапках секций каталога: на всю ширину блока, по центру, перенос от края до края */
.tarot-deck-lore__interpret .tarot-aspects-head .tarot-deck-lore__symbol-chips--head {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.tarot-deck-lore__interpret .ts-aspect-card__desc.tarot-deck-lore__catalog-slide-desc {
  font-size: 0.84rem;
  line-height: 1.58;
  text-align: left;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.tarot-deck-lore__aspect-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
  -webkit-mask-image: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0.88) 48%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0.88) 48%, transparent 100%);
}

.tarot-deck-lore__aspect-veil-layer {
  position: absolute;
  inset: 0;
}

.tarot-deck-lore__aspect-veil-layer--mesh {
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(201, 169, 98, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: tarot-deck-lore-veil-mesh 42s linear infinite;
}

.tarot-deck-lore__aspect-veil-layer--spark {
  opacity: 1;
  background:
    radial-gradient(ellipse 70% 50% at 18% 88%, rgba(201, 169, 98, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 82% 72%, rgba(255, 250, 242, 0.06), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.45), transparent 55%);
}

@keyframes tarot-deck-lore-veil-mesh {
  to {
    background-position:
      16px 16px,
      16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-deck-lore__aspect-veil-layer--mesh {
    animation: none;
  }
}

.tarot-deck-lore__slide-kicker {
  position: relative;
  z-index: 1;
  order: 0;
  margin: 0 0 6px;
  font-family: var(--ts-font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.75);
}

.tarot-deck-lore__thesis-title {
  font-size: clamp(0.78rem, 1.45vw, 0.95rem) !important;
  line-height: 1.38 !important;
  font-weight: 600 !important;
  hyphens: auto;
}

.tarot-deck-lore__interpret .tarot-aspects-head__lead--note {
  margin-top: 0.65em;
  margin-bottom: 0;
  max-width: 58ch;
  font-size: 0.9rem;
  color: rgba(255, 250, 242, 0.52);
  line-height: 1.6;
}

.tarot-deck-lore__p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.68);
}

.tarot-deck-lore__p:last-child {
  margin-bottom: 0;
}

.tarot-deck-lore__p strong {
  font-weight: 600;
  color: rgba(255, 250, 242, 0.92);
}

.tarot-deck-lore__points {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tarot-deck-lore__point {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.04);
}

.tarot-deck-lore__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 11px 6px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: rgba(201, 169, 98, 0.08);
  font-family: var(--ts-font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.88);
}

.tarot-deck-lore__badge--ghost {
  background: transparent;
  border-color: rgba(255, 250, 242, 0.2);
  color: rgba(255, 250, 242, 0.72);
}

.tarot-deck-lore__point-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 250, 242, 0.66);
}

/* Секции «как аспекты карты» на catalog.html */
.tarot-deck-lore__interpret {
  margin-top: clamp(20px, 3.5vw, 36px);
}

.tarot-deck-lore__interpret .tarot-spirits-augury__block {
  position: relative;
}

.tarot-deck-lore__interpret .tarot-aspects-head__lead strong {
  font-weight: 600;
  color: rgba(255, 250, 242, 0.88);
}

a.tarot-deck-lore__aspect-link.ts-aspect-card__btn {
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

a.tarot-deck-lore__aspect-link.ts-aspect-card__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.tarot-deck-lore__outro-cards {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
}

.tarot-deck-lore__outro-cards .ts-aspect-card--solo {
  flex: 0 1 clamp(280px, 42vw, 360px);
  max-width: 100%;
}

.tarot-deck-lore__interpret--outro .tarot-aspects-head {
  margin-bottom: 8px;
}
