/* ==========================================================================
   TradeLogic AI Terminal — Ultra-premium 2026 design system
   ========================================================================== */

:root {
  --c-bg: #030509;
  --c-cyan: #00e0ff;
  --c-gold: #facc15;
  --c-violet: #8b5cf6;
  --c-success: #10b981;
  --c-danger: #f43f5e;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html, body {
  background: var(--c-bg);
  color: #e6f1ff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overscroll-behavior-y: none;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

#app,
.glass-card,
.glass-nav,
.modal-sheet,
.bottom-nav,
select,
input,
button {
  max-width: 100%;
}

::-webkit-scrollbar { width: 0; height: 0; }

/* --------------------------------------------------------------------------
   Ambient animated market-chart background
   -------------------------------------------------------------------------- */

.market-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 224, 255, 0.10), transparent 60%);
}

/* "Chameleon" ambient wash: a slow-shifting multicolor gradient sitting
   behind everything else. Kept low-contrast and glacially paced so it reads
   as premium ambiance rather than a distraction, and blends cleanly under
   the glass-card blur layers already used across the UI. */
.chameleon-bg {
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(37, 65, 140, 0.35), transparent 65%),
    radial-gradient(ellipse 45% 35% at 88% 12%, rgba(0, 224, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 75%, rgba(99, 102, 241, 0.12), transparent 65%),
    radial-gradient(ellipse 60% 40% at 85% 95%, rgba(250, 204, 21, 0.05), transparent 60%),
    linear-gradient(180deg, #060b1c 0%, #030509 55%, #02040c 100%);
  background-size: 160% 160%;
  filter: saturate(1.05) blur(70px);
  animation: chameleonDrift 60s ease-in-out infinite;
  will-change: background-position;
}
@keyframes chameleonDrift {
  0%   { background-position: 50% 0%; }
  50%  { background-position: 55% 65%; }
  100% { background-position: 50% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .chameleon-bg { animation: none; }
}

.candle-canvas,
.particle-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.particle-canvas {
  opacity: 0.7;
}

.holo-grid {
  position: absolute;
  inset: -10% -10% 0 -10%;
  height: 70%;
  background-image:
    linear-gradient(rgba(0, 224, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  opacity: 0.35;
  animation: holoGridDrift 6s linear infinite;
}
@keyframes holoGridDrift {
  from { background-position: 0 0; }
  to { background-position: -42px 0; }
}

.holo-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
  animation: holoScan 5s linear infinite;
}
@keyframes holoScan {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

.holo-chroma {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(0, 224, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 55%, rgba(139, 92, 246, 0.18), transparent 65%);
  mix-blend-mode: screen;
  animation: holoChromaPulse 7s ease-in-out infinite;
}
@keyframes holoChromaPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.market-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 20%, var(--c-bg) 85%);
}

.grain-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
}

/* --------------------------------------------------------------------------
   Glassmorphism 2.0
   -------------------------------------------------------------------------- */

.glass-card {
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 224, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
}

.glass-nav {
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(0, 224, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.neon-glow {
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.5), 0 0 40px rgba(139, 92, 246, 0.35), 0 8px 20px rgba(0,0,0,0.5);
}

/* --------------------------------------------------------------------------
   Text / badges
   -------------------------------------------------------------------------- */

.gold-badge {
  background: linear-gradient(135deg, #fde68a, #facc15 45%, #b45309);
  color: #1a1200;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.55);
}

.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-otc { color: var(--c-cyan); background: rgba(0, 224, 255, 0.12); border: 1px solid rgba(0, 224, 255, 0.4); }
.badge-open { color: var(--c-success); background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-closed { color: var(--c-danger); background: rgba(244, 63, 94, 0.12); border: 1px solid rgba(244, 63, 94, 0.4); }

/* --------------------------------------------------------------------------
   Live indicator — pulsing dot + "LIVE" badge next to "Live Analytics"
   -------------------------------------------------------------------------- */

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--c-success);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
  animation: liveDotPulse 1.8s ease-in-out infinite;
}
.live-badge-text {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6ee7b7;
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(16, 185, 129, 0.9); }
  50% { opacity: 0.55; transform: scale(0.75); box-shadow: 0 0 3px rgba(16, 185, 129, 0.5); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-primary {
  background: linear-gradient(135deg, var(--c-violet), var(--c-cyan));
  box-shadow: 0 8px 30px rgba(0, 224, 255, 0.35), 0 4px 16px rgba(139, 92, 246, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:active { transform: scale(0.97); }

.btn-pulse {
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 30px rgba(0, 224, 255, 0.35), 0 4px 16px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 8px 46px rgba(0, 224, 255, 0.6), 0 4px 26px rgba(139, 92, 246, 0.55); }
}

.btn-disabled {
  filter: grayscale(0.6);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Bottom navigation
   -------------------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: 95%;
  max-width: 28rem;
  border-radius: 1.75rem;
  z-index: 40;
}

.nav-center-wrap {
  padding-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Live trades feed — Social Proof widget
   -------------------------------------------------------------------------- */

.live-feed {
  position: fixed;
  left: 0.85rem;
  bottom: 6.75rem;
  z-index: 30;
  width: 244px;
  max-width: 66vw;
  padding: 0.5rem 0;
  border-radius: 1rem;
  pointer-events: none;
  overflow: hidden;
}

/* Kept deliberately faint — social-proof ambiance, not a focal element. */
.live-feed.glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.live-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.live-feed-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: liveFeedIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.live-feed-row.leaving {
  animation: liveFeedOut 0.45s ease forwards;
}

.live-feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  flex-shrink: 0;
  opacity: 0.7;
}

.live-feed-id {
  color: rgba(157, 180, 207, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-feed-amount {
  color: rgba(110, 231, 183, 0.75);
  font-weight: 800;
  margin-left: auto;
}

@keyframes liveFeedIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 0.7;
    transform: translateY(0) scale(1);
  }
}

@keyframes liveFeedOut {
  from {
    opacity: 0.7;
    transform: translateY(0) scale(1);
    max-height: 40px;
  }
  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
  }
}

@media (min-width: 480px) {
  .live-feed {
    left: 1.25rem;
    bottom: 7.25rem;
    width: 258px;
  }
}

.live-feed-pair {
  color: rgba(125, 211, 252, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Rare big win — gold highlight */
.live-feed-row.big-win .live-feed-id { color: rgba(250, 204, 21, 0.85); }
.live-feed-row.big-win .live-feed-amount {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.55);
}
.live-feed-row.big-win .live-feed-dot {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.9);
}


.nav-center-btn {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--c-violet), var(--c-cyan));
}

.nav-center-label {
  margin-top: 0.6rem;
  display: block;
  line-height: 1;
}

.nav-item {
  color: #6b7a90;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-item.active {
  color: var(--c-cyan);
}
.nav-item:active { transform: scale(0.92); }

/* --------------------------------------------------------------------------
   Winrate gauge
   -------------------------------------------------------------------------- */

.gauge-ring-bg { stroke: rgba(255, 255, 255, 0.07); }
.gauge-ring-fg {
  stroke: url(#gaugeGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
  filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.7));
}

