/* =========================================================
   HUB 3D — Widgets de iconos interactivos + vista inmersiva
   Rendimiento: solo transform/opacity animados, sin filter:blur,
   sin mix-blend-mode, animaciones pausables y degradados en lugar de blur.
========================================================= */

.hub3d {
  --hub-ease: cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  transition: opacity 0.35s var(--hub-ease), transform 0.35s var(--hub-ease);
}

.hub3d.is-exiting {
  opacity: 0;
  transform: scale(0.96) translateY(-10px);
  pointer-events: none;
}

.hub-back-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-back-hub {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-back-hub:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateX(-2px);
}

/* ---------- Cabecera del Hub ---------- */
.hub3d-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

.hub3d-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub3d-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Rejilla de widgets ---------- */
.hub3d-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.75rem 0.75rem;
  justify-items: center;
  padding: 0.75rem 0 1rem;
  perspective: 1200px;
}

.hub3d-item {
  grid-column: span 2;
  width: 100%;
  max-width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(var(--lift, 0px));
}

.hub3d-item:nth-child(4) { grid-column: 2 / span 2; }
.hub3d-item:nth-child(5) { grid-column: 4 / span 2; }

@media (min-width: 768px) {
  .hub3d-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
  .hub3d-item:nth-child(n) {
    grid-column: auto;
    max-width: 150px;
  }
}

@media (min-width: 960px) {
  .hub3d-item:nth-child(n) { max-width: 164px; }
  .hub3d-item:nth-child(1) { --lift: 8px; }
  .hub3d-item:nth-child(2) { --lift: -6px; }
  .hub3d-item:nth-child(3) { --lift: 12px; }
  .hub3d-item:nth-child(4) { --lift: -8px; }
  .hub3d-item:nth-child(5) { --lift: 6px; }
}

/* ---------- Widget de icono 3D ---------- */
.hub3d-scene {
  position: relative;
  width: 100%;
  perspective: 820px;
  transform-style: preserve-3d;
  animation: hub3d-in 0.9s var(--hub-ease) both;
  animation-delay: calc(var(--i, 0) * 95ms + 120ms);
}

.hub3d-float {
  transform-style: preserve-3d;
  animation: hub3d-float 7.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.45s);
}

.hub3d.is-paused .hub3d-float {
  animation-play-state: paused;
}

.hub3d-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 28%;
  transform-style: preserve-3d;
  transform: translate3d(var(--shift-x, 0px), calc(var(--ty, 0px) + var(--shift-y, 0px)), 0)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.55s var(--hub-ease);
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}

.hub3d-halo {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, var(--glow) 0%, transparent 64%);
  opacity: 0.5;
  transform: translateZ(-22px) scale(0.94);
  transition: opacity 0.55s ease, transform 0.7s var(--hub-ease);
  pointer-events: none;
}

.hub3d-ring {
  position: absolute;
  inset: -7%;
  border-radius: 32%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.55;
  transform: translateZ(-8px) rotate(-7deg) scaleY(0.97);
  transition: inset 0.6s var(--hub-ease), opacity 0.5s ease, border-color 0.5s ease, transform 0.8s var(--hub-ease);
  pointer-events: none;
}

.hub3d-ring2 {
  position: absolute;
  inset: -13%;
  border-radius: 34%;
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  opacity: 0;
  transform: translateZ(-12px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hub3d-floor {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--glow), transparent 70%);
  opacity: 0.5;
  transform: translateZ(-24px);
  transition: opacity 0.5s ease, transform 0.6s var(--hub-ease);
  pointer-events: none;
}

.hub3d-plate {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  transform-style: preserve-3d;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.035) 38%,
    rgba(10, 7, 16, 0.28) 72%,
    rgba(255, 255, 255, 0.09)
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 24px 42px -22px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.55s ease, border-color 0.4s ease;
}

.hub3d-face {
  position: absolute;
  inset: 5.5%;
  overflow: hidden;
  border-radius: 24%;
  background: var(--tile);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -16px 28px rgba(0, 0, 0, 0.34),
    0 12px 24px -14px rgba(0, 0, 0, 0.9);
  transform: translateZ(12px);
  transition: transform 0.55s var(--hub-ease);
}

