/* Public gym page (gym.html, 2026-10-09). Tokens come from site.css. */
.gp-top { display: flex; align-items: center; justify-content: space-between; max-width: 760px; margin: 0 auto; padding: 18px 16px 0; position: relative; z-index: 1; }
.gp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: 'League Spartan', sans-serif; font-weight: 700; font-size: 1.2rem; }
.gp-brand img { border-radius: 10px; }
.gp-page { max-width: 760px; margin: 0 auto; padding: 16px 16px 40px; position: relative; z-index: 1; }
.gp-loading { display: flex; justify-content: center; padding: 80px 0; }
.gp-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.gp-hero { overflow: hidden; padding: 0; }
.gp-cover { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--bg-elev-2); }
.gp-hero-body { padding: 18px 20px 20px; display: flex; gap: 16px; align-items: flex-start; }
.gp-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--bg-elev-2); flex: none; }
.gp-hero h1 { font-family: 'League Spartan', sans-serif; font-size: 1.7rem; line-height: 1.15; margin: 0 0 4px; }
.gp-place { color: var(--text-dim); font-size: .95rem; margin: 0; }
.gp-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,0.06); }
.gp-badge.verified { color: var(--primary); border-color: var(--primary); }
.gp-desc { color: var(--text-dim); line-height: 1.5; margin: 0 20px 18px; }
.gp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gp-stat { background: var(--bg-elev-2); border-radius: 14px; padding: 14px 8px; text-align: center; }
.gp-stat b { display: block; font-size: 1.6rem; font-weight: 700; }
.gp-stat span { color: var(--text-dim); font-size: .8rem; }
.gp-card h2 { font-size: 1.15rem; margin: 0 0 12px; }
.gp-muted { color: var(--text-dim); line-height: 1.5; margin: 0 0 12px; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gp-actions .btn { text-decoration: none; }
.gp-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.gp-stores img { height: 46px; width: auto; display: block; }
.gp-builders { list-style: none; margin: 0; padding: 0; }
.gp-builders li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.gp-builders li:first-child { border-top: none; }
.gp-rank { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; background: rgba(255,255,255,0.08); color: var(--secondary); flex: none; }
.gp-rank.r1 { background: rgba(255,215,0,.25); color: #FFD700; }
.gp-rank.r2 { background: rgba(192,192,192,.25); color: #C0C0C0; }
.gp-rank.r3 { background: rgba(205,127,50,.25); color: #CD7F32; }
.gp-who { flex: 1; min-width: 0; }
.gp-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-who small { color: var(--text-faint); }
.gp-pts { color: var(--primary); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.gp-claim { border-color: var(--primary); }
.gp-steps { margin: 0 0 14px; padding-left: 20px; color: var(--text-dim); line-height: 1.6; }
.gp-founder { color: var(--text-dim); font-size: .9rem; margin: 12px 0 0; }
.gp-footer { text-align: center; color: var(--text-faint); font-size: .85rem; padding: 0 16px 32px; position: relative; z-index: 1; }
.gp-footer a { color: var(--text-dim); }
@media (max-width: 480px) {
  .gp-hero h1 { font-size: 1.4rem; }
  .gp-stat b { font-size: 1.3rem; }
  .gp-cover { height: 140px; }
}