.gauge-orb {
  border-radius: 9999px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.gauge-glass-disc {
  position: absolute;
  inset: 8px;
  border-radius: 9999px;
  background: radial-gradient(circle at 32% 28%, rgba(139, 92, 246, 0.22), rgba(10, 15, 25, 0.75) 60%, rgba(4, 6, 12, 0.85) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 224, 255, 0.25);
  box-shadow:
    0 0 24px rgba(0, 224, 255, 0.35),
    0 0 46px rgba(139, 92, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -6px 14px rgba(0, 0, 0, 0.4);
}

.gauge-value {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 0 10px rgba(0, 224, 255, 0.45));
}

.engine-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #c9d6ff, #8b5cf6 65%, #00e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Spinner / signal generation
   -------------------------------------------------------------------------- */

.tech-spinner {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  border: 3px solid rgba(0, 224, 255, 0.15);
  border-top-color: var(--c-cyan);
  border-right-color: var(--c-violet);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tech-spinner-wrap {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}
.tech-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 3px solid transparent;
}
.tech-spinner-ring.ring-1 {
  border-color: rgba(0, 224, 255, 0.12);
  border-top-color: var(--c-cyan);
  border-right-color: var(--c-violet);
  animation: spin 1.1s linear infinite;
}
.tech-spinner-ring.ring-2 {
  inset: 0.65rem;
  border-color: rgba(139, 92, 246, 0.12);
  border-bottom-color: var(--c-violet);
  border-left-color: var(--c-cyan);
  animation: spin 0.85s linear infinite reverse;
}
.tech-spinner-ring.ring-3 {
  inset: 1.3rem;
  border-color: rgba(250, 204, 21, 0.1);
  border-top-color: var(--c-gold);
  animation: spin 1.5s linear infinite;
}
.tech-spinner-core {
  position: absolute;
  inset: 2.1rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0,224,255,0.9), rgba(139,92,246,0.4));
  box-shadow: 0 0 16px rgba(0, 224, 255, 0.8);
  animation: coreGlow 1.6s ease-in-out infinite;
}
@keyframes coreGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Modals / bottom sheets
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1.5rem 1.5rem 0 0;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 91;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.modal-sheet.open { transform: translateY(0); pointer-events: auto; }

.modal-sheet-compact {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  max-width: 22rem;
  width: calc(100% - 2.5rem);
  border-radius: 1.5rem;
  transform: translate(-50%, -46%) scale(0.94);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
.modal-sheet-compact.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Onboarding modal ("How It Works") — hard mobile width fix.
   Scoped to this modal only so the shared .modal-sheet/.glass-nav
   glassmorphism styling and every other modal stay untouched.
   -------------------------------------------------------------------------- */
#onboardingModal {
  width: 100%;
  max-width: min(28rem, 95vw);
  margin: 0 auto;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#onboardingModal * {
  box-sizing: border-box;
  min-width: 0;
}

