/**
 * Hero Alternativo V2 (/tarot?tc_hero_alt=1|2|3) — Mobile-First (390x844) & Desktop.
 * Totalmente isolado em .tc-hero-alt (#tc-hero-alt-root). Não altera o hero padrão em produção.
 */

.tc-hero-alt {
  position: relative;
  text-align: center;
  padding: clamp(0.65rem, 2.5vw, 1.35rem) 0 1.25rem;
  max-width: min(46rem, 94vw);
  margin: 0 auto;
  overflow: visible;
}

/* ─── Barra Switcher de Teste (Mobile-First) ─── */
.tc-hero-alt__lab-bar {
  margin: 0 auto 1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(24, 14, 44, 0.94), rgba(14, 9, 26, 0.96));
  border: 1px solid rgba(232, 121, 249, 0.42);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(192, 132, 252, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 34rem;
}

.tc-hero-alt__lab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.48rem;
  flex-wrap: wrap;
}

.tc-hero-alt__lab-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.tc-hero-alt__hud-toggle {
  appearance: none;
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: rgba(147, 51, 234, 0.2);
  color: #f5d0fe;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tc-hero-alt__hud-toggle:hover {
  background: rgba(192, 132, 252, 0.32);
  border-color: rgba(232, 121, 249, 0.7);
}

.tc-hero-alt__lab-exit {
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.tc-hero-alt__lab-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.38rem;
}

.tc-hero-alt__lab-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #d8b4fe;
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.46rem 0.35rem;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.18s ease;
}

.tc-hero-alt__lab-tab.is-active {
  background: linear-gradient(135deg, #c026d3 0%, #9333ea 55%, #d97706 100%);
  border-color: #fde68a;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(232, 121, 249, 0.45);
}

/* ─── Stage & Atmosfera das 3 Cartas ─── */
.tc-hero-alt__stage {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0.25rem auto 0.55rem;
  padding: 0.4rem 0 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tc-hero-alt__aurora {
  position: absolute;
  width: min(21rem, 88vw);
  height: 11.5rem;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 121, 249, 0.36) 0%,
    rgba(251, 191, 36, 0.22) 38%,
    rgba(56, 189, 248, 0.12) 64%,
    transparent 80%
  );
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  animation: tcHeroAltAurora 4.5s ease-in-out infinite;
}

.tc-hero-alt__pedestal {
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(17.5rem, 78vw);
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(251, 191, 36, 0.48) 0%,
    rgba(232, 121, 249, 0.26) 48%,
    transparent 76%
  );
  filter: blur(7px);
  pointer-events: none;
  z-index: 1;
}

.tc-hero-alt__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.tc-hero-alt__sparks span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 10px 2px rgba(251, 191, 36, 0.85);
  animation: tcHeroAltSparkle 3.2s ease-in-out infinite;
}

.tc-hero-alt__sparks span:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; }
.tc-hero-alt__sparks span:nth-child(2) { right: 12%; top: 22%; animation-delay: 0.7s; }
.tc-hero-alt__sparks span:nth-child(3) { left: 22%; bottom: 16%; animation-delay: 1.3s; }
.tc-hero-alt__sparks span:nth-child(4) { right: 20%; bottom: 14%; animation-delay: 1.9s; }
.tc-hero-alt__sparks span:nth-child(5) { left: 48%; top: 4%; animation-delay: 0.4s; }
.tc-hero-alt__sparks span:nth-child(6) { right: 34%; top: 10%; animation-delay: 2.3s; }

/* ─── Ventaglio / Fan das 3 Cartas ─── */
.tc-hero-alt__fan {
  display: none;
  position: relative;
  width: min(19.5rem, 88vw);
  height: 11.4rem;
  z-index: 2;
  perspective: 1100px;
}

.tc-hero-alt[data-tc-hero-variant="1"] .tc-hero-alt__fan--v1,
.tc-hero-alt[data-tc-hero-variant="2"] .tc-hero-alt__fan--v2,
.tc-hero-alt[data-tc-hero-variant="3"] .tc-hero-alt__fan--v3 {
  display: block;
}

.tc-hero-alt__flip-hint {
  display: none;
  margin: 0.2rem auto 0;
  padding: 0.2rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fde68a !important;
  background: rgba(24, 14, 44, 0.78);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  z-index: 3;
}

