@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

/* ==========================================================================
   Qalvera Design System — Carbon Black + Sunset Orange Fintech Identity
   Zero-build CSS for Desktop Smartphone Shell & Responsive Mobile Viewport
   ========================================================================== */

:root {
  /* Brand Primary Accents */
  --primary-accent: #FF6B1A;
  --primary-bright: #FF9442;
  --cyan-accent: #E24414;
  --cyan-bright: #FFAD66;
  --primary-gradient: linear-gradient(155deg, #FF9442 0%, #FF6B1A 52%, #E24414 100%);
  --cta-gradient: linear-gradient(135deg, #FF8A34 0%, #E84A16 100%);
  --primary-soft-bg: rgba(255, 107, 26, 0.14);
  --primary-soft-border: rgba(255, 107, 26, 0.34);
  --cyan-soft-bg: rgba(255, 148, 66, 0.14);

  /* Semantic Accents (Exact Reference Match) */
  --secondary-accent: #34D399;
  --inflow-green: #34D399;
  --outflow-coral: #F87171;
  --danger-accent: #F87171;
  --danger-bg: rgba(248, 113, 113, 0.14);
  --warning-accent: #FBBF24;
  --warning-bg: rgba(251, 191, 36, 0.14);
  --info-accent: #FF9442;

  /* Backgrounds & Matte Surfaces */
  --bg-desktop-canvas: #090807;
  --bg-app-shell: #0D0D0F;
  --bg-drawer: #110C09;
  --bg-surface-card: #1A1A1E;
  --bg-surface-elevated: #242429;
  --bg-surface-input: #131316;

  /* Text & Typography */
  --text-white: #FFFFFF;
  --text-primary: #F4F4F6;
  --text-secondary: #9E9EA7;
  --text-muted: #6C6C75;
  --text-on-accent: #FFFFFF;
  --text-on-white: #0D0D0F;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.11);
  --border-glow: rgba(255, 107, 26, 0.38);
  --shadow-neon: 0 14px 34px rgba(255, 107, 26, 0.28);
  --shadow-device: 0 34px 90px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 100px rgba(255, 107, 26, 0.18);
  --device-radius: 48px;
  --card-radius: 20px;
  --pill-radius: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  background: var(--bg-desktop-canvas);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, .page-header-title, .greeting-name, .section-title, .hero-balance-big, .bot-title, .tx-amt {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Desktop Canvas (Warm Copper Glow + Vertical Hairline Texture) & Phone Shell
   ========================================================================== */
.desktop-canvas-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 20px;
  background-color: var(--bg-desktop-canvas);
  background-image:
    radial-gradient(ellipse 68% 45% at 48% 12%, rgba(234, 88, 12, 0.34), transparent 68%),
    radial-gradient(circle at 82% 85%, rgba(255, 107, 26, 0.14), transparent 44%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0px,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 14px
    );
}

.device-frame {
  position: relative;
  width: 412px;
  height: 856px;
  max-height: calc(100vh - 48px);
  border-radius: var(--device-radius);
  background: var(--bg-app-shell);
  box-shadow: var(--shadow-device);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border: 6px solid #1C1C20;
}

.app-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 95% 36% at 50% 0%, rgba(255, 107, 26, 0.28), transparent 72%),
    var(--bg-app-shell);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.36s ease, box-shadow 0.36s ease;
  transform-origin: left center;
  z-index: 2;
}

.app-stage.drawer-open {
  transform: translateX(68%) scale(0.84);
  border-radius: 30px;
  box-shadow: -20px 24px 60px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 107, 26, 0.28);
  pointer-events: auto;
}

/* Simulated Status Bar */
.phone-status-bar {
  height: 36px;
  padding: 10px 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
  background: transparent;
  position: relative;
  z-index: 30;
  flex-shrink: 0;
}

.phone-notch-pill {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 102px;
  height: 24px;
  border-radius: 999px;
  background: #040405;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.app-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 96px;
  scrollbar-width: none;
}

.app-viewport.no-nav {
  padding-bottom: 24px;
}

.app-viewport::-webkit-scrollbar {
  display: none;
}

/* Mobile Full-Bleed Breakout */
@media (max-width: 520px) {
  .desktop-canvas-wrapper {
    padding: 0;
    background: var(--bg-app-shell);
    display: block;
  }

  .device-frame {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .phone-status-bar {
    display: none;
  }

  .proto-switcher {
    display: none !important;
  }
}

/* ==========================================================================
   Desktop-Only Prototype Screen Switcher
   ========================================================================== */
.proto-switcher {
  width: 268px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: rgba(22, 22, 26, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  scrollbar-width: thin;
}

.proto-switcher-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.proto-switcher-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-bright);
}

.proto-reset-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 9px;
  border-radius: 8px;
  transition: all 0.2s;
}

.proto-reset-btn:hover {
  color: var(--text-white);
  border-color: var(--primary-accent);
}

.proto-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 12px 0 6px;
}

.proto-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.proto-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(13, 13, 15, 0.75);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.proto-link:hover {
  color: var(--text-white);
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
}

.proto-link.active {
  color: var(--text-on-white);
  background: #FFFFFF;
  font-weight: 700;
}

.proto-meta-note {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 107, 26, 0.09);
  border: 1px solid rgba(255, 107, 26, 0.24);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   3D Slide-Out Drawer
   ========================================================================== */
.side-drawer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 107, 26, 0.22), transparent 45%),
    var(--bg-drawer);
  padding: 46px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.drawer-user-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 225px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.drawer-item:hover,
.drawer-item.active {
  background: rgba(255, 107, 26, 0.16);
  color: var(--primary-bright);
  font-weight: 600;
}

.drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 0;
  max-width: 210px;
}

.drawer-item.danger {
  color: var(--danger-accent);
}

.drawer-close-area {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
}

.app-stage.drawer-open .drawer-close-area {
  display: block;
}

/* ==========================================================================
   Headers, Greeting Bar & Signature Sunset-Orange Hero Card
   ========================================================================== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 10px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(14px);
}

.page-header-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

.icon-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all 0.2s;
  flex-shrink: 0;
  position: relative;
}

.icon-circle-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-bright);
  border: 1.5px solid #1C130E;
}

.greeting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 14px;
}

.greeting-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-white);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 18px rgba(255, 107, 26, 0.35);
  flex-shrink: 0;
}

.greeting-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.greeting-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* Smoky Silk-Bronze Hero Panel (Luxury Dark Copper Light Sweep) */
.hero-silk-panel {
  margin: 6px 14px 18px;
  border-radius: 30px;
  padding: 16px 18px 20px;
  background:
    radial-gradient(ellipse 88% 92% at 74% 18%, rgba(220, 96, 38, 0.56) 0%, rgba(132, 48, 16, 0.30) 44%, rgba(15, 9, 7, 0.96) 82%),
    #110A07;
  border: 1px solid rgba(255, 165, 112, 0.22);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.silk-greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.silk-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eye-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.18s;
  flex-shrink: 0;
}

.eye-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.silk-delta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--inflow-green);
  margin: 4px 0 18px;
}

.silk-action-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hero-action-btn:hover .silk-action-circle {
  transform: translateY(-2px);
  background: rgba(255, 107, 26, 0.24);
  border-color: rgba(255, 148, 66, 0.55);
}

.recent-more-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FF9442 0%, #E24414 100%);
  box-shadow: 0 8px 20px rgba(255, 107, 26, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
  transition: transform 0.2s;
}

.recent-bot-item:hover .recent-more-circle {
  transform: translateY(-2px);
}

.text-accent {
  color: var(--primary-accent);
}

.onboard-orb-halo {
  width: 176px;
  height: 176px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(255, 120, 48, 0.42) 0%, rgba(160, 56, 18, 0.18) 56%, transparent 74%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(255, 107, 26, 0.24);
}

.onboard-orb-img {
  width: 146px;
  height: 146px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 148, 66, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.dash-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.dash-dot {
  width: 7px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.24s ease, background 0.24s ease;
}

.dash-dot.active {
  width: 24px;
  background: var(--primary-accent);
}

.ai-insights-sheet {
  background:
    radial-gradient(ellipse 80% 55% at 50% 24%, rgba(220, 96, 38, 0.34), transparent 70%),
    #110B08;
  border: 1px solid rgba(255, 148, 66, 0.24);
  border-radius: 28px;
  padding: 22px 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
}

.insights-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
}

.insights-side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.insights-side-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.14);
  border: 1px solid rgba(255, 148, 66, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-bright);
  font-size: 16px;
}

.insights-center-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FF9442 0%, #E24414 100%);
  border: 3px solid rgba(255, 200, 160, 0.45);
  box-shadow: 0 0 28px rgba(255, 107, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
}

