/* Forms */
.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: all 0.2s;
  color-scheme: dark; /* Делает всплывающий календарь темным и читаемым */
  caret-color: #e2b853 !important; /* Роскошная золотая каретка/курсор */
}

/* === БАГ-ФИКС: чёрное на чёрном — input[type=date/time] ===
   Chrome/Edge при color-scheme:dark рисует системный текст тёмным,
   переопределяя color: var(--text). Принудительно задаём правильный цвет темы. */
input[type="date"].form-input,
input[type="time"].form-input,
input[type="datetime-local"].form-input {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
}

/* Псевдоэлементы Webkit для текста внутри поля даты/времени */
input[type="date"].form-input::-webkit-datetime-edit,
input[type="time"].form-input::-webkit-datetime-edit,
input[type="datetime-local"].form-input::-webkit-datetime-edit {
  color: var(--text) !important;
}
input[type="date"].form-input::-webkit-datetime-edit-fields-wrapper,
input[type="time"].form-input::-webkit-datetime-edit-fields-wrapper,
input[type="datetime-local"].form-input::-webkit-datetime-edit-fields-wrapper {
  color: var(--text) !important;
}
input[type="date"].form-input::-webkit-datetime-edit-text,
input[type="time"].form-input::-webkit-datetime-edit-text,
input[type="datetime-local"].form-input::-webkit-datetime-edit-text {
  color: var(--muted) !important;
  opacity: 0.6 !important; /* разделители: "/" и ":" чуть приглушены */
}
input[type="date"].form-input::-webkit-datetime-edit-year-field,
input[type="date"].form-input::-webkit-datetime-edit-month-field,
input[type="date"].form-input::-webkit-datetime-edit-day-field,
input[type="time"].form-input::-webkit-datetime-edit-hour-field,
input[type="time"].form-input::-webkit-datetime-edit-minute-field,
input[type="datetime-local"].form-input::-webkit-datetime-edit-year-field,
input[type="datetime-local"].form-input::-webkit-datetime-edit-month-field,
input[type="datetime-local"].form-input::-webkit-datetime-edit-day-field,
input[type="datetime-local"].form-input::-webkit-datetime-edit-hour-field,
input[type="datetime-local"].form-input::-webkit-datetime-edit-minute-field {
  color: var(--text) !important;
  background: transparent;
}

/* Подсветка выбранного (активного при фокусе) поля дня, месяца или года */
input[type="date"].form-input::-webkit-datetime-edit-year-field:focus,
input[type="date"].form-input::-webkit-datetime-edit-month-field:focus,
input[type="date"].form-input::-webkit-datetime-edit-day-field:focus,
input[type="time"].form-input::-webkit-datetime-edit-hour-field:focus,
input[type="time"].form-input::-webkit-datetime-edit-minute-field:focus,
input[type="datetime-local"].form-input::-webkit-datetime-edit-year-field:focus,
input[type="datetime-local"].form-input::-webkit-datetime-edit-month-field:focus,
input[type="datetime-local"].form-input::-webkit-datetime-edit-day-field:focus,
input[type="datetime-local"].form-input::-webkit-datetime-edit-hour-field:focus,
input[type="datetime-local"].form-input::-webkit-datetime-edit-minute-field:focus {
  background: rgba(226, 184, 83, 0.3) !important; /* Золотой полупрозрачный фон */
  color: var(--text) !important;
  border-radius: 4px;
}

/* Placeholder-текст (до ввода значения) */
input[type="date"].form-input::placeholder,
input[type="time"].form-input::placeholder,
.form-input::placeholder {
  color: var(--muted) !important;
  opacity: 0.75 !important;
}
/* === КОНЕЦ БАГ-ФИКСА === */

/* === ЭЗОТЕРИЧЕСКИЕ ЗОЛОТЫЕ ИКОНКИ КАЛЕНДАРЯ И ВРЕМЕНИ (#e2b853) === */
input[type="date"].form-input {
  cursor: text !important;
  pointer-events: auto !important;
}

input[type="date"].form-input::-webkit-datetime-edit,
input[type="date"].form-input::-webkit-datetime-edit-fields-wrapper,
input[type="date"].form-input::-webkit-datetime-edit-year-field,
input[type="date"].form-input::-webkit-datetime-edit-month-field,
input[type="date"].form-input::-webkit-datetime-edit-day-field {
  pointer-events: auto !important;
}

input[type="time"].form-input {
  cursor: text !important;
  pointer-events: auto !important;
}

input[type="time"].form-input::-webkit-datetime-edit,
input[type="time"].form-input::-webkit-datetime-edit-fields-wrapper,
input[type="time"].form-input::-webkit-datetime-edit-hour-field,
input[type="time"].form-input::-webkit-datetime-edit-minute-field {
  pointer-events: auto !important;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
  filter: none !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  opacity: 0.85;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: opacity 0.2s, transform 0.2s;
}

input[type="time"].form-input::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2h14M5 22h14M19 2l-7 7-7-7M5 22l7-7 7 7M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E") !important;
  filter: none !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  opacity: 0.85;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: opacity 0.2s, transform 0.2s;
}