#onboardingModal p,
#onboardingModal span,
#onboardingModal h3 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Misc animations
   -------------------------------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.4s ease both; }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.accordion-item.open .accordion-body {
  max-height: 20rem;
}
.accordion-chevron { transition: transform 0.3s ease; }
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }

.chat-bubble-ai {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.chat-bubble-user {
  background: rgba(0, 224, 255, 0.12);
  border: 1px solid rgba(0, 224, 255, 0.3);
}

.typing-dot {
  width: 6px; height: 6px; border-radius: 9999px;
  background: var(--c-cyan);
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

.tab-content { animation: fadeUp 0.3s ease both; }

/* --------------------------------------------------------------------------
   Currency flag badge (req. #9 — single flag, neon-rimmed round badge)
   -------------------------------------------------------------------------- */

.flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 1.15rem;
  background: rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(0, 224, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.3), inset 0 0 8px rgba(0, 224, 255, 0.12);
}
.flag-badge-sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Profile — premium avatar & info list (req. #3)
   -------------------------------------------------------------------------- */

.profile-avatar {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-guest {
  background: linear-gradient(135deg, #334155, #1e293b);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.avatar-pending {
  background: linear-gradient(135deg, var(--c-violet), var(--c-cyan));
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.45), 0 6px 20px rgba(0,0,0,0.5);
}
.avatar-pro {
  background: linear-gradient(135deg, #fde68a, var(--c-gold) 45%, #b45309);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.55), 0 6px 20px rgba(0,0,0,0.5);
}

.profile-info-list { display: flex; flex-direction: column; }
.profile-info-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 0.6rem;
  color: var(--c-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  max-width: 9.5rem;
}
.profile-select option { color: #0a0f19; }

/* --------------------------------------------------------------------------
   Guest demo — PRO-locked result (req. #12)
   -------------------------------------------------------------------------- */

.pro-locked-block {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 204, 21, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pro-locked-blur {
  filter: blur(9px);
  opacity: 0.5;
  user-select: none;
}
.pro-locked-block-inline {
  padding: 1rem;
}
.pro-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(3, 5, 9, 0.55);
}

/* --------------------------------------------------------------------------
   Support — 24/7 availability badge (req. #8)
   -------------------------------------------------------------------------- */

.support-24-7-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ee7b7;
}

/* --------------------------------------------------------------------------
   Profile — guest warning card & premium register CTA
   -------------------------------------------------------------------------- */

.warning-glass-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(250, 204, 21, 0.1));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 1.25rem;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.25), 0 0 40px rgba(244, 63, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: warningGlow 2.6s ease-in-out infinite;
}
@keyframes warningGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(250, 204, 21, 0.25), 0 0 40px rgba(244, 63, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  50% { box-shadow: 0 0 34px rgba(250, 204, 21, 0.45), 0 0 56px rgba(244, 63, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
}

.premium-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.1rem;
  border-radius: 1.25rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #051012;
  background: linear-gradient(135deg, #fde68a, var(--c-gold) 45%, #f97316);
  box-shadow: 0 10px 40px rgba(250, 204, 21, 0.4), 0 0 30px rgba(250, 204, 21, 0.3);
  animation: registerPulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease;
}
.premium-register-btn:active { transform: scale(0.97); }
@keyframes registerPulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(250, 204, 21, 0.4), 0 0 30px rgba(250, 204, 21, 0.3); }
  50% { box-shadow: 0 10px 54px rgba(250, 204, 21, 0.6), 0 0 44px rgba(250, 204, 21, 0.5); }
}

/* --------------------------------------------------------------------------
   Profile — premium stats grid (req. #3, registered/PRO users)
   -------------------------------------------------------------------------- */

.stat-cell {
  text-align: center;
  padding: 0.5rem 0.25rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(0, 224, 255, 0.35);
}
.stat-value-success {
  color: var(--c-success);
  text-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
}
.stat-value-muted {
  color: #94a3b8;
  text-shadow: none;
}
.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7a90;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Profile — stat mini-cards (req. #2): glassmorphic tiles with icons
   -------------------------------------------------------------------------- */

.stat-mini-card {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 20px rgba(0, 0, 0, 0.25);
}

.stat-mini-icon {
  width: 1.9rem;
  height: 1.9rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-mini-icon-cyan { background: rgba(0, 224, 255, 0.12); color: var(--c-cyan); }
.stat-mini-icon-gold { background: rgba(250, 204, 21, 0.14); color: var(--c-gold); }
.stat-mini-icon-success { background: rgba(16, 185, 129, 0.14); color: var(--c-success); }

.stat-mini-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(0, 224, 255, 0.3);
}
.stat-mini-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7a90;
  margin-top: 0.3rem;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Profile — verification badge next to Platform ID (req. #3)
   -------------------------------------------------------------------------- */

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.verification-badge-verified {
  color: #0d2b1a;
  background: linear-gradient(135deg, #86efac, var(--c-success) 55%, var(--c-gold));
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}
.verification-badge-unverified {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* --------------------------------------------------------------------------
   PRO Analysis — visually separated premium block (req. #4)
   -------------------------------------------------------------------------- */

.pro-analysis-card {
  position: relative;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background:
    radial-gradient(120% 140% at 15% -10%, rgba(250, 204, 21, 0.14), transparent 55%),
    radial-gradient(120% 140% at 100% 110%, rgba(16, 185, 129, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(250, 204, 21, 0.08), rgba(139, 92, 246, 0.05) 55%, rgba(10, 15, 25, 0.72));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(250, 204, 21, 0.08),
    0 0 50px rgba(250, 204, 21, 0.2),
    0 0 90px rgba(16, 185, 129, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pro-analysis-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.9), rgba(253, 230, 138, 0.5) 30%, rgba(250, 204, 21, 0.85) 55%, rgba(139, 92, 246, 0.3) 80%, rgba(250, 204, 21, 0.9));
  background-size: 300% 300%;
  animation: proBorderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
  pointer-events: none;
}
@keyframes proBorderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.pro-analysis-card::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 236, 170, 0.14), transparent);
  transform: rotate(12deg);
  animation: proShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes proShine {
  0%, 55%  { left: -45%; }
  90%, 100% { left: 120%; }
}

.pro-reco-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #0b0d04;
  white-space: nowrap;
  background: linear-gradient(90deg, #facc15, #fde68a, #facc15);
  background-size: 200%;
  animation: badgeShimmer 3s linear infinite;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.45);
}
@keyframes badgeShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.market-select-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, #facc15, #fde68a 45%, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

.market-select-btn {
  position: relative;
  padding: 0.85rem 0.75rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: #e2e8f0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.market-select-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35);
}

.market-select-btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.08s;
}

.market-select-btn-violet {
  color: #d8c8ff;
  border-color: rgba(139, 92, 246, 0.35);
}

.market-select-btn-violet:hover {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.28), rgba(139, 92, 246, 0.08));
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #f1e9ff;
}

.market-select-btn-cyan {
  color: #bff2ff;
  border-color: rgba(0, 224, 255, 0.35);
}

.market-select-btn-cyan:hover {
  background: linear-gradient(180deg, rgba(0, 224, 255, 0.24), rgba(0, 224, 255, 0.07));
  border-color: rgba(0, 224, 255, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(0, 224, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #eafeff;
}

/* --------------------------------------------------------------------------
   Signal result — premium labeled grid card (req. #6)
   -------------------------------------------------------------------------- */

.signal-result-card {
  border: 1px solid rgba(0, 224, 255, 0.22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 224, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.result-cell {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
}

.result-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7d8ba3;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.result-value {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Mobile-safe fluid fix — onboarding / registration buttons & inputs
   Keeps the glassmorphism look intact; only enforces fully fluid widths
   so nothing overflows its container or the screen edge on narrow phones.
   -------------------------------------------------------------------------- */

#guestPanel,
.warning-glass-card,
#profileRegisterBtn,
.premium-register-btn,
#onboardingRegisterBtn,
#registerBtn,
#enterIdBtn,
#chatInput,
#assetSearchInput,
#timezoneSearchInput {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#guestPanel {
  padding-left: 15px;
  padding-right: 15px;
}

#guestPanel > .flex.items-center {
  min-width: 0;
}

#guestPanel > .flex.items-center > .flex-1 {
  min-width: 0;
}

#registerBtn,
#enterIdBtn {
  width: auto;
  max-width: 100%;
  flex-shrink: 1;
  min-width: 0;
  white-space: normal;
  text-align: center;
  font-size: clamp(0.65rem, 2.8vw, 0.75rem);
}

.premium-register-btn,
#onboardingRegisterBtn {
  white-space: normal;
  text-align: center;
}

.premium-register-btn {
  font-size: clamp(0.85rem, 3.2vw, 1rem);
}

#onboardingRegisterBtn {
  font-size: clamp(0.8rem, 3vw, 0.875rem);
}