.tc-hero-alt[data-tc-hero-variant="2"] .tc-hero-alt__flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─── Posicionamento individual das 3 Cartas ─── */
.tc-hero-alt-card {
  position: absolute;
  width: 6.6rem;
  height: 9.9rem;
  border-radius: 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.tc-hero-alt-card--left {
  left: 0.55rem;
  top: 1.05rem;
  z-index: 2;
  transform: rotate(-17deg) scale(0.92);
  animation: tcHeroAltFloatLeft 4.4s ease-in-out infinite;
}

.tc-hero-alt-card--center {
  left: 50%;
  top: 0.05rem;
  z-index: 5;
  width: 7.2rem;
  height: 10.8rem;
  transform: translateX(-50%) translateY(0) scale(1);
  animation: tcHeroAltFloatCenter 3.8s ease-in-out infinite;
}

.tc-hero-alt-card--right {
  right: 0.55rem;
  top: 1.05rem;
  z-index: 3;
  transform: rotate(17deg) scale(0.92);
  animation: tcHeroAltFloatRight 4.4s ease-in-out infinite;
}

.tc-hero-alt-card--left:hover,
.tc-hero-alt-card--left:focus-visible {
  z-index: 6;
  transform: rotate(-8deg) translateY(-6px) scale(0.98) !important;
}

.tc-hero-alt-card--center:hover,
.tc-hero-alt-card--center:focus-visible {
  z-index: 7;
  transform: translateX(-50%) translateY(-8px) scale(1.05) !important;
}

.tc-hero-alt-card--right:hover,
.tc-hero-alt-card--right:focus-visible {
  z-index: 6;
  transform: rotate(8deg) translateY(-6px) scale(0.98) !important;
}

/* ─── Moldura & Imagem da Carta (Variante 1 & 3) ─── */
.tc-hero-alt-card__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(160deg, #1b1035 0%, #0d071c 100%);
  border: 2px solid rgba(251, 191, 36, 0.78);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(251, 191, 36, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.tc-hero-alt-card__frame--hero {
  border-width: 2.5px;
  border-color: #fde047;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(232, 121, 249, 0.48),
    0 0 16px rgba(251, 191, 36, 0.45),
    inset 0 0 0 1px rgba(254, 240, 138, 0.38);
}

.tc-hero-alt-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Scale 1.045 crops any rounded white corner bleed from generated JPGs */
  transform: scale(1.045);
  transform-origin: center center;
}

/* Shimmer Foil Holográfico */
.tc-hero-alt-card__foil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 22%,
    rgba(254, 240, 138, 0.14) 42%,
    rgba(232, 121, 249, 0.26) 50%,
    rgba(56, 189, 248, 0.14) 58%,
    transparent 78%
  );
  background-size: 240% 240%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: tcHeroAltFoilSweep 4.8s ease-in-out infinite;
}

.tc-hero-alt-card__foil--active {
  background: linear-gradient(
    118deg,
    transparent 18%,
    rgba(254, 240, 138, 0.28) 42%,
    rgba(245, 208, 254, 0.36) 50%,
    rgba(56, 189, 248, 0.22) 58%,
    transparent 82%
  );
  background-size: 220% 220%;
  animation-duration: 3.4s;
}

.tc-hero-alt-card__corner {
  position: absolute;
  top: 0.28rem;
  font-size: 0.58rem;
  color: #fde68a;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.9);
  pointer-events: none;
  z-index: 3;
}

.tc-hero-alt-card__corner--tl { left: 0.34rem; }
.tc-hero-alt-card__corner--tr { right: 0.34rem; }

