/* TradePlexa 3.3.49 — DASHBOARD / Ice & Fog refinement.
   Visual-only additive patch for 3.3.48. The existing 60s MP4, all KPI
   cards, charts, trade handlers and data logic are left untouched. */

/* Move the title block gently upward and tighten the gap to section 01. */
html body #dashboard.page.premium-dashboard > .ref-head.tp68-head {
  min-height: 93px !important;
  margin-bottom: 1px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html body #dashboard.page.premium-dashboard > .ref-head.tp68-head > div:first-child {
  position: relative;
  z-index: 2;
  transform: translateY(-14px);
}

/* Ice-white rather than pure white, with a restrained dark outline and a
   very soft blue bounce light. No bright neon or extra graphic elements. */
html body #dashboard.page.premium-dashboard > .ref-head.tp68-head h2 {
  color: #e7f2ff !important;
  /* A stable ice-white fill avoids the dark/transparent glyph artefacts that
     some Chromium builds produce with gradient-clipped, outlined text. */
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #e7f2ff !important;
  -webkit-text-stroke: 1.5px rgba(2, 7, 18, .98) !important;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 rgba(1, 5, 14, .86),
    0 4px 11px rgba(0, 0, 0, .51),
    0 0 17px rgba(64, 154, 236, .12) !important;
  font-size: clamp(58px, 5vw, 80px) !important;
  line-height: .99 !important;
  letter-spacing: -.055em !important;
  text-transform: uppercase !important;
}
html body #dashboard.page.premium-dashboard > .ref-head.tp68-head p {
  margin-top: 3px !important;
  color: #b9cce6 !important;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .42);
}
html body #dashboard.page.premium-dashboard > .ref-head.tp68-head .tp68-quote {
  transform: translateY(-6px);
}

/* Raise the EXISTING fog a touch, so it brushes the lower part of the title
   rather than starting as a detached band below it. Same file, same colors,
   same speed, same looping behavior. No new layer and no rectangular edge. */
html body #dashboard.page.premium-dashboard > .tp3345-fog-hero > .tp3345-fog-hero-video {
  transform: translate3d(0, -20px, 0) scale(1.025) !important;
  transform-origin: center center !important;
}

@media (max-width: 1100px) {
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head {
    min-height: 89px !important;
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head > div:first-child {
    transform: translateY(-10px);
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head h2 {
    font-size: clamp(49px, 6vw, 65px) !important;
    -webkit-text-stroke-width: 1.4px !important;
  }
}
@media (max-width: 760px) {
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head {
    min-height: 76px !important;
    margin-bottom: 3px !important;
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head > div:first-child {
    transform: translateY(-5px);
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head h2 {
    font-size: clamp(40px, 8.3vw, 57px) !important;
    -webkit-text-stroke-width: 1.25px !important;
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head p {
    margin-top: 4px !important;
    font-size: 13px !important;
  }
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head .tp68-quote {
    transform: none;
  }
  html body #dashboard.page.premium-dashboard > .tp3345-fog-hero > .tp3345-fog-hero-video {
    transform: translate3d(0, -12px, 0) scale(1.025) !important;
  }
}
@media (max-width: 420px) {
  html body #dashboard.page.premium-dashboard > .ref-head.tp68-head h2 {
    font-size: clamp(36px, 10.2vw, 44px) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Existing site rule hides decorative video; keep that behavior. */
  html body #dashboard.page.premium-dashboard > .tp3345-fog-hero > .tp3345-fog-hero-video {
    transform: none !important;
  }
}