@media (max-width: 380px) {
  #registerBtn,
  #enterIdBtn {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

/* ==== PRO activation celebration ==== */
.pro-celebration {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(8px);
  overflow: hidden;
  animation: proCelebFade 0.35s ease;
}
@keyframes proCelebFade { from { opacity: 0; } to { opacity: 1; } }
.pro-celebration-card {
  position: relative; z-index: 2;
  text-align: center; max-width: 320px; margin: 0 16px;
  padding: 36px 28px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(20,28,52,0.95), rgba(8,12,24,0.95));
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 60px rgba(250, 204, 21, 0.18), 0 20px 60px rgba(0,0,0,0.6);
  animation: proCelebPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes proCelebPop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pro-celebration-icon { font-size: 56px; margin-bottom: 10px; }
.pro-celebration-card h2 {
  font-size: 24px; font-weight: 800; margin-bottom: 10px;
  background: linear-gradient(90deg, #facc15, #fff3b0, #facc15);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pro-celebration-card p {
  font-size: 14px; color: rgba(226, 232, 240, 0.85);
  line-height: 1.55; margin-bottom: 22px;
}
.pro-celebration-btn {
  width: 100%; padding: 13px 20px; border: none; border-radius: 14px;
  font-size: 15px; font-weight: 700; color: #0b0d04; cursor: pointer;
  background: linear-gradient(90deg, #facc15, #fbbf24);
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.35);
}
.confetti-piece {
  position: absolute; top: -20px; z-index: 1;
  border-radius: 2px; opacity: 0;
  animation-name: confettiFall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(105vh) rotate(540deg); opacity: 0; }
}

/* ==== Splash screen ==== */
.splash-screen {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #060b1c 0%, #030509 60%, #02040c 100%);
  transition: opacity 0.55s ease;
}
.splash-screen.splash-hide { opacity: 0; pointer-events: none; }
.splash-inner { text-align: center; animation: splashRise 0.7s ease; }
@keyframes splashRise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.splash-logo {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 22px;
  animation: splashLogoIn 0.8s cubic-bezier(0.22, 1, 0.36, 1), splashPulse 1.4s ease-in-out 0.8s infinite;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #8b5cf6, #00e0ff);
  box-shadow: 0 0 45px rgba(0, 224, 255, 0.35), 0 0 90px rgba(139, 92, 246, 0.25);
}
@keyframes splashLogoIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes splashPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.splash-title {
  font-size: 19px; font-weight: 800; color: #e2e8f0;
  letter-spacing: 0.3px; margin-bottom: 8px;
}
.splash-sub {
  font-size: 12px; color: #64748b; letter-spacing: 0.4px; margin-bottom: 24px;
}
.splash-status {
  margin-top: 14px; font-size: 11.5px; color: #94a3b8; min-height: 16px;
  letter-spacing: 0.3px; transition: opacity 0.25s ease;
}
.splash-status.fade { opacity: 0; }
.splash-version {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-size: 10.5px; color: #334155; letter-spacing: 1px; font-weight: 600;
}
.splash-title span {
  background: linear-gradient(90deg, #00e0ff, #8b5cf6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.splash-bar {
  width: 150px; height: 3px; margin: 0 auto; border-radius: 99px;
  background: rgba(148, 163, 184, 0.15); overflow: hidden;
}
.splash-bar-fill {
  height: 100%; width: 8%; border-radius: 99px;
  background: linear-gradient(90deg, #00e0ff, #facc15);
  animation: splashLoad 2.4s ease forwards;
}
@keyframes splashLoad { from { width: 8%; } to { width: 100%; } }

/* --- Кнопки таймфрейма у скриншота --- */
.chat-tf-btn {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.15s ease;
}
.chat-tf-btn.active {
  color: #00e0ff;
  border-color: rgba(0, 224, 255, 0.6);
  background: rgba(0, 224, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.25);
}

/* --- Модалка "Доступно в PRO" --- */
.chat-pro-modal {
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.12), 0 20px 60px rgba(0, 0, 0, 0.6);
}
.chat-pro-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.25), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.25);
}
.chat-pro-badge {
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #030509;
  background: linear-gradient(90deg, #facc15, #f59e0b);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}
.chat-pro-features {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
}
.chat-pro-feature {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}

/* --------------------------------------------------------------------------
   Profile premium upgrade — stat cards with accent glow
   -------------------------------------------------------------------------- */

.stat-mini-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 20, 33, 0.85), rgba(7, 11, 19, 0.9));
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.stat-mini-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
}
.stat-mini-card-cyan::before { background: linear-gradient(90deg, transparent, var(--c-cyan), transparent); }
.stat-mini-card-gold::before { background: linear-gradient(90deg, transparent, var(--c-gold), transparent); }
.stat-mini-card-success::before { background: linear-gradient(90deg, transparent, var(--c-success), transparent); }
.stat-mini-card-cyan { border-color: rgba(0, 224, 255, 0.18); box-shadow: 0 8px 28px rgba(0, 224, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.stat-mini-card-gold { border-color: rgba(250, 204, 21, 0.2); box-shadow: 0 8px 28px rgba(250, 204, 21, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.stat-mini-card-success { border-color: rgba(16, 185, 129, 0.18); box-shadow: 0 8px 28px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05); }

.stat-mini-value { font-size: 1.55rem; }
.stat-mini-value-cyan { color: var(--c-cyan); text-shadow: 0 0 20px rgba(0, 224, 255, 0.45); }
.stat-mini-value-gold { color: var(--c-gold); text-shadow: 0 0 20px rgba(250, 204, 21, 0.45); }
.stat-mini-value-success { color: var(--c-success); text-shadow: 0 0 20px rgba(16, 185, 129, 0.45); }

/* Gold PRO status badge in account details */
.status-badge-pro {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1203;
  background: linear-gradient(90deg, #fde68a, var(--c-gold) 55%, #f59e0b);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
}

/* Quiet unbind button */
.unbind-quiet-btn {
  display: flex;
  padding: 0.55rem 1.4rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(244, 63, 94, 0.75);
  background: transparent;
  border: 1px solid rgba(244, 63, 94, 0.22);
  transition: background 0.15s ease, color 0.15s ease;
}
.unbind-quiet-btn:hover { background: rgba(244, 63, 94, 0.08); color: var(--c-danger); }
.unbind-quiet-btn.hidden { display: none; }

/* Gold ring around PRO avatar */
.avatar-pro {
  position: relative;
}
.avatar-pro::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 1.55rem;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(253, 230, 138, 0.9), rgba(250, 204, 21, 0.25), rgba(139, 92, 246, 0.5)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: avatarRingPulse 2.8s ease-in-out infinite;
}
@keyframes avatarRingPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.45; }
}

/* Copy ID button */
.copy-id-btn {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.copy-id-btn:hover { color: var(--c-cyan); border-color: rgba(0, 224, 255, 0.35); }
.copy-id-btn:active { transform: scale(0.92); }
.copy-id-btn.hidden { display: none; }

/* Toast */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 6.5rem;
  transform: translateX(-50%) translateY(16px);
  padding: 0.6rem 1.2rem;
  border-radius: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d9fbff;
  background: rgba(10, 18, 30, 0.92);
  border: 1px solid rgba(0, 224, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 224, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.app-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   Signal result — circular expiry timer
   -------------------------------------------------------------------------- */

.signal-timer-wrap {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal-timer-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.signal-timer-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}
.signal-timer-progress {
  fill: none;
  stroke: var(--c-cyan);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.6));
  transition: stroke-dashoffset 0.95s linear, stroke 0.4s ease;
}
.signal-timer-progress.timer-warn {
  stroke: var(--c-gold);
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
}
.signal-timer-progress.timer-danger {
  stroke: var(--c-danger);
  filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.6));
}
.signal-timer-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: #e2f7ff;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   PRO Analysis — staged checklist while scanning
   -------------------------------------------------------------------------- */

