.pricesBar,
.livegold_pricesBar {
  display: none !important;
}

body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ==========================================================================
   Gold Price Bar (MFGP) - Minimalist Black & White Edition
   Professional institutional financial ticker styling
   ========================================================================== */

:root {
  --mfgp-bg: #000000;
  --mfgp-text: #ffffff;
  --mfgp-text-muted: rgba(255, 255, 255, 0.65);
  --mfgp-font:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Arabic', 'Cairo',
    sans-serif;
  --mfgp-up: #10b981;
  --mfgp-down: #ef4444;
  --mfgp-height: 40px;
}

/* ── Top Bar Container (Zero borders, seamless full-width) ── */
.mfgp-top-bar {
  width: 100%;
  background-color: var(--mfgp-bg);
  color: var(--mfgp-text);
  font-family: var(--mfgp-font);
  direction: rtl;
  position: relative;
  z-index: 999;
  border: none !important;
  box-shadow: none !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
}

.mfgp-top-bar::-webkit-scrollbar {
  display: none;
}

/* ── Track / Flex Row ── */
.mfgp-track {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mfgp-height);
  padding: 0 16px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Individual Karat Item (No borders, pure institutional typography) ── */
.mfgp-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0;
  white-space: nowrap;
  line-height: 1;
}

/* ── Karat Label ── */
.mfgp-name {
  color: var(--mfgp-text-muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ── Price & Currency Group ── */
.mfgp-price-currency {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mfgp-text);
  font-size: 13.5px;
  font-weight: 700;
}

.mfgp-price {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.mfgp-currency {
  font-size: 11px;
  font-weight: 400;
  color: var(--mfgp-text-muted);
  display: inline-flex;
  align-items: center;
}

.mfgp-currency i,
.mfgp-currency svg {
  font-size: 11px;
  line-height: 1;
}

/* ── Professional Financial Trend Indicator ── */
.mfgp-dynamic-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  line-height: 1;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mfgp-dynamic-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Price Change Pulse Animation ── */
@keyframes mfgp-pulse-up {
  0% {
    color: var(--mfgp-text);
  }
  35% {
    color: var(--mfgp-up);
  }
  100% {
    color: var(--mfgp-text);
  }
}

@keyframes mfgp-pulse-down {
  0% {
    color: var(--mfgp-text);
  }
  35% {
    color: var(--mfgp-down);
  }
  100% {
    color: var(--mfgp-text);
  }
}

.mfgp-card.flash-up .mfgp-price {
  animation: mfgp-pulse-up 1.2s ease-out;
}

.mfgp-card.flash-down .mfgp-price {
  animation: mfgp-pulse-down 1.2s ease-out;
}

/* ── Mobile Layout ── */
@media (max-width: 640px) {
  .mfgp-track {
    justify-content: flex-start;
    gap: 20px;
    padding: 0 12px;
  }

  .mfgp-card {
    gap: 6px;
  }

  .mfgp-name {
    font-size: 11.5px;
  }

  .mfgp-price-currency {
    font-size: 12.5px;
  }

  .mfgp-dynamic-arrow {
    width: 12px;
    height: 12px;
  }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .mfgp-card.flash-up .mfgp-price,
  .mfgp-card.flash-down .mfgp-price,
  .mfgp-dynamic-arrow {
    animation: none !important;
    transition: none !important;
  }
}