.tc-hero-alt-card__label {
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(12, 8, 24, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  z-index: 3;
}

.tc-hero-alt-card__label--gold {
  color: #1a1005;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  border-color: #ffffff;
}

/* ─── Variante 2: Flip 3D (2 Dorsos + 1 Revelada) ─── */
.tc-hero-alt__fan--v2 .tc-hero-alt-card {
  animation: none;
}

.tc-hero-alt__fan--v2 .tc-hero-alt-card--left {
  transform: rotate(-16deg) scale(0.93);
}

.tc-hero-alt__fan--v2 .tc-hero-alt-card--center {
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

.tc-hero-alt__fan--v2 .tc-hero-alt-card--right {
  transform: rotate(16deg) scale(0.93);
}

.tc-hero-alt-card__flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.tc-hero-alt-card.is-flipped .tc-hero-alt-card__flipper {
  transform: rotateY(180deg);
}

.tc-hero-alt-card__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 2px solid rgba(251, 191, 36, 0.8);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(192, 132, 252, 0.28);
  background: #120924;
}

.tc-hero-alt-card__face--front {
  transform: rotateY(180deg);
}

.tc-hero-alt-card__back-badge {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.14rem 0.46rem;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(15, 8, 30, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ─── Variante 3: Moldura Collector para Arcanos Reais RWS ─── */
.tc-hero-alt-card__frame--collector {
  padding: 0.26rem 0.26rem 1.28rem;
  background: linear-gradient(165deg, #241342 0%, #100821 60%, #1b0e36 100%);
  border: 2px solid #eab308;
  display: flex;
  flex-direction: column;
}

.tc-hero-alt-card__art-window {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 0.45rem;
  overflow: hidden;
  border: 1px solid rgba(254, 240, 138, 0.55);
  box-shadow: inset 0 0 14px rgba(15, 7, 30, 0.65);
}

.tc-hero-alt-card__art-window .tc-hero-alt-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.11);
  filter: saturate(1.14) contrast(1.06);
}

.tc-hero-alt-card__art-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 52%, rgba(16, 8, 34, 0.55) 100%);
  pointer-events: none;
}

.tc-hero-alt-card__roman {
  position: absolute;
  top: 0.48rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fde68a;
  background: rgba(14, 8, 28, 0.86);
  border: 1px solid rgba(251, 191, 36, 0.55);
  padding: 0.06rem 0.38rem;
  border-radius: 999px;
  z-index: 3;
}

/* ─── Lockup Tipográfico: TAROT CLASH (sem Royale) ─── */
.tc-hero-alt__brand-lockup {
  margin: 0.15rem auto 0.65rem;
  max-width: 38rem;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap .tc-hero-alt__title,
body.tarot-clash-royale-php .tc-hero-alt__title,
.tc-hero-alt__title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.04 !important;
  border: 0 !important;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap .tc-hero-alt__title-main,
body.tarot-clash-royale-php .tc-hero-alt__title-main,
.tc-hero-alt__title-main {
  display: inline-block;
  font-family: var(--font-display) !important;
  font-size: clamp(2.25rem, 8.8vw, 3.85rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  background: linear-gradient(
    180deg,
    #fffbeb 0%,
    #fde68a 30%,
    #f5d0fe 68%,
    #e879f9 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 4px 18px rgba(232, 121, 249, 0.35)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
}

.tc-hero-alt__crest-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.32rem auto 0.65rem;
  max-width: 24rem;
  padding: 0 0.5rem;
}

.tc-hero-alt__crest-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.65), transparent);
}

.tc-hero-alt__crest-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e9d5ff;
  white-space: nowrap;
}

/* ─── Zona Compacta Mobile-First vs Clássica ─── */
.tc-hero-alt[data-tc-hero-compact-hud="1"] .tc-hero-alt__classic-zone {
  display: none !important;
}

.tc-hero-alt[data-tc-hero-compact-hud="0"] .tc-hero-alt__compact-zone {
  display: none !important;
}

.tc-hero-alt__hud-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin: 0.35rem auto 0.85rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(26, 16, 46, 0.88), rgba(15, 10, 28, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: 100%;
}

