/* Live market dashboard — Meridian daylight trading floor */
body.vc-lmd {
  --lmd-ink: #0f1a22;
  --lmd-mist: #f3f8f6;
  --lmd-mist-2: #e8f0ed;
  --lmd-teal: #0d7377;
  --lmd-leaf: #1f8a5b;
  --lmd-ember: #c45c26;
  --lmd-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --lmd-text: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
  color: var(--lmd-ink);
  font-family: var(--lmd-text);
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(13, 115, 119, 0.16), transparent 55%),
    radial-gradient(820px 480px at 0% 20%, rgba(31, 138, 91, 0.1), transparent 50%),
    linear-gradient(168deg, #f3f8f6 0%, #e8f0ed 46%, #eef5f2 100%);
}

body.vc-lmd .vc-lmd-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  background: rgba(243, 248, 246, 0.92);
  border-bottom: 1px solid rgba(15, 26, 34, 0.1);
  backdrop-filter: blur(14px);
}

body.vc-lmd .vc-lmd-top a {
  color: var(--lmd-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
}

body.vc-lmd .vc-lmd-brand {
  margin: 0;
  font-family: var(--lmd-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
}

body.vc-lmd .vc-lmd-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

body.vc-lmd .vc-lmd-top .btn {
  border-radius: 0.7rem;
  font-weight: 700;
}

body.vc-lmd .vc-lmd-top .btn-primary {
  background: var(--lmd-teal);
  border-color: var(--lmd-teal);
  color: #f3f8f6;
}

body.vc-lmd .vc-lmd-top .btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 26, 34, 0.12);
  color: var(--lmd-ink);
}

/* Full-bleed hero — one composition */
.vc-lmd-hero {
  position: relative;
  isolation: isolate;
  min-height: min(48vh, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.vc-lmd-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(15, 26, 34, 0.9) 0%, rgba(15, 26, 34, 0.45) 48%, rgba(15, 26, 34, 0.72) 100%),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  transform: scale(1.03);
  animation: vcLmdDrift 24s ease-in-out infinite alternate;
}

.vc-lmd-hero__glow {
  position: absolute;
  z-index: 1;
  width: min(55vw, 380px);
  height: min(55vw, 380px);
  right: -6%;
  bottom: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 115, 119, 0.35), transparent 68%);
  animation: vcLmdPulse 5.2s ease-in-out infinite;
  pointer-events: none;
}

.vc-lmd-hero__copy {
  position: relative;
  z-index: 2;
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: clamp(2.2rem, 7vh, 3.8rem) 0 clamp(1.5rem, 4vh, 2.2rem);
  animation: vcLmdRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vc-lmd-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 248, 246, 0.88);
}

.vc-lmd-hero__live::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3dd6c6;
  box-shadow: 0 0 0 0 rgba(61, 214, 198, 0.55);
  animation: vcLmdBlink 1.8s ease-out infinite;
}

.vc-lmd-hero__brand {
  margin: 0 0 0.25rem;
  font-family: var(--lmd-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  letter-spacing: -0.04em;
  color: #f3f8f6;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.vc-lmd-hero h1 {
  margin: 0 0 0.55rem;
  max-width: 12ch;
  font-family: var(--lmd-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 8vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #f3f8f6;
}

.vc-lmd-hero__lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.45;
  color: rgba(243, 248, 246, 0.82);
}

/* Sticky disclaimer — always first job after hero */
.vc-lmd-gate {
  position: sticky;
  top: 3.4rem;
  z-index: 30;
  width: min(1100px, 94vw);
  margin: -1.1rem auto 1.15rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 115, 119, 0.22);
  box-shadow: 0 16px 40px rgba(15, 26, 34, 0.1);
  animation: vcLmdRise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vc-lmd-gate.is-ready {
  border-color: rgba(31, 138, 91, 0.35);
  box-shadow: 0 14px 32px rgba(31, 138, 91, 0.12);
}

.vc-lmd-gate .vc-disclaimer-gate {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.vc-lmd-gate__title {
  margin: 0 0 0.35rem;
  font-family: var(--lmd-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--lmd-ink);
}

.vc-lmd-gate__hint {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: rgba(15, 26, 34, 0.62);
}

.vc-lmd-main {
  width: min(1100px, 94vw);
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.15rem;
}

.vc-lmd-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 26, 34, 0.08);
}

