﻿.member-profile-photo, .profile-avatar { width:96px; height:96px; object-fit:cover; border-radius:50%; border:3px solid var(--yellow); background:#10130f; margin:0 auto; }
.profile-avatar { display:grid; place-items:center; color:var(--yellow); }
.profile-avatar svg { width:40px; height:40px; }
#private-profile { margin-top:24px; max-width:720px; padding-top:24px; padding-bottom:24px; border-bottom:1px solid var(--line); }
#private-profile a { overflow-wrap:anywhere; }
.profile-identity { text-align:center; }
.profile-identity h1 { font-size:28px; line-height:1.2; margin:12px 0 6px; overflow-wrap:anywhere; }
.profile-identity p { font-size:12px; }
#private-profile .member-stack { gap:12px; margin-top:16px; min-width:0; }
#photo-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; }
#photo-form input { max-width:100%; min-width:0; }
#photo-form button { font-size:11px; }
#photo-form button[name=remove_photo] { grid-column:2; }
#social-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
#social-form label { min-width:0; }
#social-form a, #social-form button { grid-column:1 / -1; justify-self:start; font-size:11px; }
@media (max-width:600px) { #photo-form, #social-form { grid-template-columns:minmax(0,1fr); } #photo-form button[name=remove_photo] { grid-column:1; } }
.member-body { background: #131612; }
.member-body .public-header { background: #10130f; }
.member-auth { max-width: 1250px; margin: auto; padding: 64px 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.member-auth-intro h1 { font-size: 80px; line-height: .96; margin: 25px 0; }
.member-auth-intro h1 span { color: var(--yellow); }
.member-auth-intro p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.member-auth-intro img { margin-top: 40px; opacity: .65; object-fit: contain; }
.member-auth-form h2 { font-size: 38px; margin-bottom: 12px; }
.member-auth-form > .muted { line-height: 1.8; font-size: 12px; }
.member-auth-form form, .member-stack { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.member-auth-form form > small { margin-top: -10px; font-size: 10px; }
.member-form-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 15px; }
.member-auth-link { font-size: 12px; margin-top: 28px; line-height: 1.8; }
.member-auth-link a { color: var(--yellow); }
.member-privacy { font-size: 10px; color: var(--muted); line-height: 1.8; margin-top: 22px; }
.member-narrow { max-width: 530px; margin: 60px auto; padding: 0 24px; }
.member-narrow h1 { font-size: 55px; margin-bottom: 20px; }
.member-narrow > p { line-height: 1.9; overflow-wrap: anywhere; }
.reset-submit-spinner { display:inline-block; width:16px; height:16px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:reset-submit-spin .7s linear infinite; vertical-align:middle; margin-right:8px; }
.reset-submit-spinner[hidden] { display:none; }
.reset-submit-status { margin:0; font-size:12px; }
@keyframes reset-submit-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reset-submit-spinner { animation:none; border-right-color:currentColor; border-top-color:transparent; } }
.member-resend { margin-top: 24px; }
.member-details { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }
.member-details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.member-main { max-width: 1280px; padding: 45px 5% 0; margin: auto; }
.member-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.member-heading .eyebrow { font-size: 9px; color: #b1bca6; margin-bottom: 12px; }
.member-heading h1 { font-size: 52px; line-height: 1.05; margin-bottom: 14px; overflow-wrap: anywhere; }
.member-heading h1 span { color: var(--yellow); }
.member-heading p:last-child { font-size: 12px; }
.member-heading .button { flex-shrink: 0; }
.member-summary { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 22px 0; margin-top: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.member-summary > span { display: flex; gap: 8px; align-items: center; }
.member-summary svg { width: 16px; height: 16px; color: #c2cfae; }
.member-summary strong { color: var(--text); }
.member-measures { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); padding: 26px 0; margin-bottom: 32px; }
.member-measures article { padding: 0 26px; border-right: 1px solid var(--line); }
.member-measures article:first-child { padding-left: 0; }
.member-measures article:last-child { border: 0; }
.member-measures p { font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.member-measures strong { display: block; font: 600 55px/1 var(--display); }
.member-measures strong small { font: 12px var(--body); color: var(--muted); margin-left: 9px; }
.member-measures span { display: block; font-size: 9px; color: #abb99b; margin-top: 14px; line-height: 1.5; }
.member-content { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 45px; align-items: start; }
.member-history { min-width: 0; }
.weight-chart { height: 270px; position: relative; margin-bottom: 30px; }
.weight-chart canvas { width: 100% !important; max-width: 100%; }
.member-empty { height: 230px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #1b2117; border-top: 1px solid #34402a; margin-bottom: 26px; }
.member-empty svg { color: #c6d6b2; width: 35px; height: 35px; margin-bottom: 18px; }
.member-empty h3 { font-size: 16px; margin-bottom: 12px; }
.member-empty p { font-size: 11px; color: var(--muted); }
.member-record { border-left: 1px solid var(--line); padding-left: 30px; }
.member-record .eyebrow { color: var(--yellow); font-size: 9px; }
.member-record h2 { font-size: 32px; line-height: 1.1; }
.member-record .check-label { font-size: 10px; align-items: flex-start; }
.member-record .check-label input { margin-top: 3px; }
.member-record .button { font-size: 11px; }
.bmi-summary { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 25px; }
.bmi-summary > strong { font: 600 42px var(--display); }
.bmi-summary > strong small { font: 12px var(--body); color: var(--muted); margin-left: 12px; }
.bmi-summary > p:not(.eyebrow):not(.member-privacy) { font-size: 11px; margin-top: 10px; }
.bmi-summary .member-privacy { margin-top: 14px; }
.member-health-note { display: flex; gap: 18px; border-top: 1px solid #3f4b32; border-bottom: 1px solid #3f4b32; background: #1b2316; margin-top: 30px; padding: 22px; }
.member-health-note > svg { color: #b9cda1; }
.member-health-note h2 { font-family: var(--body); font-size: 13px; margin-bottom: 10px; }
.member-health-note p { font-size: 10px; color: #b3bea7; line-height: 1.9; }
.member-health-note a { font-size: 10px; }
.member-settings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px; margin-top: 40px; }
.member-settings-section { border-top: 1px solid var(--line); padding-top: 24px; }
.member-settings-section > .muted { font-size: 11px; line-height: 1.8; }
.member-settings-section .section-heading > svg { width: 17px; color: #c2cfae; }
.member-identity { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.member-identity span { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.member-identity svg { width: 13px; height: 13px; vertical-align: middle; color: var(--green); }
.member-settings .check-label { font-size: 11px; align-items: flex-start; }
.member-settings .check-label input { margin-top: 3px; }
.member-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; line-height: 1.8; }
.member-push { max-width: 1280px; margin: 12px auto 0; padding: 12px 5%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.9fr); gap: 18px; align-items: center; }
.member-push-copy { min-width: 0; }
.member-push .section-heading { margin: 0; }
.member-push .section-heading h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.member-push .section-heading svg { width: 16px; color: var(--yellow); }
.member-push p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.member-push-description { margin-top: 3px; }
.member-push-status { margin-top: 3px; color: #c2cfae !important; }
.member-push-status.error { color: #ff958c !important; }
.member-push-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 9px 14px; }
.member-push-actions .check-label { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-size: 10px; line-height: 1.6; }
.member-push-actions .check-label input { margin-top: 3px; }
.member-push-actions [hidden] { display: none; }
.member-push-dialog { width: min(460px, calc(100vw - 32px)); max-height: min(85dvh, 620px); overflow: auto; padding: 24px; border: 1px solid #4b5540; background: #171b15; color: var(--text); }
.member-push-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.member-push-dialog h2 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.member-push-dialog > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
.member-push-dialog .check-label { display: flex; gap: 9px; align-items: flex-start; font-size: 11px; line-height: 1.6; }
.member-push-dialog .check-label input { margin-top: 3px; }
.member-push-dialog .member-push-prompt-status { color: #ff958c; margin: 12px 0 0; }
.member-push-prompt-status:empty { display: none; }
.member-push-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 600px) { .member-push { grid-template-columns: 1fr; gap: 8px; } .member-push-actions { justify-content: flex-start; } }
@media (max-width: 900px) {
    .member-auth { gap: 40px; padding: 45px 5%; }
    .member-auth-intro h1 { font-size: 60px; }
    .member-content { gap: 25px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
    .member-record { padding-left: 22px; }
    .member-heading h1 { font-size: 43px; }
    .member-measures strong { font-size: 46px; }
}
@media (max-width: 600px) {
    .member-auth { grid-template-columns: 1fr; gap: 20px; padding: 35px 6%; }
    .member-auth-intro h1 { font-size: 44px; margin: 15px 0; }
    .member-auth-intro img { display: none; }
    .member-auth-intro .eyebrow { font-size: 8px; }
    .member-auth-form h2 { font-size: 32px; }
    .member-narrow { margin: 35px auto; }
    .member-narrow h1 { font-size: 44px; }
    .member-main { padding: 30px 5% 0; }
    .member-heading { flex-wrap: wrap; gap: 10px; }
    .member-heading h1 { font-size: 36px; }
    .member-summary { gap: 16px; font-size: 10px; margin-top: 12px; }
    .member-measures { gap: 12px; padding: 22px 0; }
    .member-measures article { padding: 0 9px 0 0; }
    .member-measures p { font-size: 8px; min-height: 28px; }
    .member-measures strong { font-size: 31px; }
    .member-measures strong small { display: block; margin: 4px 0 0; font-size: 10px; }
    .member-measures span { font-size: 8px; }
    .member-content, .member-settings { grid-template-columns: 1fr; gap: 30px; }
    .member-record { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
    .weight-chart { height: 220px; }
    .member-health-note { padding: 18px 15px; gap: 12px; }
    .member-health-note > svg { width: 18px; }
    .member-history .section-heading > .muted { max-width: 145px; font-size: 9px; text-align: right; }
    .member-history td, .member-history th { padding: 12px 8px; font-size: 9px; }
    .member-footer { flex-direction: column; gap: 5px; }
    .member-body .public-header > .text-link { font-size: 10px; }
}.gym-runner { max-width: 1280px; margin: 0 auto 32px; padding: 0 5%; }
.runner-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 32px; align-items: start; }
.runner-play { min-width: 0; }
.runner-hud { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.runner-hud span { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg,#1c201a,#141713); }
.runner-hud strong { font: 700 30px/1 var(--display); color: var(--yellow); }
.gym-runner canvas { display: block; width: 100%; height: auto; aspect-ratio: 640 / 220; border: 1px solid #3d4237; border-radius: 16px; background: #10130f; box-shadow: 0 18px 40px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,215,0,.06); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.gym-runner canvas:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.runner-status { font-size: 11px; color: var(--muted); margin: 10px 0; min-height: 2.6em; }
.runner-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.runner-controls .button { font-size: 11px; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.runner-touch { display: none; }
@media (pointer: coarse) { .runner-touch { display: inline-flex; flex: 1 1 40%; justify-content: center; min-height: 52px; } }
.runner-ranking { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg,#1c201a,#141713); }
.runner-ranking ol { list-style: none; margin: 14px 0 0; padding: 0; }
.runner-ranking li { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 12px; }
.runner-ranking li:nth-child(odd) { background: rgba(255,255,255,.03); }
.runner-ranking li:first-child .rank { color: var(--yellow); }
.runner-ranking li.mine { color: var(--yellow); background: rgba(255,215,0,.1); }
.runner-ranking .rank { font: 600 18px/1 var(--display); color: var(--muted); }
.runner-ranking .alias { overflow-wrap: anywhere; }
.runner-ranking .pts { font: 600 18px/1 var(--display); }
.runner-ranking li.runner-empty { display: block; color: var(--muted); }
@media (max-width: 900px) { .runner-layout { grid-template-columns: minmax(0,1fr); gap: 22px; } }
.runner-fs-lock, .runner-fs-lock body { overflow: hidden; }
.runner-play.is-fs { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; gap: 8px; width: 100vw; height: 100vh; height: 100dvh; box-sizing: border-box; padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: #0b0d0a; }
.runner-play.is-fs .runner-hud { margin: 0; flex: none; }
.runner-play.is-fs .runner-hud span { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 6px 12px; }
.runner-play.is-fs .runner-hud strong { font-size: 22px; }
.runner-play.is-fs canvas { flex: 1 1 0; min-height: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 12px; box-shadow: none; }
.runner-play.is-fs .runner-status { display: none; }
.runner-play.is-fs .runner-controls { flex: none; flex-wrap: wrap; }@media (orientation: landscape) { .runner-play.is-fs .runner-controls { flex-wrap: nowrap; } }
.runner-play.is-fs .runner-controls .button { flex: 1 1 0; justify-content: center; padding-inline: 8px; }
.runner-play.is-fs .runner-touch { min-height: 48px; }
@media (max-height: 480px) { .runner-play.is-fs .runner-hud span { padding: 3px 10px; } .runner-play.is-fs .runner-hud strong { font-size: 18px; } .runner-play.is-fs { gap: 5px; } }
