/* Gym partner pages (/gym, /g/<slug>, /claim): the app's dark steel, phone first. */
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { --bg: #121211; --card: #1b1b19; --raised: #232321; --line: #2e2f2b; --text: #f1f2ee; --dim: #a9aea7; --lime: #e8ff3a; --wa: #25d366; --bad: #ff8a7a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.5 Barlow, -apple-system, system-ui, sans-serif; }
body::before { content: ''; position: fixed; inset: 0 0 auto 0; height: 5px; background: repeating-linear-gradient(45deg, #2e2f2b 0 4px, #1b1b19 4px 8px); z-index: 2; }
.wrap { max-width: 560px; margin: 0 auto; padding: 22px 16px 48px; min-height: 100vh; display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 900 22px 'Barlow Condensed', sans-serif; letter-spacing: .5px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.kicker { margin-top: 30px; color: var(--lime); font: 900 15px 'Barlow Condensed', sans-serif; letter-spacing: 2.5px; text-transform: uppercase; }
h1 { font: 900 clamp(38px, 11vw, 60px)/.95 'Barlow Condensed', sans-serif; text-transform: uppercase; margin: 8px 0 14px; overflow-wrap: anywhere; }
h1 span { color: var(--lime); }
h2 { font: 900 26px/1.05 'Barlow Condensed', sans-serif; text-transform: uppercase; margin: 30px 0 10px; letter-spacing: .3px; }
.lede { color: var(--dim); margin: 0 0 6px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-align: center; text-decoration: none; border: 0; border-radius: 999px; padding: 18px 20px; font: 700 19px Barlow, sans-serif; background: var(--lime); color: #111; cursor: pointer; margin-top: 12px; -webkit-tap-highlight-color: transparent; transition: transform .12s ease, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn.wa { background: var(--wa); color: #06260f; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 12px 16px; font-size: 16px; width: auto; display: inline-flex; margin-top: 0; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 22px; height: 22px; flex: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-top: 14px; }
.list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.gym { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 14px 16px; }
.gym .who { flex: 1; min-width: 0; }
.gym b { display: block; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.gym small { color: var(--dim); font-size: 14px; }
.gym .btn { width: auto; margin: 0; padding: 12px 16px; font-size: 16px; white-space: nowrap; }
input[type=text], input[type=email], input[type=tel], input[type=search] { width: 100%; font: inherit; font-size: 17px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--raised); color: var(--text); }
input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.muted { color: var(--dim); font-size: 15px; }
.small { color: var(--dim); font-size: 14px; }
.small a, .muted a { color: var(--text); }
.msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 15px; display: none; }
.msg.show { display: block; }
.msg.bad { background: #3a1714; color: #ffc4bb; }
.msg.ok { background: #1d3313; color: #d7f5c4; }
.link { color: var(--text); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.hidden { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--lime); border-radius: 50%; animation: s .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes s { to { transform: rotate(360deg); } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; }
.facts b { display: block; font: 900 28px/1 'Barlow Condensed', sans-serif; color: var(--lime); }
.facts span { color: var(--dim); font-size: 13px; line-height: 1.25; display: block; margin-top: 4px; }
.plain { padding-left: 20px; margin: 8px 0 0; }
.plain li { margin: 6px 0; }
.addr { white-space: pre-line; color: var(--text); background: var(--raised); border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-size: 16px; }
.qrbox { background: #fff; border-radius: 14px; padding: 10px; width: 132px; height: 132px; flex: none; }
.qrbox canvas { width: 112px !important; height: 112px !important; display: block; }
.share { display: flex; gap: 14px; align-items: center; }
.share code { font: 700 17px Barlow, sans-serif; color: var(--lime); overflow-wrap: anywhere; }
.done { display: flex; gap: 10px; align-items: center; background: #1d3313; color: #d7f5c4; border-radius: 14px; padding: 14px; margin-top: 12px; }
footer { margin-top: auto; padding-top: 34px; color: var(--dim); font-size: 13px; text-align: center; line-height: 1.6; }
footer a { color: var(--dim); }
.fade { animation: f .35s ease both; }
@keyframes f { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade, .btn { animation: none; transition: none; } }
