/* ── Status bar spacer (native status bar renders on top) ── */
.statusbar {
  height: env(safe-area-inset-top, 44px);
  flex-shrink: 0;
}
.statusbar-time, .statusbar-icons { display: none; }

/* ── Header ── */
.header {
  padding: 12px 20px 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(200, 85, 255, 0.8);
}
.logo span { color: var(--text); }
.header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-dim), var(--neon));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 2px solid var(--neon);
  box-shadow: 0 0 12px rgba(200,85,255,0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(200,85,255,0.6);
}
.header-avatar:active { transform: scale(0.98); }

/* ── Screen content ── */
.screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.screen::-webkit-scrollbar { display: none; }

/* ── Tab content visibility ── */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Bottom nav ── */
.bottom-nav {
  min-height: 64px; background: var(--dark2);
  border-top: 1px solid var(--dark4);
  display: flex; align-items: flex-start;
  padding-top: 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}
.bottom-nav::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-dim), transparent);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 4px; cursor: pointer; padding: 4px 0;
  transition: all 0.2s;
}
.nav-icon { font-size: 22px; transition: transform 0.2s; }
.nav-label { font-size: 9px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); transition: color 0.2s; }
.nav-item.active .nav-label { color: var(--neon); }
.nav-item.active .nav-icon { transform: translateY(-2px); filter: drop-shadow(0 0 6px rgba(200,85,255,0.8)); }
.nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--neon); margin-top: -2px; opacity: 0; transition: opacity 0.2s; }
.nav-item.active .nav-dot { opacity: 1; }