.hub3d-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.42), transparent 46%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.hub3d-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.3), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hub3d-sheen {
  position: absolute;
  top: -30%;
  left: -70%;
  width: 46%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition: transform 0.95s var(--hub-ease), opacity 0.3s ease;
  pointer-events: none;
}

/* Logo flotando por delante de la cara: profundidad 3D real */
.hub3d-glyph {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%;
  height: 46%;
  color: #fff;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.4));
  transform: translateZ(34px);
  transition: transform 0.6s var(--hub-ease);
  pointer-events: none;
}

/* Tres destellos en un único elemento (en lugar de tres nodos) */
.hub3d-sparks {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateZ(44px);
  background:
    radial-gradient(circle at 14% 18%, #fff 0 2px, var(--glow) 2.5px, transparent 9px),
    radial-gradient(circle at 91% 40%, #fff 0 1.5px, var(--glow) 2px, transparent 8px),
    radial-gradient(circle at 28% 94%, #fff 0 1.25px, var(--glow) 1.75px, transparent 7px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hub3d-tap {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  animation: hub3d-tap 0.75s var(--hub-ease) forwards;
  pointer-events: none;
}

/* Hover / foco (solo punteros con hover real) */
@media (hover: hover) {
  .hub3d-btn:hover,
  .hub3d-btn:focus-visible { --ty: -10px; }

  .hub3d-btn:hover .hub3d-halo,
  .hub3d-btn:focus-visible .hub3d-halo {
    opacity: 1;
    transform: translateZ(-22px) scale(1.2);
  }
  .hub3d-btn:hover .hub3d-plate,
  .hub3d-btn:focus-visible .hub3d-plate {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -1px 0 rgba(255, 255, 255, 0.12),
      0 36px 60px -26px rgba(0, 0, 0, 1),
      0 0 48px -10px var(--glow);
  }
  .hub3d-btn:hover .hub3d-face,
  .hub3d-btn:focus-visible .hub3d-face { transform: translateZ(26px); }
  .hub3d-btn:hover .hub3d-face::after,
  .hub3d-btn:focus-visible .hub3d-face::after { opacity: 1; }
  .hub3d-btn:hover .hub3d-glyph,
  .hub3d-btn:focus-visible .hub3d-glyph { transform: translateZ(56px) scale(1.07) rotate(-2deg); }
  .hub3d-btn:hover .hub3d-sheen,
  .hub3d-btn:focus-visible .hub3d-sheen {
    opacity: 0.85;
    transform: translateX(420%) rotate(18deg);
  }
  .hub3d-btn:hover .hub3d-ring,
  .hub3d-btn:focus-visible .hub3d-ring {
    inset: -11%;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateZ(-8px) rotate(-4deg) scaleY(0.98);
  }
  /* El anillo discontinuo solo gira mientras se ve */
  .hub3d-btn:hover .hub3d-ring2,
  .hub3d-btn:focus-visible .hub3d-ring2 {
    opacity: 1;
    animation: hub3d-spin 26s linear infinite;
  }
  .hub3d-btn:hover .hub3d-floor,
  .hub3d-btn:focus-visible .hub3d-floor {
    opacity: 0.9;
    transform: translateZ(-24px) scale(1.1) translateY(4px);
  }
  .hub3d-btn:hover .hub3d-sparks,
  .hub3d-btn:focus-visible .hub3d-sparks { opacity: 1; }
}

.hub3d-btn:active {
  transform: translateY(-2px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(0.955);
  transition-duration: 0.12s;
}

.hub3d-btn:active .hub3d-face { transform: translateZ(6px) scale(0.985); }

.hub3d-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 7px;
}

/* ---------- Rótulos ---------- */
.hub3d-caption {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.hub3d-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-main);
}

.hub3d-soon {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
}

.hub3d-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

.hub3d-hint i,
.hub3d-hint svg { color: var(--ig-pink); }
.hub3d-hint-pointer { display: none; }

@media (hover: hover) and (pointer: fine) {
  .hub3d-hint-touch { display: none; }
  .hub3d-hint-pointer { display: inline; }
}

/* =========================================================
   VISTA INMERSIVA (overlay)
========================================================= */
html.hub3d-lock { overflow: hidden; }

.hub3d-overlay {
  --hub-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (max-width: 640px) {
  .hub3d-overlay {
    padding: 0;
    align-items: stretch;
  }
}

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

.hub3d-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: rgba(3, 2, 6, 0.84);
  cursor: default;
  animation: hub3d-fade 0.3s ease both;
}

/* El blur de fondo solo en pantallas grandes (coste de GPU) */
@media (min-width: 768px) {
  .hub3d-scrim {
    background: rgba(3, 2, 6, 0.6);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    backdrop-filter: blur(14px) saturate(120%);
  }
}

.hub3d-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%), #0a0812;
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 1);
  animation: hub3d-modal 0.62s var(--hub-ease) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

