/* Mockup headings are divs with data-h, so a page keeps one real main heading. These rules match the browser defaults for h1-h3 at zero specificity. */
:where(.so-canvas [data-h]) { display: block; font-weight: bold; }
:where(.so-canvas [data-h="1"]) { font-size: 2em; }
:where(.so-canvas [data-h="2"]) { font-size: 1.5em; }
:where(.so-canvas [data-h="3"]) { font-size: 1.17em; }
/* Sellz Systems OS · product screen mockups.
   Rebuilt from the real BJJ OS screens (same colors and layout) with made-up students and numbers.
   Each screen is drawn at a fixed design size and scaled to fit its device frame by screens.js. */

.so-view { position: relative; width: 100%; overflow: hidden; background: #0e0e0e; }
.so-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden;
  font-family: "Inter", "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #f2f2ed; font-size: 13px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
.so-canvas * { box-sizing: border-box; }
.so-canvas svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(.so-canvas) :where(p, [data-h="1"], [data-h="2"], [data-h="3"]) { margin: 0; }
.so-cond { font-family: "Barlow Condensed", "Archivo", "Arial Narrow", sans-serif; font-stretch: 72%; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; }
.so-heavy { font-family: "Archivo", "Inter", sans-serif; font-weight: 900; font-stretch: 112%; }

/* ---------------- Device frames ---------------- */
.dv { position: relative; }
.dv-monitor { width: 100%; }
.dv-monitor .dv-body { position: relative; padding: 1.4%; border-radius: 14px; background: linear-gradient(160deg, #26241f, #0b0a09 60%); box-shadow: 0 0 0 1px rgba(244, 214, 140, 0.16), 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.dv-monitor .so-view { border-radius: 4px; aspect-ratio: 1440 / 900; }
.dv-monitor .dv-chin { height: 0; }
.dv-monitor .dv-neck { width: 16%; margin: 0 auto; aspect-ratio: 5 / 2; background: linear-gradient(180deg, #1a1916, #2a2822 70%, #3a372f); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.dv-monitor .dv-foot { width: 30%; margin: 0 auto; height: 8px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #45413a, #1d1b17); box-shadow: 0 18px 30px -8px rgba(0, 0, 0, 0.9); }
.dv-tablet .dv-body { padding: 4.6%; border-radius: 9% / 6.4%; background: linear-gradient(150deg, #2c2a24, #0c0b0a 55%); box-shadow: 0 0 0 1px rgba(244, 214, 140, 0.18), 0 30px 70px -20px rgba(0, 0, 0, 0.95); }
.dv-tablet .so-view { border-radius: 3.4% / 2.4%; aspect-ratio: 768 / 1024; }
.dv-phone .dv-body { position: relative; padding: 3.6%; border-radius: 15% / 7%; background: linear-gradient(150deg, #34312a, #0b0a09 55%); box-shadow: 0 0 0 1px rgba(244, 214, 140, 0.2), 0 30px 60px -18px rgba(0, 0, 0, 0.95); }
.dv-phone .so-view { border-radius: 12% / 5.6%; aspect-ratio: 390 / 844; }
.dv-phone .dv-body::after { content: ""; position: absolute; left: 50%; top: 5.2%; width: 29%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 3; }

/* ---------------- Admin workspace (1440 × 900) ---------------- */
.ad { display: grid; grid-template-columns: 252px minmax(0, 1fr); height: 100%; background: #0e0e0e; }
.ad-side { display: flex; flex-direction: column; background: #050505; border-right: 1px solid #1d1d1d; }
.ad-brand { display: flex; align-items: center; gap: 12px; padding: 18px 16px 16px; border-bottom: 1px solid #1d1d1d; }
.ad-logo { width: 36px; height: 36px; border-radius: 6px; border: 1px solid #3a4652; background: #101820; display: grid; place-items: center; }
.ad-brand b { display: block; font-size: 17px; line-height: 1; }
.ad-brand small { display: block; white-space: nowrap; margin-top: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; color: #b7ad97; text-transform: uppercase; }
.ad-nav { padding: 10px 6px; display: grid; gap: 1px; }
.ad-sec { padding: 14px 10px 6px; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: #8b8b86; text-transform: uppercase; }
.ad-item { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.035em; text-transform: uppercase; color: #dcdcd6; }
.ad-item.on { background: #657a8d; color: #fff; }
.ad-badge { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: #e0101f; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.ad-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid #1d1d1d; }
.ad-user .av { width: 32px; height: 32px; font-size: 10.5px; }
.ad-user b { display: block; font-size: 12px; text-transform: uppercase; }
.ad-user small { display: block; font-size: 9.5px; letter-spacing: 0.1em; color: #9a9a95; text-transform: uppercase; }
.ad-user svg { margin-left: auto; color: #9a9a95; }
.ad-main { display: flex; flex-direction: column; min-width: 0; }
.ad-top { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 28px; border-bottom: 1px solid #222; flex: none; }
.ad-top small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #a8a8a3; text-transform: uppercase; }
.ad-top b { display: block; margin-top: 3px; font-size: 19px; line-height: 1; }
.ad-top .r { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #d6d6d0; }
.ad-top .r i { width: 1px; height: 18px; background: #333; }
.ad-body { padding: 26px 28px; display: grid; gap: 22px; align-content: start; }
.ad-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 3px; background: #657a8d; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.ad-btn.out { background: transparent; border: 1px solid #e7c94a; color: #f0d35a; }
.panel { border: 1px solid #262626; border-radius: 7px; background: #181818; }

/* overview */
.ov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #262626; }
.ov-head .eb { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: #e8e8e3; text-transform: uppercase; }
.ov-head [data-h="1"] { margin-top: 12px; font-size: 38px; line-height: 0.95; }
.ov-head p { margin-top: 12px; color: #a9a9a4; font-size: 13.5px; }
.ov-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.seg { display: flex; align-items: center; gap: 4px; }
.seg span { height: 32px; padding: 0 15px; display: grid; place-items: center; border-radius: 3px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: #cfcfca; }
.seg span.on { background: #657a8d; color: #fff; }
.seg em { margin-left: 12px; font-style: normal; font-size: 10px; letter-spacing: 0.08em; color: #aaa9a4; text-transform: uppercase; }
.seg.box { border: 1px solid #333; border-radius: 4px; background: #121212; padding: 3px; }
.seg.box span { height: 26px; padding: 0 13px; }
.mets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.met { position: relative; min-height: 142px; padding: 16px; border: 1px solid #262626; border-radius: 7px; background: #181818; display: flex; justify-content: space-between; align-items: flex-start; }
.met.sel { border-color: #657a8d; box-shadow: inset 0 0 0 1px #657a8d; }
.met small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #e6e6e1; }
.met strong { display: block; margin-top: 22px; font-size: 38px; line-height: 1; }
.met em { display: block; margin-top: 9px; font-size: 10.5px; font-style: normal; color: #b8b8b2; }
.met svg { color: #e6e6e1; }
.chart-h { display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #262626; }
.chart-h p { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.chart-h [data-h="2"] { margin-top: 5px; font-size: 13px; font-weight: 500; }
.chart-h span { font-size: 10px; color: #c4c4be; text-transform: uppercase; }
.chart-b { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; padding: 18px; }
.chart-b svg { width: 100%; height: 214px; display: block; }
.chart-n { border-left: 1px solid #262626; padding-left: 18px; }
.chart-n b { font-size: 11.5px; }
.chart-n p { margin-top: 8px; font-size: 11px; line-height: 1.6; color: #c2c2bc; }
.pl-h { padding: 18px 20px; border-bottom: 1px solid #262626; }
.pl-h [data-h="2"] { font-size: 20px; line-height: 1; }
.pl-h p { margin-top: 7px; font-size: 12px; color: #a9a9a4; }
.pl-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #232323; }
.pl-row:last-child { border-bottom: 0; }
.pl-row b { display: block; font-size: 13.5px; font-weight: 600; }
.pl-row small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; }
.pl-row .meta { margin-left: auto; font-size: 11.5px; color: #b7b7b1; text-align: right; }

/* avatars */
.av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; border: 1px solid #50606f; background: var(--avbg, #2b3a48); letter-spacing: 0.02em; }
.av.ph { background: #121820; color: #aebdcc; }
.av.ph svg { width: 15px; height: 15px; }

/* students */
.st-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid #262626; }
.st-head [data-h="1"] { font-size: 40px; line-height: 1; }
.st-head .btns { display: flex; gap: 10px; }
.st-panel { padding: 0; overflow: hidden; }
.st-tools { padding: 18px 22px 14px; display: grid; gap: 14px; border-bottom: 1px solid #262626; }
.st-tools .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inp { display: flex; align-items: center; gap: 10px; height: 42px; width: 420px; padding: 0 14px; border: 1px solid #333; border-radius: 5px; background: #121212; color: #8f8f8a; font-size: 13.5px; }
.sel { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 40px; padding: 0 14px; border: 1px solid #333; border-radius: 5px; background: #121212; font-size: 13.5px; min-width: 156px; }
.chips { display: flex; gap: 8px; }
.chip2 { border: 1px solid #333; border-radius: 4px; padding: 3px; display: flex; gap: 2px; }
.chip2 span { height: 28px; padding: 0 12px; display: grid; place-items: center; border-radius: 3px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #d2d2cd; }
.chip2 span.on { background: #657a8d; color: #fff; }
.tbl-h, .tbl-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 0 22px; }
.tbl-h { height: 38px; border-bottom: 1px solid #262626; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; color: #e6e6e1; }
.tbl-h span { display: flex; align-items: center; gap: 6px; }
.tbl-h svg.i { width: 11px; height: 11px; }
.tbl-r { height: 60px; border-bottom: 1px solid #222; }
.tbl-r > span:first-child { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.tbl-r .rk { font-size: 13.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

/* rank colors (same as the app) */
.rk-black { color: #e5484d; } .rk-brown { color: #c47a4c; } .rk-purple { color: #b18cff; } .rk-blue { color: #4c86ff; } .rk-white { color: #f4f4ef; }
.rk-gray { color: #a8a8a3; } .rk-yellow { color: #f4c430; } .rk-orange { color: #ff7a1a; } .rk-green { color: #33c26b; }

/* schedule */
.sc-head [data-h="1"] { font-size: 34px; line-height: 1; font-weight: 900; }
.sc-head p { margin-top: 10px; font-size: 13px; color: #a9a9a4; }
.sc-tabs { display: flex; gap: 10px; margin-top: 22px; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.sc-tabs span { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 3px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #d0d0cb; }
.sc-tabs span.on { background: #657a8d; color: #fff; }
.sc-nav { display: flex; justify-content: space-between; align-items: center; }
.sc-nav .d { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 700; }
.sc-nav .w { height: 32px; padding: 0 16px; border: 1px solid #333; border-radius: 999px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; }
.cal { border: 1px solid #262626; border-radius: 6px; overflow: hidden; background: #121212; }
.cal-r { display: grid; grid-template-columns: 62px repeat(7, minmax(0, 1fr)); }
.cal-r > div { border-right: 1px solid #262626; border-bottom: 1px solid #262626; min-width: 0; }
.cal-r > div:last-child { border-right: 0; }
.cal-hd > div { height: 62px; padding: 12px 12px; background: #101010; }
.cal-hd small { display: block; font-size: 10px; font-weight: 700; color: #b9b9b4; }
.cal-hd b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; }
.cal-hd .today b { color: #9ec3e6; }
.cal-t { font-size: 10px; color: #9b9b96; text-align: right; padding: 8px 8px 0 0; }
.cal-c { height: 82px; padding: 4px 4px; }
.cls { height: 100%; border-radius: 3px; padding: 7px 8px; display: grid; align-content: start; gap: 4px; border: 1px solid; overflow: hidden; }
.cls b { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cls small { font-size: 9.5px; color: rgba(255, 255, 255, 0.82); }
.cls em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 9.5px; }
.cls em svg.i { width: 11px; height: 11px; }
.cls.a { background: #0a5179; border-color: #4f93c4; }
.cls.y { background: #5922b0; border-color: #9a6cf0; }

/* rankings */
.rk-head [data-h="1"] { font-size: 36px; line-height: 1; font-weight: 500; letter-spacing: 0.01em; }
.rk-head p { margin-top: 12px; font-size: 13px; color: #b2b2ad; }
.rk-tools { display: flex; justify-content: space-between; align-items: center; }
.belts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bc { height: 150px; border: 1px solid #2b2b2b; border-radius: 10px; background: #1f1f1f; display: grid; justify-items: center; align-content: center; gap: 6px; }
.bc .bi { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #555; background: #121212; display: grid; place-items: center; }
.bc small { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; }
.bc strong { font-size: 30px; font-weight: 500; color: #8fc3f0; line-height: 1; }
.pr { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid #202020; border-radius: 14px; background: #000; }
.pr .av { width: 48px; height: 48px; font-size: 14px; }
.pr .nm b { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.pr .nm b svg.i { width: 13px; height: 13px; color: #b9b9b4; }
.pr .tags { display: flex; gap: 6px; margin-top: 8px; }
.pr .tags span { height: 22px; padding: 0 10px; border: 1px solid #555; border-radius: 999px; display: grid; place-items: center; font-size: 9.5px; font-weight: 900; text-transform: uppercase; background: #121212; }
.pr .nm small { display: block; margin-top: 8px; font-size: 9.5px; letter-spacing: 0.04em; color: #8f8f8a; text-transform: uppercase; }
.pr .ses { margin-left: auto; text-align: center; }
.pr .ses b { display: block; font-size: 20px; font-weight: 500; }
.pr .ses small { font-size: 9px; letter-spacing: 0.08em; color: #8f8f8a; text-transform: uppercase; }
.pr .acts { display: grid; gap: 8px; justify-items: end; margin-left: 18px; }
.pr .aw { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid #3a3a3a; border-radius: 4px; font-size: 11px; font-weight: 600; background: #0b0b0b; }
.pr .aw svg.i { width: 12px; height: 12px; }
.pr .pm { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px; border-radius: 4px; background: #5b151f; color: #ffd0d6; font-size: 11px; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase; }
.pr .chev { color: #6d6d68; margin-left: 8px; }

/* ---------------- Kiosk (768 × 1024) ---------------- */
.ki { height: 100%; padding: 22px 56px; background: radial-gradient(ellipse at 50% -16%, #2a2a2a 0%, #121212 38%, #050505 72%, #000 100%); display: grid; align-content: start; gap: 12px; }
.ki-back { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; color: #fff; text-transform: uppercase; }
.ki-card { border: 1.5px solid #b9d8fa; border-radius: 26px; background: linear-gradient(135deg, #1b3551 0%, #365372 100%); box-shadow: 0 14px 34px rgba(1, 12, 25, 0.34); }
.ki-id { display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px; align-items: center; gap: 16px; padding: 22px 22px; text-align: center; }
.ki-id .av { width: 92px; height: 92px; font-size: 30px; border: 2px solid #b9d8fa; background: linear-gradient(140deg, #3f6a93, #1a3350); }
.ki-logo { width: 92px; height: 92px; border-radius: 20px; border: 1.5px solid #b9d8fa; background: #122b43; display: grid; place-items: center; }
.ki-id p { font-size: 19px; color: #c9ddf4; }
.ki-id [data-h="2"] { margin-top: 2px; font-size: 54px; line-height: 0.95; letter-spacing: -0.02em; }
.ki-id small { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: #c9ddf4; text-transform: uppercase; }
.ki-rank { padding: 22px 26px 20px; text-align: center; }
.ki-rank .lb { font-size: 13px; font-weight: 900; letter-spacing: 0.14em; color: #fff; text-transform: uppercase; }
.ki-rank [data-h="3"] { margin-top: 4px; font-size: 52px; line-height: 1; }
.ki-rank .sub { margin-top: 6px; font-size: 15px; font-weight: 700; color: #e4edf7; }
.ki-prog { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(185, 216, 250, 0.66); }
.ki-prog p { font-size: 14px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.ki-bar { position: relative; height: 16px; margin-top: 10px; border-radius: 999px; background: #0b1e31; overflow: hidden; }
.ki-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.ki-bar b { position: absolute; top: 0; height: 100%; width: 4px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.95); }
.ki-path { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(185, 216, 250, 0.4); }
.ki-path > p { font-size: 12.5px; font-weight: 900; letter-spacing: 0.15em; color: #a9b9c9; text-transform: uppercase; }
.ki-belts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.ki-belt { border: 1px solid #333; border-radius: 14px; background: #202020; padding: 10px 4px 8px; text-align: center; }
.ki-belt.cur { border-color: #b18cff; box-shadow: inset 0 0 0 1px rgba(177, 140, 255, 0.4); }
.ki-belt.up { opacity: 0.45; }
.ki-belt svg { width: 46px; height: 30px; display: block; margin: 0 auto; }
.ki-belt b { display: block; margin-top: 6px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ki-belt small { display: block; font-size: 10.5px; font-weight: 800; color: #b5b5b0; text-transform: uppercase; }
.ki-class { padding: 18px 22px 20px; text-align: center; }
.ki-class .lb { font-size: 13px; font-weight: 900; letter-spacing: 0.15em; color: #c9ddf4; text-transform: uppercase; }
.ki-class [data-h="3"] { margin-top: 4px; font-size: 30px; line-height: 1; font-weight: 900; }
.ki-class p { margin-top: 8px; font-size: 16px; color: #dbe6f2; }
.ki-go { margin-top: 16px; height: 66px; border-radius: 20px; border: 2px solid #a9dcff; background: #2389d7; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 26px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 12px 28px rgba(35, 137, 215, 0.58), 0 0 0 4px rgba(74, 167, 231, 0.18); }
.ki-go svg.i { width: 24px; height: 24px; }
.ki-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 10px; }
.ki-stat { text-align: center; padding: 0 8px; border-left: 1px solid rgba(185, 216, 250, 0.58); }
.ki-stat:first-child { border-left: 0; }
.ki-stat svg.i { width: 24px; height: 24px; color: #f6fbff; }
.ki-stat strong { display: block; margin-top: 8px; font-size: 42px; line-height: 1; }
.ki-stat small { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 900; letter-spacing: 0.08em; color: #c9ddf4; text-transform: uppercase; }
.ki-coach { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.16em; color: #c9ddf4; text-transform: uppercase; }

/* ---------------- Member app (390 × 844) ---------------- */
.mb { position: relative; height: 100%; background: radial-gradient(circle at 50% -12%, #2d5077 0, #152b43 29%, #091827 67%, #071321 100%); color: #fff; font-family: "Inter", -apple-system, "SF Pro Text", ui-sans-serif, sans-serif; }
.mb-status { position: absolute; left: 0; right: 0; top: 0; height: 50px; z-index: 6; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0 40px; font-size: 15.5px; font-weight: 600; }
.mb-status .ic { display: flex; align-items: center; gap: 6px; }
.mb-status .bat { width: 25px; height: 12px; border-radius: 4px; background: #fff; position: relative; }
.mb-status .bat::after { content: ""; position: absolute; right: -3px; top: 4px; width: 2px; height: 4px; border-radius: 1px; background: rgba(255, 255, 255, 0.5); }
.mb-hdr { position: absolute; left: 0; right: 0; top: 0; height: 66px; z-index: 5; background: rgba(19, 45, 70, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(185, 216, 250, 0.35); }
.mb-scroll { position: absolute; inset: 66px 0 0 0; overflow: hidden; padding: 0 16px; }
.mb-eb { margin-top: 24px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.3em; color: #c9ddf4; text-transform: uppercase; }
.mb-eb.blue { color: #8fbfff; }
.mb-h1 { margin-top: 8px; font-size: 33px; line-height: 1.05; letter-spacing: -0.02em; }
.mb-lead { margin-top: 10px; font-size: 15px; line-height: 1.55; color: #9db0c4; }
.mb-tabs { position: absolute; left: 12px; right: 12px; bottom: 26px; height: 64px; z-index: 6; border-radius: 22px; border: 1px solid #2b4766; background: rgba(8, 21, 35, 0.94); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.mb-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: #e7edf4; }
.mb-tabs span svg.i { width: 21px; height: 21px; stroke-width: 1.8; }
.mb-tabs span.on { color: #78b3ff; }
.mb-tabs span.on svg.i { fill: #78b3ff; stroke: #78b3ff; }
.mb-home .mb-scroll { inset: 66px 0 0 0; padding: 0; }
.mb-hero { position: relative; height: 216px; padding: 44px 16px 0; overflow: hidden; background: radial-gradient(70% 90% at 78% 20%, rgba(70, 120, 175, 0.55), transparent 70%), linear-gradient(160deg, #20456b 0%, #102a44 55%, #0a1b2d 100%); }
.mb-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px); }
.mb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #0b1c2e); }
.mb-hero > * { position: relative; z-index: 1; }
.mb-hero p { font-size: 26px; letter-spacing: -0.04em; font-weight: 500; }
.mb-hero [data-h="1"] { font-size: 64px; line-height: 0.88; letter-spacing: -0.06em; margin-top: 2px; }
.mb-hero small { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: #dbe7f4; }
.mb-pad { padding: 0 16px; display: grid; gap: 12px; }
.mb-card { border: 1px solid rgba(185, 216, 250, 0.55); border-radius: 22px; background: rgba(10, 30, 48, 0.92); }
.mb-prof { margin-top: -10px; padding: 14px 16px 12px; position: relative; z-index: 2; }
.mb-prof .top { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(185, 216, 250, 0.3); }
.mb-prof .av { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; border: 1px solid #6f8fae; background: linear-gradient(140deg, #4a78a6, #1d3a58); }
.mb-prof b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.mb-prof .top > div > span { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; color: #e4edf7; }
.mb-prof .top svg { margin-left: auto; width: 20px; height: 20px; }
.mb-stats { display: grid; grid-template-columns: 1fr 1fr 1.3fr; padding-top: 10px; text-align: center; }
.mb-stats div + div { border-left: 1px solid rgba(185, 216, 250, 0.3); }
.mb-stats strong { display: block; font-size: 23px; line-height: 1.1; }
.mb-stats small { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #c9ddf4; text-transform: uppercase; }
.mb-next { padding: 16px 16px 18px; border-color: #3f6386; background: radial-gradient(90% 120% at 100% 0%, #1d4166, transparent 70%), #0d2338; }
.mb-next .row { display: flex; justify-content: space-between; align-items: center; }
.mb-next .row small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.3em; color: #c9ddf4; text-transform: uppercase; }
.mb-next .row a { font-size: 15px; color: #8fbfff; }
.mb-next [data-h="3"] { margin-top: 10px; font-size: 21px; letter-spacing: -0.01em; font-weight: 800; }
.mb-next .meta { margin-top: 8px; display: flex; gap: 16px; font-size: 14.5px; color: #dbe6f2; }
.mb-next .meta span { display: flex; align-items: center; gap: 6px; }
.mb-next .meta svg.i { width: 16px; height: 16px; color: #78b3ff; }
.mb-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; height: 46px; padding: 0 18px; border-radius: 999px; background: #559ef2; color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px rgba(85, 158, 242, 0.35); }
.mb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mb-tile { padding: 12px 14px 12px; border: 1px solid rgba(185, 216, 250, 0.5); border-radius: 20px; background: #0a1e30; }
.mb-tile .t { display: flex; justify-content: space-between; color: #8fbfff; }
.mb-tile .t svg.i { width: 24px; height: 24px; stroke-width: 1.7; }
.mb-tile .t svg.c { color: #c9ddf4; width: 16px; height: 16px; }
.mb-tile b { display: block; margin-top: 12px; font-size: 16px; font-weight: 800; }
.mb-tile small { display: block; margin-top: 2px; font-size: 12.5px; color: #9db0c4; }
.mb-pills { display: flex; gap: 8px; margin-top: 20px; white-space: nowrap; }
.mb-pills span { height: 38px; padding: 0 16px; border: 1px solid rgba(185, 216, 250, 0.55); border-radius: 999px; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; color: #c9d6e3; background: #10263c; }
.mb-pills span.on { background: #5d7085; color: #fff; border-color: #7c8fa3; }
.mb-day { margin-top: 22px; font-size: 15px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.mb-cls { margin-top: 12px; display: flex; gap: 14px; padding: 16px 16px; border: 1px solid rgba(185, 216, 250, 0.55); border-radius: 22px; background: linear-gradient(135deg, #1b3551 0%, #365372 100%); }
.mb-cls .ic { width: 50px; height: 50px; border-radius: 16px; background: #1b1d21; display: grid; place-items: center; flex: none; }
.mb-cls .ic svg.i { width: 22px; height: 22px; }
.mb-cls b { display: block; font-size: 17.5px; font-weight: 800; }
.mb-cls span { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 15px; color: #dbe6f2; }
.mb-cls span svg.i { width: 15px; height: 15px; }
.mb-cls small { display: block; margin-top: 7px; font-size: 13px; color: #9db0c4; }
.mb-ann { margin-top: 18px; padding: 20px 22px 22px 26px; border: 1px solid rgba(185, 216, 250, 0.55); border-left: 5px solid #b9d8fa; border-radius: 22px; background: linear-gradient(135deg, #22405e 0%, #34516f 100%); }
.mb-ann .tg { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #9fb2c6; }
.mb-ann .tg span { height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.tg-sp { color: #f3d26b; border-color: #8a7726 !important; background: #3a3d2f; }
.tg-tn { color: #d4ccff; border-color: #5b5bb8 !important; background: #2f3a6b; }
.tg-up { color: #e3ebf4; border-color: #5f7690 !important; background: #283d55; }
.mb-ann b { display: block; margin-top: 16px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.mb-ann p { margin-top: 12px; font-size: 15.5px; color: #c9d6e3; line-height: 1.5; }
.mb-ref { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(185, 216, 250, 0.55); border-radius: 22px; background: linear-gradient(120deg, #1d4a6e, #0d2033); }
.mb-ref .ic { width: 58px; height: 58px; border-radius: 16px; background: #6bb0f2; color: #0a1b2d; display: grid; place-items: center; flex: none; }
.mb-ref .ic svg.i { width: 28px; height: 28px; }
.mb-ref b { display: block; font-size: 19px; font-weight: 800; }
.mb-ref span { display: block; margin-top: 4px; font-size: 14.5px; color: #c9d6e3; }
.mb-ref > svg.i, .mb-soc > svg.i { margin-left: auto; width: 20px; height: 20px; color: #c9d6e3; }
.mb-label { margin-top: 26px; font-size: 13px; font-weight: 800; letter-spacing: 0.32em; color: #c9ddf4; text-transform: uppercase; }
.mb-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mb-soc { display: flex; align-items: center; gap: 9px; padding: 16px 10px 16px 13px; border: 1px solid rgba(185, 216, 250, 0.45); border-radius: 22px; background: #0b1f33; }
.mb-soc svg.ico { width: 24px; height: 24px; flex: none; }
.mb-soc b { display: block; font-size: 17px; font-weight: 800; }
.mb-soc span { display: block; white-space: nowrap; margin-top: 3px; font-size: 12.5px; color: #9db0c4; }
.mb-soc > svg.i { width: 17px; height: 17px; }

/* ---------------- Member app color schemes (each academy's own brand) ----------------
   Add data-theme="red" or data-theme="gold" to a .so-view to show another academy's colors. */
[data-theme="red"] .mb { background: #ffffff; color: #111111; }
[data-theme="red"] .mb-status { color: #111; }
[data-theme="red"] .mb-status svg rect, [data-theme="red"] .mb-status svg path { fill: #111; }
[data-theme="red"] .mb-status .bat { background: #111; }
[data-theme="red"] .mb-status .bat::after { background: rgba(0, 0, 0, 0.4); }
[data-theme="red"] .mb-hdr { background: rgba(255, 255, 255, 0.9); border-color: #ececec; }
[data-theme="red"] .mb-hero { background: radial-gradient(70% 90% at 85% 10%, rgba(214, 26, 43, 0.14), transparent 65%), linear-gradient(180deg, #ffffff 0%, #fbf5f5 100%); }
[data-theme="red"] .mb-hero::before { background: repeating-linear-gradient(115deg, rgba(214, 26, 43, 0.05) 0 2px, transparent 2px 22px); }
[data-theme="red"] .mb-hero::after { background: linear-gradient(rgba(255, 255, 255, 0), #ffffff); }
[data-theme="red"] .mb-hero p, [data-theme="red"] .mb-hero [data-h="1"] { color: #111; }
[data-theme="red"] .mb-hero small { color: #d61a2b; }
[data-theme="red"] .mb-card { border-color: #e7e7e7; background: #ffffff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
[data-theme="red"] .mb-prof .top, [data-theme="red"] .mb-stats div + div { border-color: #ececec; }
[data-theme="red"] .mb-prof .av { border-color: #d61a2b; background: linear-gradient(140deg, #e11d2e, #a50f1d); color: #fff; }
[data-theme="red"] .mb-prof .top > div > span { color: #555; }
[data-theme="red"] .mb-prof .top svg { color: #999; }
[data-theme="red"] .mb-stats strong { color: #111; }
[data-theme="red"] .mb-stats small { color: #8a8a8a; }
[data-theme="red"] .mb-next { position: relative; overflow: hidden; border-color: #ececec; background: #ffffff; color: #111; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07); }
[data-theme="red"] .mb-next::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #d61a2b; }
[data-theme="red"] .mb-next .row small { color: #8a8a8a; }
[data-theme="red"] .mb-next .row a { color: #d61a2b; font-weight: 600; }
[data-theme="red"] .mb-next .meta { color: #444; }
[data-theme="red"] .mb-next .meta svg.i { color: #d61a2b; }
[data-theme="red"] .mb-btn { background: #d61a2b; color: #fff; box-shadow: 0 6px 14px rgba(214, 26, 43, 0.28); }
[data-theme="red"] .mb-tile { border-color: #e7e7e7; background: #f7f7f7; }
[data-theme="red"] .mb-tile .t { color: #d61a2b; }
[data-theme="red"] .mb-tile .t svg.c { color: #b5b5b5; }
[data-theme="red"] .mb-tile b { color: #111; }
[data-theme="red"] .mb-tile small { color: #777; }
[data-theme="red"] .mb-tabs { border-color: #e7e7e7; background: rgba(255, 255, 255, 0.97); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
[data-theme="red"] .mb-tabs span { color: #444; }
[data-theme="red"] .mb-tabs span.on { color: #d61a2b; }
[data-theme="red"] .mb-tabs span.on svg.i { fill: #d61a2b; stroke: #d61a2b; }

[data-theme="gold"] .mb { background: radial-gradient(circle at 50% -12%, #2e2608 0, #141209 30%, #0a0a0a 65%, #070707 100%); }
[data-theme="gold"] .mb-hdr { background: rgba(16, 15, 9, 0.8); border-color: rgba(255, 210, 31, 0.22); }
[data-theme="gold"] .mb-hero { background: radial-gradient(70% 90% at 78% 20%, rgba(255, 210, 31, 0.26), transparent 70%), linear-gradient(160deg, #2b2508 0%, #121108 55%, #0b0b0b 100%); }
[data-theme="gold"] .mb-hero::after { background: linear-gradient(transparent, #0b0b0b); }
[data-theme="gold"] .mb-hero small { color: #ffd21f; }
[data-theme="gold"] .mb-card { border-color: rgba(255, 255, 255, 0.15); background: rgba(19, 19, 17, 0.96); }
[data-theme="gold"] .mb-prof .top, [data-theme="gold"] .mb-stats div + div { border-color: rgba(255, 255, 255, 0.12); }
[data-theme="gold"] .mb-prof .av { border-color: #ffe36b; background: linear-gradient(140deg, #ffd21f, #c99a00); color: #111; }
[data-theme="gold"] .mb-prof .top > div > span, [data-theme="gold"] .mb-stats small { color: #dcdcdc; }
[data-theme="gold"] .mb-next { border-color: #ffd21f; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 210, 31, 0.16), transparent 70%), #141414; }
[data-theme="gold"] .mb-next .row small { color: #cfcfcf; }
[data-theme="gold"] .mb-next .row a { color: #ffd21f; }
[data-theme="gold"] .mb-next .meta { color: #e8e8e8; }
[data-theme="gold"] .mb-next .meta svg.i { color: #ffd21f; }
[data-theme="gold"] .mb-btn { background: #ffd21f; color: #111; box-shadow: 0 8px 20px rgba(255, 210, 31, 0.3); }
[data-theme="gold"] .mb-tile { border-color: rgba(255, 255, 255, 0.14); background: #121212; }
[data-theme="gold"] .mb-tile .t { color: #ffd21f; }
[data-theme="gold"] .mb-tile .t svg.c { color: #9a9a9a; }
[data-theme="gold"] .mb-tile small { color: #a3a3a3; }
[data-theme="gold"] .mb-tabs { border-color: #2c2a20; background: rgba(12, 12, 10, 0.96); }
[data-theme="gold"] .mb-tabs span.on { color: #ffd21f; }
[data-theme="gold"] .mb-tabs span.on svg.i { fill: #ffd21f; stroke: #ffd21f; }
