.ac-htp {
  --ac-bg: #100a1d;
  --ac-bg-soft: rgba(28, 18, 48, 0.9);
  --ac-card: rgba(21, 14, 38, 0.9);
  --ac-card-2: rgba(31, 22, 54, 0.95);
  --ac-border: rgba(219, 186, 118, 0.2);
  --ac-border-strong: rgba(219, 186, 118, 0.42);
  --ac-gold: #dbba76;
  --ac-cream: #f6efe3;
  --ac-lavender: #b18ae9;
  --ac-lavender-2: #7e5cd6;
  --ac-text: #f7f1e7;
  --ac-muted: rgba(247, 241, 231, 0.74);
  position: relative;
  padding: 40px 16px 52px;
  color: var(--ac-text);
  background:
    radial-gradient(circle at 15% 0%, rgba(126, 92, 214, 0.22), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(219, 186, 118, 0.12), transparent 24%),
    linear-gradient(180deg, #0f0a1b 0%, #150f25 100%);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.ac-htp::before,
.ac-htp::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
  filter: blur(12px);
}

.ac-htp::before {
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(177, 138, 233, 0.7) 0%, transparent 65%);
}

.ac-htp::after {
  bottom: -240px;
  right: -160px;
  background: radial-gradient(circle, rgba(219, 186, 118, 0.55) 0%, transparent 65%);
}

.ac-htp__shell {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.ac-htp__hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--ac-border);
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-radius: 26px;
  backdrop-filter: blur(16px);
}

.ac-htp__hero--tarot {
  margin-bottom: 24px;
}

.ac-htp__guide-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(177, 138, 233, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(39, 25, 68, 0.98), rgba(16, 10, 29, 0.98));
  border: 1px solid var(--ac-border);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 40px rgba(0,0,0,0.28);
}

.ac-htp__guide-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(219,186,118,0.16);
  pointer-events: none;
}

.ac-htp__guide-card img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(122, 86, 214, 0.38));
}

.ac-htp__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ac-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ac-htp__hero-copy h2,
.ac-htp__reading-head h3,
.ac-htp__triple-card h3,
.ac-htp__tarot-card h3 {
  margin: 0 0 12px;
  color: var(--ac-cream);
  line-height: 1.08;
}

.ac-htp__hero-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.ac-htp__hero-copy p,
.ac-htp__lead,
.ac-htp__segment p,
.ac-htp__mini-card p,
.ac-htp__triple-card p,
.ac-htp__tarot-theme,
.ac-htp__selector-head p,
.ac-htp__reading-personality {
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.7;
}

.ac-htp__hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ac-htp__hero-points span,
.ac-htp__microcopy {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(219,186,118,0.18);
  background: rgba(255,255,255,0.02);
  color: rgba(247,241,231,0.86);
  font-size: 0.92rem;
}

.ac-htp__note,
.ac-htp__mini-card,
.ac-htp__intent-panel,
.ac-htp__tarot-result,
.ac-htp__selector-wrap,
.ac-htp__reading-card {
  border: 1px solid var(--ac-border);
  background: rgba(18, 12, 31, 0.84);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(0,0,0,0.18);
}

.ac-htp__note {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
}

.ac-htp__note strong {
  color: var(--ac-gold);
}

.ac-htp__selector-wrap,
.ac-htp__intent-panel {
  margin-top: 24px;
  padding: 22px;
}

.ac-htp__selector-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.ac-htp__selector-wrap h3,
.ac-htp__intent-panel h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  color: var(--ac-cream);
}

.ac-htp__sign-grid,
.ac-htp__intent-grid,
.ac-htp__mode-switch,
.ac-htp__triple-grid {
  display: grid;
  gap: 14px;
}