.pro-scan-stages {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 21rem;
  margin: 0 auto;
}
.pro-scan-stage {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #55647a;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.stage-indicator {
  width: 1.1rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stage-spinner {
  display: none;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid rgba(250, 204, 21, 0.25);
  border-top-color: var(--c-gold);
  animation: stageSpin 0.8s linear infinite;
}
@keyframes stageSpin { to { transform: rotate(360deg); } }
.stage-check {
  display: none;
  color: var(--c-success);
  font-size: 0.8rem;
  font-weight: 800;
}
.pro-scan-stage.stage-active {
  color: #fbe9a8;
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.05);
}
.pro-scan-stage.stage-active .stage-spinner { display: block; }
.pro-scan-stage.stage-done {
  color: #94e8c8;
  border-color: rgba(16, 185, 129, 0.25);
}
.pro-scan-stage.stage-done .stage-check { display: block; }


/* ============ Guest profile: locked stats + status CTA ============ */
.stats-locked-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(250, 204, 21, 0.22);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.stats-locked-card:active {
  transform: scale(0.985);
  border-color: rgba(250, 204, 21, 0.45);
}
.stats-locked-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.25);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.12);
  flex-shrink: 0;
}
.status-cta-guest {
  color: var(--c-gold);
  cursor: pointer;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  white-space: nowrap;
}