.vc-lmd-toolbar label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 26, 34, 0.55);
}

.vc-lmd-toolbar select {
  min-width: 11rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(15, 26, 34, 0.14);
  background: #fff;
  color: var(--lmd-ink);
  font: inherit;
  font-weight: 600;
}

.vc-lmd-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vc-lmd-lane {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 26, 34, 0.12);
  background: rgba(243, 248, 246, 0.9);
  color: var(--lmd-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.vc-lmd-lane:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 115, 119, 0.45);
  background: #fff;
}

.vc-lmd-section {
  padding: 1.05rem 1.05rem 1.2rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 26, 34, 0.08);
  box-shadow: 0 12px 28px rgba(15, 26, 34, 0.06);
}

.vc-lmd-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.vc-lmd-section__head h2 {
  margin: 0;
  font-family: var(--lmd-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: -0.03em;
}

.vc-lmd-section__head p {
  margin: 0;
  max-width: 42ch;
  color: rgba(15, 26, 34, 0.62);
  font-size: 0.92rem;
  line-height: 1.4;
}

.vc-lmd-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(13, 115, 119, 0.12);
  color: var(--lmd-teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.vc-lmd .vc-affiliate-rec-section .vc-affiliate-rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  body.vc-lmd .vc-affiliate-rec-section .vc-affiliate-rec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.vc-lmd .vc-affiliate-rec-section a.vc-affiliate-card {
  min-height: 12.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 26, 34, 0.1);
  background: linear-gradient(165deg, #0f1a22, #1a3034);
  color: #f3f8f6;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.vc-lmd .vc-affiliate-rec-section a.vc-affiliate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(13, 115, 119, 0.2);
}

body.vc-lmd.vc-lmd--locked .vc-lmd-partners {
  opacity: 0.55;
  filter: saturate(0.75);
}

body.vc-lmd.vc-lmd--locked .vc-lmd-partners::after {
  content: attr(data-lock-hint);
  display: block;
  margin-top: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(196, 92, 38, 0.1);
  border: 1px solid rgba(196, 92, 38, 0.25);
  color: var(--lmd-ember);
  font-size: 0.88rem;
  font-weight: 650;
}

.vc-lmd-secondary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .vc-lmd-secondary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vc-lmd-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 9.5rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #f3f8f6;
  border: 1px solid rgba(15, 26, 34, 0.1);
  background:
    linear-gradient(180deg, rgba(15, 26, 34, 0.15), rgba(15, 26, 34, 0.82)),
    linear-gradient(145deg, #1a3a3c, #0f1a22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vc-lmd-tile:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(15, 26, 34, 0.2), rgba(15, 26, 34, 0.84)),
    url("https://images.unsplash.com/photo-1556740748-877f367bfd7f?auto=format&fit=crop&w=800&q=75")
      center / cover no-repeat;
}
.vc-lmd-tile:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(15, 26, 34, 0.2), rgba(15, 26, 34, 0.84)),
    url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=800&q=75")
      center / cover no-repeat;
}
.vc-lmd-tile:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(15, 26, 34, 0.2), rgba(15, 26, 34, 0.84)),
    url("https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?auto=format&fit=crop&w=800&q=75")
      center / cover no-repeat;
}

.vc-lmd-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 26, 34, 0.16);
}

.vc-lmd-tile strong {
  font-family: var(--lmd-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.vc-lmd-tile span {
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(243, 248, 246, 0.82);
}

.vc-lmd-note {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(15, 26, 34, 0.58);
  line-height: 1.45;
}

@keyframes vcLmdDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes vcLmdPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes vcLmdRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vcLmdBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 214, 198, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(61, 214, 198, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 214, 198, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-lmd-hero__media,
  .vc-lmd-hero__glow,
  .vc-lmd-hero__live::before,
  .vc-lmd-hero__copy,
  .vc-lmd-gate {
    animation: none !important;
  }
}
