/* VSHVDOW Athletic — v8 (Oct 2026): dark monochrome depth. Loaded last, after v7.css and ar.css.
   One identity for every screen: a black, architectural background with depth; three glass materials
   (Clear, Frosted, Blur) used by role; thin white light that travels along a few chosen edges now and then;
   a blur that covers only the clock and battery. Everything static unless it earns its motion. */

/* ---------- tokens */
:root{
  --edge:#040404;--edge-top:#040404;--bg:#050505;
  --line:rgb(255 255 255 / .075);--line2:rgb(255 255 255 / .14);
  /* Clear: almost nothing but refraction · Frosted: diffused, grainy · Blur: strongly softened */
  --m-clear:rgb(255 255 255 / calc(.025 + var(--tint) * .05));
  --m-clear-shade:rgb(6 6 6 / calc(.16 + var(--tint) * .4));
  --m-clear-fx:blur(7px) saturate(180%) brightness(1.08) contrast(1.05);
  --m-frost:rgb(255 255 255 / calc(.042 + var(--tint) * .05));
  --m-frost-shade:rgb(14 14 14 / calc(.32 + var(--tint) * .42));
  --m-frost-fx:blur(24px) saturate(150%) brightness(1.03);
  --m-blur:rgb(10 10 10 / calc(.46 + var(--tint) * .36));
  --m-blur-fx:blur(56px) saturate(135%);
  --noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --rim-hi:rgb(255 255 255 / .55);
  --lit:#fff;
  --lit-glow:0 0 6px rgb(255 255 255 / .55),0 0 18px rgb(255 255 255 / .18);
  --depth-shadow:0 1px 0 rgb(255 255 255 / .09) inset,0 -1px 0 rgb(255 255 255 / .025) inset,0 0 0 .5px rgb(0 0 0 / .6),0 24px 48px -26px rgb(0 0 0 / .95);
}
:root.light{--edge:#ececec;--edge-top:#0a0a0a;--bg:#f0f0f0;--line:rgb(10 10 10 / .08);--line2:rgb(10 10 10 / .16);
  --m-clear:rgb(255 255 255 / calc(.28 + var(--tint) * .4));--m-clear-shade:rgb(255 255 255 / 0);
  --m-frost:rgb(255 255 255 / calc(.42 + var(--tint) * .4));--m-frost-shade:rgb(255 255 255 / 0);
  --m-blur:rgb(250 250 250 / calc(.62 + var(--tint) * .3));--lit:#0a0a0a;--lit-glow:none;
  --noise:none;--depth-shadow:0 1px 0 rgb(255 255 255 / .9) inset,0 0 0 .5px rgb(10 10 10 / .12),0 20px 40px -26px rgb(0 0 0 / .3)}

/* ---------- the background: a dark room with depth. Painted once (no animation), so the glass above it
   blurs it once and stays cheap while scrolling. Four layers on .aurora's <i> children. */