@media (min-width: 480px) {
  .hub3d-dialog { padding: 2.5rem 2rem 2rem; }
}

/* Modo Formulario en Modal: acomodar inputs de Instagram / Sorteos */
.hub3d-dialog.has-form {
  max-width: 560px;
  text-align: left;
  padding: 2.75rem 2.25rem 2rem;
}

.hub3d-dialog.has-form .hub3d-hero {
  display: block;
  width: 100px;
  height: 100px;
  min-height: 100px;
  flex-shrink: 0;
  margin: 0 auto 0.75rem auto;
}

.hub3d-dialog.has-form:not(.is-suite-view) .hub3d-hero {
  display: block !important;
}

.hub3d-dialog.has-form .hub3d-dlg-name {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

.hub3d-dialog.has-form .hub3d-kicker {
  text-align: center;
  margin-top: 0.5rem;
}

.hub3d-modal-form-slot {
  margin-top: 1.25rem;
  width: 100%;
}

.hub3d-dialog.has-form .input-hero-card {
  padding: 0.5rem 0 0;
  gap: 0;
}

.hub3d-dialog.has-form .input-hero-form {
  margin-top: 0;
  gap: 1rem;
}

.hub3d-dialog.has-form .input-field-label {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.hub3d-dialog.has-form .input-hero-wrapper input {
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  font-size: 0.9rem;
  background: rgba(13, 10, 24, 0.75);
  border-color: rgba(255, 255, 255, 0.14);
}

.hub3d-dialog.has-form .input-hero-wrapper input:focus,
.hub3d-dialog.has-form .input-textarea-wrapper textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.25);
  background: rgba(18, 14, 32, 0.95);
}

.hub3d-dialog.has-form .input-textarea-wrapper textarea {
  min-height: 105px;
  padding: 0.8rem 0.95rem;
  font-size: 0.86rem;
  background: rgba(13, 10, 24, 0.75);
  border-color: rgba(255, 255, 255, 0.14);
}

.hub3d-dialog.has-form .input-helper-note {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.hub3d-dialog.has-form .btn-gradient.btn-lg {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0.9rem;
  font-size: 0.98rem;
}

.hub3d-dialog.has-form .input-hero-footer {
  margin-top: 0.25rem;
  text-align: center;
  width: 100%;
}

/* Suite de Sorteos Libres dentro del Modal */
.hub3d-free-suite {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

.hub3d-free-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 0.4rem 0;
  line-height: 1.45;
}

.hub3d-free-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 440px) {
  .hub3d-free-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hub3d-free-grid .hub3d-free-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.hub3d-free-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all var(--transition-fast);
}

.hub3d-free-card:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(168, 85, 247, 0.25);
}

.hub3d-free-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.hub3d-free-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.hub3d-free-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

/* Modo Suite Expandida en Modal (Segunda pantalla de Sorteos Libres) */
.hub3d-dialog.is-suite-view {
  max-width: 720px;
  max-height: 92vh;
  padding: 1.75rem 1.85rem 2rem;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub3d-dialog.is-suite-view .hub3d-hero {
  display: none;
}

.hub3d-free-embedded-suite {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hub3d-free-embedded-suite .free-subhead-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
}

.hub3d-free-embedded-suite .btn-back-hub {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  z-index: 2;
}

.hub3d-free-embedded-suite .btn-back-hub:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hub3d-free-text span {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.hub3d-free-footer {
  margin-top: 0.5rem;
}

.hub3d-overlay.is-closing .hub3d-dialog { animation: hub3d-modal-out 0.2s ease forwards; }
.hub3d-overlay.is-closing .hub3d-scrim { animation: hub3d-fade-out 0.2s ease forwards; }

.hub3d-dlg-glow {
  position: absolute;
  top: -7rem;
  left: 50%;
  width: 20rem;
  height: 16rem;
  margin-left: -10rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--glow), transparent 68%);
  opacity: 0.6;
  pointer-events: none;
}