/* Signature Hero Cards (Distinct Per-Screen Gradient Modifiers) */
.hero-orange-card {
  margin: 0 18px 18px;
  border-radius: 26px;
  padding: 20px 18px 18px;
  background: var(--primary-gradient);
  box-shadow: var(--shadow-neon);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero-orange-card--rose {
  background: linear-gradient(145deg, #FF7B29 0%, #E11D48 100%);
  box-shadow: 0 14px 34px rgba(225, 29, 72, 0.28);
}

.hero-orange-card--ocean {
  background: linear-gradient(145deg, #0D9488 0%, #0284C7 100%);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.28);
}

.hero-orange-card--violet {
  background: linear-gradient(145deg, #7C3AED 0%, #DB2777 100%);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.30);
}

.hero-orange-card--gold {
  background: linear-gradient(145deg, #F59E0B 0%, #EA580C 100%);
  box-shadow: 0 14px 34px rgba(234, 88, 12, 0.28);
}

.hero-orange-card::after {
  content: '';
  position: absolute;
  top: -35px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.hero-card-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero-pool-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.24);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-balance-big {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hero-actions-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hero-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.hero-action-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-action-btn:hover .hero-action-circle {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.32);
}

/* ==========================================================================
   Horizontal Circular Bot Strip (Screenshot "Recent" Row Style)
   ========================================================================== */
.recent-bots-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.recent-bots-row::-webkit-scrollbar {
  display: none;
}

.recent-bot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 60px;
  text-align: center;
}

.recent-add-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-white);
  transition: border-color 0.2s, transform 0.2s;
}

.recent-bot-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 26, 0.45);
  background: #120E0A;
  transition: transform 0.2s, border-color 0.2s;
}

.recent-bot-item:hover .recent-bot-circle,
.recent-bot-item:hover .recent-add-circle {
  transform: translateY(-2px);
  border-color: var(--primary-bright);
}

.recent-bot-name {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.recent-bot-rate {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-bright);
  margin-top: -3px;
}

/* ==========================================================================
   Content Containers, Matte Cards & Floating Transaction Cards
   ========================================================================== */
.content-pad {
  padding: 6px 18px 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.section-link:hover {
  color: var(--text-white);
}

.underline-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.underline-tab {
  padding: 8px 2px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}

.underline-tab.active {
  color: var(--text-white);
}

.underline-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--primary-gradient);
}

.pill-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.pill-tabs::-webkit-scrollbar {
  display: none;
}

.pill-tab {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-surface-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.pill-tab.active {
  background: #FFFFFF;
  color: var(--text-on-white);
  border-color: #FFFFFF;
}

.card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.card-grad-sapphire {
  background: linear-gradient(145deg, #172742 0%, #121622 72%);
  border-color: rgba(56, 189, 248, 0.24);
}

.card-grad-amber {
  background: linear-gradient(145deg, #331D0B 0%, #171412 72%);
  border-color: rgba(245, 158, 11, 0.26);
}

.card-grad-violet {
  background: linear-gradient(145deg, #271940 0%, #15141E 72%);
  border-color: rgba(167, 139, 250, 0.26);
}

.card-grad-teal {
  background: linear-gradient(145deg, #0D2B2E 0%, #12181A 72%);
  border-color: rgba(45, 212, 191, 0.24);
}

.card-grad-rose {
  background: linear-gradient(145deg, #331521 0%, #191417 72%);
  border-color: rgba(244, 63, 94, 0.26);
}

.card + .card {
  margin-top: 10px;
}

/* Individual Floating Gradient Transaction Cards */
.tx-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, #18181C 68%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.tx-card--yield {
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.22) 0%, #191614 68%);
  border-color: rgba(255, 148, 66, 0.26);
}

.tx-card--in {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, #141A18 68%);
  border-color: rgba(52, 211, 153, 0.26);
}

.tx-card--commission {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24) 0%, #181520 68%);
  border-color: rgba(167, 139, 250, 0.28);
}

.tx-card--out {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.22) 0%, #1D1417 68%);
  border-color: rgba(248, 113, 113, 0.26);
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tx-row:last-child {
  border-bottom: none;
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tx-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
}

.tx-icon.in {
  background: rgba(52, 211, 153, 0.14);
  color: var(--inflow-green);
}

.tx-icon.out {
  background: rgba(248, 113, 113, 0.14);
  color: var(--outflow-coral);
}

.tx-icon.yield {
  background: rgba(255, 107, 26, 0.16);
  color: var(--primary-bright);
}

.tx-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tx-right {
  text-align: right;
  flex-shrink: 0;
}

.tx-amt {
  font-size: 14px;
  font-weight: 700;
}

.tx-amt.plus {
  color: var(--inflow-green);
}

.tx-amt.minus {
  color: var(--outflow-coral);
}

/* Redesigned Bot Pass Cards (Distinct Per-Bot Gradients + Metric Tiles) */
.bot-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.bot-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.bot-card--arbinova {
  background: linear-gradient(135deg, #431B0A 0%, #8C3410 52%, #1C110B 100%);
  border-color: rgba(251, 146, 60, 0.44);
  box-shadow: 0 14px 30px rgba(140, 52, 16, 0.25);
}

.bot-card--nexora {
  background: linear-gradient(135deg, #1E1848 0%, #5B21B6 55%, #161126 100%);
  border-color: rgba(167, 139, 250, 0.44);
  box-shadow: 0 14px 30px rgba(91, 33, 182, 0.28);
}

.bot-card--cryptopulse {
  background: linear-gradient(135deg, #062D33 0%, #0F636B 52%, #0B191E 100%);
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 14px 30px rgba(15, 99, 107, 0.28);
}

.bot-card:hover {
  transform: translateY(-2px);
}

.bot-card + .bot-card {
  margin-top: 12px;
}

.bot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.bot-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.bot-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.bot-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
}

.bot-range {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

.bot-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  position: relative;
  z-index: 1;
}

.bot-metric-pill {
  padding: 8px 9px;
  border-radius: 13px;
  background: rgba(13, 13, 15, 0.36);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.bot-metric-k {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 2px;
}

.bot-metric-v {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.bot-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--text-on-white);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}

.bot-cta-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.bot-gif-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 26, 0.42);
  background: #120E0A;
  flex-shrink: 0;
}

.bot-gif-thumb.sm {
  width: 44px;
  height: 44px;
}

.bot-gif-thumb.lg {
  width: 68px;
  height: 68px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--inflow-green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseRing 1.8s infinite;
  display: inline-block;
}

/* Badges & Statuses */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.status-pill.success {
  background: rgba(52, 211, 153, 0.14);
  color: var(--inflow-green);
}

.status-pill.warning {
  background: var(--warning-bg);
  color: var(--warning-accent);
}

.status-pill.info {
  background: rgba(255, 107, 26, 0.16);
  color: var(--primary-bright);
}

.status-pill.danger {
  background: var(--danger-bg);
  color: var(--danger-accent);
}

/* ==========================================================================
   Buttons, Forms & Inputs
   ========================================================================== */
.btn {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--cta-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
}

.btn-dark {
  background: #111114;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-soft {
  background: rgba(255, 107, 26, 0.15);
  color: var(--primary-bright);
  border: 1px solid rgba(255, 107, 26, 0.34);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  width: auto;
  font-size: 12.5px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-surface-input);
  border: 1px solid var(--border-subtle);
  padding: 0 14px;
  color: var(--text-white);
  font-size: 13.5px;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary-accent);
}

.form-control.is-invalid {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14);
}

button.is-loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: progress;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .form-control {
  padding-right: 44px;
}

.input-icon-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Floating Espresso-Glass Capsule Nav with Center Copper Star Orb
   ========================================================================== */
.bottom-nav-wrap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 25;
}

.bottom-nav {
  height: 64px;
  border-radius: 999px;
  background: rgba(20, 15, 12, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 132, 68, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72);
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
}

.nav-item {
  height: 44px;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-item:hover {
  color: #FFFFFF;
}

.nav-item.active {
  color: var(--primary-bright);
  background: rgba(255, 107, 26, 0.12);
}

.nav-orb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #6E2B10 0%, #240F08 65%, #120805 100%);
  border: 2px solid #FF8A4C;
  box-shadow: 0 0 22px rgba(255, 107, 26, 0.55), inset 0 0 12px rgba(255, 148, 66, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin: 0 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-orb:hover,
.nav-orb.active {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 28px rgba(255, 132, 68, 0.78), inset 0 0 14px rgba(255, 180, 120, 0.45);
}

/* ==========================================================================
   Modals & Slide-Up Bottom Sheets
   ========================================================================== */
.modal-backdrop,
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.sheet-backdrop {
  align-items: flex-end;
  padding: 0;
}

.sheet-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  border-radius: 24px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-strong);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  animation: scaleIn 0.2s ease;
}

.sheet-card {
  width: 100%;
  border-radius: 26px 26px 0 0;
  background: var(--bg-surface-card);
  border-top: 1px solid var(--border-strong);
  padding: 14px 20px 26px;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.75);
  animation: slideUp 0.24s ease;
}

.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: var(--border-strong);
  margin: 0 auto 14px;
}

.spec-table {
  border-radius: 14px;
  background: var(--bg-surface-input);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  margin-bottom: 14px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-secondary);
}

.spec-val {
  font-weight: 700;
  color: var(--text-white);
}

