/* ==========================================================================
   Planning Poker Web - Responsive Rules (responsive.css)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 960px) {
  .room-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sidebar-card {
    position: static;
  }

  .deck-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

/* Mobile Devices */
@media (max-width: 640px) {
  .app-header {
    padding: 0.6rem 1rem;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-tagline {
    display: none;
  }

  .app-main {
    padding: 1rem;
  }

  .lobby-card {
    padding: 1.5rem 1.25rem;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .room-nav {
    gap: 0.5rem;
  }

  .user-pill {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .user-name {
    max-width: 90px;
  }

  .arena-header {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.75rem;
  }

  .host-controls {
    justify-content: stretch;
  }

  .host-controls .btn {
    flex: 1;
  }

  .deck-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }

  .poker-card {
    border-radius: var(--radius-sm);
  }

  .card-number {
    font-size: 1.75rem;
  }

  .card-corner-top, .card-corner-bottom {
    font-size: 0.65rem;
    top: 4px;
    left: 5px;
  }

  .card-corner-bottom {
    bottom: 4px;
    right: 5px;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
