/* Member app – "ShoroFit" design (default; More → App design), from the owner's approved mock-up:
   peach → pink → lavender page, white rounded cards, black active pills, purple check-in button.
   Scoped to body.member.nova. Inner pages keep the Fresh layout with these colours.
   Smoothness rules: solid colours (no backdrop-filter / color-mix), motion only with transform / opacity,
   fixed heights for everything that loads later (no jumps), nothing animates while scrolling. */

body.member.nova {
  color-scheme: light;
  --nv-ink: #0f172a;
  --on-text: #fff; /* always light */
  --nv-sub: #55535d; /* 4.5:1 or better on the frosted cards (#6f6d78 measured 3.9:1 – round 4) */
  --nv-line: #e8e3da;
  --nv-card: #ffffff;
  --nv-dark: #0f766e;
  --nv-violet: #0d9488;
  --nv-violet-2: #0f766e;
  --nv-lime: #e9f8a8;
  --nv-shadow: 0 6px 18px rgba(60, 40, 20, .07);
  --nv-top: #fbf5ec;
  /* the Fresh pieces (inner pages) pick these up */
  --fr-dark: #1b1b1f; --fr-deep: #0f766e; --fr-mid: #0d9488; --fr-lime: #e9f8a8;
  --fr-bg: #f7f4ee; --fr-card: #ffffff; --fr-soft: #eef6f3; --fr-ink: #141416; --fr-sub: #55535d; --fr-line: #e8e3da;
  --fr-shadow: 0 6px 18px rgba(60, 40, 20, .07); --fr-grad: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  --primary: #0f766e; --primary-ink: #fff; --primary-soft: #e6f7f5; --grad: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  --tab-h: 86px;
  background: #f7f4ee;
  color: var(--nv-ink);
}
/* the soft wash behind every page (a fixed layer: it never repaints while scrolling) */
body.member.nova::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #fbf3e9 0%, #f8f1e8 28%, #f5f1ea 60%, #f3efe8 100%);
}

/* ---------- top bar of inner pages ---------- */
body.member.nova .m-top { background: var(--nv-top); border-bottom: 0; }
body.member.nova .m-top.scrolled { box-shadow: 0 1px 0 var(--nv-line); }
body.member.nova .m-top, body.member.nova .m-top .icon-btn, body.member.nova .m-top .gym-name { color: var(--nv-ink); }
body.member.nova.on-home .m-top { background: var(--nv-top); }
body.member.nova.on-home .m-top .bell { background: none; }
body.member.nova.nv-own .m-top { display: none; }
body.member.nova .m-main { padding-bottom: calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }

/* ---------- bottom bar: floating white pill, black active tab, raised purple check-in ---------- */
body.member.nova .m-tabs.nv-tabs {
  left: 50%; right: auto; bottom: calc(10px + env(safe-area-inset-bottom)); width: min(calc(100% - 20px), 560px); height: 72px;
  transform: translateX(-50%); padding: 0 6px; border: 0; border-radius: 38px; background: #fff;
  box-shadow: 0 10px 30px rgba(60, 40, 20, .14); align-items: center; gap: 2px;
}
body.member.nova .nv-tabs a { flex: 1 1 0; min-width: 0; height: 58px; border-radius: 30px; color: #34333a; font-size: .7rem; font-weight: 600; gap: 4px; transition: background-color .2s ease, color .2s ease; }
body.member.nova .nv-tabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
body.member.nova .nv-tabs a svg { width: 22px; height: 22px; color: inherit; }
body.member.nova .nv-tabs a.active { background: var(--nv-dark); color: #fff; }
body.member.nova .nv-tabs a.active svg { color: #fff; }
body.member.nova .nv-tabs a.checkin-tab { height: auto; background: none; color: #34333a; }
body.member.nova.nova .m-tabs.nv-tabs.nv-tabs a.checkin-tab .tab-ring {
  width: 62px; height: 62px; margin-top: -34px; border: 5px solid #fff; background: #dc2626; /* solid red (owner, 26 Oct 2026) */
  box-shadow: 0 10px 22px rgba(220, 38, 38, .4); color: #fff;
}
body.member.nova .nv-tabs a.checkin-tab .tab-ring svg { width: 26px; height: 26px; color: #fff; }
@media (prefers-reduced-motion: reduce) { body.member.nova .nv-tabs a { transition: none; } }

/* ---------- shared pieces ---------- */
.nv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; color: var(--nv-ink); padding-top: env(safe-area-inset-top); }
.nv > * { min-width: 0; }
.nv-top { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.nv-brand { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 3px; }
.nv-logo { width: 132px; }
.nv-loc { border: 0; background: none; padding: 2px 0; font: inherit; font-size: .82rem; color: var(--nv-sub); cursor: pointer; }
.nv-ib { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--nv-ink); box-shadow: var(--nv-shadow); cursor: pointer; text-decoration: none; }
.nv-ib svg { width: 21px; height: 21px; }
.nv-dot { position: absolute; top: 11px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.nv-me { flex: none; text-decoration: none; }
.nv-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f5b9a0, #c98ac9); color: #fff; font-weight: 700; border: 2px solid #fff; background-size: cover; background-position: center; box-shadow: var(--nv-shadow); }
.nv-av.has-photo { color: transparent; }
.nv-hi { margin: 4px 0 0; font-size: 1.35rem; }
.nv-title { margin: -6px 0 0; font-size: 2.1rem; line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.nv-title.sm { margin: 0; font-size: 1.95rem; }
.nv-lead { margin: -6px 0 0; color: var(--nv-sub); font-size: .98rem; line-height: 1.4; }
.nv-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 16px; border-radius: 26px; background: #fff; box-shadow: var(--nv-shadow); color: var(--nv-sub); }
.nv-search > svg { width: 21px; height: 21px; flex: none; color: var(--nv-ink); }
.nv-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: .95rem; color: var(--nv-ink); padding: 0; }
.nv-search input::placeholder { color: #8b8995; }
.nv-filt { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--nv-ink); display: grid; place-items: center; cursor: pointer; }
.nv-filt svg { width: 22px; height: 22px; }
.nv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 4px; }
.nv-h h2 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.nv-h a { color: #4b4a52; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.nv-sub { color: var(--nv-sub); font-size: .86rem; }
.nv-star { color: #f5a524; }
.nv-card { background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--nv-shadow); }
.nv-note { margin: 0; color: var(--nv-sub); font-size: .78rem; }
.nv-note a { color: inherit; }
.nv-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; border: 0; border-radius: 28px; font: inherit; font-weight: 600; font-size: 1.02rem; cursor: pointer; text-decoration: none; }
.nv-btn svg { width: 20px; height: 20px; }
.nv-btn.dark { background: var(--nv-dark); color: #fff; }
.nv-btn.dark:disabled { opacity: .6; cursor: default; }
.nv-btn.soft { background: #efedf3; color: var(--nv-ink); height: 52px; font-weight: 500; }
.nv-btn.sm { width: auto; height: 42px; padding: 0 20px; font-size: .92rem; }
.nv-pill { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 0; border-radius: 18px; background: var(--nv-dark); color: #fff; font: inherit; font-size: .84rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.nv-pill.done { background: #e3f7ea; color: #157a3d; cursor: default; }
.nv-empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 16px; background: #fff; border-radius: 22px; box-shadow: var(--nv-shadow); }
.nv-empty > span { font-size: 1.8rem; }
.nv-empty small { color: var(--nv-sub); }
.nv-empty .nv-btn { margin-top: 6px; }
.nv-empty.small { padding: 16px; color: var(--nv-sub); font-size: .9rem; }

/* pastel colours for categories and placeholders (same set as the mock-up) */
.nv-c1 { background: #e6f6d6; } .nv-c2 { background: #fbe0ec; } .nv-c3 { background: #fde5d6; }
.nv-c4 { background: #ece3fb; } .nv-c5 { background: #dceefb; } .nv-c6 { background: #fff1c9; }

/* loading blocks keep the final size (no jumps) */
.nv-skel { position: relative; overflow: hidden; background: #efe9f4 !important; box-shadow: none !important; }
.nv-skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: nv-shine 1.3s ease-in-out infinite; }
@keyframes nv-shine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .nv-skel::after { animation: none; } }
.nv-skline { height: 16px; border-radius: 8px; }
.nv-skline.short { width: 60%; }

/* ---------- Home ---------- */
.nv-strip { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 22px; background: #fff; box-shadow: var(--nv-shadow); }
.nv-strip-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.nv-strip-i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e3f5f0; font-size: 1.3rem; }
.nv-strip-t { min-width: 0; display: grid; line-height: 1.25; }
.nv-strip-t b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-strip-t small { color: var(--nv-sub); font-size: .78rem; overflow-wrap: anywhere; } /* wraps: "₹1,000 due" was cut off at 375 px and gone at 320 px */
.nv-strip-t small.bad { color: #dc2626; }

.nv-feat { display: grid; gap: 8px; }
.nv-fscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.nv-fscroll::-webkit-scrollbar { display: none; }
.nv-fcard { position: relative; flex: 0 0 100%; height: 188px; border-radius: 26px; overflow: hidden; scroll-snap-align: start; display: block; color: #fff; text-decoration: none; background: #1d2e2e; }
.nv-fcard img, .nv-fph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-fph { display: grid; place-items: center; font-size: 3.6rem; }
.nv-fshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .66)); }
.nv-fbadge { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 16px; background: var(--nv-lime); color: #1b1f0b; font-size: .8rem; font-weight: 700; }
.nv-ftext { position: absolute; left: 16px; right: 120px; bottom: 14px; display: grid; line-height: 1.2; }
.nv-ftext b { font-size: 1.3rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-ftext small { font-size: .85rem; color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* was the grey muted ink on a dark card (1.5:1) */
.nv-frate { position: absolute; right: 14px; bottom: 14px; padding: 6px 11px; border-radius: 16px; background: #fff; color: var(--nv-ink); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.nv-frate small { font-weight: 400; color: var(--nv-sub); }
.nv-dots { display: flex; justify-content: center; gap: 6px; height: 6px; }
.nv-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d9cfe3; transition: width .2s ease, background-color .2s ease; }
.nv-dots i.on { width: 18px; background: var(--nv-ink); }

.nv-cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; overscroll-behavior-x: contain; }
.nv-cats::-webkit-scrollbar { display: none; }
.nv-cat { flex: 0 0 76px; height: 88px; border-radius: 20px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--nv-ink); text-decoration: none; }
.nv-cat span { font-size: 1.55rem; line-height: 1; }
.nv-cat span svg { display: block; width: 28px; height: 28px; stroke-width: 1.8; }
.nv-cat b { font-size: .76rem; font-weight: 600; max-width: 70px; text-align: center; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* place rows (Home "Popular", Explore list, saved) */
.nv-list { display: grid; gap: 12px; }
.nv-row { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 116px; overflow: hidden; padding: 10px 10px 10px 10px; border-radius: 22px; background: #fff; box-shadow: var(--nv-shadow); color: inherit; text-decoration: none; }
.nv-row .chev { align-self: center; color: var(--nv-sub); }
.nv-thumb { flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-size: 2rem; background: #ece8e0; }
.nv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-rt { flex: 1; min-width: 0; display: grid; gap: 3px; padding-right: 34px; }
.nv-name { font-size: 1.02rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-rt > .nv-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-meta { display: flex; align-items: center; gap: 12px; font-size: .86rem; flex-wrap: wrap; }
.nv-km { color: var(--nv-ink); }
.nv-tags { display: flex; gap: 6px; flex-wrap: nowrap; margin-top: 4px; overflow: hidden; }
.nv-tag { font-size: .72rem; padding: 5px 9px; border-radius: 11px; background: #f3f1f5; color: #34333a; white-space: nowrap; }
.nv-tag.ok { background: #e3f7ea; color: #157a3d; font-weight: 600; }
.nv-tag.full { background: #fde8e8; color: #b42318; font-weight: 600; }
.nv-heart { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--nv-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); cursor: pointer; }
.nv-heart svg, .nv-heart2 svg { width: 19px; height: 19px; }
.nv-heart.on, .nv-heart2.on { color: #ef4444; }
.nv-heart.on svg, .nv-heart2.on svg { fill: #ef4444; stroke: #ef4444; }
.nv-heart.glass { top: 12px; right: 12px; background: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.nv-heart.glass.on { background: #fff; }
.nv-skel.nv-row .nv-thumb { background: #e2ddd3; }
.nv-skel.nv-row .nv-rt i { display: block; height: 12px; border-radius: 6px; background: #e2ddd3; }
.nv-skel.nv-row .nv-rt i:nth-child(1) { width: 70%; height: 16px; } .nv-skel.nv-row .nv-rt i:nth-child(2) { width: 50%; } .nv-skel.nv-row .nv-rt i:nth-child(3) { width: 40%; }
.nv-skel.nv-row { background: #fff !important; }
.nv-skel.nv-row::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); }

/* ---------- Explore ---------- */
.nv-xtop { display: flex; justify-content: flex-end; min-height: 44px; align-items: center; }
.nv-locpill { height: 42px; padding: 0 16px; border: 0; border-radius: 22px; background: #fff; box-shadow: var(--nv-shadow); font: inherit; font-size: .88rem; color: var(--nv-ink); cursor: pointer; }
.nv-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; overscroll-behavior-x: contain; }
.nv-chips::-webkit-scrollbar { display: none; }
.nv-chip { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 20px; font: inherit; font-size: .88rem; font-weight: 500; color: var(--nv-ink); white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.nv-chip.all { background: #fff; }
.nv-chip.on { background: var(--nv-dark) !important; color: #fff; }
.nv-chip.line { background: #fff; border: 1px solid #ebe7ef; height: 38px; }
.nv-chip.line.on { border-color: var(--nv-dark); }
.nv-status { min-height: 1.2em; color: var(--nv-sub); font-size: .84rem; margin: -2px 0 -4px; }

/* ---------- place page ---------- */
.nv-ptop { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.nv-sp { flex: 1; }
.nv-heart2 { position: relative; }
.nv-hero { position: relative; height: 250px; margin: 0 -10px; border-radius: 30px; overflow: hidden; background: #1d2e2e; }
.nv-hscroll { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.nv-hscroll::-webkit-scrollbar { display: none; }
.nv-hscroll img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.nv-hph { height: 100%; display: grid; place-items: center; font-size: 4.5rem; }
.nv-count { position: absolute; right: 16px; bottom: 14px; padding: 6px 12px; border-radius: 16px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .85rem; pointer-events: none; }
.nv-ph1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 4px; }
.nv-ph1 h1 { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
.nv-prate { flex: none; font-weight: 700; font-size: 1rem; padding-top: 6px; white-space: nowrap; }
.nv-prate small { font-weight: 400; color: var(--nv-sub); }
.nv-psub { margin: -8px 0 0; color: var(--nv-sub); font-size: .95rem; }
.nv-live { color: #16a34a; font-weight: 600; }
.nv-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nv-gthumb { position: relative; height: 78px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #ece8e0; cursor: pointer; }
.nv-gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-gthumb span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.1rem; font-weight: 600; }
.nv-notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #fff7e0; color: #5b4300; font-size: .9rem; }
.nv-facs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.nv-fac { min-height: 86px; border-radius: 16px; background: #fff; box-shadow: var(--nv-shadow); display: grid; place-items: center; align-content: center; gap: 6px; padding: 8px 4px; text-align: center; }
.nv-fac span { font-size: 1.35rem; line-height: 1; }
.nv-fac span svg { display: block; width: 24px; height: 24px; stroke-width: 1.8; }
.nv-fac small { font-size: .7rem; line-height: 1.2; color: #34333a; overflow-wrap: anywhere; }
.nv-facs:not(.all) .nv-fac.more { display: none; }
.nv-seats { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-seat { flex: 1 1 140px; display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--nv-shadow); }
.nv-seat small { color: var(--nv-sub); font-size: .78rem; }
.nv-seat em { font-style: normal; font-weight: 700; color: #157a3d; }
.nv-seat.full em { color: #b42318; }
.nv-plans { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px; }
.nv-plans::-webkit-scrollbar { display: none; }
.nv-plan { flex: 0 0 140px; display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 18px; background: #fff; border: 1.5px solid #ece8f2; }
.nv-plan.best { border: 2px solid var(--nv-violet); }
.nv-pn { display: grid; justify-items: start; gap: 5px; font-size: .86rem; line-height: 1.2; }
.nv-pn i { order: -1; font-style: normal; font-size: .64rem; padding: 3px 7px; border-radius: 9px; background: var(--nv-violet); color: #fff; white-space: nowrap; }
.nv-plan b { font-size: 1.2rem; }
.nv-plan em { justify-self: start; font-style: normal; font-size: .72rem; padding: 3px 7px; border-radius: 8px; background: #fde8e8; color: #e5484d; }
.nv-plan small { color: var(--nv-sub); font-size: .75rem; }
.nv-cta { display: grid; gap: 10px; }
.nv-about { margin: 0 0 10px; line-height: 1.5; }
.nv-info { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f2efe9; }
.nv-info:first-child { border-top: 0; }
.nv-info > span:first-child { font-size: 1.2rem; }
.nv-info > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.nv-info small { color: var(--nv-sub); }
.nv-terms summary { cursor: pointer; font-weight: 600; padding-top: 10px; }
.nv-terms p { white-space: pre-wrap; color: var(--nv-sub); margin: 8px 0 0; }
.nv-review { padding: 10px 0; border-top: 1px solid #f2efe9; }
.nv-review:first-child { border-top: 0; padding-top: 0; }
.nv-rh { display: flex; align-items: center; gap: 8px; }
.nv-rh small { margin-left: auto; color: var(--nv-sub); }
.nv-stars { color: #f5a524; letter-spacing: 1px; }
.nv-stars span { color: #e4dfe9; }
.nv-review p { margin: 6px 0 0; }
.nv-reply { color: var(--nv-sub); font-size: .88rem; padding-left: 10px; border-left: 3px solid #e8e3da; }
.nv-wrong { justify-self: center; color: var(--nv-sub); font-size: .85rem; }
.nv-review .linkish { margin-top: 4px; padding: 0; font-size: .78rem; font-weight: 500; color: var(--nv-sub); }
body.member.nova .nv-place .m-card { border-radius: 22px; }

/* ---------- My Gym / My Library ---------- */
.nv-myh { flex: 1; min-width: 0; display: grid; }
.nv-myh small, .nv-switch { color: var(--nv-sub); font-size: .85rem; }
.nv-switch { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; cursor: pointer; }
.nv-myh h1 { margin: 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-mcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #0b2a2a 0%, #115e59 55%, #0d9488 100%); box-shadow: 0 12px 26px rgba(60, 30, 110, .25); }
.nv-mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .84rem; }
.nv-mrow > span:first-child { opacity: .88; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the line next to the Renew / My QR buttons may take two lines on a narrow phone instead of being cut */
.nv-mrow:has(> .nv-mbtns) > span:first-child { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.nv-mrow em { flex: none; font-style: normal; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 12px; background: var(--nv-lime); color: #1b1f0b; }
.nv-mrow em.warn { background: #ffe8a3; color: #5b4300; }
.nv-mrow em.bad { background: #ffd4d4; color: #8a1c1c; }
.nv-mbig { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.nv-mbig small { font-size: 1rem; font-weight: 500; opacity: .88; }
.nv-mbar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.nv-mbar i { display: block; height: 100%; border-radius: 4px; background: var(--nv-lime); }
.nv-mbtns { flex: none; display: flex; gap: 8px; }
.nv-mbtn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: .82rem; text-decoration: none; }
.nv-mbtn.w { background: #fff; color: var(--nv-ink); }
.nv-due { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 18px; background: #fff0f0; color: #8a1c1c; }
.nv-due > span { flex: 1; min-width: 0; }
.nv-today { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: var(--nv-shadow); }
.nv-ti { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #e6f6d6; font-size: 1.5rem; }
.nv-tt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.nv-tt b { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-tt small { color: var(--nv-sub); font-size: .8rem; }
.nv-live { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-radius: 18px; background: #e3f7ea; color: #157a3d; font: inherit; cursor: pointer; }
.nv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nv-tile { display: grid; gap: 4px; align-content: start; min-height: 108px; padding: 14px 12px; border-radius: 20px; color: var(--nv-ink); text-decoration: none; }
.nv-tile span { font-size: 1.4rem; }
.nv-tile b { font-size: .92rem; }
.nv-tile small { font-size: .75rem; color: #4b4a52; line-height: 1.25; }
.nv-book { padding: 4px 14px; min-height: 64px; display: grid; align-content: center; gap: 8px; }
.nv-brow { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: inherit; text-decoration: none; border-top: 1px solid #f2efe9; }
.nv-brow:first-child { border-top: 0; }
.nv-bi { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fbe0ec; }
.nv-bt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.nv-bt small { color: var(--nv-sub); font-size: .8rem; }
.nv-brow em { font-style: normal; font-size: .72rem; padding: 5px 10px; border-radius: 10px; background: #e3f7ea; color: #157a3d; }
.nv-brow em.wait { background: #fff1c9; color: #5b4300; }
.nv-minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nv-mini { min-height: 82px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 8px 4px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--nv-shadow); color: var(--nv-ink); text-decoration: none; font: inherit; cursor: pointer; text-align: center; }
.nv-mini span { font-size: 1.35rem; line-height: 1; }
.nv-mini small { font-size: .72rem; line-height: 1.2; }
.nv-join { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 18px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0b2a2a 0%, #115e59 55%, #0d9488 100%); }
.nv-join > span { font-size: 2rem; }
.nv-join small { color: rgba(255, 255, 255, .86); }
.nv-join .nv-btn { background: #fff; color: var(--nv-ink); }

/* ---------- inner pages: Fresh layout in these colours ---------- */
body.member.nova .m-card, body.member.nova .list-card { border-radius: 22px; }
body.member.nova .btn.primary { background: var(--nv-dark); border-color: var(--nv-dark); color: #fff; }
body.member.nova .mo-top h1 { letter-spacing: -.02em; }

/* small phones */
@media (max-width: 360px) {
  body.member.nova .mo-mt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.member.nova .mo .mo-vp { flex: none; }
  .nv-title { font-size: 1.8rem; }
  .nv-facs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-thumb { width: 84px; height: 84px; }
  .nv-row { min-height: 104px; }
  body.member.nova .nv-tabs a { font-size: .64rem; }
}
/* tablets: keep the phone layout centred */
@media (min-width: 700px) { .nv-fcard { flex-basis: calc(50% - 6px); } }

/* green pieces of the inner pages, in the ShoroFit colours */
body.member.nova .mo, body.member.nova .mo.mo-lib { --mo-a: #0b2a2a; --mo-b: #0f766e; --mo-soft: #e6f7f5; --mo-ink: #0f766e; }
body.member.nova .hx, body.member.nova .dx, body.member.nova .hx.hx-lib, body.member.nova .dx.dx-lib { --hx-a: #0b2a2a; --hx-b: #0f766e; --hx-soft: #e6f7f5; --hx-ink: #0f766e; }
body.member.nova .mo-hero, body.member.nova .ms2-hero, body.member.nova .pg-fhero, body.member.nova .wk2-hero {
  background: linear-gradient(135deg, #0b2a2a 0%, #115e59 55%, #0d9488 100%); box-shadow: 0 12px 26px rgba(60, 30, 110, .22);
}
body.member.nova .ms2-ask { background: var(--nv-dark); box-shadow: none; }
body.member.nova .ms2-renew .rn-plan input { accent-color: var(--nv-violet); }
body.member.nova .ms2-renew .rn-plan:has(input:checked) { border-color: var(--nv-violet); background: #f5f0fe; }
body.member.nova .pg-tabs a.on, body.member.nova .pf2-tabs a.on, body.member.nova .wk2-days a.on, body.member.nova .wk2-act,
body.member.nova .hs-play, body.member.nova .pf2-ep { background: var(--nv-dark); box-shadow: none; }
body.member.nova .wk2-act.live { background: #157a3d; }
body.member.nova .pg-bar i { background: linear-gradient(90deg, #0f766e, #5eead4); }
body.member.nova .pg-goal { background: linear-gradient(120deg, #fff 40%, #e6f7f5); }

/* full-screen photo viewer (every design): the whole photo, swipe for the next */
.nv-viewer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #0b0b0e; color: #fff; animation: nv-vin .18s ease-out; }
@keyframes nv-vin { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nv-viewer { animation: none; } }
.nv-vbar { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 16px; }
.nv-vbar b { flex: 1; min-width: 0; text-align: center; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-vc { min-width: 44px; font-size: .9rem; opacity: .85; }
.nv-vx { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nv-vx svg { width: 22px; height: 22px; }
.nv-vscroll { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.nv-vscroll::-webkit-scrollbar { display: none; }
.nv-vslide { flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: center; padding: 0 0 env(safe-area-inset-bottom); font-size: 4rem; }
.nv-vslide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.nv-hero .nv-hscroll img, .carousel img[data-full] { cursor: zoom-in; }

/* limited-time offer banner on a place page (member app) */
.nv-offer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0d9488 0%, #db2777 100%); box-shadow: 0 8px 22px rgba(13, 148, 136, .28); }
.nv-offer.ended { filter: grayscale(.7); opacity: .65; }
.nv-offer-tag { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .04em; background: #e9f8a8; color: #3f5a17; padding: 4px 9px; border-radius: 999px; }
.nv-offer-txt { display: grid; gap: 2px; min-width: 0; }
.nv-offer-txt b { font-size: 1rem; font-weight: 800; line-height: 1.15; }
.nv-offer-txt small { font-size: .82rem; font-weight: 700; color: #fff; opacity: .92; font-variant-numeric: tabular-nums; }

/* Refer & Earn card (member profile) */
.rf-card { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--nv-shadow); display: grid; gap: 12px; }
.rf-top { display: flex; align-items: center; gap: 12px; }
.rf-emoji { font-size: 1.9rem; flex: none; }
.rf-tt b { display: block; font-size: 1.05rem; font-weight: 800; }
.rf-tt small { color: var(--nv-sub); font-size: .85rem; line-height: 1.3; }
.rf-code { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 14px; background: #eef6f3; border: 1.5px dashed #c7b8e6; }
.rf-code span { color: var(--nv-sub); font-size: .8rem; font-weight: 600; }
.rf-code b { font-size: 1.3rem; font-weight: 800; letter-spacing: .14em; color: #0f766e; }
.rf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rf-stats div { background: #f7f4ee; border-radius: 14px; padding: 10px; text-align: center; }
.rf-stats b { display: block; font-size: 1.3rem; font-weight: 800; }
.rf-stats small { color: var(--nv-sub); font-size: .76rem; }
.rf-share { width: 100%; height: 50px; border: 0; border-radius: 25px; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.rf-share svg { width: 20px; height: 20px; }

/* free trial pass badge on a place page */
.nv-trial { display: block; padding: 11px 14px; border-radius: 16px; background: #eaf7d6; color: #3f5a17; font-size: .9rem; line-height: 1.4; border: 1px solid #cfe9a6; }
.nv-trial b { font-weight: 800; }

/* Profile page (viewMore / mo-*): keep the grid, bring the few hard-coded green
   tiles into the nova violet/peach palette so the whole page is on-theme */
body.member.nova .mo-badge { background: rgba(255, 255, 255, .22); }
body.member.nova .mo-big.b1 .mo-art { background: linear-gradient(160deg, #e3f5f0, #cdeee6); }
body.member.nova .mo-big.b2 .mo-art { background: linear-gradient(160deg, #fbe6f0, #f6d4e6); }
body.member.nova .mo-big.b3 .mo-art { background: linear-gradient(160deg, #fdf3dc, #fbe7bf); }
body.member.nova .mo-big.b4 .mo-art { background: linear-gradient(160deg, #e3ecfb, #d2e0f7); }
body.member.nova .mo-tile.c1 { background: #ece3fb; } body.member.nova .mo-tile.c1 .chev { color: #0f766e; }
body.member.nova .mo-tile.c2 { background: #fff1c9; } body.member.nova .mo-tile.c2 .chev { color: #a9791a; }
body.member.nova .mo-tile.c3 { background: #fbe0ec; } body.member.nova .mo-tile.c3 .chev { color: #c0266e; }
body.member.nova .mo-ri.t-blue { background: #e3ecfb; color: #0f766e; }

/* "My Profile" (pf2) page: it was hard-coded green — bring it onto the nova
   violet/peach palette so it matches the rest of the app (dark violet hero,
   violet accents). Layout unchanged. */
body.member.nova .pf2-hero { background: radial-gradient(80% 120% at 100% 100%, rgba(20, 184, 166, .5), transparent 60%), linear-gradient(135deg, #2a1150, #0f766e); color: #fff; }
body.member.nova .pf2-hero .pf2-ht b { color: #fff; }
body.member.nova .pf2-hero .pf2-ht small { color: rgba(255, 255, 255, .9); }
body.member.nova .pf2-si { color: #0f766e; }
body.member.nova .pf2-chip { background: #e6f7f5; color: #0f766e !important; }
body.member.nova .pf2-ci { background: #e6f7f5; color: #0f766e; }
body.member.nova .pf2-edit { background: #e6f7f5; color: #0f766e !important; }
body.member.nova .pf2-hist { color: #0f766e !important; }
body.member.nova .pf2-li { color: #0f766e; }
body.member.nova .pf2-l { background: #eef6f3; border-color: #cfe9e2; }

/* Profile sections that swipe sideways in one row (not stacked down) */
.mo-swipe { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .5rem; padding-bottom: 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mo-swipe::-webkit-scrollbar { display: none; }
.mo-swipe > * { flex: 0 0 auto; scroll-snap-align: start; }
.mo-swipe .mo-big, .mo-swipe .mo-tile { width: 27vw; max-width: 104px; padding-bottom: 1.6rem; }
.mo-swipe .mo-big .mo-art { height: 40px; font-size: 1.45rem; margin-bottom: .25rem; }
.mo-swipe .mo-big b { font-size: .66rem; line-height: 1.15; }
.mo-swipe .mo-big small { font-size: .54rem; }
.mo-swipe .mo-big .mo-go { width: 22px; height: 22px; font-size: .7rem; }
.mo-swipe .mo-row { width: 60vw; max-width: 220px; }

/* Fitness Plus overview landing page (#mp) – violet hero + a 2-column tile grid */
body.member.nova .mp-ov { padding: 14px 2px 2px; }
body.member.nova .mp-ov-hero { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: var(--nv-shadow); margin-bottom: 14px; }
body.member.nova .mp-ov-ico { font-size: 1.8rem; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.18); }
body.member.nova .mp-ov-hero b { display: block; font-size: 1.1rem; }
body.member.nova .mp-ov-hero small { display: block; color: #fff; opacity: .9; font-size: .82rem; }
body.member.nova .mp-ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.member.nova .mp-ov-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 14px 18px; border-radius: 16px; background: var(--nv-card); box-shadow: var(--nv-shadow); color: var(--nv-ink); text-decoration: none; }
body.member.nova .mp-ov-tile:active { transform: scale(.98); }
body.member.nova .mp-ov-ti { font-size: 1.6rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 6px; background: linear-gradient(160deg, #e3f5f0, #cdeee6); }
body.member.nova .mp-ov-tile:nth-child(4n+2) .mp-ov-ti { background: linear-gradient(160deg, #fbe6f0, #f6d4e6); }
body.member.nova .mp-ov-tile:nth-child(4n+3) .mp-ov-ti { background: linear-gradient(160deg, #fdf3dc, #fbe7bf); }
body.member.nova .mp-ov-tile:nth-child(4n) .mp-ov-ti { background: linear-gradient(160deg, #e3ecfb, #d2e0f7); }
body.member.nova .mp-ov-tile b { font-size: .92rem; }
body.member.nova .mp-ov-tile small { color: var(--nv-sub); font-size: .76rem; line-height: 1.25; }
@media (prefers-reduced-motion: reduce) { body.member.nova .mp-ov-tile:active { transform: none; } }

/* =====================================================================
   Glass look (owner, 26 Oct 2026: "member wali app" like the owner app, keeping the violet): the same blurred
   photo as the owner app (img/glass-bg.jpg, already blurred) under a peach-pink-lavender wash, and frosted
   panels. Still always light. The panels carry no backdrop blur (long lists stay smooth on cheap phones);
   only the fixed top bar, the bottom bar, the drawer and pop-ups blur what scrolls under them.
   ===================================================================== */
body.member.nova {
  --nv-card: rgba(255, 252, 247, .62);
  --nv-sub: #4b5563;
  --nv-line: rgba(255, 255, 255, .7);
  --nv-edge: rgba(255, 255, 255, .78);
  --nv-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 16px 32px -22px rgba(60, 40, 20, .45);
  --nv-top: rgba(255, 250, 243, .76);
  --fr-card: var(--nv-card); --nx-card: var(--nv-card); --surface: var(--nv-card);
  --fr-line: var(--nv-line); --nx-line: var(--nv-line); --border: var(--nv-line);
  --fr-shadow: var(--nv-shadow); --nx-shadow: var(--nv-shadow); --card-shadow: var(--nv-shadow);
  background: #d8c7b1;
}
body.member.nova::before {
  background: linear-gradient(90deg, rgba(255, 248, 238, .55), rgba(255, 248, 238, .32)), url(/img/glass-bg.jpg) center / cover no-repeat;
}
/* frosted panels (every white card, tile, list and pill of the member screens) */
body.member.nova :is(.nv-card, .nv-empty, .nv-strip, .nv-today, .nv-mini, .nv-ib, .nv-search, .nv-locpill, .nv-chip.all, .nv-chip.line,
  .nv-row, .nv-fac, .nv-seat, .nv-plan, .rf-card, .mp-ov-tile, .nv-week,
  .m-card, .meal2, .mem-stats, .ms2-list, .ms2-stats, .ms2-tile, .ms2-renew, .mo-big, .mo-row, .mo-sec,
  .pf2-card, .pf2-g3 .pf2-i, .pf2-i.sel, .pf2-i.link, .pf2-s, .pf2-m, .pf2-tabs, .pg-card, .pg-stat, .pg-gl, .pg-q, .pg-tabs, .wk2-card, .wk2-info, .wk2-row, .seg,
  .chip:not(.active), .btn:not(.primary):not(.wa):not(.danger)) {
  background-color: var(--nv-card); background-image: none; border: 1px solid var(--nv-edge); box-shadow: var(--nv-shadow);
}
body.member.nova .btn.danger { background: var(--nv-card); border: 1px solid var(--nv-edge); }
/* a hero card turned frosted (above) has no gradient left, so its white text vanished on the light glass (Leaderboard,
   Explore: owner's screenshot, 16 Nov 2026). Dark text there; a hero card that brings its own background inline (the
   warm quote card) keeps its gradient and white text. */
body.member.nova .m-card.hero-card:not([style*="background"]) { color: var(--nv-ink); }
body.member.nova .m-card.hero-card:not([style*="background"])::before { display: none; }
body.member.nova .m-card.hero-card:not([style*="background"]) .btn-white { background: var(--nv-dark); color: #fff; }
body.member.nova .nv-skel.nv-row { background: var(--nv-card) !important; }
body.member.nova .nv-frate, body.member.nova .nv-heart.glass.on { background: rgba(255, 255, 255, .9); }
/* pastel tiles keep their colour, see-through */
body.member.nova .nv-c1 { background: rgba(225, 245, 205, .74); } body.member.nova .nv-c2 { background: rgba(251, 218, 233, .74); }
body.member.nova .nv-c3 { background: rgba(253, 223, 204, .74); } body.member.nova .nv-c4 { background: rgba(233, 222, 251, .76); }
body.member.nova .nv-c5 { background: rgba(214, 235, 251, .76); } body.member.nova .nv-c6 { background: rgba(255, 238, 190, .76); }
body.member.nova :is(.nv-cat, .nv-tile, .nv-chip):is(.nv-c1, .nv-c2, .nv-c3, .nv-c4, .nv-c5, .nv-c6) { border: 1px solid rgba(255, 255, 255, .7); }
/* inputs a little more solid so typing stays easy to read */
body.member.nova :is(input, select, textarea):not([type=checkbox]):not([type=radio]):not([type=range]) { background-color: rgba(255, 255, 255, .8); }
body.member.nova .nv-search input, body.member.nova .lib-auth .phone-row input, body.member.nova .lib-auth .oa-in input { background: none !important; }
/* bars and pop-ups: frosted with blur */
body.member.nova .m-top { -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
body.member.nova .m-tabs.nv-tabs { background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
body.member.nova .drawer.dx { background: rgba(255, 250, 243, .9); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
body.member.nova .drawer.dx .dx-nav { background: rgba(255, 255, 255, .7); }
body.member.nova .modal { background: rgba(255, 252, 247, .95); border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
body.member.nova .modal-backdrop { background: rgba(30, 22, 14, .38); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.member.nova .m-tabs.nv-tabs, body.member.nova .drawer.dx { background: rgba(255, 255, 255, .97); }
}

/* Home: "This week" card – plan ring + bars that draw themselves (homeNova → nvWeek / nvWeekPlay) */
.nv-week { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 22px; }
.nv-week-ring { position: relative; width: 92px; height: 92px; }
.nv-week-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); display: block; }
.nv-week-ring .trk { fill: none; stroke: rgba(13, 148, 136, .14); stroke-width: 9; }
.nv-week-ring .arc { fill: none; stroke: url(#nv-ring-g); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.16, 1, .3, 1); }
.nv-week-ring .st0 { stop-color: #5eead4; } .nv-week-ring .st1 { stop-color: #0f766e; }
.nv-week-ring .arc.bad { stroke: #ef4444; }
.nv-week-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.nv-week-n b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nv-week-n small { font-size: .68rem; color: var(--nv-sub); }
.nv-week-r { min-width: 0; display: grid; gap: 6px; }
.nv-week-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nv-week-h b { font-size: .98rem; }
.nv-week-h small { color: var(--nv-sub); font-size: .78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nv-bars { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 74px; }
.nv-bar { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 4px; height: 100%; border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.nv-bar i { display: block; align-self: end; width: 100%; min-height: 4px; border-radius: 7px 7px 4px 4px; background: rgba(13, 148, 136, .28);
  transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.nv-bar.now i { background: linear-gradient(180deg, #5eead4, #0f766e); }
.nv-bar.zero i { background: rgba(13, 148, 136, .12); }
.nv-bar small { font-size: .66rem; color: var(--nv-sub); text-align: center; }
.nv-week.drawn .nv-bar i { transform: scaleY(1); }
.nv-bar:focus-visible { outline: 2px solid #0d9488; outline-offset: 2px; border-radius: 6px; }
.nv-tip { position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 2; padding: 4px 8px; border-radius: 8px; background: rgba(22, 22, 26, .9); color: #fff;
  font-size: .72rem; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-50%); transition: opacity .15s; font-variant-numeric: tabular-nums; }
.nv-tip.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nv-bar i, .nv-week-ring .arc { transition: none; } }

/* Profile: icons in the tile tops, the row squares and the goal badge (they held an emoji before) */
.mo-art svg { width: 26px; height: 26px; stroke-width: 1.8; color: #0f766e; }
.mo-swipe .mo-big .mo-art svg { width: 22px; height: 22px; }
body.member.nova .mo-big.b2 .mo-art svg { color: #be185d; }
body.member.nova .mo-big.b3 .mo-art svg { color: #b45309; }
body.member.nova .mo-big.b4 .mo-art svg { color: #1d4ed8; }
body.member.nova .mo-ri.t-amber { color: #b45309; }
.pf2-gi svg { width: 22px; height: 22px; color: #c2410c; }
body.member.nova .pf2-ii { color: #0f766e; }
body.member.nova .pf2-ii.red { color: #dc2626; }
/* icons in the slots that held an emoji (My Library / My Gym tiles, Today, place strip, Fitness Plus, Progress) */
:is(.nv-tile, .nv-mini) > span svg { display: block; width: 24px; height: 24px; stroke-width: 1.8; }
.nv-tile > span svg { width: 26px; height: 26px; }
:is(.nv-ti, .nv-strip-i, .nv-bi, .mp-ov-ico, .mp-ov-ti, .pg-si, .pg-ci, .dx-ic) svg { display: block; width: 22px; height: 22px; stroke-width: 1.8; }
.pg-si svg { width: 17px; height: 17px; }
body.member.nova :is(.nv-ti, .nv-strip-i, .mp-ov-ti) { color: #0f766e; }
body.member.nova .nv-bi { color: #be185d; }
body.member.nova .pg-ci { color: #0f766e; }

/* ---------- Profile menu: one frosted panel, groups that open on tap (viewMore, "glassy sidebar" reference) ---------- */
.sb { display: grid; gap: 2px; padding: 14px 12px 12px; border-radius: 26px; background: rgba(255, 252, 247, .62); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 22px 40px -28px rgba(60, 40, 20, .55); }
.sb-me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; color: var(--nv-ink); text-decoration: none; }
.sb-av { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e) center / cover; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 18px -8px rgba(15, 118, 110, .55); }
.sb-av.has-photo { color: transparent; }
.sb-mt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sb-mt b { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-mt small { color: var(--nv-sub); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-badge { justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 700; color: #0f766e; background: rgba(13, 148, 136, .12); }
.sb-badge.off { color: #b45309; background: rgba(245, 158, 11, .14); }
.sb-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); color: var(--nv-ink); }
.sb-go svg { width: 18px; height: 18px; }
.sb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 2px 4px; }
.sb-stats .mo-stat { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; background: rgba(255, 255, 255, .55); text-align: center; color: var(--nv-ink); }
.sb-stats .mo-si { display: grid; place-items: center; width: auto; height: auto; background: none; color: #0f766e; }
.sb-stats .mo-si svg { width: 16px; height: 16px; }
.sb-stats .mo-stat > span:last-child { display: grid; }
.sb-stats .mo-stat b { font-size: .98rem; color: var(--nv-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-stats .mo-stat small { font-size: .62rem; color: var(--nv-sub); opacity: 1; }
.sb-label { margin: 12px 8px 4px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-sub); }
.sb-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 8px 10px; border: 0; border-radius: 15px; background: none; font: inherit; font-size: .95rem; font-weight: 700;
  color: var(--nv-ink); text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.sb-row:hover, .sb-g.open > .sb-row { background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 18px -12px rgba(60, 40, 20, .4); }
.sb-row:focus-visible, .sb-it:focus-visible, .sb-me:focus-visible { outline: 2px solid #0d9488; outline-offset: 2px; }
.sb-ri { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(13, 148, 136, .1); color: #0f766e; }
.sb-ri svg { width: 19px; height: 19px; }
.sb-rt { flex: 1; min-width: 0; }
.sb-n { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--nv-sub); background: rgba(15, 23, 42, .06); font-variant-numeric: tabular-nums; }
.sb-n.hot { color: #fff; background: #ef4444; }
.sb-chev { flex: none; display: grid; color: var(--nv-sub); transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.sb-chev svg { width: 16px; height: 16px; }
.sb-g.open .sb-chev { transform: rotate(90deg); color: #0f766e; }
.sb-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.16, 1, .3, 1); }
.sb-g.open .sb-sub { grid-template-rows: 1fr; }
.sb-in { min-height: 0; overflow: hidden; }
.sb-it { display: flex; align-items: center; gap: 10px; width: calc(100% - 27px); margin-left: 27px; padding: 7px 10px; border: 0; border-left: 2px solid rgba(13, 148, 136, .18); border-radius: 0 12px 12px 0;
  background: none; font: inherit; color: var(--nv-ink); text-align: left; text-decoration: none; cursor: pointer; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease; }
.sb-it:first-child { margin-top: 4px; } .sb-it:last-child { margin-bottom: 6px; }
.sb-g.open .sb-it { opacity: 1; transform: none; }
.sb-g.open .sb-it:nth-child(2) { transition-delay: .03s; } .sb-g.open .sb-it:nth-child(3) { transition-delay: .06s; } .sb-g.open .sb-it:nth-child(4) { transition-delay: .09s; }
.sb-g.open .sb-it:nth-child(5) { transition-delay: .12s; } .sb-g.open .sb-it:nth-child(n+6) { transition-delay: .15s; }
.sb-it:hover { background: rgba(255, 255, 255, .6); }
.sb-ii { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .75); color: #0f766e; }
.sb-ii svg { width: 17px; height: 17px; }
.sb-t { min-width: 0; display: grid; }
.sb-t b { font-size: .9rem; font-weight: 700; }
.sb-t small { font-size: .74rem; color: var(--nv-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-hr { height: 1px; margin: 8px 6px; border: 0; background: rgba(15, 23, 42, .08); }
.sb-row.out { color: #b91c1c; }
.sb-row.out .sb-ri { background: rgba(239, 68, 68, .1); color: #dc2626; }
/* rows slide in once when the page opens */
.sb > * { animation: sb-in .45s cubic-bezier(.16, 1, .3, 1) both; }
.sb > :nth-child(2) { animation-delay: .04s; } .sb > :nth-child(3) { animation-delay: .07s; } .sb > :nth-child(4) { animation-delay: .1s; }
.sb > :nth-child(5) { animation-delay: .13s; } .sb > :nth-child(6) { animation-delay: .16s; } .sb > :nth-child(7) { animation-delay: .19s; }
.sb > :nth-child(8) { animation-delay: .22s; } .sb > :nth-child(n+9) { animation-delay: .25s; }
@keyframes sb-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .sb > *, .sb-it, .sb-sub, .sb-chev { animation: none; transition: none; } }
.mo .mo-foot { text-align: center; }
/* avatars in the owner app's teal */
body.member.nova :is(.mo-av, .pf2-av) { background-color: #0f766e; background-image: linear-gradient(135deg, #14b8a6, #0f766e); }
body.member.nova :is(.mo-av, .pf2-av).has-photo { background-image: none; }
/* each part of the menu is its own card, every group with its own soft colour (owner: "alag alag section") */
.sb { gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sb-card { display: grid; gap: 2px; padding: 6px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .8);
  background: linear-gradient(135deg, rgba(var(--sb-tint, 13, 148, 136), .22) 0%, rgba(255, 252, 247, .66) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 16px 30px -24px rgba(60, 40, 20, .55); }
.sb-card.sb-head { padding: 12px 10px 10px; --sb-tint: 20, 184, 166; }
.sb-card.sb-foot { --sb-tint: 100, 116, 139; background: rgba(255, 252, 247, .62); }
.sb-label { margin: 6px 10px -2px; }
.sb-g.t-plan { --sb-tint: 245, 158, 11; --sb-ink: #b45309; }
.sb-g.t-study, .sb-g.t-fit { --sb-tint: 20, 184, 166; --sb-ink: #0f766e; }
.sb-g.t-plus { --sb-tint: 59, 130, 246; --sb-ink: #1d4ed8; }
.sb-g.t-comm { --sb-tint: 236, 72, 153; --sb-ink: #be185d; }
.sb-g.t-prefs { --sb-tint: 139, 92, 246; --sb-ink: #6d28d9; }
.sb-g.t-help { --sb-tint: 100, 116, 139; --sb-ink: #334155; }
.sb-g .sb-ri { background: rgba(var(--sb-tint), .16); color: var(--sb-ink, #0f766e); }
.sb-g .sb-ii { color: var(--sb-ink, #0f766e); }
.sb-g .sb-it { border-left-color: rgba(var(--sb-tint), .3); }
.sb-g.open .sb-chev { color: var(--sb-ink, #0f766e); }
.sb-g .sb-row:hover, .sb-g.open > .sb-row { background: rgba(255, 255, 255, .7); }
.sb-foot .sb-row:hover { background: rgba(255, 255, 255, .7); }