.aurora{background:radial-gradient(140% 90% at 50% -10%,#151515 0,#090909 38%,#030303 72%,#000 100%)}
.aurora i{display:block;position:absolute;pointer-events:none}
/* 1 · a cold light from above, a cone that fades into the dark */
.aurora i:nth-child(1){inset:-10% -20% 30%;background:conic-gradient(from 180deg at 50% 0%,transparent 152deg,rgb(255 255 255 / .07) 164deg,rgb(255 255 255 / .16) 180deg,rgb(255 255 255 / .07) 196deg,transparent 208deg);filter:blur(18px);opacity:.9}
/* 2 · a floor that runs away from you: a perspective grid of hairlines, fading into the distance */
.aurora i:nth-child(2){left:-50%;right:-50%;bottom:0;height:120%;transform:perspective(600px) rotateX(64deg);transform-origin:50% 100%;
  background:repeating-linear-gradient(90deg,rgb(255 255 255 / .1) 0 1px,transparent 1px 72px),repeating-linear-gradient(0deg,rgb(255 255 255 / .085) 0 1px,transparent 1px 72px);
  -webkit-mask-image:linear-gradient(to top,#000 0,rgb(0 0 0 / .55) 30%,transparent 62%);mask-image:linear-gradient(to top,#000 0,rgb(0 0 0 / .55) 30%,transparent 62%)}
/* 3 · two monoliths at an angle: planes of slightly lighter black catching the light on one edge */
.aurora i:nth-child(3){inset:0;background:
  linear-gradient(104deg,transparent 0 9%,rgb(255 255 255 / .06) 9.2%,rgb(255 255 255 / .018) 22%,transparent 22.2%),
  linear-gradient(258deg,transparent 0 6%,rgb(255 255 255 / .05) 6.2%,rgb(255 255 255 / .014) 18%,transparent 18.2%);
  -webkit-mask-image:linear-gradient(transparent 4%,#000 30%,#000 70%,transparent 96%);mask-image:linear-gradient(transparent 4%,#000 30%,#000 70%,transparent 96%)}
/* 4 · haze and a vignette that closes the room */
.aurora i:nth-child(4){inset:0;background:radial-gradient(70% 18% at 50% 64%,rgb(255 255 255 / .06),transparent 70%),radial-gradient(130% 100% at 50% 40%,transparent 60%,rgb(0 0 0 / .7) 100%)}
.aurora::after{display:none}
:root.light .aurora{background:radial-gradient(140% 90% at 50% -10%,#fff 0,#f1f1f1 40%,#e4e4e4 100%)}
:root.light .aurora i:nth-child(1),:root.light .aurora i:nth-child(3){display:none}
:root.light .aurora i:nth-child(2){background:repeating-linear-gradient(90deg,rgb(0 0 0 / .06) 0 1px,transparent 1px 64px),repeating-linear-gradient(0deg,rgb(0 0 0 / .05) 0 1px,transparent 1px 64px)}
:root.light .aurora i:nth-child(4){background:radial-gradient(130% 100% at 50% 40%,transparent 60%,rgb(0 0 0 / .08) 100%)}

/* ---------- the three glass materials, by role
   Clear  — the floating chrome: tab bar, header pills, round buttons, chips. You see the page through it.
   Frosted — content: cards, posts, meals, fields, switches. Diffused and grainy, so text stays readable.
   Blur   — layers above everything: sheets, dialogs, the side panel, banners. The page behind turns to light. */
.tabbar,.tabbar.six,.hdr .brand,.hdr .avatar,.hdr .sq,.hdr-pill,.hdr-dot.gl-pill,.gl-pill,.sq,.b,.chip,.btn.line{
  background:linear-gradient(180deg,rgb(255 255 255 / .07),rgb(255 255 255 / .01) 50%,rgb(255 255 255 / .03)),linear-gradient(var(--m-clear),var(--m-clear)),var(--m-clear-shade);
  -webkit-backdrop-filter:var(--m-clear-fx);backdrop-filter:var(--m-clear-fx)}
.gl,.card,.meal-card,.post,.pmeal,.soc-chat{
  background:var(--sheen),var(--noise),linear-gradient(var(--m-frost),var(--m-frost)),var(--m-frost-shade);
  -webkit-backdrop-filter:var(--m-frost-fx);backdrop-filter:var(--m-frost-fx)}
/* fields and options sit on frosted cards already: the same frost look without a second live blur */
.seg,.box,.area,.srch,.opt,.radio,.tier,.wcell,.setdone{background:var(--noise),linear-gradient(rgb(255 255 255 / .045),rgb(255 255 255 / .02));-webkit-backdrop-filter:none;backdrop-filter:none}
:root.light .seg,:root.light .box,:root.light .area,:root.light .srch,:root.light .opt,:root.light .radio,:root.light .tier,:root.light .wcell,:root.light .setdone{background:rgb(255 255 255 / .55)}
.setdone.on{background:var(--ink)}
.gl,.card,.meal-card,.post,.pmeal{box-shadow:var(--depth-shadow)}
.sheet,.banner,.side,.dialog{background:var(--noise),linear-gradient(var(--m-blur),var(--m-blur));-webkit-backdrop-filter:var(--m-blur-fx);backdrop-filter:var(--m-blur-fx)}
.scrim{background:rgb(0 0 0 / .35);-webkit-backdrop-filter:blur(6px) saturate(120%);backdrop-filter:blur(6px) saturate(120%)}
:root.light .scrim{background:rgb(0 0 0 / .15)}
/* reflective edge: a crisp top rim and a faint lower reflection on every glass surface */
.gl::before,.card::before,.sheet::after,.hdr .brand::before,.avatar::before,.tabbar::before,.side::before,.gl-pill::before{
  background:linear-gradient(176deg,var(--rim-hi),rgb(255 255 255 / .12) 14%,rgb(255 255 255 / 0) 34%,rgb(255 255 255 / 0) 78%,rgb(255 255 255 / .1) 100%)}
.box:focus,.area:focus{border-color:rgb(255 255 255 / .55);box-shadow:0 0 0 .5px rgb(255 255 255 / .4),var(--lit-glow)}
/* selected controls glow quietly; inactive ones stay understated */
.chip.on,.opt.on,.radio.on,.tier.on{border-color:rgb(255 255 255 / .7)!important;box-shadow:0 0 0 .5px rgb(255 255 255 / .5) inset,0 0 14px -2px rgb(255 255 255 / .22)}
:root.light .chip.on,:root.light .opt.on,:root.light .radio.on,:root.light .tier.on{border-color:#0a0a0a!important;box-shadow:none}
.seg-thumb{box-shadow:0 0 16px -2px rgb(255 255 255 / .35),0 8px 18px -10px rgb(0 0 0 / .9)}
.tab-lens{box-shadow:inset 0 1px 0 rgb(255 255 255 / .35),0 0 18px -4px rgb(255 255 255 / .3)}
@media (prefers-reduced-transparency:reduce){
  .tabbar,.hdr .brand,.hdr .avatar,.hdr .sq,.gl-pill,.sq,.b,.chip,.gl,.card,.meal-card,.post,.pmeal,.sheet,.side,.banner{background:#111;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* ---------- light that travels: a thin white line runs once around a chosen edge, then rests for a while.
   .lit on a card (a few per screen at most) · bars glint · section dividers get a resting hairline. */
@property --la{syntax:'<angle>';inherits:false;initial-value:0deg}
.lit{position:relative;isolation:isolate}
.lit::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;z-index:3;
  background:conic-gradient(from var(--la),transparent 0 292deg,rgb(255 255 255 / .0) 300deg,rgb(255 255 255 / .9) 340deg,#fff 352deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  filter:drop-shadow(0 0 3px rgb(255 255 255 / .8));opacity:0;animation:vshTrace 11s linear infinite;animation-delay:var(--lit-delay,1.2s)}
@keyframes vshTrace{0%{--la:0deg;opacity:0}3%{opacity:1}34%{--la:360deg;opacity:1}38%,100%{--la:360deg;opacity:0}}
.lit.lit-slow::after{animation-duration:16s}
:root.light .lit::after{display:none}
/* a resting top hairline on cards: brighter in the middle, like light on an edge */
.gl.edge-line::after,.card.edge-line::after{content:"";position:absolute;left:12%;right:12%;top:-.5px;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgb(255 255 255 / .7),transparent)}
/* progress bars: a sweep of light now and then */
.bar>span,.lprog>span,.lv-step.now i{overflow:hidden}
.bar>span::after,.lprog>span::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgb(255 255 255 / .9) 50%,transparent);transform:translateX(-100%);animation:vshSweep 7s ease-in-out infinite 2s;mix-blend-mode:overlay}
@keyframes vshSweep{0%,72%{transform:translateX(-100%)}88%,100%{transform:translateX(100%)}}
.lprog>span{position:relative;box-shadow:0 0 10px rgb(255 255 255 / .55)}
/* section labels get a quiet hairline that fades out to the right */
.sec-line{display:flex;align-items:center;gap:12px}
.sec-line::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgb(255 255 255 / .22),transparent)}
html[dir=rtl] .sec-line::after{background:linear-gradient(270deg,rgb(255 255 255 / .22),transparent)}
@media (prefers-reduced-motion:reduce){.lit::after,.bar>span::after,.lprog>span::after{animation:none!important;opacity:0}}

/* ---------- edges: full screen; a soft blur only behind the clock and battery, fading out just above the header
   (it never reaches a heading or the header buttons). The old "blur while moving" strip is gone. */
.hdr::before{display:none!important}
.sbar{display:none!important}
/* the workout: nothing under the bottom controls, no gap below them */
.logger .foot{padding-bottom:calc(max(var(--safe-b), 10px) + 6px)}
.app:has(.logger .foot .rest) .main{padding-bottom:calc(var(--safe-b) + 200px)}
.app:has(.logger .foot:not(:has(.rest))) .main{padding-bottom:calc(var(--safe-b) + 110px)}

/* ---------- typography: precise, a touch more contrast */
:root:not(.light){--muted:#bdbdbd;--dim:#8e8e8e}
.t-hero,.t-h1{text-shadow:0 0 28px rgb(255 255 255 / .08)}

/* ---------- v8 · navigation: the bell, the notification centre, two accounts, the coach's phone tab bar */
.hdr-r{display:flex;align-items:center;gap:8px;pointer-events:auto}
.hdr-r>.avatar,.hdr-r>.sq,.hdr-r>.gl-pill{margin:0}
.bell{position:relative;width:var(--hdr-h);height:var(--hdr-h);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.bell-n{position:absolute;top:-3px;inset-inline-end:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:10px;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--bg),0 0 14px rgb(255 255 255 / .35)}
:root.light .bell-n{box-shadow:0 0 0 2px var(--bg)}
.notif-g{display:flex;flex-direction:column;gap:10px}
.notif-list{padding:4px 0;border-radius:var(--r-xl);overflow:hidden}
.notif{position:relative;display:flex;align-items:flex-start;gap:12px;padding:13px 14px 13px 14px;color:inherit;text-decoration:none}
.notif+.notif::before{content:"";position:absolute;top:0;inset-inline:66px 14px;height:1px;background:var(--line)}
.notif.new{background:linear-gradient(90deg,rgb(255 255 255 / .05),transparent 70%)}
:root.light .notif.new{background:linear-gradient(90deg,rgb(0 0 0 / .04),transparent 70%)}
.notif-av{position:relative;flex:none}
.notif-ic{position:absolute;bottom:-3px;inset-inline-end:-4px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--ink);color:var(--bg);box-shadow:0 0 0 2px var(--bg)}
.notif-ic.big{position:relative;inset:auto;width:52px;height:52px;margin:0 auto;box-shadow:0 0 30px rgb(255 255 255 / .18)}
.notif-t{display:block;font-size:14px;line-height:1.35}
.notif-q{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.45;color:var(--muted);margin-top:4px}
.notif-at{display:block;font-size:11px;color:var(--dim);margin-top:5px}
.notif-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ink);margin-top:7px;box-shadow:0 0 10px rgb(255 255 255 / .5)}
.notif-x{flex:none;opacity:.55;width:28px!important;height:28px!important}
.notif-empty{padding:34px 22px}
.wl-back{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;padding:10px 14px;font-size:12px;color:rgb(255 255 255 / .62);letter-spacing:.02em}
.wl-back .ink{color:#fff}
.acct-sw{justify-content:flex-start;text-align:start;gap:12px;height:auto;padding-top:12px;padding-bottom:12px}
.acct-sub{display:block;font-size:11px;color:var(--dim);margin-top:3px;letter-spacing:0;text-transform:none}
.more-row{display:flex;align-items:center;gap:14px;padding:12px 0;color:inherit;text-decoration:none}
.more-row .sq{width:38px;height:38px}
.ctitle,.cbell,.cbar{display:none}
@media (max-width:900px){
  .side nav,.side .acct-sw{display:none}
  .side{gap:12px}
  .ctitle{display:block;flex:1;min-width:0;font-size:11px;letter-spacing:.26em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cbell{display:block}
  .cbell .bell{width:36px;height:36px}
  .cbar{display:block}
  .cbar .tabbar{position:fixed;left:50%;bottom:var(--tab-gap)}
  .cbar .edge-b{position:fixed}
  .cmain{padding-bottom:calc(var(--safe-b) + var(--tab-h) + 48px)!important}
}

/* ---------- v8 · workout: resume bar, leave-and-keep, discard apart; the mobility flow */
.resume{position:absolute;left:50%;transform:translateX(-50%);width:var(--tab-w,calc(100% - 28px));bottom:calc(var(--tab-gap) + var(--tab-h) + 10px);z-index:21;display:flex;align-items:center;gap:6px;padding:6px;border-radius:999px;
  background:var(--noise),linear-gradient(var(--m-frost),var(--m-frost));-webkit-backdrop-filter:var(--m-frost-fx);backdrop-filter:var(--m-frost-fx);border:1px solid var(--glass-brd);box-shadow:var(--depth-shadow),inset 0 1px 0 var(--rim-hi);animation:resumeIn .5s cubic-bezier(.2,.9,.25,1.15) both}
.app.tb-min .resume{bottom:calc(var(--tab-gap) + 22px)}
@keyframes resumeIn{from{opacity:0;transform:translateX(-50%) translateY(14px) scale(.96)}}
.resume-go{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:6px 8px 6px 14px;text-align:start;color:var(--ink)}
.resume-pulse{width:9px;height:9px;flex:none;border-radius:50%;background:var(--ink);box-shadow:0 0 0 0 rgb(255 255 255 / .5);animation:resumePulse 1.8s ease-out infinite}
@keyframes resumePulse{0%{box-shadow:0 0 0 0 rgb(255 255 255 / .45)}80%,100%{box-shadow:0 0 0 10px rgb(255 255 255 / 0)}}
:root.light .resume-pulse{animation-name:resumePulseL}
@keyframes resumePulseL{0%{box-shadow:0 0 0 0 rgb(0 0 0 / .35)}80%,100%{box-shadow:0 0 0 10px rgb(0 0 0 / 0)}}
.resume-k{display:block;font-size:9px;letter-spacing:.24em;text-transform:uppercase;color:var(--dim)}
.resume-n{display:block;font-size:13.5px;margin-top:2px}
.resume-c{font-size:17px;font-weight:300;letter-spacing:.02em}
.resume.resting .resume-c{color:var(--ink);text-shadow:0 0 14px rgb(255 255 255 / .35)}
.resume-cta{display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase}
.resume-x{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--dim)}
.app:has(.resume) .main{padding-bottom:calc(var(--bottom, 120px) + 70px)}
.discard-row{margin:26px 4px 6px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.discard-row .link{display:inline-flex;align-items:center;gap:8px;color:var(--dim);font-size:12.5px}
.mob-card{padding:18px 18px 16px}
.mob-row{padding:0;border-radius:999px}
.mob-row-b{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:8px 8px 8px 20px;min-height:58px;background:none;border:0;color:inherit;font:inherit;text-align:start;cursor:pointer;border-radius:inherit}
.mob-row-tx{display:flex;flex-direction:column;gap:3px;min-width:0}
.mob-row-t{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mob-row-s{font-size:12px;color:var(--muted)}
.mob-row .mob-ring{width:42px;height:42px}
.mob-t{font-size:22px;line-height:1.05;text-transform:uppercase;margin-top:8px}
.mob-ring{width:52px;height:52px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--line2);box-shadow:inset 0 1px 0 var(--rim-hi)}
.mob-ring.on{background:var(--ink);color:var(--bg);border-color:var(--ink);box-shadow:var(--lit-glow)}
.mob-strip{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.mob-strip span{max-width:46%;padding:5px 10px;border-radius:999px;border:1px solid var(--line);font-size:11px;color:var(--muted)}
.mflow{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:var(--noise),radial-gradient(120% 70% at 50% 0%,#141414,#050505 60%,#000);color:var(--ink);padding:calc(var(--safe-t) + 10px) 0 0}
:root.light .mflow{background:var(--noise),radial-gradient(120% 70% at 50% 0%,#fff,#efefef 60%,#e6e6e6)}
.mflow-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px}
.mflow-prog{margin:14px 18px 0}
.mflow-body{flex:1;min-height:0;overflow:auto;padding:22px 18px 18px;-webkit-overflow-scrolling:touch}
.mflow-list{padding:2px 16px}
.mflow-list .li{padding:13px 0;gap:12px}
.mflow-n{width:22px;font-size:12px;color:var(--dim)}
.mflow-move{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;animation:mflowIn .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes mflowIn{from{opacity:0;transform:translateY(10px)}}
.mflow-name{font-size:clamp(26px,8vw,36px);line-height:1.05;text-transform:uppercase;margin-top:10px;max-width:16ch}
.mflow-rx{font-size:15px;color:var(--muted);margin-top:10px}
.mflow-clock{position:relative;width:min(62vw,240px);aspect-ratio:1;margin-top:26px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--ink)}
.mflow-clock svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.mflow-clock .trk{fill:none;stroke:var(--line);stroke-width:2}
.mflow-clock .arc{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:339.3;transition:stroke-dashoffset .25s linear;filter:drop-shadow(0 0 6px rgb(255 255 255 / .45))}
:root.light .mflow-clock .arc{filter:none}
.mflow-s{font-size:clamp(40px,13vw,58px);font-weight:200;letter-spacing:-.02em;line-height:1}
.mflow-reps{margin-top:26px;display:flex;flex-direction:column;gap:8px;align-items:center}
.mflow-reps .num{font-size:34px;font-weight:300}
.mflow-foot{padding:12px 18px calc(max(var(--safe-b),12px) + 8px);display:flex;flex-direction:column}
.mflow-foot.flex{flex-direction:row}
@media (prefers-reduced-motion:reduce){.resume,.mflow-move{animation:none}.resume-pulse{animation:none}}
.mob-ed{margin-top:18px;display:flex;flex-direction:column;gap:4px;overflow-x:auto}
.mob-ed-h,.mob-ed-r{display:grid;grid-template-columns:26px minmax(150px,1.4fr) minmax(120px,1fr) 80px minmax(140px,1.4fr) 104px;gap:12px;align-items:center;min-width:680px}
.mob-ed-h{font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--dim);padding-bottom:4px}
.mob-ed-r{padding:4px 0}
/* the resume bar floats over anything (white cards too): a denser smoked glass so it always reads */
.resume{background:var(--noise),linear-gradient(rgb(14 14 14 / .82),rgb(8 8 8 / .86));-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);border-color:rgb(255 255 255 / .14)}
:root.light .resume{background:var(--noise),linear-gradient(rgb(252 252 252 / .86),rgb(244 244 244 / .9));border-color:rgb(0 0 0 / .1)}

/* ---------- v8 · Society: read more, mentions, carousel, threads, comment fire, stories */
.post-t.clamp,.cm-t.clamp{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.more-t{display:inline-block;margin-top:6px;font-size:12px;letter-spacing:.04em;color:var(--muted);border-bottom:1px solid var(--line2);padding-bottom:1px}
.at{color:var(--ink);font-weight:500;background:linear-gradient(transparent 62%,rgb(255 255 255 / .1) 62%)}
:root.light .at{background:linear-gradient(transparent 62%,rgb(0 0 0 / .08) 62%)}
.car{position:relative;margin-top:12px;border-radius:var(--r-md);overflow:hidden;background:var(--glass-2)}
.car-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.car-track::-webkit-scrollbar{display:none}
.car-s{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;aspect-ratio:4/5;max-height:520px;display:block}
.car-s img{display:block;width:100%;height:100%;object-fit:cover}
.car-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0 30%}
.car-n{position:absolute;top:10px;inset-inline-end:10px;padding:4px 9px;border-radius:999px;font-size:11px;background:rgb(0 0 0 / .55);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.car-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:5px;pointer-events:none}
.car-dots i{width:5px;height:5px;border-radius:50%;background:rgb(255 255 255 / .45);transition:transform .25s,background .25s}
.car-dots i.on{background:#fff;transform:scale(1.25);box-shadow:0 0 8px rgb(255 255 255 / .8)}
.compose-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.compose-grid.one{grid-template-columns:1fr}
.compose-grid .compose-img img{aspect-ratio:1;max-height:none;height:100%}
.compose-grid.one .compose-img img{aspect-ratio:auto;max-height:300px}
.compose-grid .compose-img .sq{top:6px;right:6px}
.mention-wrap{position:relative}
.mention-box{position:absolute;bottom:calc(100% + 6px);left:0;right:0;z-index:5;display:flex;flex-direction:column;padding:6px;border-radius:var(--r-md);background:var(--noise),linear-gradient(var(--m-blur),var(--m-blur));-webkit-backdrop-filter:var(--m-blur-fx);backdrop-filter:var(--m-blur-fx);border:1px solid var(--glass-brd);box-shadow:var(--depth-shadow)}
.mention-o{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;font-size:14px;text-align:start}
.mention-o:hover,.mention-o:focus-visible{background:var(--glass-sel)}
.cms{display:flex;flex-direction:column}
.cm{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.cm:first-child{border-top:0}
.cm.child{padding-inline-start:42px;border-top:0;padding-top:4px;position:relative}
.cm.child::before{content:"";position:absolute;top:0;bottom:14px;inset-inline-start:15px;width:1px;background:linear-gradient(var(--line2),transparent)}
.cm-t{font-size:14px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.cm-act{display:flex;gap:14px;margin-top:6px}
.cm-act .link{font-size:11.5px;color:var(--dim)}
.cm-fire{flex:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:34px;padding:6px 4px;border-radius:12px;color:var(--dim);font-size:10.5px}
.cm-fire.on{color:var(--ink);text-shadow:0 0 10px rgb(255 255 255 / .5)}
.cm-fire.on svg{filter:drop-shadow(0 0 6px rgb(255 255 255 / .55))}
.cm-bar{display:flex;flex-direction:column;gap:8px}
.cm-replying{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border-radius:999px;border:1px solid var(--line);font-size:12px;color:var(--muted)}
.st-ring{padding:3px}
.st-ring.st-new{background:conic-gradient(from 200deg,#fff,#7a7a7a 25%,#fff 50%,#9a9a9a 75%,#fff)!important;box-shadow:0 0 16px rgb(255 255 255 / .25);animation:vshSpin 12s linear infinite}
.st-ring.st-new>*{animation:vshSpin 12s linear infinite reverse}
.st-ring.st-seen{background:var(--line2)!important;animation:none}
.st-add{position:absolute;bottom:-1px;inset-inline-end:-1px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--ink);color:var(--bg);box-shadow:0 0 0 2px var(--bg);animation:none!important}
.story{position:fixed;inset:0;z-index:140;background:#000;color:#fff;display:flex;flex-direction:column;justify-content:space-between;animation:storyIn .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes storyIn{from{opacity:0;transform:scale(.96)}}
.story-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.story-shade{position:absolute;inset:0;background:linear-gradient(rgb(0 0 0 / .55),transparent 22%,transparent 70%,rgb(0 0 0 / .6));pointer-events:none}
.story-bars{position:relative;z-index:2;display:flex;gap:4px;padding:calc(var(--safe-t) + 10px) 12px 0}
.story-bars span{flex:1;height:2.5px;border-radius:2px;background:rgb(255 255 255 / .3);overflow:hidden}
.story-bars i{display:block;height:100%;background:#fff;box-shadow:0 0 6px #fff}
.story-top{position:absolute;z-index:3;top:calc(var(--safe-t) + 22px);left:12px;right:12px;display:flex;align-items:center;gap:10px}
.story-top .sq{background:rgb(0 0 0 / .35);color:#fff;border-color:rgb(255 255 255 / .2)}
.story-tap{position:absolute;z-index:1;top:15%;bottom:20%;width:42%}
.story-tap.l{left:0}.story-tap.r{right:0}
.story-foot{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:0 18px calc(max(var(--safe-b),14px) + 10px);display:flex;flex-direction:column;gap:14px}
.story-t{font-size:16px;line-height:1.45;text-align:center;text-shadow:0 1px 12px rgb(0 0 0 / .8)}
.story-b{background:rgb(255 255 255 / .14)!important;color:#fff!important;border-color:rgb(255 255 255 / .25)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.story-pick{position:relative;aspect-ratio:9/14;max-height:52vh;width:100%;border-radius:var(--r-lg);overflow:hidden;border:1px dashed var(--line2);display:flex;align-items:center;justify-content:center;background:var(--glass-2)}
.story-pick img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story-pick .story-t{position:absolute;left:14px;right:14px;bottom:16px;color:#fff}
@media (prefers-reduced-motion:reduce){.st-ring.st-new,.st-ring.st-new>*,.story{animation:none}}
.mention-box{z-index:30}
.mention-wrap.below .mention-box{bottom:auto;top:calc(100% + 6px)}
.share-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.share-row .lbl{margin-inline-end:4px}

/* ---------- v8 · smart coach: calculated / approved / actual, side by side */
.smart-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:18px}
.smart-c{padding:20px;border-radius:var(--r-lg)}
.smart-row{display:flex;flex-direction:column;gap:3px;margin-top:14px}
.smart-k{font-size:28px;font-weight:300}
.smart-why{margin:10px 0 0;padding-inline-start:18px;display:flex;flex-direction:column;gap:6px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.side .acct-sw{font-size:11px;letter-spacing:.08em;padding-left:14px;padding-right:14px;overflow:hidden}

/* ---------- v8 · badges: earned once, restrained glow by tier */
.badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:12px}
.badge-g{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 6px;border-radius:var(--r-md);border:1px solid var(--line);text-align:center}
.badge-i{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--line2)}
.badge-n{font-size:11px;line-height:1.3;color:var(--muted)}
.badge-g.t2 .badge-i{border-color:var(--ink);box-shadow:inset 0 1px 0 var(--rim-hi)}
.badge-g.t3 .badge-i{background:var(--ink);color:var(--bg);border-color:var(--ink);box-shadow:0 0 14px rgb(255 255 255 / .28)}
.badge-g.t3 .badge-n{color:var(--ink)}
:root.light .badge-g.t3 .badge-i{box-shadow:0 4px 12px rgb(0 0 0 / .18)}

/* v8.1 · no blur at the top; the app runs all the way to the bottom edge of the phone (behind the home bar) */
.edge-b{display:none!important}
html:has(.app),html:has(.app) body,html:has(.app) #app{height:100%;height:100lvh}
@supports (height:100lvh){.app{height:100lvh}}
.logger .foot{padding-bottom:calc(var(--safe-b) + 8px)}
.logger .foot:has(.rest){padding:0!important;left:0;right:0}
.logger .foot .rest{border-radius:28px 28px 0 0!important;padding-bottom:calc(var(--safe-b) + 18px)!important;margin:0!important}

/* ---------- v8.1 · sign in: full screen, edge to edge. A monochrome mist (the athlete blurred to a shape),
   the mark with a slim "invite only", one line in the middle, one pill at the bottom. Nothing blurs live. */
html:has(.wl2),html:has(.wl2) body{background:#000}
.app.welcome.wl2{position:relative;max-width:none;width:100%;height:100%;height:100lvh;min-height:100%;margin:0;padding:0;overflow:hidden;background:#050505;display:block}
.wl2-bg{position:absolute;inset:0;background:#0b0b0b url(../img/wl-mist.jpg) center/cover no-repeat;transform-origin:50% 35%;animation:wl2In 2.4s cubic-bezier(.2,.7,.1,1) both}
@media (min-aspect-ratio:1/1){.wl2-bg{background-image:url(../img/wl-mist-wide.jpg);background-position:center 40%;filter:brightness(.82) contrast(1.05)}}
@keyframes wl2In{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:none}}
/* the veil: deepens the top behind the mark and the bottom edge, keeps the middle line readable; grain over all */
.wl2-veil{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgb(0 0 0 / .55) 0%,rgb(0 0 0 / .08) 22%,rgb(0 0 0 / 0) 38%,rgb(0 0 0 / .18) 50%,rgb(0 0 0 / 0) 64%,rgb(0 0 0 / 0) 86%,rgb(0 0 0 / .45) 100%)}
.wl2-veil::after{content:"";position:absolute;inset:0;background-image:url(../img/grain.png);background-size:180px 180px;opacity:.09;mix-blend-mode:screen}
.wl2-top{position:absolute;z-index:2;left:0;right:0;top:0;padding:calc(var(--safe-t) + 34px) 22px 0;display:flex;justify-content:center}
.wl2-brand{display:flex;flex-direction:column;align-items:center;gap:12px;color:#f2f2f2;animation:wl2Up 1.2s .25s cubic-bezier(.2,.7,.1,1) both}
.wl2-brand svg{filter:drop-shadow(0 0 18px rgb(255 255 255 / .22))}
.wl2-inv{font-size:8.5px;font-weight:300;letter-spacing:.52em;text-transform:uppercase;color:rgb(255 255 255 / .5);padding-inline-start:.52em}
.wl2 .wl-lang{position:absolute;top:calc(var(--safe-t) + 36px);inset-inline-end:20px;color:rgb(255 255 255 / .6);font-size:10px;letter-spacing:.24em}
.wl2-head{position:absolute;z-index:2;left:0;right:0;top:38%;padding:0 24px;display:flex;flex-direction:column;align-items:center;text-align:center;animation:wl2Up 1.3s .45s cubic-bezier(.2,.7,.1,1) both}
.wl2-kick{font-size:11px;font-weight:400;letter-spacing:.2em;color:rgb(255 255 255 / .46);padding-inline-start:.2em}
.wl2-title{margin-top:14px;font-size:clamp(40px,12vw,64px);line-height:1;font-weight:400;letter-spacing:-.015em;color:#eef0f1;text-transform:none;text-shadow:0 2px 30px rgb(0 0 0 / .35)}
.wl2-head .wl-note{margin-bottom:22px;max-width:360px;text-align:start}
.wl2-foot{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:0 24px calc(var(--safe-b) + 30px);display:flex;flex-direction:column;align-items:center;gap:18px;animation:wl2Up 1.3s .65s cubic-bezier(.2,.7,.1,1) both}
.wl2-pill{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(62vw,300px);height:64px;padding:0 9px 0 34px;border-radius:999px;background:#040506;color:#f4f4f4;
  box-shadow:0 22px 50px -18px rgb(0 0 0 / .85),inset 0 1px 0 rgb(255 255 255 / .07),0 0 0 1px rgb(255 255 255 / .05)}
.wl2-pill-t{flex:1;text-align:center;font-size:12.5px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.wl2-ring{position:relative;flex:none;width:46px;height:46px;border-radius:50%;border:1.2px solid rgb(255 255 255 / .85);display:flex;align-items:center;justify-content:center;box-shadow:0 0 14px rgb(255 255 255 / .12)}
.wl2-ring i{width:4px;height:4px;border-radius:50%;background:#fff;box-shadow:0 0 8px #fff}
.wl2-ring::after{content:"";position:absolute;inset:-1.2px;border-radius:50%;background:conic-gradient(from var(--la,0deg),transparent 0 78%,rgb(255 255 255 / .9) 92%,transparent 100%);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1.2px));mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1.2px));animation:wl2Spin 3.8s linear infinite}
@keyframes wl2Spin{to{--la:360deg}}
.wl2-pill:active{transform:scale(.98)}
.wl2-link{font-size:12.5px;color:rgb(255 255 255 / .55);letter-spacing:.01em}
.wl2-link span{color:#fff;border-bottom:1px solid rgb(255 255 255 / .4);padding-bottom:1px;margin-inline-start:3px}
.wl2 .wl-back{margin-top:-6px;width:auto}
@keyframes wl2Up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (orientation:landscape) and (max-height:500px){.wl2-head{top:30%}.wl2-title{font-size:40px}.wl2-top{padding-top:calc(var(--safe-t) + 16px)}.wl2-foot{padding-bottom:calc(var(--safe-b) + 16px);gap:10px}.wl2-pill{height:54px}}
@media (min-width:700px){.wl2-title{font-size:72px}.wl2-head{top:40%}}
@media (prefers-reduced-motion:reduce){.wl2-bg,.wl2-brand,.wl2-head,.wl2-foot,.wl2-ring::after{animation:none!important}}
:root.light .app.welcome.wl2{color:#fafafa}

/* v8.1 · no blur at the top of the app: the header pills (title, avatar, bell, back, live clock) are solid smoked
   glass now, so nothing behind them smears while scrolling. */
.hdr .brand,.hdr>.avatar,.hdr>.sq,.hdr>.gl-pill,.hdr .hdr-pill,.hdr .hdr-dot,.hdr-r>*,.hdr .sq,.lhdr .gl-pill,.mflow-top .sq,.mflow-top .gl-pill{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgb(16 16 16 / .9)!important}
:root.light .hdr .brand,:root.light .hdr>.avatar,:root.light .hdr>.sq,:root.light .hdr>.gl-pill,:root.light .hdr .hdr-pill,:root.light .hdr .hdr-dot,:root.light .hdr-r>*,:root.light .hdr .sq,:root.light .lhdr .gl-pill,:root.light .mflow-top .sq,:root.light .mflow-top .gl-pill{background:rgb(250 250 250 / .92)!important}
:root:not(.light) .hdr .over-inv,:root:not(.light) .hdr-r>.over-inv{background:rgb(246 246 246 / .94)!important}
:root.light .hdr .over-inv,:root.light .hdr-r>.over-inv{background:rgb(16 16 16 / .9)!important}
.hdr::before,.hdr::after,.lhdr::after,.sbar{display:none!important}
.wl2 .wl2-link{height:auto;padding:6px 10px;border:0;background:none;box-shadow:none;text-transform:none;font-size:12.5px;letter-spacing:.01em;color:rgb(255 255 255 / .58)}
.wl2 .wl2-pill{text-transform:none;letter-spacing:0}

/* ---------- v8.2 · the wallpaper. One dark and one light picture behind the whole app (athlete app and coach
   panel). To change them, replace public/img/wallpaper-dark.jpg and wallpaper-light.jpg (see README). */
:root{--wall:url(../img/wallpaper-dark.jpg);--wall-color:#000;--wall-pos:center top}
:root.light{--wall:url(../img/wallpaper-light.jpg);--wall-color:#fff}
.aurora{background:var(--wall-color) var(--wall) var(--wall-pos)/cover no-repeat!important}
.aurora i,.aurora::after,.aurora::before{display:none!important}
html,body{background-color:var(--wall-color)}
@media (min-aspect-ratio:1/1){.aurora{background-position:center 30%!important}}

/* ---------- v8.2 · Ultra clear glass: cards, posts and panels are see-through, like a pane of glass over the
   wallpaper (only grain, a rim and a shadow). No frosting, no grey. Lower glass levels keep the frosted look. */
:root.ultra .gl,:root.ultra .card,:root.ultra .meal-card,:root.ultra .post,:root.ultra .pmeal,:root.ultra .soc-chat{
  background:var(--noise),linear-gradient(170deg,rgb(255 255 255 / .045),rgb(255 255 255 / .012) 40%,rgb(255 255 255 / .02))!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
:root.ultra.light .gl,:root.ultra.light .card,:root.ultra.light .meal-card,:root.ultra.light .post,:root.ultra.light .pmeal,:root.ultra.light .soc-chat{
  background:linear-gradient(170deg,rgb(255 255 255 / .55),rgb(255 255 255 / .3))!important}
:root.ultra .seg,:root.ultra .box,:root.ultra .area,:root.ultra .srch,:root.ultra .opt,:root.ultra .radio,:root.ultra .tier,:root.ultra .wcell{background:rgb(255 255 255 / .03)}
:root.ultra.light .seg,:root.ultra.light .box,:root.ultra.light .area,:root.ultra.light .srch,:root.ultra.light .opt,:root.ultra.light .radio,:root.ultra.light .tier,:root.ultra.light .wcell{background:rgb(255 255 255 / .5)}

/* ---------- v8.3 · mobility pinned like a training day · plain black flow screen (no haze at the top) */
.mob-pin{width:100%;display:flex;align-items:center;gap:14px;padding:16px;text-align:start;color:var(--ink)}
.mob-badge{display:flex!important;align-items:center;justify-content:center}
.mob-pin.done .mob-badge{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.mflow{background:#000!important}
:root.light .mflow{background:#fff!important}

/* ---------- v8.3 · workout top bar: one clean row (minimise · title · timer with pause), progress + count below.
   Solid, sharp, no blur; the timer sits on the title's line, same height, same weight family. */
.lhdr .wk-bar{display:grid;grid-template-columns:var(--hdr-h) 1fr auto;align-items:center;gap:10px}
.wk-title{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;height:var(--hdr-h);padding:0 16px;border-radius:999px;background:rgb(16 16 16 / .9);border:1px solid var(--line2);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink)}
.wk-sub{color:var(--dim)}
.wk-live{flex:none;width:7px;height:7px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 0 rgb(255 255 255 / .5);animation:resumePulse 1.8s ease-out infinite}
.wk-live.off{animation:none;background:var(--dim);box-shadow:none}
.wk-time{display:flex;align-items:center;gap:8px;height:var(--hdr-h);padding:0 6px 0 16px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:15px;font-weight:400;letter-spacing:.04em;white-space:nowrap}
p.wk-time{padding:0 16px}
.wk-pp{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg);color:var(--ink)}
.wk-time.paused{background:transparent;color:var(--ink);border:1px solid var(--ink)}
.wk-time.paused .wk-pp{background:var(--ink);color:var(--bg)}
.wk-time.paused .num{animation:wkBlink 1.4s ease-in-out infinite}
@keyframes wkBlink{50%{opacity:.35}}
.wk-prog{display:flex;align-items:center;gap:12px;margin:12px 6px 0}
.wk-prog .lprog{flex:1;margin:0}
.wk-n{font-size:11.5px;color:var(--muted);min-width:34px;text-align:end}
.wk-paused{margin:10px 6px 0;font-size:11.5px;color:var(--muted);text-align:center}
:root.light .wk-title{background:rgb(250 250 250 / .92)}
@media (prefers-reduced-motion:reduce){.wk-live,.wk-time.paused .num{animation:none}}

/* the resume bar rides with the tab bar: same easing and timing as it shrinks and returns */
.resume{transition:bottom .42s cubic-bezier(.2,.8,.2,1),transform .42s cubic-bezier(.2,.8,.2,1),opacity .3s}
.app.tb-min .resume{bottom:calc(var(--tab-gap) + var(--tab-h) * .76 + 2px)}
@media (prefers-reduced-motion:reduce){.resume{transition:none}}
.story-act{display:flex;align-items:center;gap:8px}
.story-in{flex:1;min-width:0;height:46px;padding:0 18px;border-radius:999px;border:1px solid rgb(255 255 255 / .35);background:rgb(0 0 0 / .25);color:#fff;font-size:14px;outline:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.story-in::placeholder{color:rgb(255 255 255 / .7)}
.story-act .sq{width:46px;height:46px;flex:none;background:rgb(0 0 0 / .3)!important;color:#fff;border-color:rgb(255 255 255 / .3)}
.story-fire.on{background:#fff!important;color:#000!important;box-shadow:0 0 18px rgb(255 255 255 / .6)}
.story-likes{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;background:rgb(0 0 0 / .35);font-size:13px}
/* workout bar: a solid backing (no blur) so content never runs under the title, timer or count */
.lhdr{background:linear-gradient(180deg,var(--wall-color,#000) 0,var(--wall-color,#000) calc(100% - 18px),rgb(0 0 0 / 0) 100%);padding-bottom:18px}
:root.light .lhdr{background:linear-gradient(180deg,#fff 0,#fff calc(100% - 18px),rgb(255 255 255 / 0) 100%)}
/* swap panel */
.swap-panel .lbl.s{margin-bottom:2px}
.swap-row{display:flex;align-items:center;gap:10px;padding:10px 0}
.swap-pick{text-align:start;min-width:0;color:var(--ink)}
.swap-form{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.swap-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.swap-nums label{display:flex;flex-direction:column;gap:6px}
.swap-nums .box{width:100%;text-align:center}
/* coach swap manager */
.swapm-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.swapm-c{display:inline-flex;align-items:center;gap:6px;padding-inline-end:6px}
.swapm-c button{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.swapm-sug{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px;margin-top:8px}
.swapm-s{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:14px;border:1px dashed var(--line2);text-align:start;color:var(--ink)}
.swapm-n{display:block;font-size:13.5px}
.swapm-why{display:block;font-size:11px;color:var(--dim);margin-top:2px}
