/* =========================================
   SMOOTH VEGA PODCAST — Mobile Tab Bar
   ========================================= */

.tab-bar {
  display: none;
}

@media (max-width: 600px) {
  .tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(52px + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--bg-elevated);
    border-top: 1px solid var(--glass-border);
    z-index: 800;
    justify-content: space-around;
    align-items: center;
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    color: var(--text-dim);
    transition: color var(--transition-fast);
    text-decoration: none;
  }

  .tab-item:active svg {
    animation: tabBounce 300ms ease;
  }

  @keyframes tabBounce {
    0% { transform: scale(1); }
    40% { transform: scale(0.85); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

  .tab-item.active {
    color: var(--text-primary);
  }

  .tab-item svg {
    width: 20px;
    height: 20px;
  }

  .tab-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Mini player sits above tab bar */
  .mini-player {
    bottom: calc(52px + var(--safe-bottom));
  }

  .toast {
    bottom: calc(var(--mini-player-height) + 52px + 16px + var(--safe-bottom));
  }

  body {
    padding-bottom: calc(var(--mini-player-height) + 52px + var(--safe-bottom));
  }
}