.hub3d-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hub3d-close:hover { background: #fff; color: #000; transform: rotate(90deg); }
.hub3d-close:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 2px; }

/* Icono gigante */
.hub3d-hero {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .hub3d-hero { width: 148px; height: 148px; }
}

.hub3d-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub3d-hero-orbit {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: hub3d-spin 40s linear infinite reverse;
}

.hub3d-hero-glow {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  opacity: 0.7;
}

.hub3d-hero-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: hub3d-pulse 2.8s var(--hub-ease) infinite;
}

.hub3d-hero-card {
  position: absolute;
  inset: 7%;
  border-radius: 28%;
  transform: rotate(-4deg);
  rotate: -4deg;
  padding: 7%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 50px -20px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hub3d-hero-face {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24%;
  background: var(--tile);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -12px 22px rgba(0, 0, 0, 0.32);
}

.hub3d-hero-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.42), transparent 46%);
}

.hub3d-hero-glyph {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 46%;
  height: 46%;
  transform: translate(-50%, -50%);
  color: #fff;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.4));
}

.hub3d-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  animation: hub3d-bob 6.5s ease-in-out infinite;
}
.hub3d-dot:nth-of-type(1) { left: -8px; top: 8px; }
.hub3d-dot:nth-of-type(2) { right: -4px; top: 28px; animation-delay: -1.5s; }
.hub3d-dot:nth-of-type(3) { left: 16px; bottom: 0; animation-delay: -3s; }

/* Textos */
.hub3d-kicker {
  position: relative;
  margin-top: 1.6rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hub3d-dlg-name {
  position: relative;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.hub3d-dlg-desc {
  position: relative;
  max-width: 280px;
  margin: 0.5rem auto 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.hub3d-chips {
  position: relative;
  list-style: none;
  margin: 1.1rem auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 260px;
  text-align: left;
}

.hub3d-chips:empty { display: none; }

.hub3d-chips li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.hub3d-chips svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hub3d-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.hub3d-launch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  overflow: hidden;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(110deg, var(--accent-2), var(--accent));
  color: #0a0710;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 34px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--hub-ease);
}

.hub3d-launch:hover:not(:disabled) { transform: scale(1.02); }
.hub3d-launch:active:not(:disabled) { transform: scale(0.98); }
.hub3d-launch:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.hub3d-launch-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.hub3d-launch:hover:not(:disabled) .hub3d-launch-sheen { transform: translateX(100%); }

.hub3d-launch-label,
.hub3d-launch-icon,
.hub3d-spinner { position: relative; }

.hub3d-launch-icon { display: inline-flex; }
.hub3d-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(10, 7, 16, 0.25);
  border-top-color: #0a0710;
  animation: hub3d-spin 0.7s linear infinite;
}

.hub3d-launch.is-loading { cursor: wait; }
.hub3d-launch.is-loading .hub3d-launch-icon { display: none; }
.hub3d-launch.is-loading .hub3d-spinner { display: inline-block; }

.hub3d-launch:disabled:not(.is-loading) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  cursor: not-allowed;
}

.hub3d-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hub3d-back:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hub3d-back:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; }

.hub3d-back kbd {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.4);
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 800;
}

@media (hover: none) {
  .hub3d-back kbd { display: none; }
}

/* Efecto de destello/warp al abrir: onda radial cinemática suave */
.hub3d-warp {
  position: fixed;
  z-index: 95;
  width: 42vmax;
  height: 42vmax;
  margin: -21vmax 0 0 -21vmax;
  border-radius: 50%;
  opacity: 0.65;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, var(--warp-color) 24%, transparent 68%);
  pointer-events: none;
  will-change: transform, opacity;
  animation: hub3d-warp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================================
   KEYFRAMES (solo transform / opacity)
========================================================= */
@keyframes hub3d-in {
  from { opacity: 0; transform: translateY(30px) scale(0.82); }
  to { opacity: 1; transform: none; }
}