/* ============ Luxe header: logo shine + terminal bar ============ */
.logo-luxe {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}
.logo-grad {
  background: linear-gradient(100deg, #00e0ff, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-luxe::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: logoShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoShine {
  0%, 78% { left: -80%; }
  92%, 100% { left: 130%; }
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  min-height: 26px;
}
.ai-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.ai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  animation: aiDotPulse 1.8s ease-in-out infinite;
}
@keyframes aiDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
.ai-utc {
  color: #64748b;
  font-weight: 600;
  margin-left: 2px;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  will-change: transform;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
}
.ticker-pair { color: #94a3b8; }
.ticker-payout.tp-gold { color: var(--c-gold); }
.ticker-payout.tp-cyan { color: var(--c-cyan); }
.ticker-payout.tp-slate { color: #94a3b8; }

/* ============ Gauge: count-up finish glow ============ */
.gauge-orb.gauge-finish {
  animation: gaugeFinishGlow 1.2s ease-out;
}
@keyframes gaugeFinishGlow {
  0% { filter: drop-shadow(0 0 0 rgba(0, 224, 255, 0)); }
  35% { filter: drop-shadow(0 0 18px rgba(0, 224, 255, 0.75)); }
  100% { filter: drop-shadow(0 0 0 rgba(0, 224, 255, 0)); }
}

/* ============ Demo signal: teaser + blurred arrow + gold CTA ============ */
.conf-teaser {
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}
#guestDemoResult .demo-blur {
  filter: blur(7px);
  opacity: 0.8;
}
.demo-arrow {
  display: inline-block;
  animation: demoArrowPulse 1.6s ease-in-out infinite;
}
@keyframes demoArrowPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}
.demo-unlock-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.875rem;
  color: #0b0800;
  background: linear-gradient(120deg, #facc15, #f59e0b);
  border: none;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.demo-unlock-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.2);
}