.ac-htp__sign-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ac-htp__intent-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ac-htp__mode-switch {
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-htp__sign-btn,
.ac-htp__intent-btn,
.ac-htp__mode-btn,
.ac-htp__share,
.ac-htp__cta,
.ac-htp__deck {
  appearance: none;
  border: 1px solid var(--ac-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(33, 22, 57, 0.95), rgba(16, 10, 29, 0.95));
  color: var(--ac-text);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.ac-htp__sign-btn:hover,
.ac-htp__intent-btn:hover,
.ac-htp__mode-btn:hover,
.ac-htp__share:hover,
.ac-htp__cta:hover,
.ac-htp__deck:hover {
  transform: translateY(-2px);
  border-color: var(--ac-border-strong);
  box-shadow: 0 18px 30px rgba(0,0,0,0.24);
}

.ac-htp__sign-btn.is-active,
.ac-htp__intent-btn.is-active,
.ac-htp__mode-btn.is-active {
  border-color: rgba(219,186,118,0.56);
  background: linear-gradient(180deg, rgba(108, 76, 191, 0.58), rgba(29, 18, 51, 0.98));
}

.ac-htp__sign-btn {
  display: grid;
  gap: 8px;
  padding: 16px 14px;
  text-align: left;
}

.ac-htp__sign-btn small {
  color: rgba(247,241,231,0.62);
}

.ac-htp__sign-btn em {
  color: rgba(219,186,118,0.9);
  font-style: normal;
  font-size: 0.86rem;
}

.ac-htp__sign-symbol {
  font-size: 1.42rem;
  color: var(--ac-gold);
}

.ac-htp__sign-name {
  font-weight: 700;
}

.ac-htp__readings {
  margin-top: 24px;
}

.ac-htp__reading-card {
  padding: 24px;
}

.ac-htp__reading-card[hidden] {
  display: none !important;
}

.ac-htp__reading-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ac-htp__reading-personality {
  max-width: 760px;
}

.ac-htp__share,
.ac-htp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
}

.ac-htp__share {
  color: var(--ac-cream);
}

.ac-htp__cta {
  background: linear-gradient(180deg, rgba(219,186,118,0.18), rgba(219,186,118,0.08));
  border-color: rgba(219,186,118,0.46);
  color: var(--ac-cream);
}

.ac-htp__reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.92fr);
  gap: 22px;
}

.ac-htp__segments {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.ac-htp__segment,
.ac-htp__triple-card,
.ac-htp__tarot-card,
.ac-htp__tarot-copy {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--ac-card-2);
  border: 1px solid rgba(255,255,255,0.05);
}

.ac-htp__segment--mantra {
  background: linear-gradient(180deg, rgba(77, 54, 134, 0.5), rgba(31, 22, 54, 0.92));
}

.ac-htp__segment strong,
.ac-htp__mini-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ac-gold);
}

.ac-htp__reading-side {
  display: grid;
  gap: 14px;
}

.ac-htp__mini-card {
  padding: 16px;
}

.ac-htp__mini-card strong {
  display: block;
  color: var(--ac-cream);
  font-size: 1.05rem;
}

.ac-htp__intent-btn,
.ac-htp__mode-btn {
  padding: 14px 16px;
  font-weight: 700;
}

.ac-htp__tarot-stage {
  display: grid;
  gap: 22px;
}

.ac-htp__deck-area {
  display: flex;
  justify-content: center;
}

.ac-htp__deck {
  position: relative;
  width: min(100%, 430px);
  min-height: 246px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(219,186,118,0.18), transparent 36%),
    linear-gradient(180deg, rgba(54,36,93,0.98), rgba(17,10,30,0.98));
}

.ac-htp__deck::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(219,186,118,0.24);
}

.ac-htp__deck-label {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  color: var(--ac-cream);
}

.ac-htp__deck-subtitle {
  display: block;
  color: var(--ac-muted);
}

.ac-htp__tarot-result {
  padding: 24px;
}

.ac-htp__tarot-layout {
  display: grid;
  gap: 22px;
}

.ac-htp__tarot-layout--single {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.ac-htp__triple-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-htp__tarot-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 20%, rgba(177,138,233,0.24), transparent 36%),
    linear-gradient(180deg, rgba(51, 35, 88, 0.98), rgba(15,10,27,0.98));
}

.ac-htp__tarot-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(219,186,118,0.16);
}

