/* Premium hero — replace gem diamond with compact gold keyboard (chat symbol) */

html[data-app='hub'] [class*='_crystal_'] {
  width: 96px !important;
  height: 96px !important;
  place-items: center !important;
  filter: drop-shadow(0 10px 22px rgba(212, 175, 55, 0.28)) !important;
}

html[data-app='hub'] [class*='_gem_'],
html[data-app='hub'] [class*='_crystal_'] [class*='_gem_'] {
  display: none !important;
}

html[data-app='hub'] [class*='_crystal_'] .hubPremiumKeyboard {
  width: 52px !important;
  height: 52px !important;
  color: #f0d060 !important;
  display: block !important;
  filter: drop-shadow(0 0 10px rgba(240, 208, 96, 0.45)) !important;
  animation: hubPremiumKbFloat 7s ease-in-out infinite alternate;
}

@keyframes hubPremiumKbFloat {
  0% {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(3px);
  }
}

/* Plan header diamond → same keyboard, smaller */
html[data-app='hub'] [class*='_plan_'] header .hubPremiumKeyboard {
  width: 22px !important;
  height: 22px !important;
  animation: none !important;
  filter: drop-shadow(0 0 6px rgba(240, 208, 96, 0.35)) !important;
}

/* Hide self-serve Activează / Dezactivează Premium (was wired to /premium-test) */
html[data-app='hub'] [class*='_legal_1p1jn_'] button,
html[data-app='hub'] [class*='_legal_'] > button {
  display: none !important;
}

html[data-app='hub'] .hubPremiumPayBox {
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

html[data-app='hub'] .hubPremiumPayNote {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

html[data-app='hub'] .hubPremiumPayNote strong {
  color: #f0d060;
}

html[data-app='hub'] .hubPremiumPayBanner {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
}

html[data-app='hub'] .hubPremiumPayBanner.ok {
  border-color: rgba(80, 200, 120, 0.35);
  color: #b8f0c8;
}

html[data-app='hub'] .hubPremiumPayBtn {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 14px;
  padding: 0.72rem 1.1rem;
  background: linear-gradient(180deg, #e8c84a 0%, #c9a227 100%);
  color: #1a1408;
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.28);
}

html[data-app='hub'] .hubPremiumPayBtn:hover:not(:disabled) {
  filter: brightness(1.05);
}

html[data-app='hub'] .hubPremiumPayBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-app='hub'] .hubPremiumPayBtn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f0d060;
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: none;
}
