/* landing.css — featured tile grid on empty state */

#empty-state {
  padding: 0;
  text-align: left;
  max-width: none;
  align-items: stretch;
}

/* Hero bar */
.lp-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 20px 8px;
}

.lp-copy h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}

.lp-copy p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 440px;
}

.lp-shuffle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.lp-shuffle:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.lp-shuffle.spinning {
  animation: lp-spin 0.4s ease;
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

/* Section label */
.lp-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 14px 20px 6px;
}

/* Stats bar */
.lp-stats {
  display: flex;
  gap: 0;
  margin: 8px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-right: 1px solid var(--border);
}

.lp-stat:last-child { border-right: none; }

.lp-stat-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.lp-stat-lbl {
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.3;
}

/* Grid wrapper — overrides list-layout specifics from tiles.css */
.lp-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 8px;
  padding: 0 12px 28px;
}

/* Reset tile-card list margins inside the grid */
.lp-tile-grid .tile-card {
  width: 100%;
  margin: 0;
  padding: 10px 12px 10px 0;
}

/* Let the snippet wrap to 2 lines instead of truncating */
.lp-tile-grid .lp-snippet {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: unset;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 700px) {
  .lp-tile-grid {
    grid-template-columns: 1fr;
    padding: 0 8px 100px; /* clear sticky ad + insight bar */
  }
  .lp-hero {
    padding: 18px 16px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .lp-shuffle {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .lp-label { margin: 10px 16px 4px; }
  .lp-copy h1 { font-size: 1.2rem; }
  .lp-copy p { font-size: 0.8125rem; }
}
