/* News, Store and Leaderboard in the homepage's style: a large centred title, a quiet lead line,
   then flat panels with 14px corners and hairline borders. Nothing here touches the scripts that
   fill these pages - it only restyles the classes they already render. */

/* ---- page title (all three) ---- */
.page-head, .lb-header { text-align: center; padding: 88px 24px 40px; max-width: 1200px; margin: 0 auto; }
.page-head h1, .lb-header h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; margin: 0 auto; max-width: 880px; }
.page-head p, .lb-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 560px; margin: 18px auto 0; }
.page-head .container { max-width: none; padding: 0; }

/* ---- News ---- */
.updates-list { max-width: 820px; margin: 0 auto; padding: 0 24px 24px; display: grid; gap: 14px; }
.news-card, .update-card { padding: 32px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, transform .25s; }
.news-card:hover, .update-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.news-card time, .update-card time { font: 500 12px var(--font-mono); color: var(--text-dim); letter-spacing: .02em; }
.news-card h3, .update-card h3 { font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.15; margin: 10px 0 14px; }
.news-title { text-decoration: none; color: var(--text-bright); }
.news-title:hover { text-decoration: none; opacity: .85; }
.news-card p, .update-card p, .news-card li, .update-card li { color: var(--text-muted); }
.news-card h4, .update-card h4 { margin-top: 22px; }

/* ---- Store ---- */
.store-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.store-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s, transform .25s; }
.store-card:hover { border-color: var(--border-hi); transform: translateY(-2px); text-decoration: none; }
.store-card-banner { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #0b0b0d; border-bottom: 1px solid var(--border); position: relative; }
.store-card-banner-glow { display: none; }
.store-card-icon { width: 44px; height: 44px; color: var(--text-bright); }
.store-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.store-card-name { font-size: 1.25rem; letter-spacing: -0.02em; margin: 0; }
.store-card-tagline { color: var(--text-muted); font-size: .95rem; margin: 6px 0 0; }
.store-card-price { margin-top: 18px; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; }
.store-card-cta { margin-top: auto; padding-top: 18px; font-size: .9rem; font-weight: 500; color: var(--text-bright); }
.store-loading { max-width: 1200px; margin: 0 auto; }

/* ---- Leaderboard ---- */
.lb-columns { max-width: 1200px; margin: 0 auto; padding: 0 24px 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lb-columns .card { padding: 24px; border-radius: 14px; }
.lb-columns .card h2 { font-size: 1.1rem; letter-spacing: -0.02em; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.lb-columns .card h2 img { width: 22px; height: 22px; }
.lb-row { transition: background-color .2s; border-radius: 8px; }
.lb-row:hover { background: var(--surface-alt); }
.lb-error { padding: 96px 24px; }

@media (max-width: 640px) {
  .page-head, .lb-header { padding: 56px 16px 28px; }
  .news-card, .update-card { padding: 22px; }
}

/* badges sit inline next to the name on leaderboard rows */