@keyframes hub3d-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50% { transform: translate3d(0, -9px, 0) rotate(var(--rot, 0deg)); }
}

@keyframes hub3d-spin {
  to { transform: rotate(360deg); }
}

@keyframes hub3d-pulse {
  0% { transform: scale(0.72); opacity: 0.5; }
  80% { opacity: 0; }
  100% { transform: scale(1.95); opacity: 0; }
}

@keyframes hub3d-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes hub3d-tap {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(14); }
}

@keyframes hub3d-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hub3d-fade-out {
  to { opacity: 0; }
}

@keyframes hub3d-modal {
  0% { opacity: 0; transform: translateY(26px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hub3d-modal-out {
  to { opacity: 0; transform: translateY(14px) scale(0.97); }
}

@keyframes hub3d-warp {
  0% { transform: scale(0.03); opacity: 0.9; }
  50% { opacity: 0.45; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .hub3d-scene,
  .hub3d-float,
  .hub3d-hero-orbit,
  .hub3d-hero-pulse,
  .hub3d-dot,
  .hub3d-btn:hover .hub3d-ring2,
  .hub3d-btn:focus-visible .hub3d-ring2 {
    animation: none !important;
  }
  .hub3d-btn,
  .hub3d-btn * { transition-duration: 0.001ms !important; }
  .hub3d-dialog,
  .hub3d-scrim { animation-duration: 0.001ms !important; }
  .hub3d-warp { display: none; }
}

/* ===== Sorteos Libres: tiles rediseñados (fx-*) ===== */
.hub3d-dialog.has-form.is-free-grid:not(.is-suite-view) {
  max-width: 720px;
}
.fx-heading {
  margin: 0 0 1.1rem;
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #F4F1EA;
  text-align: left;
}
.fx-azar {
  position: relative;
  display: inline-block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #D3FF78;
  letter-spacing: -0.01em;
}
.fx-azar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #D3FF78 15%, #D3FF78 85%, transparent);
  opacity: .7;
}
.fx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .fx-grid { grid-template-columns: 1fr 1fr; }
  .fx-rifas { grid-column: 1 / -1; }
}
.fx-tile {
  position: relative;
  display: block;
  width: 100%;
  min-height: 188px;
  padding: 18px;
  text-align: left;
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  color: #F4F1EA;
  cursor: pointer;
  appearance: none;
  overflow: hidden;
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.075);
  background: linear-gradient(145deg, #17131F 0%, #121018 58%, #100D15 100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.fx-rifas .fx-tile { min-height: 164px; }
.fx-cell { container-type: inline-size; display: block; min-width: 0; }
.fx-tile:hover, .fx-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7);
  outline: none;
}
.fx-glow {
  position: absolute; right: -64px; top: -80px;
  width: 208px; height: 208px; border-radius: 50%;
  background: var(--glow); filter: blur(46px);
  opacity: .5; transition: opacity .5s; pointer-events: none;
}
.fx-tile:hover .fx-glow { opacity: .9; }
.fx-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.fx-ico {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 11px; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  transition: transform .3s;
}
.fx-ico svg { width: 19px; height: 19px; }
.fx-tile:hover .fx-ico { transform: scale(1.05); }
.fx-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.38);
}
.fx-kicker i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.fx-arrow {
  margin-left: auto; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  transition: all .3s;
}
.fx-arrow svg { width: 14px; height: 14px; }
.fx-tile:hover .fx-arrow { background: var(--accent); border-color: var(--accent); color: #141018; }
.fx-copy {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px; max-width: 58%;
}
.fx-rifas .fx-copy { max-width: 46%; }
.fx-copy strong { font-size: 1.08rem; font-weight: 600; letter-spacing: -.03em; color: #F4F1EA; }
.fx-copy small { font-size: .75rem; color: rgba(255,255,255,.48); }
.fx-art {
  position: absolute; right: 16px; top: 55%; z-index: 1;
  transform: translateY(-50%) scale(.95); opacity: .92;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s;
}
.fx-tile:hover .fx-art { transform: translateY(-57%) scale(1.03); opacity: 1; }
.fx-rifas .fx-art { right: 18px; }
.fx-line {
  position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 80%, transparent), transparent);
  transition: opacity .4s;
}
.fx-tile:hover .fx-line { opacity: 1; }
.fx-bar { display: block; height: 4px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 5px; }