/* ==========================================================================
   Coin Selector, Progress Bars, OTP Boxes, & Toast
   ========================================================================== */
.coin-list {
  border-radius: var(--card-radius);
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.coin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.18s;
}

.coin-row:last-child {
  border-bottom: none;
}

.coin-row:hover,
.coin-row.selected {
  background: rgba(255, 107, 26, 0.10);
}

.coin-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11.5px;
  flex-shrink: 0;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-row.selected .radio-dot {
  border-color: var(--primary-accent);
  background: var(--primary-accent);
}

.coin-row.selected .radio-dot::after {
  content: '✓';
  font-size: 11px;
  font-weight: 900;
  color: #FFFFFF;
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: 99px;
  background: var(--bg-surface-input);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--cta-gradient);
  transition: width 0.35s ease;
}

.stage-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.stage-step {
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: center;
}

.stage-step.done {
  color: var(--inflow-green);
  font-weight: 700;
}

.stage-step.active {
  color: var(--primary-bright);
  font-weight: 700;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.otp-box {
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface-input);
  border: 1px solid var(--border-strong);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
}

.otp-box:focus {
  border-color: var(--primary-bright);
}

.qr-frame {
  width: 176px;
  height: 176px;
  margin: 10px auto;
  padding: 12px;
  border-radius: 18px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: var(--bg-surface-input);
  border: 1px solid var(--border-strong);
  transition: all 0.2s;
  flex-shrink: 0;
}

.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: transform 0.2s, background 0.2s;
}

.switch.on {
  background: var(--primary-soft-bg);
  border-color: var(--primary-accent);
}

.switch.on::after {
  transform: translateX(20px);
  background: var(--primary-bright);
}

.toast-stack {
  position: absolute;
  top: 46px;
  left: 16px;
  right: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(26, 26, 30, 0.96);
  border: 1px solid var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  animation: fadeSlideDown 0.2s ease;
}

.toast-item.error {
  border-color: rgba(248, 113, 113, 0.5);
}

.progress-ring-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-bright);
}

.progress-ring-wrap svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.email-paper {
  background: #141417;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
}

/* ==========================================================================
   Live Coin Graphs & Tech/Crypto News Cards
   ========================================================================== */
.timeframe-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
}

.timeframe-pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.timeframe-pill.active {
  background: #FFFFFF;
  color: #0D0D0F;
}

.coin-graph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.coin-graph-card {
  border-radius: 20px;
  padding: 13px 13px 10px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.coin-graph-card--btc {
  background: linear-gradient(145deg, #3A1E0A 0%, #17120F 74%);
  border-color: rgba(251, 146, 60, 0.34);
}

.coin-graph-card--sol {
  background: linear-gradient(145deg, #28184A 0%, #15121F 74%);
  border-color: rgba(167, 139, 250, 0.34);
}

.coin-graph-card--bnb {
  background: linear-gradient(145deg, #172742 0%, #121520 74%);
  border-color: rgba(250, 204, 21, 0.30);
}

.coin-graph-card--trx {
  background: linear-gradient(145deg, #0D2B2E 0%, #14171A 74%);
  border-color: rgba(45, 212, 191, 0.30);
}

.coin-graph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.coin-graph-sym {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.coin-graph-delta {
  font-size: 10.5px;
  font-weight: 700;
}

.coin-graph-delta.up {
  color: var(--inflow-green);
}

.coin-graph-delta.down {
  color: var(--outflow-coral);
}

.coin-graph-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.sparkline-svg {
  width: 100%;
  height: 44px;
  display: block;
  margin-top: 6px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card {
  width: 100%;
  text-align: left;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: block;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.news-card-summary {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================================
   Registration (auth/register)
   ========================================================================== */
.rg-hero { position: relative; padding: 26px 22px 20px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 107, 26, 0.28) 0%, rgba(255, 107, 26, 0.05) 55%, transparent 100%); border-bottom: 1px solid var(--border-subtle); }
.rg-mark { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px; background: var(--primary-gradient); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-neon); transform: rotate(-6deg); }
.rg-mark svg { transform: rotate(6deg); }
.rg-hero-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--text-white); letter-spacing: -.3px; }
.rg-hero-sub { font-size: 12.5px; color: var(--text-secondary); margin-top: 5px; line-height: 1.5; }
.rg-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.rg-steps-item { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-bright); padding: 4px 10px; border-radius: var(--pill-radius); background: var(--primary-soft-bg); border: 1px solid var(--primary-soft-border); }
.rg-steps-line { width: 18px; height: 1px; background: var(--primary-soft-border); }

.rg-body { padding: 18px 18px 28px; }
.rg-card { padding: 14px 14px 6px; margin-bottom: 12px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.rg-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; color: var(--text-white); }
.rg-num { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--text-on-accent); background: var(--primary-gradient); }
.rg-field { display: block; margin-bottom: 12px; }
.rg-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.rg-optional { font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.rg-hint { display: block; font-size: 11px; color: var(--text-muted); margin-top: 6px; line-height: 1.45; }

.rg-affix { display: flex; align-items: stretch; }
.rg-affix-tag { display: flex; align-items: center; padding: 0 12px; border-radius: 14px 0 0 14px; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-right: none; color: var(--primary-bright); font-weight: 700; }
.rg-affix .form-control { border-radius: 0 14px 14px 0; }

.rg-inline-action { position: relative; display: block; }
.rg-inline-action .form-control { padding-right: 112px; }
.rg-inline-btn { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 12px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--primary-bright); background: var(--primary-soft-bg); border: 1px solid var(--primary-soft-border); }
.rg-inline-btn:disabled { color: var(--text-muted); background: var(--bg-surface-elevated); border-color: var(--border-subtle); }

.rg-code { margin-bottom: 12px; padding: 12px; border-radius: 14px; background: var(--bg-surface-input); border: 1px dashed var(--primary-soft-border); }
.rg-code .otp-grid { margin: 4px 0 0; gap: 8px; max-width: 280px; }
.otp-grid > .otp-box { width: 100%; min-width: 0; box-sizing: border-box; padding: 0; }
.rg-code .otp-box { height: 52px; font-size: 20px; background: var(--bg-surface-card); }
@media (max-width: 360px) {
  .rg-code { padding: 10px; }
  .rg-code .otp-grid { gap: 6px; }
  .rg-code .otp-box { height: 46px; font-size: 18px; }
}

.rg-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: -4px; }
.rg-meter i { height: 4px; border-radius: 99px; background: var(--bg-surface-elevated); transition: background .2s; }
.rg-meter[data-score="1"] i:nth-child(-n+1) { background: var(--outflow-coral); }
.rg-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warning-accent); }
.rg-meter[data-score="3"] i:nth-child(-n+3) { background: var(--primary-bright); }
.rg-meter[data-score="4"] i { background: var(--inflow-green); }
.rg-card:last-of-type { padding-bottom: 14px; }

.rg-invite { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 11px 14px; border-radius: 14px; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25); }
.rg-invite-icon { color: var(--inflow-green); }
.rg-invite-text { flex: 1; font-size: 12.5px; color: var(--text-primary); }
.rg-link { font-size: 12.5px; font-weight: 700; color: var(--primary-bright); }
.rg-invite-toggle { display: block; margin: 4px 2px 14px; }
.rg-invite-field { margin-bottom: 16px; }