.tc-hero-alt__hud-item {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.8rem;
  color: #f1f5f9;
  padding-right: 0.48rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-hero-alt__hud-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.tc-hero-alt__hud-item strong {
  color: #fde68a !important;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tc-hero-alt__hud-item--streak strong {
  color: #fb923c !important;
}

.tc-hero-alt__hud-lvl-badge {
  background: rgba(192, 132, 252, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.42);
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #f5d0fe;
}

.tc-hero-alt__hud-xp-text {
  font-size: 0.7rem;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
}

/* ─── CTA Stack Mobile-First ─── */
.tc-hero-alt__cta-stack {
  max-width: 26rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 0.25rem;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap a.tc-hero-alt__primary-cta,
a.tc-hero-alt__primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border-radius: 14px;
  text-decoration: none !important;
  font-family: var(--font-ui);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ec4899 0%, #c026d3 48%, #7e22ce 100%);
  border: 1.5px solid rgba(254, 240, 138, 0.65);
  box-shadow:
    0 10px 26px rgba(192, 38, 211, 0.42),
    0 0 18px rgba(251, 191, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.16s ease, filter 0.16s ease;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap a.tc-hero-alt__primary-cta:hover,
a.tc-hero-alt__primary-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #ffffff !important;
}

.tc-hero-alt__primary-cta-ico {
  color: #fde68a;
  font-size: 1.1rem;
}

.tc-hero-alt__primary-cta-arrow {
  color: #fde68a;
  font-weight: 900;
}

.tc-hero-alt__quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap a.tc-hero-alt__quick-pill,
a.tc-hero-alt__quick-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 42px;
  padding: 0.48rem 0.65rem;
  border-radius: 11px;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0 !important;
  background: rgba(24, 18, 43, 0.82);
  border: 1px solid rgba(192, 132, 252, 0.28);
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.tarot-clash-royale-php #tc-theme-v2-column-wrap a.tc-hero-alt__quick-pill:hover,
a.tc-hero-alt__quick-pill:hover {
  background: rgba(45, 26, 78, 0.9);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a !important;
}

/* ─── Keyframes ─── */
@keyframes tcHeroAltAurora {
  0%, 100% { opacity: 0.78; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}

@keyframes tcHeroAltSparkle {
  0%, 100% { opacity: 0.25; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes tcHeroAltFoilSweep {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

@keyframes tcHeroAltFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-6px) scale(1.03); }
}

@keyframes tcHeroAltFloatLeft {
  0%, 100% { transform: rotate(-17deg) translateY(0) scale(0.92); }
  50% { transform: rotate(-19deg) translateY(-4px) scale(0.93); }
}

@keyframes tcHeroAltFloatRight {
  0%, 100% { transform: rotate(17deg) translateY(0) scale(0.92); }
  50% { transform: rotate(19deg) translateY(-4px) scale(0.93); }
}

@media (min-width: 48rem) {
  .tc-hero-alt__fan {
    width: 23rem;
    height: 13rem;
  }
  .tc-hero-alt-card {
    width: 7.6rem;
    height: 11.4rem;
  }
  .tc-hero-alt-card--center {
    width: 8.4rem;
    height: 12.6rem;
  }
  .tc-hero-alt__quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tc-hero-alt__cta-stack {
    max-width: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-hero-alt__aurora,
  .tc-hero-alt__sparks span,
  .tc-hero-alt-card,
  .tc-hero-alt-card__foil {
    animation: none !important;
  }
}

/* ─── Emblema 3 Mini-Cartas Ilustradas no Header Bar (.tc-brand__mark--illustrated) ─── */
.tc-brand__mark--illustrated {
  width: 2.55rem !important;
  height: 1.95rem !important;
}

.tc-brand__mark--illustrated .tc-brand__mark-card {
  width: 1.22rem !important;
  height: 1.78rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0.28rem !important;
  border: 1.2px solid rgba(251, 191, 36, 0.85) !important;
  background: #120924 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 8px rgba(232, 121, 249, 0.28) !important;
}

.tc-brand__mark--illustrated .tc-brand__mark-card--center {
  border-color: #fde047 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), 0 0 10px rgba(251, 191, 36, 0.45) !important;
}

.tc-brand__mark--illustrated .tc-brand__mark-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1.06);
}

/* No hero das páginas de leitura (.tc-reading-brand-hero) as 3 cartas ilustradas ficam maiores */
.tc-reading-brand-hero .tc-brand__mark--illustrated {
  width: 9.8rem !important;
  height: 6.8rem !important;
  margin-bottom: 0.35rem;
}

.tc-reading-brand-hero .tc-brand__mark--illustrated .tc-brand__mark-card {
  width: 4.2rem !important;
  height: 6.2rem !important;
  border-radius: 0.52rem !important;
  border-width: 2px !important;
}

.tc-reading-brand-hero .tc-brand__mark--illustrated .tc-brand__mark-card--left {
  transform: translateX(-2.2rem) rotate(-16deg) scale(0.92) !important;
}

.tc-reading-brand-hero .tc-brand__mark--illustrated .tc-brand__mark-card--center {
  transform: translateY(-0.2rem) scale(1.02) !important;
}

.tc-reading-brand-hero .tc-brand__mark--illustrated .tc-brand__mark-card--right {
  transform: translateX(2.2rem) rotate(16deg) scale(0.92) !important;
}