/* Amigo secreto */
.fx-secret { display: block; position: relative; }
.fx-secret-card {
  display: block; width: 128px; padding: 10px; border-radius: 14px;
  border: 1px solid rgba(255,163,183,.25); background: rgba(33,21,29,.85);
  backdrop-filter: blur(4px); transform: rotate(5deg); transition: transform .5s;
}
.fx-tile:hover .fx-secret-card { transform: rotate(2deg); }
.fx-secret-top { display: flex; justify-content: space-between; align-items: flex-start; color: rgba(255,197,210,.6); }
.fx-secret-top b { font-size: 8px; font-weight: 800; letter-spacing: .15em; line-height: 1.3; }
.fx-secret-top svg { width: 11px; height: 11px; }
.fx-secret-q { display: block; margin: 4px 0; font-family: 'Instrument Serif', serif; font-size: 31px; line-height: 1; color: #FFD9E1; }
.fx-avatars { display: flex; justify-content: flex-end; margin-top: 8px; }
.fx-avatars em {
  display: grid; place-items: center; width: 22px; height: 22px; margin-left: -6px;
  border-radius: 50%; font-style: normal; font-size: 8px; font-weight: 700;
  border: 2px solid #121018;
}
/* Lista */
.fx-list {
  display: block; width: 134px; padding: 10px; border-radius: 14px;
  border: 1px solid rgba(188,169,255,.22); background: rgba(23,19,36,.9);
  transform: rotate(4deg); transition: transform .5s;
}
.fx-tile:hover .fx-list { transform: rotate(1deg); }
.fx-list-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.fx-list-file {
  display: grid; place-items: center; width: 24px; height: 20px; border-radius: 6px;
  color: #BCA9FF; background: rgba(188,169,255,.14);
}
.fx-list-file svg { width: 12px; height: 12px; }
.fx-list-name { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fx-list-name b { font-size: 9px; font-weight: 600; color: rgba(255,255,255,.75); }
.fx-list-name small { font-size: 8px; color: rgba(255,255,255,.3); }
.fx-list-check { color: #BCA9FF; }
.fx-list-check svg { width: 11px; height: 11px; }
.fx-list .fx-bar { height: 3px; }
/* Ruleta */
.fx-wheel { display: block; position: relative; width: 108px; height: 108px; }
.fx-wheel-glow { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,211,122,.35); filter: blur(22px); }
.fx-wheel-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(255,211,122,.3); }
.fx-wheel-disc {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: conic-gradient(from -8deg, #FFD37A 0 45deg, #2A2235 45deg 90deg, #F6EEE0 90deg 135deg, #2A2235 135deg 180deg, #B9A6FF 180deg 225deg, #2A2235 225deg 270deg, #FF9FB4 270deg 315deg, #2A2235 315deg 360deg);
  transition: transform 1.1s ease-out;
}
.fx-tile:hover .fx-wheel-disc { transform: rotate(55deg); }
.fx-wheel-hub {
  position: absolute; inset: 41%; display: grid; place-items: center; border-radius: 50%;
  background: #0D0B11; border: 1px solid rgba(255,255,255,.2); color: #fff;
}
.fx-wheel-hub svg { width: 9px; height: 9px; }
.fx-wheel-pointer {
  position: absolute; left: 50%; top: -6px; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 11px solid #F4F1EA;
}
.fx-wheel-fps {
  position: absolute; right: -6px; bottom: 4px; padding: 3px 7px; border-radius: 999px;
  font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  border: 1px solid rgba(255,255,255,.12); background: rgba(13,11,17,.9); color: #F4F1EA;
}
/* Equipos */
.fx-teams { display: flex; align-items: flex-start; gap: 6px; }
.fx-team {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 35px;
  padding: 7px 0; border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--c) 17%, transparent);
  background: color-mix(in srgb, var(--c) 5%, transparent);
}
.fx-team-top { display: flex; gap: 4px; align-items: center; font-size: 7px; color: rgba(255,255,255,.5); }
.fx-team-top i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.fx-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.fx-dot-empty { background: transparent; border: 1px dashed color-mix(in srgb, var(--c) 45%, transparent); }
/* Rifas */
.fx-nums { display: flex; align-items: center; gap: 14px; }
.fx-chips { display: flex; gap: 8px; }
.fx-chips em {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-style: normal; font-family: ui-monospace, Consolas, monospace; font-size: 11px;
  color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
}
.fx-chips em.is-on { color: #D3FF78; border-color: rgba(211,255,120,.4); background: rgba(211,255,120,.09); }
@container (max-width: 560px) { .fx-chips { display: none; } }
.fx-ticket {
  position: relative; display: block; padding: 8px 12px; border-radius: 12px;
  border: 1px solid rgba(211,255,120,.25); background: rgba(21,29,14,.9);
  transform: rotate(3deg); transition: transform .5s;
}
.fx-tile:hover .fx-ticket { transform: rotate(0deg); }
.fx-ticket small { display: block; font-size: 7px; letter-spacing: .18em; color: rgba(211,255,120,.65); }
.fx-ticket b { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 19px; letter-spacing: .12em; color: #EDFFD0; }
.fx-notch { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #0B0910; border: 1px solid rgba(211,255,120,.25); }
.fx-notch-l { left: -6px; } .fx-notch-r { right: -6px; }
.fx-barcode { display: flex; align-items: flex-end; gap: 1.5px; margin-top: 4px; }
.fx-barcode span { width: 1.5px; background: #D3FF78; opacity: .5; }

.fx-art { transform-origin: right center; }
@container (max-width: 330px) {
  .fx-art { right: 10px; transform: translateY(-50%) scale(.82); }
  .fx-tile:hover .fx-art { transform: translateY(-57%) scale(.88); }
  .fx-copy { max-width: 54%; }
}
@container (max-width: 270px) {
  .fx-art { transform: translateY(-50%) scale(.66); }
  .fx-tile:hover .fx-art { transform: translateY(-57%) scale(.72); }
  .fx-copy { max-width: 50%; }
  .fx-kicker { display: none; }
}
@container (max-width: 560px) { .fx-rifas .fx-copy { max-width: 54%; } }
@media (max-width: 420px) { .hub3d-dialog.has-form.is-free-grid:not(.is-suite-view) { padding-left: 1rem; padding-right: 1rem; } }

/* =========================================================
   ADAPTACIÓN RESPONSIVE PANTALLA COMPLETA PARA MÓVILES (< 640px)
   En teléfonos, el modal 3D se expande ocupando toda la pantalla
   como una vista propia (fullscreen view), manteniendo su diseño.
   El botón de cerrar se ubica fijo/accesible en la parte superior
   respetando safe-area-inset del navegador.
========================================================= */
@media (max-width: 640px) {
  .hub3d-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: calc(env(safe-area-inset-top, 0px) + 3.4rem) 1.25rem calc(env(safe-area-inset-bottom, 0px) + 2rem) !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    animation: hub3d-fullscreen-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    -webkit-overflow-scrolling: touch;
  }

  @keyframes hub3d-fullscreen-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hub3d-overlay.is-closing .hub3d-dialog {
    animation: hub3d-fullscreen-out 0.2s ease forwards !important;
  }

  @keyframes hub3d-fullscreen-out {
    to {
      opacity: 0;
      transform: translateY(20px);
    }
  }

  /* Botón de cierre siempre visible y accesible arriba a la derecha */
  .hub3d-close {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 0.85rem) !important;
    right: calc(env(safe-area-inset-right, 0px) + 1rem) !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(22, 18, 34, 0.85) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    z-index: 1005 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  }

  .hub3d-close:active {
    transform: scale(0.92) !important;
    background: rgba(255, 255, 255, 0.15) !important;
  }

  /* Modo Suite de Sorteos Libres en pantalla completa */
  .hub3d-dialog.is-suite-view {
    padding-top: calc(env(safe-area-inset-top, 0px) + 3.8rem) !important;
  }

  .hub3d-dialog.has-form {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .hub3d-dialog.has-form .hub3d-hero {
    width: 80px;
    height: 80px;
    min-height: 80px;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .fx-heading {
    font-size: 1.65rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .fx-tile {
    min-height: 156px;
    padding: 16px 14px;
  }
}