.form-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1 !important;
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(226,184,83,0.8)) !important;
}
select.form-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  padding-right: 2.5rem !important; /* Чтобы текст опций не налезал на нашу кастомную SVG-неон-стрелку */
  background-color: var(--bg-solid) !important;
  color: var(--text) !important;
}

select.form-input option {
  background-color: var(--bg-solid) !important;
  color: var(--text) !important;
}

select.form-input option:hover,
select.form-input option:focus,
select.form-input option:active,
select.form-input option:checked {
  background-color: var(--border-glow, var(--border)) !important;
  color: var(--text) !important;
}

select.form-input:focus,
select.form-input:hover {
  background-color: var(--bg-solid) !important;
  color: var(--text) !important;
}

/* Premium theme overrides for custom dropdown consistency and luxury SVG arrows */
body.theme-forest select.form-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

body.theme-sunset select.form-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

body.theme-editorial select.form-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.form-input:focus, .form-textarea:focus {
  border-color: #e2b853 !important;
  outline: none !important;
  box-shadow: 0 0 12px rgba(226, 184, 83, 0.5) !important;
  background: rgba(226, 184, 83, 0.06) !important;
}

.hero-sec {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 68px 28px;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid rgba(226, 184, 83, 0.28);
  background:
    linear-gradient(to bottom, rgba(7, 6, 15, 0.62) 0%, rgba(8, 7, 18, 0.84) 68%, rgba(7, 6, 13, 0.97) 100%),
    url('cosmic_bg.webp') no-repeat center center / cover;
  background-origin: border-box, border-box;
  background-clip: border-box, border-box;
  box-shadow: var(--glow), inset 0 -1px 0 rgba(7, 6, 13, 0.95);
  isolation: isolate;
}

