/* Mobile top bar + bottom nav (see Layout.tsx) */

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }
}

.mobile-top-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  background: rgba(8, 6, 4, 0.96);
  border-bottom: 1px solid var(--border-brass);
  backdrop-filter: blur(12px);
}

.layout--mobile .mobile-top-bar {
  display: flex;
}

.mobile-top-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}

.mobile-top-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brass-light);
  letter-spacing: 0.04em;
}

.mobile-top-stats {
  margin-left: auto;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.35;
}

.mobile-top-stats span {
  display: block;
  color: var(--text-muted);
  font-size: 0.55rem;
}

.layout--mobile .main-with-status {
  padding-top: 52px;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  align-items: stretch;
  justify-content: space-around;
  gap: 0;
  background: rgba(8, 6, 4, 0.98);
  border-top: 1px solid var(--border-brass);
  backdrop-filter: blur(16px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
}

.layout--mobile .mobile-bottom-nav {
  display: flex;
}

.mobile-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  min-height: 52px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-bottom-nav-item.active,
.mobile-bottom-nav-item:hover {
  color: var(--neon-cyan);
}

.mobile-bottom-nav-item.active {
  background: rgba(0, 245, 255, 0.08);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.mobile-more-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  max-height: 55vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(12, 10, 8, 0.98);
  border-top: 1px solid var(--border-brass);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-more-sheet.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-more-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 48px;
}

.mobile-more-link.active {
  background: rgba(0, 245, 255, 0.1);
  color: var(--neon-cyan);
}

.mobile-more-link svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}