.rg-submit { margin-top: 4px; }
.rg-fineprint { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.rg-switch { text-align: center; font-size: 12.5px; color: var(--text-secondary); margin-top: 20px; }
.rg-switch a { color: var(--primary-bright); font-weight: 700; }
.rg-field .input-with-icon { display: block; }

/* ==========================================================================
   Reports hub (reports/index)
   ========================================================================== */
.rp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.rp-stat { display: flex; flex-direction: column; gap: 2px; padding: 11px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); min-width: 0; }
.rp-stat--wide { grid-column: 1 / -1; padding: 16px; background: var(--primary-gradient); border: none; box-shadow: var(--shadow-neon); }
.rp-stat-k { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.rp-stat--wide .rp-stat-k, .rp-stat--wide .rp-stat-s { color: rgba(255, 255, 255, 0.82); }
.rp-stat-v { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-white); }
.rp-stat-v.rp-sm { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-stat-s { font-size: 11px; }
.rp-panel { padding: 14px; margin-bottom: 12px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.rp-panel-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.rp-panel-head strong { font-family: var(--font-display); font-size: 15px; color: var(--text-white); }
.rp-bars { width: 100%; height: auto; display: block; }
.rp-bar { fill: var(--primary-bright); }
.rp-bar-empty { fill: var(--bg-surface-elevated); }
.rp-bar-label { font-size: 8px; fill: var(--text-muted); }
.rp-split { display: flex; align-items: center; gap: 16px; }
.rp-donut { width: 112px; height: 112px; flex: none; }
.rp-donut-track { fill: none; stroke: var(--bg-surface-elevated); stroke-width: 12; }
.rp-donut-k { font-size: 8px; fill: var(--text-muted); }
.rp-donut-v { font-size: 12px; font-weight: 700; fill: var(--text-white); }
.rp-legend { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rp-legend-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
.rp-legend-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rp-legend-row span { flex: 1; }
.rp-legend-row strong { color: var(--text-white); }
.rp-grid-title { margin: 18px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.rp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rp-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); transition: border-color .2s, transform .2s; }
.rp-tile:active { transform: scale(.98); }
.rp-tile:hover { border-color: var(--primary-soft-border); }
.rp-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rp-ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.rp-ico svg { width: 20px; height: 20px; }
.rp-ico--out { color: #FF9442; background: rgba(255, 148, 66, 0.14); }
.rp-ico--in { color: #34D399; background: rgba(52, 211, 153, 0.14); }
.rp-ico--bot { color: #38BDF8; background: rgba(56, 189, 248, 0.14); }
.rp-ico--ref { color: #FBBF24; background: rgba(251, 191, 36, 0.14); }
.rp-ico--team { color: #A78BFA; background: rgba(167, 139, 250, 0.14); }
.rp-tile-title { font-size: 13.5px; font-weight: 700; color: var(--text-white); }
.rp-tile-sub { font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   Withdrawals report: tickets with a status gauge
   ========================================================================== */
.wt-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; margin-bottom: 12px; border-radius: 18px; background: linear-gradient(120deg, #1F1410, #141418); border: 1px solid var(--primary-soft-border); }
.wt-head-k { font-size: 11px; color: var(--text-secondary); }
.wt-head-v { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-white); }
.wt-head-count { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.wt-head-count strong { font-family: var(--font-display); font-size: 18px; color: var(--primary-bright); }
.wt-head-count span { font-size: 10px; color: var(--text-muted); }
.wt-ticket { --tone: var(--warning-accent); position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 0; margin-bottom: 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); overflow: hidden; }
.wt-ticket--moving { --tone: var(--primary-bright); }
.wt-ticket--done { --tone: var(--inflow-green); }
.wt-ticket--declined { --tone: var(--outflow-coral); }
.wt-gauge { position: relative; width: 56px; height: 56px; }
.wt-gauge svg { width: 56px; height: 56px; }
.wt-gauge-track { fill: none; stroke: var(--bg-surface-elevated); stroke-width: 5; }
.wt-gauge-fill { fill: none; stroke: var(--tone); stroke-width: 5; stroke-linecap: round; }
.wt-ticket--moving .wt-gauge-fill { animation: wt-breathe 1.8s ease-in-out infinite; }
@keyframes wt-breathe { 50% { opacity: .45; } }
.wt-gauge-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--tone); }
.wt-body { min-width: 0; }
.wt-amount { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-white); }
.wt-coin { font-size: 11.5px; color: var(--text-secondary); }
.wt-note { font-size: 11px; color: var(--text-muted); margin-top: 3px; line-height: 1.35; }
.wt-ticket--declined .wt-note { color: var(--outflow-coral); }
.wt-stub { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-left: 14px; border-left: 2px dashed var(--border-strong); min-width: 66px; }
.wt-stub::before, .wt-stub::after { content: ""; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-app-shell); }
.wt-stub::before { top: -24px; }
.wt-stub::after { bottom: -24px; }
.wt-stamp { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); border: 2px solid var(--tone); border-radius: 6px; padding: 2px 6px; transform: rotate(-8deg); }
.wt-ref { font-family: var(--font-mono); font-size: 11px; color: var(--text-primary); margin-top: 4px; }
.wt-date { font-size: 10.5px; color: var(--text-muted); }
.wt-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; margin: 4px -14px 0; padding: 8px 14px; font-size: 11px; color: var(--text-muted); background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--border-subtle); }
.wt-empty { text-align: center; padding: 30px 16px; color: var(--text-muted); font-size: 12px; }
.wt-empty-ticket { font-size: 34px; }
.wt-empty-title { font-size: 14px; font-weight: 700; color: var(--text-white); margin-top: 6px; }

/* ==========================================================================
   Deposits report: receipt roll
   ========================================================================== */
.dr-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 92px; padding: 10px 12px; margin-bottom: 18px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.dr-strip-col { display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; }
.dr-strip-bar { flex: 1; width: 100%; display: flex; align-items: flex-end; border-radius: 6px; background: rgba(52, 211, 153, 0.06); }
.dr-strip-bar i { width: 100%; border-radius: 6px; background: linear-gradient(180deg, #34D399, rgba(52, 211, 153, 0.35)); }
.dr-strip-label { font-size: 10px; color: var(--text-muted); }
.dr-receipt { position: relative; margin: 8px 2px 18px; padding: 20px 18px 22px; background: #F6F1E8; color: #2B2620; font-family: var(--font-mono); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.dr-receipt::before, .dr-receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background-size: 14px 8px; background-repeat: repeat-x; }
.dr-receipt::before { top: -8px; background-image: linear-gradient(135deg, transparent 50%, #F6F1E8 50%), linear-gradient(225deg, transparent 50%, #F6F1E8 50%); background-position: 0 0, 7px 0; }
.dr-receipt::after { bottom: -8px; background-image: linear-gradient(45deg, transparent 50%, #F6F1E8 50%), linear-gradient(315deg, transparent 50%, #F6F1E8 50%); background-position: 0 0, 7px 0; transform: rotate(180deg); }
.dr-receipt-top { text-align: center; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed #B9AE9C; }
.dr-brand { font-size: 15px; font-weight: 800; letter-spacing: .25em; }
.dr-brand .brand-logo-word { color: #2B2620; letter-spacing: -0.01em; }
.dr-sub { font-size: 10.5px; color: #7A6F60; margin-top: 4px; }
.dr-month { display: flex; justify-content: space-between; margin: 12px 0 6px; padding: 4px 0; font-size: 11px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid #D8CFBF; }
.dr-line { display: flex; align-items: baseline; gap: 6px; padding: 4px 0; font-size: 12px; }
.dr-line-date { color: #7A6F60; flex: none; }
.dr-line-desc { flex: none; display: flex; flex-direction: column; }
.dr-line-desc small { font-size: 9.5px; color: #9A8F80; }
.dr-dots { flex: 1; border-bottom: 1px dotted #B9AE9C; transform: translateY(-3px); }
.dr-line-amt { flex: none; font-weight: 700; }
.dr-blank { text-align: center; color: #9A8F80; font-size: 11.5px; padding: 16px 0; }
.dr-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 2px solid #2B2620; font-size: 13px; font-weight: 800; }
.dr-thanks { text-align: center; font-size: 10px; color: #7A6F60; margin-top: 12px; }

/* ==========================================================================
   Bot earnings report: heatmap + cycle tracks
   ========================================================================== */
.be-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.be-num { padding: 14px; border-radius: 16px; background: linear-gradient(150deg, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.03)); border: 1px solid rgba(56, 189, 248, 0.25); }
.be-num--alt { background: var(--bg-surface-card); border-color: var(--border-subtle); }
.be-num span { display: block; font-size: 11px; color: var(--text-secondary); }
.be-num strong { font-family: var(--font-display); font-size: 19px; color: var(--text-white); }
.be-heat { padding: 14px; margin-bottom: 6px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.be-heat-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
.be-heat-scale { display: flex; align-items: center; gap: 3px; font-size: 9.5px; color: var(--text-muted); }
.be-heat-scale i { width: 9px; height: 9px; border-radius: 2px; }
.be-heat-days, .be-heat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.be-heat-days span { text-align: center; font-size: 9.5px; color: var(--text-muted); margin-bottom: 4px; }
.be-cell { aspect-ratio: 1; border-radius: 6px; }
.be-heat .l0 { background: var(--bg-surface-elevated); }
.be-heat .l1 { background: rgba(56, 189, 248, 0.25); }
.be-heat .l2 { background: rgba(56, 189, 248, 0.45); }
.be-heat .l3 { background: rgba(56, 189, 248, 0.7); }
.be-heat .l4 { background: #38BDF8; }
.be-section, .rb-section, .tc-section { margin: 18px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.be-bot { padding: 14px; margin-bottom: 10px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.be-bot-top { display: flex; justify-content: space-between; gap: 10px; }
.be-bot-name { font-size: 14px; font-weight: 700; color: var(--text-white); }
.be-bot-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.be-bot-state { align-self: flex-start; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; color: var(--text-secondary); background: var(--bg-surface-elevated); white-space: nowrap; }
.be-bot-state--running { color: #38BDF8; background: rgba(56, 189, 248, 0.14); }
.be-bot-state--completed { color: var(--inflow-green); background: rgba(52, 211, 153, 0.14); }
.be-bot-state--stopped { color: var(--outflow-coral); background: var(--danger-bg); }
.be-days { display: flex; gap: 3px; margin: 12px 0 8px; }
.be-days i { flex: 1; height: 8px; border-radius: 2px; background: var(--bg-surface-elevated); }
.be-days i.on { background: #38BDF8; }
.be-bot-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-muted); }
.be-bot-foot strong { color: var(--text-white); }
.be-none { font-size: 12.5px; color: var(--text-muted); padding: 10px 2px; }
.be-none a { color: var(--primary-bright); font-weight: 700; }
.be-feed { border-left: 2px solid rgba(56, 189, 248, 0.3); margin-left: 6px; padding-left: 12px; }
.be-feed-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.be-feed-when { flex: none; width: 46px; font-size: 12px; font-weight: 700; color: var(--text-white); display: flex; flex-direction: column; }
.be-feed-when small { font-size: 10px; font-weight: 500; color: var(--text-muted); }
.be-feed-what { flex: 1; font-size: 11.5px; color: var(--text-secondary); min-width: 0; }
.be-feed-amt { font-size: 13px; font-weight: 700; color: #38BDF8; }

/* ==========================================================================
   Referral bonuses report: level pyramid
   ========================================================================== */
.rb-hero { text-align: center; padding: 22px 16px; margin-bottom: 14px; border-radius: 20px; background: radial-gradient(100% 120% at 50% 0%, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.02) 70%); border: 1px solid rgba(251, 191, 36, 0.22); }
.rb-hero-k { font-size: 11.5px; color: var(--text-secondary); }
.rb-hero-v { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #FBBF24; margin-top: 4px; }
.rb-pyramid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rb-tier { width: var(--w); display: flex; align-items: center; gap: 6px; }
.rb-tier-bar { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); overflow: hidden; }
.rb-tier-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(251, 191, 36, 0.14); z-index: 0; }
.rb-tier-lv, .rb-tier-rate, .rb-tier-amt { position: relative; z-index: 1; }
.rb-tier-lv { font-size: 12px; font-weight: 800; color: #FBBF24; }
.rb-tier-rate { font-size: 11px; color: var(--text-muted); }
.rb-tier-amt { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--text-white); }
.rb-tier-count { flex: none; width: 26px; font-size: 10.5px; color: var(--text-muted); text-align: right; }
.rb-caption { font-size: 11px; color: var(--text-muted); margin-top: 6px; text-align: center; }
.rb-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.rb-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #1A1406; background: linear-gradient(135deg, #FDE68A, #F59E0B); }
.rb-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rb-who strong { font-size: 13px; color: var(--text-white); }
.rb-who small { font-size: 11px; color: var(--text-muted); }
.rb-amt { font-size: 13.5px; font-weight: 700; color: #FBBF24; }
.rb-none { text-align: center; font-size: 12.5px; color: var(--text-muted); padding: 20px 0; }
.rb-none a { color: var(--primary-bright); font-weight: 700; }

/* ==========================================================================
   Team commission report: trend line + level ladder
   ========================================================================== */
.tc-chart { padding: 14px 14px 10px; margin-bottom: 12px; border-radius: 18px; background: linear-gradient(170deg, rgba(167, 139, 250, 0.14), var(--bg-surface-card) 60%); border: 1px solid rgba(167, 139, 250, 0.22); }
.tc-chart-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.tc-chart-head span { display: block; font-size: 11px; color: var(--text-secondary); }
.tc-chart-head strong { font-family: var(--font-display); font-size: 22px; color: var(--text-white); }
.tc-chart-all { font-size: 11px; color: var(--text-muted); text-align: right; }
.tc-chart-all strong { display: block; font-size: 13px; color: #A78BFA; }
.tc-line { width: 100%; height: 100px; display: block; }
.tc-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.tc-ladder { padding: 12px 14px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.tc-ladder-head { display: grid; grid-template-columns: 34px 40px 1fr; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.tc-ladder-head span:last-child { text-align: right; }
.tc-rung { display: grid; grid-template-columns: 34px 40px 1fr 72px; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid var(--border-subtle); }
.tc-rung-lv { font-size: 12px; font-weight: 800; color: #A78BFA; }
.tc-rung-rate { font-size: 11px; color: var(--text-muted); }
.tc-rung-track { height: 6px; border-radius: 99px; background: var(--bg-surface-elevated); overflow: hidden; }
.tc-rung-track i { display: block; height: 100%; border-radius: 99px; background: #A78BFA; }
.tc-rung-amt { text-align: right; font-size: 12px; font-weight: 700; color: var(--text-white); }
.tc-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.tc-none { font-size: 12.5px; color: var(--text-muted); padding: 10px 2px; }
.tc-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tc-table td { padding: 9px 4px; border-bottom: 1px solid var(--border-subtle); }
.tc-when { color: var(--text-muted); white-space: nowrap; }
.tc-what { color: var(--text-primary); }
.tc-lv { color: #A78BFA; font-weight: 700; text-align: center; }
.tc-amt { text-align: right; font-weight: 700; color: var(--text-white); white-space: nowrap; }

/* ==========================================================================
   My Circle (circle/index)
   ========================================================================== */
.cc-orbit-wrap { padding: 6px 18px 4px; text-align: center; }
.cc-orbit { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.cc-ring { fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; stroke-dasharray: 2 4; }
.cc-ring--filled { stroke: rgba(255, 148, 66, 0.28); stroke-dasharray: none; }
.cc-dot { fill: #5B5B66; }
.cc-dot--active { fill: #FF9442; filter: drop-shadow(0 0 3px rgba(255, 148, 66, 0.9)); }
.cc-core-text { font-size: 9px; font-weight: 800; letter-spacing: .12em; fill: #FFFFFF; }
.cc-orbit-legend { display: flex; justify-content: center; gap: 14px; font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.cc-orbit-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cc-dot-key { width: 8px; height: 8px; border-radius: 50%; background: #5B5B66; }
.cc-dot-key--active { background: #FF9442; box-shadow: 0 0 6px rgba(255, 148, 66, 0.8); }

.cc-invite { padding: 14px; margin: 12px 0; border-radius: 18px; background: linear-gradient(135deg, #2A160B 0%, #17171B 70%); border: 1px solid var(--primary-soft-border); }
.cc-invite-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc-invite-k { font-size: 11px; color: var(--text-secondary); }
.cc-invite-code { font-size: 26px; font-weight: 800; letter-spacing: .14em; color: var(--primary-bright); }
.cc-invite-actions { display: flex; flex-direction: column; gap: 6px; }
.cc-btn { padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--text-on-accent); background: var(--primary-gradient); white-space: nowrap; }
.cc-btn--ghost { color: var(--primary-bright); background: transparent; border: 1px solid var(--primary-soft-border); }
.cc-invite-url { margin-top: 10px; padding: 8px 10px; border-radius: 10px; font-size: 10.5px; color: var(--text-secondary); background: rgba(0, 0, 0, 0.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cc-stat { padding: 12px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 2px; }
.cc-stat strong { font-family: var(--font-display); font-size: 18px; color: var(--text-white); }
.cc-stat span { font-size: 11px; color: var(--text-muted); }

.cc-heading { margin: 18px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.cc-levels { display: flex; flex-direction: column; gap: 8px; }
.cc-level { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); transition: border-color .2s, transform .15s; }
.cc-level:hover { border-color: var(--primary-soft-border); }
.cc-level:active { transform: scale(.99); }
.cc-level--empty { opacity: .62; }
.cc-level-badge { position: relative; flex: none; width: 44px; height: 44px; }
.cc-level-badge svg { width: 44px; height: 44px; }
.cc-level-track { fill: none; stroke: var(--bg-surface-elevated); stroke-width: 3; }
.cc-level-fill { fill: none; stroke: var(--primary-bright); stroke-width: 3; stroke-linecap: round; }
.cc-level-badge b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-white); }
.cc-level-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-level-title { font-size: 13.5px; font-weight: 700; color: var(--text-white); }
.cc-level-sub { font-size: 11px; color: var(--text-muted); }
.cc-level-rates { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.cc-level-rates em { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 99px; color: var(--primary-bright); background: var(--primary-soft-bg); }
.cc-level-rates em + em { color: #A78BFA; background: rgba(167, 139, 250, 0.12); }
.cc-level-earned { text-align: right; display: flex; flex-direction: column; }
.cc-level-earned strong { font-size: 13px; color: var(--inflow-green); }
.cc-level-earned small { font-size: 10.5px; color: var(--text-muted); }

.cc-howto { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.cc-howto-item { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
.cc-howto-item strong { color: var(--text-white); }
.cc-howto-ico { flex: none; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-bright); background: var(--primary-soft-bg); }

/* ==========================================================================
   My Circle level page (circle/level)
   ========================================================================== */
.cl-nav { display: flex; gap: 6px; min-width: 38px; justify-content: flex-end; }
.cl-dial { position: relative; padding: 16px 14px 12px; border-radius: 20px; background: radial-gradient(90% 100% at 50% 100%, rgba(255, 107, 26, 0.16), var(--bg-surface-card) 70%); border: 1px solid var(--border-subtle); text-align: center; }
.cl-dial svg { width: 100%; max-width: 240px; height: auto; display: block; margin: 0 auto; }
.cl-dial-track { fill: none; stroke: var(--bg-surface-elevated); stroke-width: 12; stroke-linecap: round; }
.cl-dial-fill { fill: none; stroke: var(--primary-bright); stroke-width: 12; stroke-linecap: round; }
.cl-dial-center { margin-top: -44px; }
.cl-dial-center strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--text-white); }
.cl-dial-center span { font-size: 11px; color: var(--text-muted); }
.cl-dial-steps { display: flex; justify-content: center; gap: 5px; margin-top: 14px; }
.cl-dial-steps a { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--bg-surface-elevated); }
.cl-dial-steps a.on { color: var(--text-on-accent); background: var(--primary-gradient); }

.cl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.cl-facts > div { padding: 10px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 2px; }
.cl-facts span { font-size: 10.5px; color: var(--text-muted); }
.cl-facts strong { font-family: var(--font-display); font-size: 17px; color: var(--text-white); }
.cl-facts .cl-facts-wide { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.22); }
.cl-facts-wide strong { color: var(--inflow-green); }

.cl-rates { display: flex; gap: 8px; }
.cl-rates span { flex: 1; padding: 9px 10px; border-radius: 12px; font-size: 11.5px; color: var(--text-secondary); border: 1px dashed var(--border-strong); text-align: center; }
.cl-rates b { color: var(--primary-bright); margin-left: 4px; }
.cl-rates span.off { opacity: .5; }

.cl-heading { display: flex; justify-content: space-between; margin: 18px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.cl-member { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 8px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.cl-member--live { border-color: rgba(255, 148, 66, 0.25); }
.cl-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #FFFFFF; background: linear-gradient(135deg, hsl(var(--hue), 70%, 55%), hsl(calc(var(--hue) + 40), 70%, 40%)); }
.cl-member-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-member-main strong { font-size: 13.5px; color: var(--text-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-member-main small { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-member-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cl-member-side small { font-size: 10px; color: var(--text-muted); }
.cl-pill { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; color: var(--text-muted); background: var(--bg-surface-elevated); white-space: nowrap; }
.cl-member--live .cl-pill { color: var(--primary-bright); background: var(--primary-soft-bg); }

.cl-empty { text-align: center; padding: 26px 16px; border-radius: 18px; border: 1px dashed var(--border-strong); }
.cl-empty svg { width: 56px; height: 56px; }
.cl-empty-ring { fill: none; stroke: var(--primary-soft-border); stroke-width: 2; stroke-dasharray: 3 5; }
.cl-empty-core { fill: var(--primary-bright); opacity: .7; }
.cl-empty-title { font-size: 14px; font-weight: 700; color: var(--text-white); margin-top: 8px; }
.cl-empty-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.cl-empty-link { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--primary-bright); }

/* ==========================================================================
   Payout Keyring (wallet/bind)
   ========================================================================== */
.kr-hero { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: radial-gradient(120% 120% at 0% 0%, rgba(255, 107, 26, 0.14), var(--bg-surface-card) 60%); border: 1px solid var(--border-subtle); }
.kr-ring { position: relative; flex: none; width: 104px; height: 104px; }
.kr-ring svg { width: 100%; height: 100%; overflow: visible; }
.kr-ring-wire { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.kr-ring-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kr-ring-core strong { font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--text-white); }
.kr-ring-core span { font-size: 10px; color: var(--text-muted); }
.kr-hero-text { min-width: 0; }
.kr-hero-title { font-size: 14.5px; font-weight: 700; color: var(--text-white); }
.kr-hero-text p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-secondary); }

.kr-label { margin: 18px 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.kr-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kr-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 16px; background: var(--bg-surface-card); border: 1px dashed var(--border-strong); cursor: pointer; text-align: center; transition: border-color .2s, background .2s, transform .15s; }
.kr-slot input { position: absolute; opacity: 0; pointer-events: none; }
.kr-slot:has(input:checked) { border-style: solid; border-color: var(--coin); background: var(--coin-bg); transform: translateY(-2px); }
.kr-slot:has(input:focus-visible) { outline: 2px solid var(--coin); outline-offset: 2px; }
.kr-slot.is-sealed { cursor: default; border-style: solid; border-color: var(--border-subtle); background: linear-gradient(180deg, var(--coin-bg), var(--bg-surface-card) 75%); }
.kr-slot-chip { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--coin); }
.kr-slot-net { font-size: 10px; color: var(--text-muted); }
.kr-slot-state { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 10px; font-weight: 700; color: var(--inflow-green); }
.kr-slot-state svg { width: 11px; height: 11px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.kr-slot-state--open { color: var(--text-secondary); }
.kr-slot:has(input:checked) .kr-slot-state--open { color: var(--coin); }
.kr-slot-tail { max-width: 100%; font-size: 9px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kr-form { margin-top: 14px; }
.kr-cut { padding: 14px; border-radius: 18px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.kr-cut-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--text-white); }
.kr-cut-head em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; color: var(--primary-bright); background: var(--primary-soft-bg); }
.kr-address { width: 100%; box-sizing: border-box; resize: none; padding: 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; word-break: break-all; color: var(--text-white); background: var(--bg-surface-input); border: 1px solid var(--border-strong); }
.kr-address:focus { outline: none; border-color: var(--primary-bright); }
.kr-hint { margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.kr-readback { margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.kr-readback-k { font-size: 10.5px; color: var(--text-secondary); margin-bottom: 6px; }
.kr-chunks { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; }
.kr-chunks span { padding: 2px 5px; border-radius: 6px; color: var(--text-muted); background: var(--bg-surface-elevated); }
.kr-chunks span.is-edge { color: var(--text-on-accent); background: var(--primary-accent); font-weight: 700; }
.kr-readback-len { margin-top: 6px; font-size: 10px; color: var(--text-muted); text-align: right; }

.kr-seals { position: relative; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.kr-seals::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; border-left: 2px dotted var(--primary-soft-border); }
.kr-seal { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.kr-seal-no { flex: none; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--primary-bright); background: var(--bg-app-shell); border: 2px solid var(--primary-soft-border); }
.kr-seal-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.kr-seal-title { font-size: 12.5px; font-weight: 700; color: var(--text-white); }
.kr-seal-note { font-size: 10.5px; color: var(--text-muted); }
.kr-digits { width: 100%; max-width: 150px; min-width: 0; box-sizing: border-box; height: 46px; padding: 0 12px; border-radius: 12px; font-size: 20px; letter-spacing: .5em; text-align: center; color: var(--text-white); background: var(--bg-surface-input); border: 1px solid var(--border-strong); }
.kr-digits:focus { outline: none; border-color: var(--primary-bright); }
.kr-code-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kr-code-row .kr-digits { flex: 1 1 110px; }
.kr-send { flex: 1 1 120px; height: 46px; padding: 0 12px; border-radius: 12px; font-size: 12px; font-weight: 700; color: var(--primary-bright); background: var(--primary-soft-bg); border: 1px solid var(--primary-soft-border); }
.kr-send:disabled { color: var(--text-muted); background: var(--bg-surface-elevated); border-color: var(--border-subtle); }
.kr-submit { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.kr-submit svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.kr-fine { margin-top: 10px; font-size: 11px; line-height: 1.55; color: var(--text-muted); text-align: center; }
.kr-done { margin-top: 14px; padding: 16px; border-radius: 18px; text-align: center; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.22); }
.kr-done-title { font-size: 14px; font-weight: 700; color: var(--inflow-green); }
.kr-done p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 360px) {
  .kr-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kr-ring { width: 84px; height: 84px; }
}

/* Wallet — report icons */
.wl-heading { margin: 4px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.wl-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
.wl-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.wl-ico { width: 58px; height: 58px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--c); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 8%, var(--bg-surface-card)) 70%); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); transition: transform .15s; }
.wl-icon:active .wl-ico { transform: scale(.94); }
.wl-ico svg { width: 26px; height: 26px; }
.wl-ico--out { --c: #F87171; }
.wl-ico--in { --c: #34D399; }
.wl-ico--bot { --c: #FF9442; }
.wl-ico--ref { --c: #38BDF8; }
.wl-ico--team { --c: #A78BFA; }
.wl-ico--all { --c: #FBBF24; }
.wl-icon-title { font-size: 12px; font-weight: 700; color: var(--text-white); }
.wl-icon-stat { max-width: 100%; font-size: 10.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   Cash out (withdraw/index)
   ========================================================================== */
.wd-tank { padding: 12px 14px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.wd-tank-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; color: var(--text-secondary); }
.wd-tank-top strong { font-family: var(--font-display); font-size: 16px; color: var(--text-white); }
.wd-tank-bar { margin-top: 8px; height: 10px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--bg-surface-elevated) 0 8px, rgba(255, 255, 255, 0.03) 8px 10px); overflow: hidden; }
.wd-tank-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--primary-gradient); transition: width .25s; }
.wd-tank-bar i.over { background: var(--outflow-coral); }
.wd-tank-foot { margin-top: 6px; font-size: 10.5px; color: var(--text-muted); text-align: right; }

.wd-display { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 18px 0 14px; cursor: text; }
.wd-display-k { font-size: 12px; color: var(--text-secondary); }
.wd-display-v { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.wd-display-v b { font-family: var(--font-display); font-size: 28px; color: var(--primary-bright); }
.wd-display-v input { width: 7ch; min-width: 0; padding: 0; font-family: var(--font-display); font-size: 46px; font-weight: 700; text-align: center; color: var(--text-white); background: transparent; border: none; border-bottom: 2px dashed var(--primary-soft-border); -moz-appearance: textfield; }
.wd-display-v input::-webkit-outer-spin-button, .wd-display-v input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wd-display-v input:focus { outline: none; border-bottom-color: var(--primary-bright); }
.wd-display-hint { font-size: 11px; color: var(--text-muted); }
.wd-display-hint.bad { color: var(--outflow-coral); }

.wd-split { padding: 12px 14px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.wd-split-bar { display: flex; gap: 3px; height: 14px; }
.wd-split-bar i { display: block; min-width: 0; border-radius: 6px; transition: flex-grow .25s; }
.wd-split-net { flex: 1 1 0; background: linear-gradient(90deg, rgba(52, 211, 153, 0.5), var(--inflow-green)); }
.wd-split-fee { flex: 0 1 0; background: var(--outflow-coral); }
.wd-split-legend { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.wd-split-legend span { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-secondary); }
.wd-split-legend strong { margin-left: auto; color: var(--text-white); }
.wd-split-legend em { width: 8px; height: 8px; border-radius: 3px; }
.wd-k-net { background: var(--inflow-green); }
.wd-k-fee { background: var(--outflow-coral); }

.wd-label { margin: 18px 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.wd-routes { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.wd-routes::-webkit-scrollbar { display: none; }
.wd-route { position: relative; flex: none; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-strong); cursor: pointer; transition: border-color .2s, background .2s; }
.wd-route input { position: absolute; opacity: 0; pointer-events: none; }
.wd-route:has(input:checked) { border-color: var(--coin); background: var(--coin-bg); }
.wd-route:has(input:focus-visible) { outline: 2px solid var(--coin); outline-offset: 2px; }
.wd-route-sym { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--coin); }
.wd-route-net { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.wd-route--locked { border-style: dashed; opacity: .55; }

.wd-nokey { margin-top: 14px; padding: 16px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; text-align: center; background: var(--warning-bg); border: 1px solid rgba(251, 191, 36, 0.3); }
.wd-nokey strong { color: var(--warning-accent); font-size: 13.5px; }
.wd-nokey span { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }

.wd-sign { margin-top: 14px; padding: 14px; border-radius: 18px; background: repeating-linear-gradient(135deg, var(--bg-surface-card) 0 12px, #1D1D22 12px 13px); border: 1px solid var(--border-subtle); }
.wd-sign-head { font-size: 13px; font-weight: 700; color: var(--text-white); margin-bottom: 10px; }
.wd-sign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wd-sign-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wd-sign-field span { font-size: 11px; color: var(--text-secondary); }
.wd-sign-field .kr-digits { max-width: none; }
.wd-send { width: 100%; margin-top: 10px; }
.wd-go { margin-top: 14px; }
.wd-eta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   Top up (deposit/index)
   ========================================================================== */
.dp-step { display: flex; align-items: center; gap: 8px; margin: 6px 2px 10px; font-size: 13px; font-weight: 700; color: var(--text-white); }
.dp-step span { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--primary-bright); background: var(--primary-soft-bg); border: 1px solid var(--primary-soft-border); }
.dp-tokens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dp-token { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--coin-bg), var(--bg-surface-card) 70%); border: 2px solid var(--border-strong); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.dp-token input { position: absolute; opacity: 0; pointer-events: none; }
.dp-token:has(input:checked) { border-color: var(--coin); transform: scale(1.04); box-shadow: 0 0 0 4px var(--coin-bg), 0 10px 24px rgba(0, 0, 0, 0.4); }
.dp-token:has(input:focus-visible) { outline: 2px solid var(--coin); outline-offset: 3px; }
.dp-token-coin { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--coin); }
.dp-token-net { font-size: 10px; color: var(--text-muted); }
.dp-token-tag { position: absolute; top: 2px; right: 2px; padding: 2px 6px; border-radius: 99px; font-size: 9px; font-weight: 800; color: #0D0D0F; background: var(--inflow-green); }
.dp-coinline { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 20px; padding: 9px 12px; border-radius: 12px; font-size: 11.5px; color: var(--text-muted); background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.dp-coinline strong { color: var(--text-white); }

.dp-meter { padding: 16px 14px 14px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 107, 26, 0.12), var(--bg-surface-card) 65%); border: 1px solid var(--border-subtle); }
.dp-meter-input { display: flex; align-items: baseline; justify-content: center; gap: 4px; cursor: text; }
.dp-meter-input b { font-family: var(--font-display); font-size: 28px; color: var(--primary-bright); }
.dp-meter-input input { width: 6ch; min-width: 0; padding: 0; font-family: var(--font-display); font-size: 46px; font-weight: 700; text-align: center; color: var(--text-white); background: transparent; border: none; border-bottom: 2px dashed var(--primary-soft-border); -moz-appearance: textfield; }
.dp-meter-input input::-webkit-outer-spin-button, .dp-meter-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dp-meter-input input:focus { outline: none; border-bottom-color: var(--primary-bright); }
.dp-meter-send { margin-top: 6px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.dp-meter-send strong { color: var(--inflow-green); }
.dp-meter-send.bad { color: var(--outflow-coral); }

.dp-tiers { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.dp-tier { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; opacity: .55; transition: opacity .2s; }
.dp-tier.on { opacity: 1; }
.dp-tier i { grid-column: 1 / -1; order: 3; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--primary-bright) var(--fill, 0%), var(--bg-surface-elevated) var(--fill, 0%)); }
.dp-tier span { font-size: 12px; font-weight: 700; color: var(--text-white); }
.dp-tier small { font-size: 10.5px; color: var(--text-muted); }
.dp-unlock { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-strong); font-size: 12px; line-height: 1.5; color: var(--text-secondary); text-align: center; }
.dp-unlock strong { color: var(--primary-bright); }

.dp-agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--text-secondary); cursor: pointer; }
.dp-agree input { margin-top: 2px; accent-color: var(--primary-accent); }
.dp-agree strong { color: var(--text-white); }
.dp-go { margin-top: 14px; }
.dp-fine { margin-top: 10px; font-size: 11px; line-height: 1.5; color: var(--text-muted); text-align: center; }

/* ==========================================================================
   Bots slider (bots/index)
   ========================================================================== */
.bs-header-text { flex: 1; text-align: center; min-width: 0; }
.bs-header-sub { font-size: 10.5px; color: var(--text-muted); margin-top: 1px; }
.bs-header-count { font-size: 13px; font-weight: 800; color: var(--primary-bright); }

.bs-balance { display: flex; justify-content: space-between; align-items: center; margin: 4px 18px 12px; padding: 10px 14px; border-radius: 14px; font-size: 11.5px; color: var(--text-secondary); background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.bs-balance strong { font-family: var(--font-display); font-size: 15px; color: var(--text-white); }

.bs-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 18px; scroll-padding: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bs-slider::-webkit-scrollbar { display: none; }

.bs-card { --accent: #FF9442; --accent-soft: rgba(255, 148, 66, 0.18); position: relative; flex: 0 0 86%; scroll-snap-align: center; overflow: hidden; padding: 14px; border-radius: 24px; background: linear-gradient(160deg, #22242B 0%, #15161A 100%); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45); isolation: isolate; }
.bs-card.bot-card--arbinova { --accent: #FF9442; --accent-soft: rgba(255, 148, 66, 0.18); background: linear-gradient(160deg, #2A1E17 0%, #15161A 70%); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45); }
.bs-card.bot-card--nexora { --accent: #A78BFA; --accent-soft: rgba(167, 139, 250, 0.18); background: linear-gradient(160deg, #221D33 0%, #15161A 70%); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45); }
.bs-card.bot-card--cryptopulse { --accent: #2DD4BF; --accent-soft: rgba(45, 212, 191, 0.18); background: linear-gradient(160deg, #142A2B 0%, #15161A 70%); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45); }
.bs-card-bg { position: absolute; right: -18%; bottom: -10%; width: 85%; z-index: -1; opacity: .16; filter: blur(6px) saturate(1.2); border-radius: 50%; pointer-events: none; }
.bs-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 50% at 100% 0%, var(--accent-soft), transparent 70%); pointer-events: none; }

.bs-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--text-white); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.bs-chip-ico { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--accent); }
.bs-eye { flex: none; width: 42px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.bs-eye svg { width: 18px; height: 18px; }
.bs-eye .bs-eye-shut { display: none; }
.bs-amounts-hidden .bs-eye .bs-eye-open { display: none; }
.bs-amounts-hidden .bs-eye .bs-eye-shut { display: inline; }
.bs-amounts-hidden [data-money] { color: transparent !important; text-shadow: 0 0 10px rgba(255, 255, 255, 0.55); user-select: none; }

.bs-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 16px; }
.bs-main-left { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bs-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.bs-big { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--text-white); white-space: nowrap; }
.bs-big small { font-size: 18px; color: var(--text-secondary); }
.bs-big em { font-style: normal; font-size: 18px; color: var(--text-secondary); }
.bs-range { flex: none; display: flex; padding: 3px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.bs-range button { padding: 6px 7px; border-radius: 10px; font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.bs-range button.on { color: #0D0D0F; background: #FFFFFF; font-weight: 800; }

.bs-spark { position: relative; height: 44px; margin-top: 10px; }
.bs-spark svg { width: 100%; height: 100%; }
.bs-spark-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bs-spark-empty { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 11.5px; color: var(--text-muted); }
.bs-card.is-empty .bs-spark-line { stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 3 4; }
.bs-card.is-empty .bs-spark-empty { display: flex; }

.bs-earned { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--text-secondary); }
.bs-earned strong { font-size: 13.5px; color: var(--inflow-green); }

.bs-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bs-tile { padding: 11px 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.bs-tile span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.bs-tile strong { font-family: var(--font-display); font-size: 20px; color: var(--text-white); }
.bs-tile strong em { font-style: normal; font-size: 12px; color: var(--text-secondary); }
.bs-tile strong.bs-tile-sm { font-size: 14px; padding-top: 4px; }

.bs-help { flex: none; width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; line-height: 1; color: var(--text-secondary); border: 1.5px solid currentColor; background: transparent; }
.bs-help:hover, .bs-help:focus-visible { color: var(--accent, var(--primary-bright)); }

.bs-go { width: 100%; margin-top: 14px; padding: 12px; border-radius: 14px; font-size: 13.5px; font-weight: 800; color: #0D0D0F; background: var(--accent); box-shadow: 0 8px 20px var(--accent-soft); }
.bs-go:active { transform: scale(.98); }

.bs-dots { display: flex; justify-content: center; gap: 6px; margin-top: -6px; }
.bs-dots button { width: 7px; height: 7px; border-radius: 99px; background: var(--border-strong); transition: width .2s, background .2s; }
.bs-dots button.on { width: 20px; background: var(--primary-bright); }

.bs-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 20px 18px 8px; }
.bs-action { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-primary); text-align: center; }
.bs-action span { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--text-white); background: var(--bg-surface-card); border: 1px solid var(--border-strong); transition: transform .15s, border-color .2s; }
.bs-action:active span { transform: scale(.94); border-color: var(--primary-soft-border); }
.bs-action svg { width: 24px; height: 24px; }

.bs-tip-bubble { position: fixed; z-index: 60; padding: 10px 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.5; color: var(--text-primary); background: #2A2A31; border: 1px solid var(--border-strong); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }

@media (max-width: 360px) {
  .bs-main { flex-direction: column; }
  .bs-range { align-self: stretch; justify-content: space-between; }
  .bs-big { font-size: 26px; }
}

/* Brand lockup (partials/logo) */
.brand-logo { display: inline-flex; align-items: center; gap: calc(var(--brand-size) * 0.22); }
.brand-logo-mark { flex: none; display: block; }
.brand-logo-word { font-family: var(--font-display); font-size: calc(var(--brand-size) * 0.56); font-weight: 700; letter-spacing: -0.02em; color: var(--text-white); line-height: 1; }

/* Company registration strip (partials/company-certificate) */
.co-cert { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); text-align: left; }
.co-cert-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary-bright); background: var(--primary-soft-bg); }
.co-cert-ico svg { width: 18px; height: 18px; }
.co-cert-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.co-cert-text strong { font-size: 12.5px; color: var(--text-white); }
.co-cert-text small { font-size: 10.5px; color: var(--text-muted); }
.co-cert-actions { flex: none; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.co-cert-actions a { font-size: 11.5px; font-weight: 700; color: var(--primary-bright); }

/* Earnings report: capital earned back (bots run non-stop) */
.be-recover { height: 8px; margin: 12px 0 8px; border-radius: 99px; background: var(--bg-surface-elevated); overflow: hidden; }
.be-recover i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #38BDF8, #34D399); }

/* Dashboard company tiles */
.dq-company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 16px; }
.dq-tile { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); min-width: 0; }
.dq-tile:active { transform: scale(.98); }
.dq-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--primary-bright); background: var(--primary-soft-bg); }
.dq-ico svg { width: 18px; height: 18px; }
.dq-text { display: flex; flex-direction: column; min-width: 0; }
.dq-text strong { font-size: 12.5px; color: var(--text-white); }
.dq-text small { font-size: 10.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* About us */
.ab { padding-bottom: 28px; }
.ab-hero { padding: 18px 16px; border-radius: 22px; background: radial-gradient(120% 100% at 0% 0%, rgba(255, 107, 26, 0.18), var(--bg-surface-card) 60%); border: 1px solid var(--border-subtle); }
.ab-hero h1 { margin: 14px 0 6px; font-family: var(--font-display); font-size: 24px; line-height: 1.2; color: var(--text-white); }
.ab-hero p { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
.ab-block { margin-top: 18px; }
.ab-block > p { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
.ab-block > p strong { color: var(--text-white); }
.ab-k { margin: 0 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-bright); }
.ab-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ab-facts > div { padding: 10px 12px; border-radius: 14px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ab-facts span { font-size: 10.5px; color: var(--text-muted); }
.ab-facts strong { font-size: 13px; color: var(--text-white); }
.ab-steps { list-style: none; counter-reset: ab; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.ab-steps li { counter-increment: ab; position: relative; padding: 12px 12px 12px 48px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 3px; }
.ab-steps li::before { content: counter(ab); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--text-on-accent); background: var(--primary-gradient); }
.ab-steps b { font-size: 13px; color: var(--text-white); }
.ab-steps span { font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
.ab-bots { display: flex; flex-direction: column; gap: 8px; }
.ab-bot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.ab-bot-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.ab-bot-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ab-bot-main strong { font-size: 13px; color: var(--text-white); }
.ab-bot-main span { font-size: 11px; color: var(--text-muted); }
.ab-bot em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--inflow-green); }
.ab-note { margin-top: 8px; font-size: 11px !important; color: var(--text-muted) !important; }
.ab-values { display: flex; flex-direction: column; gap: 8px; }
.ab-values > div { padding: 11px 12px; border-radius: 14px; border: 1px dashed var(--border-strong); display: flex; flex-direction: column; gap: 3px; }
.ab-values b { font-size: 12.5px; color: var(--text-white); }
.ab-values span { font-size: 11.5px; line-height: 1.5; color: var(--text-secondary); }

/* Dashboard company row: three compact tiles */
.dq-company { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dq-company .dq-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 11px 10px; }

/* Support (support.blade.php) */
.sp { padding-bottom: 28px; }
.sp-hero { padding: 20px 16px; border-radius: 22px; text-align: center; background: radial-gradient(120% 100% at 50% 0%, rgba(56, 189, 248, 0.16), var(--bg-surface-card) 65%); border: 1px solid var(--border-subtle); }
.sp-hero-ico { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFFFFF; background: linear-gradient(135deg, #38BDF8, #0284C7); box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35); }
.sp-hero-ico svg { width: 26px; height: 26px; margin-left: -2px; }
.sp-hero h1 { font-family: var(--font-display); font-size: 22px; color: var(--text-white); margin-bottom: 6px; }
.sp-hero p { font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); }
.sp-k { margin: 18px 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.sp-list { display: flex; flex-direction: column; gap: 8px; }
.sp-contact { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: var(--bg-surface-card); border: 1px solid var(--border-subtle); }
.sp-contact:active { transform: scale(.99); }
.sp-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #FFFFFF; background: linear-gradient(135deg, hsl(var(--hue), 70%, 55%), hsl(calc(var(--hue) + 40), 70%, 40%)); }
.sp-contact-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-contact-main strong { font-size: 13.5px; color: var(--text-white); }
.sp-contact-main small { font-size: 11.5px; color: #38BDF8; }
.sp-open { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.sp-group { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), var(--bg-surface-card)); border: 1px solid rgba(56, 189, 248, 0.3); }
.sp-group strong { display: block; font-size: 13.5px; color: var(--text-white); }
.sp-group small { font-size: 11px; color: var(--text-secondary); }
.sp-group-btn { flex: none; padding: 8px 16px; border-radius: 12px; font-size: 12.5px; font-weight: 800; color: #FFFFFF; background: linear-gradient(135deg, #38BDF8, #0284C7); }
.sp-empty { margin-top: 16px; padding: 16px; border-radius: 16px; text-align: center; font-size: 12.5px; color: var(--text-secondary); border: 1px dashed var(--border-strong); }
.sp-safety { margin-top: 18px; padding: 12px 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; background: var(--warning-bg); border: 1px solid rgba(251, 191, 36, 0.28); }
.sp-safety b { font-size: 12.5px; color: var(--warning-accent); }
.sp-safety span { font-size: 11.5px; line-height: 1.5; color: var(--text-secondary); }