/* ============ Profile: Telegram avatar photo ============ */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ============ History: filters + PRO badge ============ */
.history-filters {
  display: flex;
  gap: 8px;
}
.history-filter-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}
.history-filter-btn.active {
  color: #030509;
  background: linear-gradient(120deg, #00e0ff, #8b5cf6);
  border-color: transparent;
}
.hist-pro-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--c-gold);
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.3);
  vertical-align: middle;
  margin-left: 2px;
}

.conf-hidden {
  filter: blur(5px);
  opacity: 0.85;
  user-select: none;
}

/* Social proof line under the gauge */
.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11px;
  color: #94a3b8;
}
.social-proof b {
  color: #e2e8f0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sp-item { display: inline-flex; align-items: center; gap: 4px; }

/* Odometer digits */
.odo { display: inline-flex; align-items: center; line-height: 1.2em; }
.odo-col {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}
.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.odo-strip span {
  height: 1.2em;
  line-height: 1.2em;
  display: block;
  text-align: center;
}
.odo-sep { display: inline-block; }

/* Session-peak line under social proof */
.sp-peak {
  margin-top: 6px;
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.sp-peak-hot {
  color: #fbbf24;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.35);
}

/* PRO push after 3rd demo */
.demo-pro-push {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #fde68a;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(250, 204, 21, 0.3);
  animation: proPushIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes proPushIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sp-dot-sep { color: #334155; }
.sp-online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: spPulse 2s ease-in-out infinite;
}
@keyframes spPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Demo counter under the demo button */
.demo-left-note { letter-spacing: 0.02em; min-height: 16px; }
.demo-left-zero { color: #facc15 !important; font-weight: 600; }

/* Guest step progress */
#step1Row.step-done {
  border-color: rgba(16, 185, 129, 0.28) !important;
  background: rgba(16, 185, 129, 0.06) !important;
}
#step2Row.step-glow {
  border-color: rgba(250, 204, 21, 0.35) !important;
  background: rgba(250, 204, 21, 0.05) !important;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.10);
}

/* History empty state */
.history-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #00e0ff;
}

/* AI chat daily-limit chip */
.chat-limit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.chat-limit-chip.chat-limit-zero {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.3);
}