.ac-htp__share--inline {
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .ac-htp__hero,
  .ac-htp__reading-grid,
  .ac-htp__tarot-layout--single,
  .ac-htp__intent-grid,
  .ac-htp__sign-grid,
  .ac-htp__triple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ac-htp {
    padding: 24px 12px 34px;
    border-radius: 22px;
  }

  .ac-htp__hero,
  .ac-htp__sign-grid,
  .ac-htp__intent-grid,
  .ac-htp__mode-switch,
  .ac-htp__reading-grid,
  .ac-htp__tarot-layout--single,
  .ac-htp__triple-grid,
  .ac-htp__selector-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ac-htp__hero {
    padding: 18px;
  }

  .ac-htp__guide-card {
    min-height: 240px;
  }

  .ac-htp__guide-card img {
    max-height: 220px;
  }

  .ac-htp__reading-card,
  .ac-htp__selector-wrap,
  .ac-htp__intent-panel,
  .ac-htp__tarot-result {
    padding: 18px;
  }

  .ac-htp__reading-head {
    flex-direction: column;
  }

  .ac-htp__share,
  .ac-htp__cta,
  .ac-htp__intent-btn,
  .ac-htp__mode-btn {
    width: 100%;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.2 · TEXTOS MÁS CLAROS Y CAJAS AJUSTADAS
   ========================================================== */

.ac-htp--horoscope .ac-htp__hero {
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 24px;
}

.ac-htp--horoscope .ac-htp__guide-card {
  min-height: 300px;
  padding: 14px;
}

.ac-htp--horoscope .ac-htp__guide-card img {
  max-height: 295px;
}

.ac-htp--horoscope .ac-htp__hero-copy h2 {
  max-width: 780px;
}

.ac-htp--horoscope .ac-htp__hero-copy p {
  max-width: 760px;
  font-size: 1.02rem;
}

.ac-htp--horoscope .ac-htp__hero-points span {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 0.88rem;
}

.ac-htp--horoscope .ac-htp__note {
  border-color: rgba(219, 186, 118, 0.32);
  background: rgba(219, 186, 118, 0.07);
}

.ac-htp--horoscope .ac-htp__selector-wrap {
  padding: 20px;
}

.ac-htp--horoscope .ac-htp__selector-head {
  align-items: center;
}

.ac-htp--horoscope .ac-htp__selector-head p {
  max-width: 720px;
}

.ac-htp--horoscope .ac-htp__sign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ac-htp--horoscope .ac-htp__sign-btn {
  min-height: 118px;
  padding: 14px;
  border-radius: 17px;
}

.ac-htp--horoscope .ac-htp__sign-symbol {
  font-size: 1.3rem;
}

.ac-htp--horoscope .ac-htp__sign-name {
  font-size: 1rem;
}

.ac-htp--horoscope .ac-htp__sign-btn small {
  font-size: 0.78rem;
}

.ac-htp--horoscope .ac-htp__sign-btn em {
  font-size: 0.8rem;
  line-height: 1.35;
}

.ac-htp--horoscope .ac-htp__reading-card {
  padding: 22px;
}

.ac-htp--horoscope .ac-htp__reading-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.82fr);
  gap: 18px;
}

.ac-htp--horoscope .ac-htp__segments {
  gap: 12px;
}

.ac-htp--horoscope .ac-htp__segment,
.ac-htp--horoscope .ac-htp__mini-card {
  padding: 15px 16px;
  border-radius: 16px;
}

.ac-htp--horoscope .ac-htp__segment strong,
.ac-htp--horoscope .ac-htp__mini-label {
  font-size: 0.94rem;
}

.ac-htp--horoscope .ac-htp__segment p,
.ac-htp--horoscope .ac-htp__mini-card p {
  font-size: 0.95rem;
}

.ac-htp--horoscope .ac-htp__cta {
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .ac-htp--horoscope .ac-htp__sign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ac-htp--horoscope .ac-htp__reading-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__hero {
    grid-template-columns: 1fr;
  }

  .ac-htp--horoscope .ac-htp__guide-card {
    min-height: 220px;
  }

  .ac-htp--horoscope .ac-htp__guide-card img {
    max-height: 220px;
  }

  .ac-htp--horoscope .ac-htp__sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-htp--horoscope .ac-htp__sign-btn {
    min-height: 112px;
  }
}

@media (max-width: 430px) {
  .ac-htp--horoscope .ac-htp__sign-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.3 · LECTURA AFINADA Y ACOMPAÑAMIENTO
   ========================================================== */

.ac-htp--horoscope .ac-htp__refine,
.ac-htp--horoscope .ac-htp__companions {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--ac-border);
  background: rgba(18, 12, 31, 0.82);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(0,0,0,0.18);
}

