/* Training, community and progress: the same MEGA MODE identity, with less friction. */
.header-profile{display:grid;place-items:center;min-width:44px!important;margin-left:0!important}.header-profile svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}.app-header{gap:15px}.app-header #install-open{margin-left:auto}.mode-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 24px}.mode-shortcuts button{position:relative;text-align:left;border:1px solid #3a3029;background:linear-gradient(145deg,#30231b,#171719 70%);border-radius:15px;color:var(--text);padding:22px 19px;display:grid;gap:20px}.mode-shortcuts span{color:var(--orange);font-size:9px;font-weight:700;letter-spacing:1.2px}.mode-shortcuts strong{font-size:22px;line-height:1.12;letter-spacing:-.6px}.mode-shortcuts small{color:#bdb8b5;font-size:11px}.home-exercise-discovery{margin:16px 0 28px}.home-exercise-discovery>summary{padding:15px 0;color:var(--muted);cursor:pointer}.home-exercise-discovery .anatomy-home-card{margin-top:15px}.session-dock{position:sticky;top:0;z-index:8;background:#111114f5;border:1px solid #4a382d;backdrop-filter:blur(14px);border-radius:13px;padding:10px 16px;margin:14px 0}.session-dock .session-meta{margin:0 0 7px}.session-dock .timer{border:0;margin:0;padding:0;gap:12px}.session-dock .timer-value{font-size:26px}.session-dock .timer select{margin:0;min-height:44px}.session-dock .timer-label{margin-right:auto}.session-dock .timer small{font-size:9px;letter-spacing:1px}.workout-date-panel>summary{cursor:pointer;font-size:13px;padding:5px 0}.workout-date-panel>label{margin-top:15px}.set-complete{border:1px solid #4a443c;border-radius:9px;background:#242426;color:var(--orange);width:100%;height:46px;font-size:20px;padding:0}.done .set-complete{background:var(--orange);color:#15100b}.set-row input{font-variant-numeric:tabular-nums}.exercise-head h3{font-size:18px}.crew-heading{margin-bottom:22px}.crew-heading h1{font-size:clamp(44px,7vw,72px);line-height:.99;letter-spacing:-2.5px}.crew-profile-bar{display:flex;align-items:center;gap:14px}.crew-avatar{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #775136;background:linear-gradient(145deg,#52331f,#241b17);color:#ffbd8c;font-size:15px;font-weight:bold;border-radius:50%}.crew-profile-bar>div:nth-child(2){flex:1;min-width:0}.crew-profile-bar h2{font-size:17px;margin:0 0 4px}.crew-profile-bar p{font-size:12px;margin:0}.crew-tabs{display:flex;gap:8px;align-items:center;margin:18px 0;overflow-x:auto}.crew-tabs button{white-space:nowrap;font-size:13px;padding:10px 15px;min-height:44px}.crew-tabs [aria-pressed=true],.crew-post-actions [aria-pressed=true]{background:var(--orange);color:#15100b;border-color:var(--orange)}#crew-compose label+label{margin-top:14px}.crew-post header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.crew-author{display:flex;align-items:center;text-align:left;gap:10px;background:none;border:0;color:var(--text);padding:0;min-width:0}.crew-author>span:last-child{display:grid;gap:5px}.crew-author strong{font-size:14px;overflow-wrap:anywhere}.crew-author small{font-size:10px;letter-spacing:.6px;color:var(--muted)}.crew-post time{font-size:10px;color:var(--muted);text-align:right}.crew-body{white-space:pre-wrap;color:var(--text);overflow-wrap:anywhere;font-size:15px;line-height:1.65}.crew-photo{width:100%;max-height:620px;object-fit:contain;border-radius:10px;background:#0c0c0e;margin:0 0 15px;display:block}.crew-workout{border-left:3px solid var(--orange);padding:16px;background:#ff853c09;margin:15px 0;border-radius:0 10px 10px 0}.crew-workout h3{margin:9px 0}.crew-workout p{font-size:12px;margin:0}.crew-post-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #2d2d31;padding-top:14px}.crew-post-actions button{font-size:12px;min-height:44px;padding:10px 14px}.post-options{margin-top:10px}.post-options summary{font-size:11px;color:var(--muted);cursor:pointer;padding:8px 0}.post-options button{margin-right:12px;margin-top:8px;font-size:12px}.crew-empty{text-align:center;padding:42px 24px}.crew-empty-mark{display:block;margin-bottom:20px;color:var(--orange);font-size:46px;font-weight:900;letter-spacing:-3px}.crew-empty p{max-width:380px;margin:12px auto 24px}.crew-controls{margin-top:24px}.crew-controls summary{cursor:pointer;color:var(--muted);font-size:13px}.crew-controls p{font-size:12px;margin-top:15px}.crew-member{display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid #303034;padding:16px 0}.crew-member>button.secondary{font-size:12px;padding:9px 15px}.crew-search{display:flex;align-items:flex-end;gap:12px;margin-bottom:22px}.crew-search label{flex:1}.crew-comment{padding:16px 0;border-bottom:1px solid #35353a}.crew-comment p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);margin:8px 0}.crew-comment small{font-size:11px;color:var(--muted)}.crew-comment button{margin-left:14px}#crew-comment-form{margin-top:20px}#crew-comment-form button{margin-top:12px}#crew-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow:auto}#crew-dialog label{margin-top:16px}#crew-error:empty{display:none}#crew-error,#crew-compose-error{color:#ffb4ac;font-size:13px}#crew-dialog form>.primary{margin-top:18px}.crew-consent{display:flex;align-items:flex-start;gap:12px;line-height:1.55;color:var(--text)}.crew-consent input{flex-shrink:0;margin:0}.photo-toolbar{display:flex;align-items:flex-end;gap:15px;margin:20px 0}.photo-toolbar p{font-size:12px;flex:1;margin:0 0 8px}.photo-toolbar label{min-width:125px}.photo-toolbar button{font-size:12px}#photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#photo-grid>.crew-empty{grid-column:1/-1}.photo-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.photo-select{position:relative;border:0;padding:0;background:#0b0b0d;display:block;width:100%;height:auto}.photo-select img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}.photo-select.selected{outline:3px solid var(--orange);outline-offset:-3px}.photo-select-mark{position:absolute;top:10px;right:10px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#171719bd;color:white;border:1px solid #888}.selected .photo-select-mark{background:var(--orange);color:#15100b;border-color:var(--orange)}.photo-info{padding:15px}.photo-info time,.photo-info>span,.photo-info>strong{display:block;font-size:12px;margin-bottom:6px}.photo-info>span{color:var(--orange);font-size:10px;text-transform:uppercase;letter-spacing:1px}.photo-info p{font-size:12px;overflow-wrap:anywhere;margin:8px 0}.photo-info .actions{margin:0;gap:16px}.photo-info details{font-size:11px;color:var(--muted)}.photo-info details button{font-size:11px;margin-top:5px}.photo-preview{width:100%;height:220px;object-fit:contain;background:#09090b;border-radius:10px;margin-top:15px}.photo-full{max-height:68dvh;object-fit:contain;width:100%;background:#09090b}.photo-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-compare figure{margin:0}.photo-compare img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#0b0b0d;border-radius:10px}.photo-compare figcaption{display:grid;gap:6px;padding:12px 0;font-size:12px}.photo-compare figcaption span{color:var(--muted)}.body-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:25px 0}.body-metrics>div{display:grid;align-content:start;gap:10px}.body-metrics small{color:var(--muted);font-size:11px}.body-metrics strong{font-size:26px;font-variant-numeric:tabular-nums}.body-metrics strong span{font-size:12px;color:var(--muted);font-weight:400}.composition-bar{height:10px;border-radius:10px;overflow:hidden;background:#5a8c80;margin:20px 0 12px}.composition-bar span{display:block;height:100%;background:var(--orange)}.coach-routines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.coach-routines article{padding:18px;border:1px solid var(--line);border-radius:12px;background:#111113}.coach-routines h3{margin:12px 0}.coach-routines p{font-size:12px}.coach-routines small{color:var(--muted);font-size:11px}.coach-menu{border-top:1px solid var(--line);padding:15px 0}.coach-menu>summary{cursor:pointer;font-weight:700;font-size:15px}.coach-menu article{padding:16px 0 6px}.coach-menu article>span{text-transform:uppercase;font-size:10px;letter-spacing:1.5px;color:var(--orange)}.coach-menu h3{margin:7px 0}.coach-menu p{margin:0}.coach-menu small{font-size:11px;color:var(--muted)}.avoid-options{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.avoid-options label{display:flex;align-items:center;gap:8px;min-height:44px}.avoid-options input{margin:0}.status{position:relative;z-index:9}#page-train .page-heading h1{font-size:clamp(32px,5vw,46px)}
@media(max-width:700px){.header-label{display:none}.app-header{height:72px;padding:12px 16px;gap:10px}.brand-word{width:125px}.brand-mark{width:28px}.app-header #install-open{font-size:11px}.app-header .quiet{padding:4px}.mode-shortcuts{gap:9px;grid-template-columns:1fr}.mode-shortcuts button{padding:18px;grid-template-columns:1fr auto;gap:8px}.mode-shortcuts span{grid-column:1/-1}.mode-shortcuts strong{font-size:22px}.mode-shortcuts strong br{display:none}.mode-shortcuts small{align-self:end;font-size:10px;max-width:105px}.crew-heading h1{font-size:55px}.crew-profile-bar{padding:17px;flex-wrap:wrap}.crew-profile-bar>.primary{margin-left:58px;padding:10px 16px;font-size:12px;min-height:42px}.crew-profile-bar>div:nth-child(2){min-width:160px}.crew-tabs{gap:6px}.crew-tabs button{padding:10px;font-size:12px}.crew-post{padding:17px}.crew-post header{align-items:flex-start}.crew-post time{max-width:85px;font-size:9px}.photo-toolbar{flex-wrap:wrap;gap:10px}.photo-toolbar p{order:3;flex-basis:100%;margin:0}.photo-toolbar>button{margin-left:auto}#photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-info{padding:12px}.photo-info time{font-size:11px}.photo-info .actions{gap:12px}.body-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.coach-routines{grid-template-columns:1fr}.session-dock{padding:10px;top:0}.session-dock .timer{gap:9px}.session-dock .timer button{min-height:40px;padding:8px 10px;font-size:12px}.session-dock .timer select{max-width:75px}.session-dock .session-meta{font-size:10px}.session-dock .session-meta>span:first-child{max-width:53%}.app-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}.app-nav button{min-width:0;font-size:10px;padding:8px 2px}.app-nav svg{width:20px;height:20px}.set-head,.set-row{grid-template-columns:27px minmax(0,1fr) minmax(0,1fr) 49px 23px;gap:7px}.set-head{font-size:9px}.exercise{padding:14px}.set-row .remove{padding:0;min-width:23px}.workout-save-bar{bottom:calc(74px + env(safe-area-inset-bottom));z-index:7}.photo-compare{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Keep personal lists and member discovery visible without horizontal scrolling. */
@media(max-width:700px){.crew-tabs{flex-wrap:wrap;overflow:visible}.crew-tabs [data-mode]{flex:1 1 calc(50% - 6px)}.crew-tabs [data-crew="refresh"]{margin-left:auto}}