/* ============ History buttons contrast fix ============ */
#historyEmptyBtn { color: #030509 !important; font-weight: 800; }
.history-filter-btn { color: #cbd5e1; }

/* ============ Demo signal countdown + WIN ============ */
.demo-timer { text-align: center; }
.demo-timer-text { font-size: 12px; font-weight: 700; color: #7dd3fc; margin-bottom: 6px; letter-spacing: 0.02em; }
.demo-timer-track { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.demo-timer-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #00e0ff, #8b5cf6); transition: width 1s linear; }
.demo-win-banner {
  text-align: center; padding: 12px; border-radius: 14px; font-weight: 800; font-size: 14px;
  color: #10b981 !important; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.35);
  box-shadow: 0 0 24px rgba(16,185,129,0.25); animation: winPop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.demo-win-banner .win-amount { color: #facc15 !important; }
@keyframes winPop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ============ Share signal ============ */
.share-signal-btn {
  background: linear-gradient(120deg, rgba(0,224,255,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(0,224,255,0.35); color: #7dd3fc !important;
}
.share-signal-btn:active { transform: scale(0.97); }

/* ============ PRO mini-tour ============ */
.pro-tour-overlay {
  position: fixed; inset: 0; z-index: 220; background: rgba(3,5,9,0.82);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pro-tour-card {
  width: 100%; max-width: 330px; text-align: center;
  background: linear-gradient(160deg, rgba(15,23,42,0.98), rgba(3,5,9,0.98));
  border: 1px solid rgba(250,204,21,0.25); border-radius: 22px; padding: 26px 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 40px rgba(250,204,21,0.08);
  animation: winPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.pro-tour-step { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: #facc15; margin-bottom: 8px; }
.pro-tour-icon { font-size: 40px; margin-bottom: 8px; }
.pro-tour-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.pro-tour-text { font-size: 13px; color: #94a3b8; line-height: 1.55; margin-bottom: 14px; }
.pro-tour-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; }
.pro-tour-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.pro-tour-dot.active { background: #facc15; }
.pro-tour-btn {
  width: 100%; padding: 12px; border-radius: 14px; font-weight: 800; font-size: 14px;
  color: #030509; background: linear-gradient(120deg, #facc15, #f59e0b);
}

/* ============ Day streak ============ */
.streak-card {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(244,63,94,0.08), rgba(250,204,21,0.08));
  border: 1px solid rgba(250,204,21,0.18);
}
.streak-flame { font-size: 20px; }
.streak-text { font-size: 13px; font-weight: 700; color: #fbbf24; }

/* --------------------------------------------------------------------------
   Support — luxe upgrade (operator card, quick tiles, status, FAQ search)
   -------------------------------------------------------------------------- */

.sup-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(0, 224, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sup-online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #030509;
  animation: supPulse 1.8s ease-in-out infinite;
}
@keyframes supPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.sup-write-chip {
  font-size: 0.7rem;
  font-weight: 700;
  color: #00e0ff;
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid rgba(0, 224, 255, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sup-sec-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.sup-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.67rem;
  font-weight: 600;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.sup-tile:active { transform: scale(0.95); border-color: rgba(0, 224, 255, 0.4); }
.sup-tile-ico { font-size: 1.3rem; line-height: 1; }
.sup-status-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}
.sup-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: supPulse 2s ease-in-out infinite;
  flex: none;
}
.faq-cats {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.faq-cats::-webkit-scrollbar { display: none; }
.faq-chip {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
}
.faq-chip.active {
  color: #030509;
  background: linear-gradient(135deg, #00e0ff, #4facfe);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(0, 224, 255, 0.35);
}
.faq-fb-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.12s ease;
}
.faq-fb-btn:active { transform: scale(0.9); }
mark.faq-hl {
  background: rgba(250, 204, 21, 0.35);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* --------------------------------------------------------------------------
   Support premium blocks: PRO path, market schedule, reviews, disclaimer
   -------------------------------------------------------------------------- */

.pp-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pp-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pp-step.done .pp-num {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}

.pp-label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.pp-step.done .pp-label {
  color: #64748b;
}

.pp-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
}

.pp-done-line {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}

.pp-left-line {
  color: #7dd3fc;
}

.sup-mk-row {
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
}

.rev-id {
  font-size: 11px;
  font-weight: 800;
  color: rgba(157, 180, 207, 0.75);
}

.rev-stars {
  color: #facc15;
  font-size: 12px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.sup-disclaimer {
  font-size: 10px;
  line-height: 1.55;
  color: #475569;
  text-align: center;
  padding: 0 0.75rem 0.5rem;
}

/* ===== Support: features / guide / about (v16) ===== */
.sup-feat-row { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #cbd5e1; }
.sup-feat-ico {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  background: rgba(0, 224, 255, 0.07); border: 1px solid rgba(0, 224, 255, 0.14);
}
.sup-cta-btn {
  display: block; width: 100%; margin-top: 14px; padding: 11px 0;
  border-radius: 12px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.02em;
  color: #04070c; background: linear-gradient(135deg, #00e0ff, #38bdf8);
  box-shadow: 0 4px 18px rgba(0, 224, 255, 0.25); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sup-cta-btn:active { transform: scale(0.97); box-shadow: 0 2px 10px rgba(0, 224, 255, 0.2); }
.sup-guide-step { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #cbd5e1; }
.sup-guide-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #04070c;
  background: linear-gradient(135deg, #00e0ff, #8b5cf6);
}
.sup-about-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sup-about-logo {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 900; color: #04070c;
  background: linear-gradient(135deg, #00e0ff, #8b5cf6);
  box-shadow: 0 4px 16px rgba(0, 224, 255, 0.25);
}
.sup-about-name { font-size: 0.92rem; font-weight: 800; color: #f1f5f9; }
.sup-about-ver { font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.sup-about-text { font-size: 0.82rem; line-height: 1.55; color: #94a3b8; }

/* ===== Support: compact layout (v17) ===== */
.sup-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.sup-grid2 .sup-sec-title { font-size: 10px; }
.sup-grid2 .sup-status-row,
.sup-grid2 .sup-mk-row { font-size: 11px; line-height: 1.45; }

.faq-showall-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(0, 224, 255, 0.07);
  border: 1px solid rgba(0, 224, 255, 0.22);
  color: #00e0ff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}
.faq-showall-btn:active { background: rgba(0, 224, 255, 0.15); }
.faq-showall-btn.hidden { display: none; }

.sup-collapse-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
}
.sup-collapse-title { font-size: 13px; font-weight: 700; }
.sup-collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sup-collapse.open .sup-collapse-body { max-height: 1200px; }
.sup-collapse.open > .sup-collapse-head .accordion-chevron { transform: rotate(180deg); }


/* ==================================================================
   v19: chat suggestion chips, attach PRO badge, empty-stats hint
   ================================================================== */
.chat-suggest-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.chat-chip {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(0, 224, 255, 0.06);
  border: 1px solid rgba(0, 224, 255, 0.25);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  text-align: left;
  font-size: 11px;
  padding: 6px 12px;
}
.chat-chip:active {
  transform: scale(0.96);
  background: rgba(0, 224, 255, 0.14);
}
.attach-pro-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b0f19;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.45);
}
.stats-empty-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 224, 255, 0.25);
  font-weight: 700;
  font-size: 14px;
  color: #e2e8f0;
  transition: all 0.2s ease;
}
.stats-empty-hint:active { transform: scale(0.98); }
.stats-empty-icon { font-size: 18px; }
.stats-empty-text { flex: 1; text-align: left; }
.stats-empty-arrow { color: #00e0ff; font-weight: 800; }

/* v22: admin badge in profile */
.status-badge-admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #030509;
  background: linear-gradient(135deg, #facc15, #f43f5e);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.45);
}
