/* DRFX Live Trading Room — Black-Gold */
.drfx-lr {
  --lr-gold: #d9b66a; --lr-gold-hi: #e9c770; --lr-ink: #f3efe6; --lr-mute: #8e9bb3;
  --lr-line: #263650; --lr-panel: #0e1729; --lr-on: #2a2414;
  display: flex; flex-direction: column; gap: 14px;
  font-family: Sarabun, 'Noto Sans Thai', sans-serif; color: var(--lr-ink);
}
.drfx-lr__stage {
  position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden;
  background: #120f0d; border: 1px solid #3a2f1c; box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.drfx-lr__vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .6s ease;
}
.drfx-lr__vid.is-on { opacity: 1; }

.drfx-lr__bubble {
  position: absolute; transform: translate(-50%, -100%) scale(.6); transform-origin: 50% 100%;
  display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .12s ease, transform .12s ease;
}
.drfx-lr__bubble.is-on { opacity: 1; transform: translate(-50%, -100%) scale(1); animation: drfx-lr-pop .35s ease; }
@keyframes drfx-lr-pop {
  0% { transform: translate(-50%, -100%) scale(.6); opacity: 0; }
  70% { transform: translate(-50%, -100%) scale(1.06); opacity: 1; }
  100% { transform: translate(-50%, -100%) scale(1); }
}
.drfx-lr__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.drfx-lr__bubble-pill {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; color: #111; font-family: Kanit, sans-serif; font-weight: 600; font-size: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); border-top: 3px solid var(--lr-gold); white-space: nowrap;
}
.drfx-lr__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lr-gold); }
.drfx-lr__bubble-tail { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 10px solid #fff; }

@media (max-width: 640px) {
  .drfx-lr__bubble-pill { font-size: 12px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .drfx-lr__vid { transition: none; }
  .drfx-lr__bubble.is-on { animation: none; }
}