.ac-htp--horoscope .ac-htp__refine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ac-htp--horoscope .ac-htp__refine-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ac-htp--horoscope .ac-htp__refine-grid label span {
  color: var(--ac-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.ac-htp--horoscope .ac-htp__refine-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(219, 186, 118, 0.24);
  border-radius: 14px;
  background: rgba(16, 10, 29, 0.96);
  color: var(--ac-cream);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.ac-htp--horoscope .ac-htp__refine-grid select:focus {
  border-color: rgba(219, 186, 118, 0.56);
}

.ac-htp--horoscope .ac-htp__refined-reading {
  margin-top: 14px;
}

.ac-htp--horoscope .ac-htp__refined-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(219, 186, 118, 0.18);
  background: linear-gradient(180deg, rgba(77, 54, 134, 0.32), rgba(31, 22, 54, 0.88));
}

.ac-htp--horoscope .ac-htp__refined-card p {
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.7;
}

.ac-htp--horoscope .ac-htp__companion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ac-htp--horoscope .ac-htp__companion-card {
  display: grid;
  gap: 8px;
  min-height: 155px;
  padding: 18px;
  border: 1px solid rgba(219, 186, 118, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(33, 22, 57, 0.92), rgba(16, 10, 29, 0.94));
  color: var(--ac-text);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ac-htp--horoscope .ac-htp__companion-card:hover {
  transform: translateY(-2px);
  border-color: rgba(219, 186, 118, 0.42);
  box-shadow: 0 18px 30px rgba(0,0,0,0.22);
}

.ac-htp--horoscope .ac-htp__companion-card span {
  color: var(--ac-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ac-htp--horoscope .ac-htp__companion-card strong {
  color: var(--ac-cream);
  font-size: 1.08rem;
}

.ac-htp--horoscope .ac-htp__companion-card p {
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

@media (max-width: 1024px) {
  .ac-htp--horoscope .ac-htp__refine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-htp--horoscope .ac-htp__companion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__refine,
  .ac-htp--horoscope .ac-htp__companions {
    padding: 18px;
  }

  .ac-htp--horoscope .ac-htp__refine-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.4 · FAQ GUÍA SIN OBLIGACIÓN
   ========================================================== */

.ac-htp--horoscope .ac-htp__faq {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 186, 118, 0.16);
  border-radius: 18px;
  background: rgba(16, 10, 29, 0.54);
}

.ac-htp--horoscope .ac-htp__faq h4 {
  margin: 0 0 8px;
  color: var(--ac-cream);
  font-size: 1.05rem;
}

.ac-htp--horoscope .ac-htp__faq-intro {
  max-width: 920px;
  margin: 0 0 14px;
  color: var(--ac-muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.ac-htp--horoscope .ac-htp__faq details {
  border-top: 1px solid rgba(219, 186, 118, 0.13);
  padding: 0;
}

.ac-htp--horoscope .ac-htp__faq details:first-of-type {
  border-top: 0;
}

.ac-htp--horoscope .ac-htp__faq summary {
  cursor: pointer;
  padding: 13px 0;
  color: var(--ac-gold);
  font-weight: 700;
  list-style: none;
}

.ac-htp--horoscope .ac-htp__faq summary::-webkit-details-marker {
  display: none;
}

.ac-htp--horoscope .ac-htp__faq summary::after {
  content: "+";
  float: right;
  color: rgba(246, 239, 227, 0.72);
}

.ac-htp--horoscope .ac-htp__faq details[open] summary::after {
  content: "–";
}

.ac-htp--horoscope .ac-htp__faq details p {
  margin: -3px 0 14px;
  color: var(--ac-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__faq {
    padding: 16px;
  }

  .ac-htp--horoscope .ac-htp__faq summary {
    padding: 12px 0;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.5 · UNA SOLA LECTURA + MATICES
   ========================================================== */

.ac-htp--horoscope .ac-htp__refine {
  margin-top: 24px;
}

.ac-htp--horoscope .ac-htp__refined-card {
  background: linear-gradient(180deg, rgba(77, 54, 134, 0.24), rgba(31, 22, 54, 0.78));
}

.ac-htp--horoscope .ac-htp__refined-card .ac-htp__mini-label::after {
  content: " · no sustituye la lectura principal";
  color: rgba(246, 239, 227, 0.58);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.ac-htp--horoscope .ac-htp__faq h4 {
  font-size: 1rem;
}

.ac-htp--horoscope .ac-htp__faq-intro {
  font-size: 0.94rem;
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__refined-card .ac-htp__mini-label::after {
    display: block;
    margin-top: 4px;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.6 · BAJAR PARA AFINAR + COMPARTIR
   ========================================================== */

.ac-htp--horoscope .ac-htp__reading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ac-htp--horoscope .ac-htp__share--soft {
  background: rgba(255,255,255,0.03);
  box-shadow: none;
}

.ac-htp--horoscope .ac-htp__refine-cue {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px dashed rgba(219,186,118,0.32);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(32, 21, 55, 0.72), rgba(16, 10, 29, 0.82));
}

.ac-htp--horoscope .ac-htp__refine-cue strong {
  display: block;
  color: var(--ac-cream);
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.ac-htp--horoscope .ac-htp__refine-cue p {
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.65;
}

.ac-htp--horoscope .ac-htp__refine-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(219,186,118,0.34);
  background: rgba(255,255,255,0.04);
  color: var(--ac-cream);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ac-htp--horoscope .ac-htp__refine-jump:hover {
  transform: translateY(-2px);
  border-color: rgba(219,186,118,0.54);
  box-shadow: 0 16px 28px rgba(0,0,0,0.18);
}

@media (max-width: 1024px) {
  .ac-htp--horoscope .ac-htp__reading-head {
    align-items: stretch;
  }

  .ac-htp--horoscope .ac-htp__reading-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__refine-cue {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .ac-htp--horoscope .ac-htp__reading-actions {
    width: 100%;
  }

  .ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share,
  .ac-htp--horoscope .ac-htp__refine-jump {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================
   HORÓSCOPO · VERSIÓN 1.7 · DIFUSIÓN Y MENSAJES NO TÉCNICOS
   ========================================================== */

.ac-htp--horoscope .ac-htp__hero-points span {
  background: linear-gradient(180deg, rgba(219,186,118,0.08), rgba(255,255,255,0.02));
  border-color: rgba(219,186,118,0.28);
}

.ac-htp--horoscope .ac-htp__reading-actions {
  max-width: 420px;
}

.ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share:first-child {
  flex-basis: 100%;
  background: linear-gradient(180deg, rgba(219,186,118,0.22), rgba(126,92,214,0.18));
  border-color: rgba(219,186,118,0.52);
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__reading-actions {
    max-width: none;
  }

  .ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share {
    width: calc(50% - 4px);
  }

  .ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share:first-child {
    width: 100%;
  }
}


/* ==========================================================
   HORÓSCOPO & TAROT · VERSIÓN 1.8 · IMAGEN PARA COMPARTIR
   ========================================================== */

.ac-htp__share-signature {
  display: none;
}

.is-capturing .ac-htp__share-signature,
.ac-htp__tarot-layout.is-capturing .ac-htp__share-signature,
.ac-htp__reading-card.is-capturing .ac-htp__share-signature {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(219,186,118,0.22);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f6efe3;
  font-size: 0.88rem;
}

.is-capturing .ac-htp__share-signature strong {
  color: #dbba76;
}

.ac-htp--horoscope .ac-htp__reading-actions,
.ac-htp__reading-actions--tarot {
  max-width: 540px;
}

.ac-htp__reading-actions--tarot {
  margin-top: 16px;
}

.ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share,
.ac-htp__reading-actions--tarot .ac-htp__share {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share:first-child,
.ac-htp__reading-actions--tarot .ac-htp__share:first-child {
  flex-basis: 100%;
  background: linear-gradient(180deg, rgba(219,186,118,0.22), rgba(126,92,214,0.18));
  border-color: rgba(219,186,118,0.52);
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share,
  .ac-htp__reading-actions--tarot .ac-htp__share {
    width: calc(50% - 4px);
  }

  .ac-htp--horoscope .ac-htp__reading-actions .ac-htp__share:first-child,
  .ac-htp__reading-actions--tarot .ac-htp__share:first-child {
    width: 100%;
  }

  .is-capturing .ac-htp__share-signature {
    flex-direction: column;
  }
}


/* ==========================================================
   VERSIÓN 1.9 · BOTONES HONESTOS PARA MÓVIL
   ========================================================== */

.ac-htp__reading-actions .ac-htp__share[data-share-image="true"]::after {
  content: " · recomendado";
  opacity: 0.72;
  font-weight: 600;
}

@media (max-width: 767px) {
  .ac-htp__reading-actions .ac-htp__share[data-share-image="true"] {
    font-size: 0.95rem;
  }
}


/* ==========================================================
   COFRE DE AMATISTAS · VERSIÓN 2.0
   ========================================================== */

.ac-htp--horoscope .ac-htp__chest {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(219, 186, 118, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(177, 138, 233, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(29, 19, 51, 0.92), rgba(16, 10, 29, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(0,0,0,0.18);
}

.ac-htp--horoscope .ac-htp__chest-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.ac-htp--horoscope .ac-htp__chest-intro h3 {
  margin: 0 0 8px;
  color: var(--ac-cream);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.ac-htp--horoscope .ac-htp__chest-intro p {
  max-width: 780px;
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.65;
}

.ac-htp--horoscope .ac-htp__chest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(219,186,118,0.44);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(219,186,118,0.22), rgba(126,92,214,0.20));
  color: var(--ac-cream);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ac-htp--horoscope .ac-htp__chest-button:hover {
  transform: translateY(-2px);
}

.ac-htp--horoscope .ac-htp__chest-button:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.ac-htp--horoscope .ac-htp__chest-result {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(219,186,118,0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(219,186,118,0.16), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(177,138,233,0.20), transparent 34%),
    linear-gradient(180deg, rgba(45, 30, 76, 0.96), rgba(17, 10, 30, 0.98));
}

.ac-htp--horoscope .ac-htp__chest-result[hidden] {
  display: none !important;
}

.ac-htp--horoscope .ac-htp__chest-glow {
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 50% 50%, rgba(219,186,118,0.16), transparent 28%),
    radial-gradient(circle at 30% 30%, rgba(177,138,233,0.18), transparent 24%);
  pointer-events: none;
}

.ac-htp--horoscope .ac-htp__chest-result-inner {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.ac-htp--horoscope .ac-htp__chest-result h4 {
  margin: 6px 0 14px;
  color: var(--ac-cream);
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
}

.ac-htp--horoscope .ac-htp__chest-number {
  display: inline-grid;
  gap: 4px;
  min-width: 180px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(219,186,118,0.30);
  border-radius: 20px;
  background: rgba(16, 10, 29, 0.62);
  text-align: center;
}

.ac-htp--horoscope .ac-htp__chest-number strong {
  display: block;
  color: var(--ac-gold);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.ac-htp--horoscope .ac-htp__chest-number span {
  color: var(--ac-muted);
  font-weight: 700;
}

.ac-htp--horoscope .ac-htp__chest-result p {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--ac-muted);
  line-height: 1.65;
}

.ac-htp--horoscope .ac-htp__reading-actions--chest {
  margin-top: 16px;
}

.ac-htp--horoscope .ac-htp__reading-actions--chest .ac-htp__share:first-child {
  flex-basis: 100%;
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__chest {
    padding: 18px;
  }

  .ac-htp--horoscope .ac-htp__chest-intro {
    grid-template-columns: 1fr;
  }

  .ac-htp--horoscope .ac-htp__chest-button {
    width: 100%;
  }

  .ac-htp--horoscope .ac-htp__chest-result-inner {
    padding: 18px;
  }

  .ac-htp--horoscope .ac-htp__chest-number {
    width: 100%;
  }
}


/* ==========================================================
   COFRE DE AMATISTAS · VERSIÓN 2.1 · VISUAL, COMPACTO Y SIN COMPARTIR
   ========================================================== */

.ac-htp--horoscope .ac-htp__chest--compact {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(219, 186, 118, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(177, 138, 233, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(29, 19, 51, 0.88), rgba(16, 10, 29, 0.94));
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-header h3 {
  margin: 0 0 6px;
  color: var(--ac-cream);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-header p {
  max-width: 680px;
  margin: 0;
  color: var(--ac-muted);
  line-height: 1.6;
}

.ac-htp--horoscope .ac-htp__chest-pill {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(219, 186, 118, 0.24);
  border-radius: 999px;
  color: var(--ac-gold);
  background: rgba(255,255,255,0.035);
  font-weight: 700;
  font-size: 0.85rem;
}

.ac-htp--horoscope .ac-htp__magic-chest-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
}

.ac-htp--horoscope .ac-htp__magic-chest {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

.ac-htp--horoscope .ac-htp__magic-chest:disabled {
  cursor: default;
}

.ac-htp--horoscope .ac-htp__magic-chest-glow {
  position: absolute;
  width: 210px;
  height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(219,186,118,0.26), transparent 58%),
    radial-gradient(circle, rgba(177,138,233,0.34), transparent 66%);
  filter: blur(10px);
  opacity: 0.75;
  transform: translateY(8px);
  z-index: 0;
}

.ac-htp--horoscope .ac-htp__magic-chest-body {
  position: absolute;
  width: 190px;
  height: 96px;
  bottom: 32px;
  border: 1px solid rgba(219,186,118,0.52);
  border-radius: 18px 18px 24px 24px;
  background:
    linear-gradient(90deg, rgba(219,186,118,0.16), transparent 18%, transparent 82%, rgba(219,186,118,0.16)),
    linear-gradient(180deg, #4d2d72 0%, #231338 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 20px 40px rgba(0,0,0,0.28);
  z-index: 2;
}

.ac-htp--horoscope .ac-htp__magic-chest-lid {
  position: absolute;
  width: 202px;
  height: 62px;
  bottom: 116px;
  border: 1px solid rgba(219,186,118,0.58);
  border-radius: 28px 28px 12px 12px;
  background:
    radial-gradient(circle at 50% 12%, rgba(219,186,118,0.20), transparent 42%),
    linear-gradient(180deg, #69408f 0%, #2d1746 100%);
  transform-origin: 50% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 14px 30px rgba(0,0,0,0.24);
  z-index: 3;
  transition: transform 0.55s ease, bottom 0.55s ease;
}

.ac-htp--horoscope .ac-htp__magic-chest-lock {
  position: absolute;
  bottom: 90px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(219,186,118,0.7);
  border-radius: 50%;
  background: #171024;
  color: var(--ac-gold);
  font-size: 1rem;
  z-index: 4;
  box-shadow: 0 0 24px rgba(219,186,118,0.22);
}

.ac-htp--horoscope .ac-htp__magic-chest-label {
  position: absolute;
  bottom: 0;
  padding: 8px 14px;
  border: 1px solid rgba(219,186,118,0.28);
  border-radius: 999px;
  background: rgba(16,10,29,0.80);
  color: var(--ac-cream);
  font-weight: 800;
  z-index: 5;
}

.ac-htp--horoscope .ac-htp__magic-chest-sparks {
  position: absolute;
  width: 190px;
  height: 110px;
  bottom: 72px;
  opacity: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 20% 70%, rgba(219,186,118,0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 38%, rgba(246,239,227,0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 18%, rgba(177,138,233,0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 42%, rgba(219,186,118,0.90) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 72%, rgba(246,239,227,0.88) 0 2px, transparent 3px);
  transform: translateY(18px) scale(0.72);
}

.ac-htp--horoscope .ac-htp__chest.is-opening .ac-htp__magic-chest-lid,
.ac-htp--horoscope .ac-htp__chest.is-opened .ac-htp__magic-chest-lid {
  transform: rotateX(58deg) translateY(-12px);
  bottom: 130px;
}

.ac-htp--horoscope .ac-htp__chest.is-opening .ac-htp__magic-chest-sparks,
.ac-htp--horoscope .ac-htp__chest.is-opened .ac-htp__magic-chest-sparks {
  animation: acChestSpark 0.9s ease forwards;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-result {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-result-inner {
  padding: 0;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-number {
  width: fit-content;
  min-width: 170px;
  margin: 8px 0 10px;
  padding: 14px 18px;
  animation: acChestNumber 0.6s ease both;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-number strong {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-result h4 {
  display: none;
}

.ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-result p {
  max-width: 650px;
  margin: 0;
}

@keyframes acChestSpark {
  0% { opacity: 0; transform: translateY(22px) scale(0.55); filter: blur(4px); }
  35% { opacity: 1; transform: translateY(-16px) scale(1.05); filter: blur(0); }
  100% { opacity: 0.62; transform: translateY(-32px) scale(1.18); filter: blur(0); }
}

@keyframes acChestNumber {
  0% { opacity: 0; transform: scale(0.72) translateY(12px); }
  60% { opacity: 1; transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-header {
    display: grid;
  }

  .ac-htp--horoscope .ac-htp__magic-chest-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-number {
    margin-left: auto;
    margin-right: auto;
  }

  .ac-htp--horoscope .ac-htp__chest--compact .ac-htp__chest-result p {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ==========================================================
   COFRE DE AMATISTAS · VERSIÓN 2.2 · REQUIERE MI ALTAR
   ========================================================== */

.ac-htp--horoscope .ac-htp__chest-login {
  padding: 18px;
  border: 1px solid rgba(219, 186, 118, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(77, 54, 134, 0.28), rgba(31, 22, 54, 0.82));
  text-align: left;
}

.ac-htp--horoscope .ac-htp__chest-login[hidden] {
  display: none !important;
}

.ac-htp--horoscope .ac-htp__chest-login h4 {
  margin: 6px 0 8px;
  color: var(--ac-cream);
  font-size: 1.2rem;
}

.ac-htp--horoscope .ac-htp__chest-login p {
  margin: 0 0 14px;
  color: var(--ac-muted);
  line-height: 1.65;
}

.ac-htp--horoscope .ac-htp__chest-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ac-htp--horoscope .ac-htp__chest.requires-login .ac-htp__magic-chest-lid {
  transform: rotateX(0deg);
}

.ac-htp--horoscope .ac-htp__chest.requires-login .ac-htp__magic-chest-glow {
  opacity: 0.42;
}

@media (max-width: 767px) {
  .ac-htp--horoscope .ac-htp__chest-login {
    text-align: center;
  }

  .ac-htp--horoscope .ac-htp__chest-login-actions .ac-htp__cta {
    width: 100%;
  }
}


/* ==========================================================
   COFRE DE AMATISTAS · VERSIÓN 2.3 · FLOTANTE + POPUP
   ========================================================== */

.ac-htp__chest-floating {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 9997;
}

.ac-htp__chest-floating-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(219, 186, 118, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(177, 138, 233, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(38, 24, 66, 0.96), rgba(16, 10, 29, 0.96));
  color: var(--ac-cream);
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0,0,0,0.36), 0 0 26px rgba(177,138,233,0.16);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ac-htp__chest-floating-button:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 186, 118, 0.64);
  box-shadow: 0 22px 48px rgba(0,0,0,0.42), 0 0 34px rgba(177,138,233,0.24);
}

.ac-htp__chest-floating-orb {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 30%, rgba(246,239,227,0.92), rgba(219,186,118,0.42) 18%, rgba(126,92,214,0.52) 58%, rgba(16,10,29,0.82));
  color: var(--ac-gold);
  box-shadow: 0 0 22px rgba(177,138,233,0.34);
  animation: acChestFloatPulse 2.6s ease-in-out infinite;
}

.ac-htp__chest-floating-button strong,
.ac-htp__chest-floating-button small {
  display: block;
  text-align: left;
  line-height: 1.15;
}

.ac-htp__chest-floating-button strong {
  font-size: 0.95rem;
}

.ac-htp__chest-floating-button small {
  color: rgba(246,239,227,0.72);
  font-size: 0.78rem;
  margin-top: 2px;
}

.ac-htp__chest-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ac-htp__chest-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ac-htp__chest-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 2, 12, 0.72);
  backdrop-filter: blur(10px);
}

.ac-htp__chest-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(219, 186, 118, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(177, 138, 233, 0.20), transparent 38%),
    linear-gradient(180deg, rgba(29, 19, 51, 0.98), rgba(16, 10, 29, 0.98));
  box-shadow: 0 34px 90px rgba(0,0,0,0.50);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.ac-htp__chest-modal.is-visible .ac-htp__chest-modal-panel {
  transform: translateY(0) scale(1);
}

.ac-htp__chest-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(219, 186, 118, 0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--ac-cream);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.ac-htp__chest-modal .ac-htp__chest-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-right: 44px;
}

.ac-htp__chest-modal .ac-htp__chest-header h3 {
  margin: 0 0 6px;
  color: var(--ac-cream);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.ac-htp__chest-modal .ac-htp__chest-header p {
  margin: 0;
  max-width: 620px;
  color: var(--ac-muted);
  line-height: 1.6;
}

.ac-htp__chest-modal .ac-htp__magic-chest-wrap {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
}

html.ac-htp-chest-open,
html.ac-htp-chest-open body {
  overflow: hidden;
}

@keyframes acChestFloatPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.18); }
}

@media (max-width: 767px) {
  .ac-htp__chest-floating {
    right: 12px;
    bottom: 14px;
  }

  .ac-htp__chest-floating-button {
    min-height: 52px;
    padding: 8px 12px 8px 8px;
  }

  .ac-htp__chest-floating-button strong {
    font-size: 0.86rem;
  }

  .ac-htp__chest-floating-button small {
    font-size: 0.72rem;
  }

  .ac-htp__chest-floating-orb {
    width: 38px;
    height: 38px;
  }

  .ac-htp__chest-modal {
    padding: 12px;
  }

  .ac-htp__chest-modal-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .ac-htp__chest-modal .ac-htp__chest-header {
    grid-template-columns: 1fr;
    padding-right: 42px;
  }

  .ac-htp__chest-modal .ac-htp__magic-chest-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
