/* abuzzlist Component Styles */

/* Top Navigation */
.topnav {
  background: #000;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topnav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;
  color: #fff;
  font-weight: 800;
}

.topnav img {
  height: 32px;
}

.topnav .search {
  flex: 1;
  margin: 0 24px;
}

.topnav input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--search-border);
  background: var(--search-bg);
  color: var(--search-ink);
  font-size: 1em;
}

.topnav .user {
  margin-right: 24px;
  color: #fff;
  font-weight: 700;
}

.topnav .user a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
}

.topnav .user a:hover,
.topnav .user a:focus-visible {
  color: var(--accent);
  outline: none;
}

/* Cards */
.card,
.tile,
.store,
.msg,
.hero,
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Responsive media helpers */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.media { overflow: hidden; border-radius: inherit; }

/* Touch target minimums */
.button, .nav-link, button, a[role="button"] { min-height: 44px; min-width: 44px; }

/* Pills/Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.pill .icon {
  font-weight: 800;
}

/* Scope tabs */
.scope {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.scope button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--ink);
}

.scope button.active {
  background: var(--ink);
  color: var(--accent);
}

/* Search bar */
.searchBar {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
}

/* Hint text */
.hint {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  justify-content: space-between;
}

.hint button {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
}

/* Section headers */
.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
}

.sectionHead h2 {
  margin: 0;
  font-size: 1.15rem;
}

/* Rails (horizontal scrolling) */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 26vw, 260px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

/* Lists */
.list {
  display: grid;
  gap: 10px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.row .ph {
  width: 64px;
  height: 64px;
  background: var(--muted);
  border-radius: 8px;
}

/* Chips */
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  white-space: nowrap;
}

/* Grids */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr);
}

.col-4 {
  grid-column: span 4;
}

.col-6 {
  grid-column: span 6;
}

@media (max-width: 1000px) {
  .col-4 {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .col-4,
  .col-6 {
    grid-column: span 12;
  }
  
  .topnav {
    flex-direction: column;
    gap: 8px;
  }
  
  .topnav .search,
  .topnav .user {
    margin: 0;
  }
}

