/**
 * Talk to Launch — Tokyo Night (main theme).
 * Rain texture, neon logo panel, restrained glow. Uses Inter / JetBrains Mono from :root.
 */

body.theme-tokyo {
  --deep-squid:   #0f1419;
  --squid-ink:    #0f1419;
  --sidebar-bg:   #0c1015;
  --surface:      #1a2332;
  --surface-2:    #1f2a3c;
  --surface-3:    #253246;
  --border:       #2a3548;
  --border-light: #3a4a62;
  --text:         #c8d0dc;
  --text-bright:  #f0f4f8;
  --text-muted:   #8899a8;
  --text-dim:     #5f7080;
  --brand-primary: #4aa8ff;
  --brand-primary-hover: #7ec4ff;
  --brand-primary-dim: #2d8fd9;
  --brand-glow: rgba(74, 168, 255, .14);
  --brand-glow-2: rgba(74, 168, 255, .22);
  --brand-border: rgba(74, 168, 255, .24);
  --ember-glow: var(--brand-glow);
  --ember-glow-2: var(--brand-glow-2);
}

body.theme-tokyo,
body.theme-tokyo html {
  background: var(--deep-squid);
}

body.theme-tokyo .app-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(74, 168, 255, .03) 100%),
    repeating-linear-gradient(
      105deg,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, .015) 80px,
      rgba(255, 255, 255, .015) 81px
    );
  animation: ttlRain 8s linear infinite;
}

@keyframes ttlRain {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 200px, 40px 200px; }
}

body.theme-tokyo .sidebar,
body.theme-tokyo .layout { position: relative; z-index: 1; }

body.theme-tokyo .sidebar-brand {
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

body.theme-tokyo .ttl-logo-row .ttl-logo-panel--tokyo {
  flex: 1;
  min-width: 0;
}

body.theme-tokyo .ttl-logo-row .sidebar-close {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 14px;
  margin-right: 6px;
}

body.theme-tokyo .nav-item.active {
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 6px 6px 0;
}

body.theme-tokyo .auth-screen {
  background: #0a0e13;
}

body.theme-tokyo .auth-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: 0 0 40px rgba(74, 168, 255, .12);
}

body.theme-tokyo .auth-brand-zone {
  margin: 0 -36px 28px;
  padding: 24px 36px 22px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  display: flex;
  justify-content: center;
}

body.theme-tokyo .hero h2 em {
  text-shadow: 0 0 30px rgba(74, 168, 255, .4);
}

body.theme-tokyo .topbar {
  background: rgba(15, 20, 25, .9);
  backdrop-filter: blur(12px);
}

body.theme-tokyo .ttl-deco-shape {
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: .04;
  filter: blur(20px);
  transform: none;
  animation: ttlBokeh 6s ease-in-out infinite alternate;
}

@keyframes ttlBokeh {
  from { transform: scale(1) translateY(0); opacity: .03; }
  to { transform: scale(1.2) translateY(-10px); opacity: .07; }
}