.hero-sec p {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* === CITY SUGGESTIONS DROPDOWN THEME COMPATIBILITY === */
.suggestions-dropdown {
  background: var(--bg-solid) !important;
  border: 1px solid var(--border-glow, var(--border)) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
  padding: 4px !important;
  margin-top: 6px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.suggestion-item {
  padding: 10px 14px !important;
  cursor: pointer !important;
  border-bottom: 1px solid var(--border) !important;
  font-size: 0.85rem !important;
  color: var(--text) !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  border-radius: 8px !important;
}

.suggestion-item:last-child {
  border-bottom: none !important;
}

.suggestion-item:hover, .suggestion-item:focus {
  background: var(--border-glow, rgba(226, 184, 83, 0.12)) !important;
  color: var(--gold, #e2b853) !important;
}

/* === HIGH CONTRAST FORM LABELS === */
#astro-form label,
#matrix-form label,
#hd-form label,
#synastry-form label,
#scoring-form label {
  color: var(--text) !important;
  opacity: 0.95 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important; /* Убираем любое серое/размытое свечение */
}

/* === LIGHT THEME FORM OVERRIDES === */
body.theme-is-light .form-input,
body.theme-sand-gold .form-input,
body.theme-strict-astro-light .form-input,
body.theme-mystic-sakura .form-input {
  color-scheme: light !important;
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.15) !important;
}

body.theme-is-light .form-input:focus,
body.theme-sand-gold .form-input:focus,
body.theme-strict-astro-light .form-input:focus,
body.theme-mystic-sakura .form-input:focus {
  background: #ffffff !important;
  border-color: var(--gold, #e2b853) !important;
  box-shadow: 0 0 8px rgba(226, 184, 83, 0.2) !important;
}

/* === MOBILE FORM & HERO VIEWPORT SAFETY === */
.form-input,
.form-textarea,
select.form-input {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-sec {
    min-height: auto;
    padding: 36px 18px;
    border-radius: 22px;
    margin-bottom: 24px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-sec {
    padding: 24px 12px;
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 16px; /* Prevents iOS auto-zoom and keeps inputs compact */
  }
}



/* ==========================================================================
   SMART INPUT FORM & LUXURY HERO 2026/2027 (Ezoteo & Fintech Standard)
   ========================================================================== */

.hero-luxury-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-luxury-subtitle {
  font-family: var(--font-sans, 'Golos Text', sans-serif);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 660px;
  margin: 0 auto 28px auto;
}

.smart-form-card {
  background: linear-gradient(160deg, rgba(23, 22, 48, 0.88) 0%, rgba(14, 13, 31, 0.94) 100%);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  border-radius: 24px;
  padding: 28px 24px;
  max-width: 620px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.smart-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
  position: relative;
}

.smart-field-label {
  font-family: var(--font-sans, 'Golos Text', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smart-field-label .label-hint {
  font-size: 0.76rem;
  font-weight: 400;
  color: #94a3b8;
}

.smart-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.smart-input {
  width: 100%;
  height: var(--input-height-desktop, 58px);
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(226, 184, 83, 0.3);
  border-radius: 16px;
  padding: 0 46px 0 18px;
  font-family: var(--font-sans, 'Golos Text', sans-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.smart-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.smart-input:hover {
  border-color: rgba(226, 184, 83, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.smart-input:focus {
  border-color: #f6d57a;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(246, 213, 122, 0.2), 0 8px 20px rgba(0,0,0,0.3);
}

.smart-valid-icon {
  position: absolute;
  right: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.smart-input-wrap.is-valid .smart-valid-icon {
  opacity: 1;
  transform: scale(1);
}

.smart-input-wrap.is-valid .smart-input {
  border-color: rgba(16, 185, 129, 0.7);
}

.gender-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gender-option-btn {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: var(--font-sans, 'Golos Text', sans-serif);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gender-option-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: #ffffff;
  border: 1px solid rgba(246, 213, 122, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-luxury-glow {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: var(--font-sans, 'Golos Text', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  transition: all 0.25s ease;
  isolation: isolate;
  margin-top: 10px;
}

.btn-luxury-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.55);
}

.btn-luxury-glow:active {
  transform: scale(0.98);
}

.btn-luxury-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: inherit;
  filter: blur(16px);
  opacity: 0.55;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-luxury-glow:hover::after {
  opacity: 0.85;
}

.trust-badges-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1;
}

.trust-item-icon {
  color: #f6d57a;
}

.tarot-quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px 0 20px;
}

.tarot-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans, 'Golos Text', sans-serif);
}

.tarot-chip-btn:hover, .tarot-chip-btn.active {
  background: rgba(167, 139, 250, 0.25);
  border-color: #f6d57a;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE & TABLET ERGONOMICS (80% Mobile / iPad Traffic Priority)
   ========================================================================== */
.smart-input {
  padding-right: 52px !important;
  box-sizing: border-box;
}

/* Prevent iOS Safari zoom-on-focus (<16px inputs) and improve touch targets */
@media (max-width: 1024px) {
  .smart-input,
  .form-input,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Tablet balanced form card width */
  .smart-form-card {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Eliminate duplicate legacy hero banner on pages upgraded to Luxury Hero */
  .portal-workspace:has(.hero-luxury-title) > .hero-sec {
    display: none !important;
  }

  /* Slim 1-line Guest Bar on Mobile & Tablet instead of 165px card */
  #guest-banner {
    padding: 8px 14px !important;
    margin: 0 0 10px !important;
    border-radius: 12px !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  #guest-banner > span {
    font-size: 1.15rem !important;
  }
  #guest-banner > div {
    min-width: 0 !important;
  }
  #guest-banner > div > div:nth-child(2) {
    display: none !important;
  }
  #guest-banner a.btn {
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
    min-height: 36px !important;
  }
}

@media (max-width: 768px) {
  .portal-workspace {
    padding-top: 8px !important;
    padding-bottom: 92px !important; /* Safe space above Bottom Tab Bar */
  }

  /* On mobile Luxury calculator pages, hide redundant guest banner & B2B astrologer toggle above the fold
     so users see the form + CTA immediately on Screen 1 ("Кабинет" is already in the top header) */
  .portal-workspace:has(.hero-luxury-title) #guest-banner,
  .portal-workspace:has(.hero-luxury-title) #toggle-pro-astrologer-btn {
    display: none !important;
  }

  /* Compact Luxury Hero so form + CTA are visible immediately above the fold */
  .hero-luxury-title {
    font-size: 1.58rem !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.3px !important;
  }

  .hero-luxury-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
    margin-bottom: 10px !important;
  }

  .smart-form-card {
    padding: 14px 12px !important;
    border-radius: 20px !important;
    margin-top: 8px !important;
  }

  .smart-field-group {
    margin-bottom: 10px !important;
  }

  .smart-field-label {
    font-size: 0.84rem !important;
    margin-bottom: 4px !important;
  }

  .smart-field-label .label-hint {
    font-size: 0.72rem !important;
  }

  .smart-input {
    height: 48px !important;
    padding: 0 50px 0 14px !important;
    border-radius: 14px !important;
  }

  .gender-option-btn,
  .gender-pill {
    height: 46px !important;
    font-size: 0.92rem !important;
  }

  .btn-luxury-glow {
    height: auto !important;
    min-height: 52px !important;
    padding: 12px 18px !important;
    font-size: 0.96rem !important;
    border-radius: 14px !important;
  }

  .trust-badges-bar {
    gap: 8px 12px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
  }

  .trust-item,
  .trust-badge-item {
    font-size: 0.76rem !important;
  }

  /* Clean 2x2 symmetrical grid for Tarot quick chips */
  .tarot-quick-chips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 10px 0 14px !important;
  }

  .tarot-chip-btn {
    padding: 9px 10px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
  }

  /* Horizontal single-row scrollable calculator tabs */
  .tools-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
    padding: 5px !important;
    margin-bottom: 12px !important;
    gap: 6px !important;
  }
  .tools-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .tools-tabs .tab-btn {
    flex: 0 0 auto !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    scroll-snap-align: start !important;
    min-height: 40px !important;
  }
}
