/* TradePlexa 3.3.43 | Three-chapter dashboard layout.
   Purely presentational: no extra video, no change to chart, trade, or data logic.
   Original card borders, backgrounds and all existing animations remain untouched. */

html body #dashboard.premium-dashboard .tp3343-chapter {
  --tp3343-accent: #39d8f3;
  --tp3343-rgb: 57,216,243;
  position: relative;
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  isolation: isolate;
}
html body #dashboard.premium-dashboard .tp3343-chapter--performance {
  --tp3343-accent: #7aaeff;
  --tp3343-rgb: 122,174,255;
}
html body #dashboard.premium-dashboard .tp3343-chapter--activity {
  --tp3343-accent: #b79bff;
  --tp3343-rgb: 183,155,255;
  margin-bottom: 8px;
}
html body #dashboard.premium-dashboard .tp3343-chapter-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 66px;
  margin: 0 0 16px;
  padding: 9px 6px 10px 2px;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}
/* One unobtrusive atmospheric wash, not a new panel/card or a double border. */
html body #dashboard.premium-dashboard .tp3343-chapter-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 31% 100% at 12% 55%, rgba(var(--tp3343-rgb),.11), transparent 92%),
    linear-gradient(90deg, rgba(6,22,41,.20), transparent 73%);
  opacity: .70;
  animation: tp3343HeaderBreath 13s ease-in-out infinite;
}
html body #dashboard.premium-dashboard .tp3343-chapter-number {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border: 1px solid rgba(var(--tp3343-rgb),.42);
  border-radius: 13px;
  background: linear-gradient(145deg,rgba(var(--tp3343-rgb),.14),rgba(4,16,32,.48) 70%);
  color: var(--tp3343-accent);
  box-shadow: inset 0 0 14px rgba(var(--tp3343-rgb),.07);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
html body #dashboard.premium-dashboard .tp3343-chapter-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 0 1 auto;
  gap: 1px;
}
html body #dashboard.premium-dashboard .tp3343-chapter-kicker {
  display: block;
  color: var(--tp3343-accent);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .19em;
  font-weight: 800;
  text-transform: uppercase;
  opacity: .86;
}
html body #dashboard.premium-dashboard .tp3343-chapter-head h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: #f4f8ff !important;
  font-size: clamp(18px,1.45vw,23px) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.36);
}
html body #dashboard.premium-dashboard .tp3343-chapter-head p {
  margin: 3px 0 0 !important;
  color: #9eb3d2 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}
html body #dashboard.premium-dashboard .tp3343-chapter-line {
  display: block;
  position: relative;
  flex: 1 1 120px;
  min-width: 24px;
  height: 1px;
  margin-left: 22px;
  align-self: center;
  background: linear-gradient(90deg, rgba(var(--tp3343-rgb),.46), rgba(var(--tp3343-rgb),.14) 45%, transparent 100%);
  pointer-events: none;
}
html body #dashboard.premium-dashboard .tp3343-chapter-line::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tp3343-accent);
  box-shadow: 0 0 7px rgba(var(--tp3343-rgb),.60);
  opacity: .68;
  animation: tp3343StarBreath 13s ease-in-out infinite;
}
html body #dashboard.premium-dashboard .tp3343-chapter-line i {
  position: absolute;
  top: -8px;
  left: 0;
  width: 34%;
  height: 17px;
  background: radial-gradient(ellipse at 25% 50%,rgba(var(--tp3343-rgb),.10),transparent 70%);
  opacity: .45;
  animation: tp3343HeaderBreath 13s ease-in-out infinite;
}
/* Preserve all preexisting card layout/grid rules, only adjust spacing between chapters. */
html body #dashboard.premium-dashboard .tp3343-chapter--overview > .tp68-kpi-strip {margin-bottom: 0 !important;}
html body #dashboard.premium-dashboard .tp3343-chapter--performance > .tp68-analytics {margin-bottom: 0 !important;}
html body #dashboard.premium-dashboard .tp3343-chapter--activity > .tp68-bottom {margin-bottom: 0 !important;}
@keyframes tp3343HeaderBreath { 0%,100% {opacity:.46;} 50% {opacity:.88;} }
@keyframes tp3343StarBreath { 0%,100% {opacity:.40;transform:scale(.85);} 50% {opacity:.92;transform:scale(1.08);} }
@media (max-width: 820px) {
  html body #dashboard.premium-dashboard .tp3343-chapter {margin-bottom: 22px;}
  html body #dashboard.premium-dashboard .tp3343-chapter-head {gap: 10px;min-height: 61px;margin-bottom: 13px;}
  html body #dashboard.premium-dashboard .tp3343-chapter-number {flex-basis: 40px;height:40px;border-radius:11px;font-size:14px;}
  html body #dashboard.premium-dashboard .tp3343-chapter-head h3 {font-size: 18px !important;}
  html body #dashboard.premium-dashboard .tp3343-chapter-line {margin-left: 7px;}
}
@media (max-width: 520px) {
  html body #dashboard.premium-dashboard .tp3343-chapter-head {gap: 9px;min-height: 60px;}
  html body #dashboard.premium-dashboard .tp3343-chapter-number {flex:0 0 36px;height:36px;border-radius:10px;font-size:13px;}
  html body #dashboard.premium-dashboard .tp3343-chapter-kicker {font-size:8px;letter-spacing:.13em;}
  html body #dashboard.premium-dashboard .tp3343-chapter-head h3 {font-size:16px !important;}
  html body #dashboard.premium-dashboard .tp3343-chapter-head p {font-size:11px !important;}
  html body #dashboard.premium-dashboard .tp3343-chapter-line {flex-basis:20px;min-width:12px;margin-left:2px;}
}
@media (prefers-reduced-motion: reduce) {
  html body #dashboard.premium-dashboard .tp3343-chapter-head::before,
  html body #dashboard.premium-dashboard .tp3343-chapter-line::before,
  html body #dashboard.premium-dashboard .tp3343-chapter-line i {animation:none !important;}
}
