/* Little Pulse scenes: six coded app windows for the portfolio.
   Everything is scoped under .lps, so nothing leaks into the host page.
   The window is drawn at 800 by 500 and scaled to its container (scenes.js sets --lps-s).
   Fonts: Gabarito and Figtree, loaded by the host page. No shadows anywhere. */

.lps {
  --ink: #1A1410; --mid: #5A4E44; --mut: #6E655C; --inset: #F5F5F3; --line: #ECECEA; --line2: #DEDEDA;
  --pink: #FF5FAE; --pink-deep: #C2187A; --pink-t: #FFE8F3;
  --coral: #F46B5D; --coral-deep: #B8392B; --coral-t: #FDE6E3;
  --marigold: #F5C800; --marigold-deep: #8A6D00; --marigold-t: #FFF6CC;
  --teal: #1EAAA0; --teal-deep: #11706A; --teal-t: #DDF3F1;
  --purple: #7B72C8; --purple-deep: #5A51A8; --purple-t: #ECEAF8;
  --blue: #4A86BE; --blue-deep: #2F6699; --blue-t: #E3EEF8;
  --lilac: #D4A8E0; --lilac-deep: #8A4F9C; --lilac-t: #F6EDF9;
  --fd: "Gabarito", "Figtree", system-ui, sans-serif;
  --fu: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lps-s: 1;
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 14px; background: #fff; isolation: isolate; contain: layout paint;
  -webkit-user-select: none; user-select: none; cursor: default;
}
.lps::after { content: ""; position: absolute; inset: 0; z-index: 9; border-radius: inherit; border: 1px solid rgba(26, 20, 16, .14); pointer-events: none; }
.lps *, .lps *::before, .lps *::after { box-sizing: border-box; margin: 0; padding: 0; pointer-events: none; }
.lps-cv {
  position: absolute; left: 0; top: 0; width: 800px; height: 500px; transform-origin: 0 0; transform: scale(var(--lps-s));
  font: 400 13px/1.35 var(--fu); color: var(--ink); text-align: left; letter-spacing: 0; text-transform: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.lps-cv :where(b, i, small) { font: inherit; color: inherit; font-style: normal; }
.lps-cv :where(svg) { display: block; }
.lps-fig { width: 100%; height: 100%; overflow: visible; }
.lps-ic { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- the app's bar ---- */
.lps-tb { display: flex; align-items: center; height: 44px; padding: 0 14px 0 14px; border-bottom: 1px solid var(--line); background: #fff; }
.lps-sock { width: 21px; height: 21px; flex: none; }
.lps-sock svg { width: 100%; height: 100%; }
.lps-wm { margin-left: 4px; font: 800 16px/1 var(--fd); letter-spacing: -.03em; white-space: nowrap; }
.lps-wm-i { position: relative; display: inline-block; }
.lps-wm-i svg { position: absolute; left: 50%; top: -.1em; width: .3em; height: .42em; transform: translateX(-50%); }
.lps-nav { display: flex; gap: 20px; margin-left: 24px; align-self: stretch; }
.lps-nav span { position: relative; display: flex; align-items: center; font-weight: 500; font-size: 12px; white-space: nowrap; }
.lps-nav .lps-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.lps-tb-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lps-saved { font-size: 10.5px; color: var(--mut); white-space: nowrap; }
.lps-signin { font-weight: 600; font-size: 11px; background: var(--inset); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }

/* ---- the class header ---- */
.lps-ch { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px 0 12px; border-bottom: 1px solid var(--line); background: #fff; }
.lps-ch .lps-ic { width: 13px; height: 13px; color: var(--mid); }
.lps-cn { font: 700 15px/1 var(--fd) !important; letter-spacing: -.012em; white-space: nowrap; margin: 0 8px 0 2px; }
.lps-tl { font-size: 10.5px; color: var(--mut); margin-left: 5px; white-space: nowrap; }
.lps-seg { display: inline-flex; flex: none; background: var(--inset); border-radius: 999px; padding: 2px; gap: 1px; }
.lps-seg span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 11px; color: var(--mid); white-space: nowrap; }
.lps-seg .lps-on { background: #fff; color: var(--ink); border-color: var(--line2); }
.lps-seg-s span { height: 21px; padding: 0 9px; font-size: 10.5px; }

.lps-body { position: relative; height: 410px; overflow: hidden; background: #fff; }
.lps--library .lps-body, .lps--community .lps-body { height: 456px; }
.lps-fx { position: absolute; inset: 0; z-index: 5; overflow: hidden; }
.lps-fx > * { position: absolute; left: 0; top: 0; }

/* ---- the pointer ---- */
.lps-cur { position: absolute; left: 0; top: 0; z-index: 6; width: 0; height: 0; will-change: transform; }
.lps-cur-a { position: absolute; left: -4px; top: -3px; width: 22px; height: 22px; transform-origin: 4px 3px; }
.lps-cur-r { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); opacity: 0; }

/* ---- shared pieces ---- */
.lps-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--mut)); }
.lps-find { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--inset); font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.lps-pill { display: inline-flex; align-items: center; height: 19px; padding: 0 8px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.lps-pill.lps-blue { background: var(--blue-t); color: var(--blue-deep); }
.lps-ft { display: grid; place-items: center; flex: none; background: #fff; border-radius: 8px; }
.lps-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--line); }
.lps-tabs span { position: relative; padding-bottom: 6px; font-weight: 600; font-size: 11px; color: var(--mid); }
.lps-tabs .lps-on { color: var(--ink); }
.lps-tabs .lps-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.lps-chips { display: flex; gap: 3px; }
.lps-chips span { height: 21px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--inset); font-weight: 600; font-size: 10.5px; white-space: nowrap; }
.lps-chips .lps-on { background: var(--ink); color: #fff; }
.lps-lt { display: flex; flex-direction: column; align-items: center; padding: 6px 4px 7px; border-radius: 10px; background: var(--inset); text-align: center; }
.lps-lt > span { width: 46px; height: 46px; }
.lps-lt b { margin-top: 2px; font-weight: 600 !important; font-size: 11px !important; line-height: 1.2 !important; white-space: nowrap; }
.lps-lt small { font-size: 9.5px !important; color: var(--mut) !important; white-space: nowrap; }
.lps-lbl { display: block; font-weight: 600; font-size: 10.5px; color: var(--mid); }

/* the strip: a class as one thin line, each block as wide as its minutes */
.lps-strip { position: relative; display: block; height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; }
.lps-strip i { position: absolute; top: 0; bottom: 0; border-radius: 3px; transform-origin: 0 50%; }
.lps-strip-b { height: 8px; border-radius: 4px; }
.lps-strip-b i { border-radius: 4px; }

/* the class outline */
.lps-ol { padding: 14px 10px 0 12px; border-right: 1px solid var(--line); }
.lps-ol-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; }
.lps-ol-h b { font: 700 13.5px/1.2 var(--fd) !important; }
.lps-ol-h span { font-size: 10.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-ol .lps-strip { margin: 9px 4px 8px; }
.lps-ol-add { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 6px; font-weight: 600; font-size: 12px; }
.lps-ol-row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 7px; border-radius: 8px; }
.lps-ol-row b { font-weight: 700 !important; font-size: 12px !important; white-space: nowrap; }
.lps-ol-row span:last-child { margin-left: auto; font-size: 10.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-ol-row.lps-on { background: var(--ct); }
.lps-ol-sub { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 23px; font-size: 11.5px; color: var(--mid); }
.lps-ol-sub .lps-ic { width: 11px; height: 11px; }
.lps-ol-sub span { margin-left: auto; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.lps-ol-foot { display: flex; align-items: center; gap: 7px; white-space: nowrap; height: 32px; margin-top: 6px; padding: 0 6px; border-top: 1px solid var(--line); font-weight: 600; font-size: 12px; color: var(--mid); }
.lps-ol-foot span { margin-left: auto; font-weight: 400; font-size: 10.5px; font-variant-numeric: tabular-nums; }

/* ---- 1 · Blocks ---- */
.lps-bk { display: grid; grid-template-columns: 178px minmax(0, 1fr) 212px; height: 100%; }
.lps-bk-c { padding: 14px 16px 0; background: #fff; }
.lps-bk-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-bk-top b { font-weight: 700 !important; color: var(--ink) !important; }
.lps-bk-c > .lps-strip { margin: 9px 0 14px; }
.lps-bcard { margin-bottom: 8px; padding: 9px 9px 9px; border-radius: 14px; background: color-mix(in srgb, var(--ct) 62%, #fff); }
.lps-bcard-h { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 4px; }
.lps-bcard-h b { font: 700 15px/1 var(--fd) !important; letter-spacing: -.01em; }
.lps-bcard-h > span:last-child { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 11px; font-variant-numeric: tabular-nums; }
.lps-bcard-h .lps-step { height: 22px; padding: 0 10px; gap: 10px; border-radius: 999px; background: #fff; }
.lps-bcard-h .lps-step i { color: var(--mut) !important; }
.lps-bcard-in { margin-top: 8px; padding: 7px 9px 8px; border-radius: 10px; background: #fff; }
.lps-song { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--mid); }
.lps-song b { font-weight: 700 !important; color: var(--ink) !important; }
.lps-song span { margin-left: auto; font-variant-numeric: tabular-nums; }
.lps-tiles { display: flex; gap: 6px; margin-top: 6px; }
.lps-tile { display: flex; flex-direction: column; align-items: center; width: 66px; padding: 3px 0 4px; border-radius: 8px; background: var(--inset); }
.lps-tile > span { width: 36px; height: 36px; }
.lps-tile small { font-size: 9.5px !important; line-height: 1.25 !important; white-space: nowrap; }
.lps-tiles-l .lps-tile { width: 84px; padding: 4px 0 6px; }
.lps-tiles-l .lps-tile > span { width: 52px; height: 52px; }
.lps-tiles-l .lps-tile small { font-weight: 600 !important; font-size: 10.5px !important; }
.lps-slot { display: block; width: 84px; height: 76px; border-radius: 8px; background: var(--inset); opacity: .55; }
.lps-slotw { position: relative; display: block; width: 84px; height: 76px; }
.lps-slotw .lps-tile { position: absolute; left: 0; top: 0; height: 76px; }
.lps-bchips { display: flex; gap: 14px; margin-top: 8px; padding: 0 4px 2px; font-weight: 600; font-size: 11px; }
.lps-bchips span { display: inline-flex; align-items: center; gap: 5px; }
.lps-lib { padding: 12px 12px 0; border-left: 1px solid var(--line); }
.lps-lib .lps-tabs { margin-top: 12px; }
.lps-lib .lps-find { margin-top: 10px; }
.lps-lib .lps-chips { margin-top: 8px; }
.lps-lib .lps-lbl { margin: 12px 0 6px; }
.lps-lts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lps-ghost { display: flex; align-items: center; gap: 8px; width: 156px; height: 30px; padding: 0 8px 0 7px; border-radius: 8px; background: var(--purple-t); border: 1px solid var(--line2); transform-origin: 0 0; }
.lps-ghost b { font-weight: 700 !important; font-size: 12px !important; white-space: nowrap; }
.lps-ghost span:last-child { margin-left: auto; font-size: 10.5px; color: var(--mid); }
.lps-drop { width: 156px; height: 2px; border-radius: 2px; background: var(--ink); }
.lps-lt-g { width: 91px; background: #fff; border: 1px solid var(--line2); }

/* ---- 2 · Move Library ---- */
.lps-ml { padding: 16px 26px 0; }
.lps-ml-h { display: flex; align-items: center; gap: 8px; }
.lps-ml-h > b { margin-right: auto; font: 800 24px/1.1 var(--fd) !important; letter-spacing: -.025em; }
.lps-ml .lps-find { height: 32px; margin-top: 12px; padding: 0 13px; font-size: 12px; }
.lps-ml-s { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 8px; }
.lps-ml-s b { font: 700 13.5px/1.2 var(--fd) !important; }
.lps-ml-s span { font-size: 11px; color: var(--mut); }
.lps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 12px; }
.lps-mc-t { display: grid; place-items: center; height: 86px; border-radius: 10px; background: var(--inset); }
.lps-mc-t > span { width: 70px; height: 70px; }
.lps-mc b { display: block; margin-top: 6px; font-weight: 600 !important; font-size: 12.5px !important; line-height: 1.2 !important; white-space: nowrap; }
.lps-mc small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 10.5px !important; color: var(--mut) !important; }
.lps-mc small .lps-dot { width: 6px; height: 6px; }
.lps-dim { position: absolute; inset: 0; background: rgba(26, 20, 16, .14); }
.lps-pn { position: absolute; top: 0; right: 0; bottom: 0; width: 330px; padding: 12px 16px 0; background: #fff; border-left: 1px solid var(--line2); }
.lps-pn-top { display: flex; align-items: center; gap: 6px; height: 30px; }
.lps-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--inset); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.lps-btn-p { background: var(--pink); }
.lps-pn-top small { margin-left: auto; font-size: 10.5px !important; color: var(--mut) !important; }
.lps-x { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; border-radius: 50%; background: var(--inset); }
.lps-stage { position: relative; display: grid; place-items: center; height: 184px; margin-top: 12px; border-radius: 12px; background: var(--inset); }
.lps-stage > span:first-child { width: 168px; height: 168px; }
.lps-way { position: absolute; left: 10px; bottom: 10px; height: 22px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--coral-t); color: var(--coral-deep); font-weight: 700; font-size: 11px; }
.lps-pn-n { display: block; margin-top: 13px; font: 800 22px/1.1 var(--fd) !important; letter-spacing: -.02em; }
.lps-tags { display: flex; gap: 5px; margin-top: 9px; }
.lps-tags span { height: 21px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--inset); font-weight: 600; font-size: 10.5px; }
.lps-tags .lps-legs { background: var(--coral-t); color: var(--coral-deep); }
.lps-pn .lps-lbl { margin-top: 13px; }
.lps-cue { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.lps-cue span { display: block; }

/* ---- 3 · Lyrics ---- */
.lps-lyw { display: grid; grid-template-columns: minmax(0, 1fr) 190px; height: 100%; }
.lps-ly { padding: 12px 16px 0 18px; }
.lps-ly-h { display: flex; align-items: center; gap: 8px; height: 24px; }
.lps-ly-h b { font: 700 17px/1 var(--fd) !important; letter-spacing: -.012em; }
.lps-ly-h > span:last-child { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-weight: 600; font-size: 11px; }
.lps-songrow { display: flex; align-items: center; gap: 9px; height: 44px; margin-top: 6px; border-top: 1px solid var(--line); }
.lps-cov { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--marigold-t); color: var(--marigold-deep); }
.lps-songrow b { display: block; font-weight: 700 !important; font-size: 12.5px !important; line-height: 1.2 !important; }
.lps-songrow small { display: block; font-size: 10.5px !important; color: var(--mut) !important; }
.lps-bpm { margin-left: auto; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--inset); font-weight: 600; font-size: 10.5px; }
.lps-lyh, .lps-lg { display: grid; grid-template-columns: 62px 150px 54px minmax(0, 1fr); column-gap: 8px; }
.lps-lyh { height: 24px; align-items: center; border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--mut); }
.lps-lg { position: relative; margin-top: 5px; grid-auto-rows: 30px; }
.lps-lg > * { align-self: center; z-index: 1; }
.lps-sep { grid-column: 1 / -1; height: 1px; background: var(--line); z-index: 0; }
.lps-pt { grid-column: 1; align-self: start; padding-top: 6px; }
.lps-pt b { display: flex; align-items: center; gap: 5px; font-weight: 700 !important; font-size: 11.5px !important; line-height: 1.3 !important; white-space: nowrap; }
.lps-pt b i { width: 6px; height: 6px; border-radius: 50%; background: var(--mut); }
.lps-pt b i.lps-o { background: none; border: 1.5px solid var(--mut); }
.lps-pt small { display: block; padding-left: 11px; font-size: 9.5px !important; color: var(--mut) !important; white-space: nowrap; }
.lps-ct { grid-column: 3; display: flex; align-items: baseline; gap: 6px; font-size: 10.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.lps-ct b { width: 12px; text-align: center; font: 800 12.5px/1 var(--fd) !important; color: var(--mid) !important; }
.lps-w { grid-column: 4; padding: 0 9px; font-size: 13px; color: var(--mid); white-space: nowrap; transition: color 200ms ease-out; }
.lps-w.lps-inst { font-style: italic !important; color: var(--mut); }
.lps-w.lps-chg { font-weight: 700; color: var(--ink); }
.lps-w.lps-in { color: var(--ink); }
.lps-bgw { position: relative; align-self: stretch !important; margin: 2px 0; border-radius: 8px; overflow: hidden; z-index: 0 !important; }
.lps-bgw i { position: absolute; left: 0; right: 0; top: -40px; bottom: 0; border-radius: 8px; background: var(--ct); }
.lps-sel { grid-column: 4; align-self: stretch !important; margin: 2px 0; border-radius: 8px; background: var(--blue-t); z-index: 0 !important; }
.lps-chip { grid-column: 2; align-self: start !important; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; align-items: center; padding: 6px 6px 0 6px; }
.lps-chip .lps-ft { width: 22px; height: 22px; border-radius: 6px; }
.lps-chip .lps-ft > span { width: 20px; height: 20px; }
.lps-chip > b { font: 800 13.5px/1.1 var(--fd) !important; letter-spacing: -.01em; white-space: nowrap; }
.lps-chip-p { grid-column: 1 / -1; display: flex; gap: 4px; margin-top: 7px; }
.lps-chip-p .lps-pill { height: 17px; padding: 0 7px; font-size: 9.5px; }
.lps-n8 { grid-column: 4; justify-self: end; margin-right: 7px; z-index: 2 !important; }
.lps-n8 .lps-pill { height: 18px; font-size: 10px; font-variant-numeric: tabular-nums; }
.lps-grip { position: absolute; z-index: 3 !important; width: 26px; height: 5px; border-radius: 3px; background: var(--teal-deep); opacity: .0; }
.lps-lyp { position: relative; padding: 12px 12px 0; border-left: 1px solid var(--line); }
.lps-ph { position: relative; height: 80px; }
.lps-ph > div { position: absolute; inset: 0; }
.lps-ph .lps-tabs { margin-top: 12px; }
.lps-ph-b b { display: block; font: 700 13.5px/1.2 var(--fd) !important; font-variant-numeric: tabular-nums; }
.lps-ph-b small { display: block; margin-top: 2px; font-size: 10px !important; line-height: 1.3 !important; color: var(--mut) !important; }
.lps-type { display: flex; align-items: center; gap: 7px; height: 28px; margin-top: 7px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--pink-deep); font-size: 11px; color: var(--mut); white-space: nowrap; }
.lps-lyp .lps-lbl { margin: 10px 0 6px; }

/* ---- 4 · Practice ---- */
.lps-prw { padding: 14px 40px 0; }
.lps-pr { position: relative; display: grid; grid-template-columns: 432px minmax(0, 1fr); grid-template-rows: 300px 62px; height: 364px; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: #fff; }
.lps-pr-l { position: relative; }
.lps-pr-bg { position: absolute; left: 0; top: 0; width: 432px; height: 300px; background: var(--ct); transform-origin: 0 0; }
.lps-pr-fx { position: absolute; inset: 0; z-index: 2; }
.lps-pr-c { position: absolute; inset: 0; z-index: 3; padding: 16px 20px 0; }
.lps-pr-m { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-pr-r { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.lps-pr-r .lps-ft { width: 112px; height: 112px; border-radius: 12px; }
.lps-pr-r .lps-ft > span { width: 100px; height: 100px; }
.lps-pr-r b { display: block; font: 800 32px/1.05 var(--fd) !important; letter-spacing: -.025em; white-space: nowrap; }
.lps-pr-r .lps-pills { display: flex; gap: 5px; margin-top: 9px; }
.lps-pr-r .lps-pill { height: 26px; padding: 0 12px; font-size: 13px; }
.lps-pts { margin-top: 14px; }
.lps-pts span { position: relative; display: block; padding-left: 16px; font-size: 14.5px; line-height: 1.6; }
.lps-pts span::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.lps-ama { margin-top: 12px; font-weight: 700; font-size: 11px; }
.lps-pr-n { position: relative; z-index: 1; padding: 16px 16px 0 18px; border-left: 1px solid var(--line); }
.lps-pr-n > small { display: block; font-size: 11.5px !important; font-weight: 600 !important; color: var(--mid) !important; font-variant-numeric: tabular-nums; }
.lps-nx { position: relative; height: 92px; margin-top: 8px; }
.lps-nxc { position: absolute; inset: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; align-content: center; padding: 0 10px; border-radius: 12px; background: var(--ct); }
.lps-nxc .lps-ft { grid-row: 1 / span 3; align-self: center; width: 52px; height: 52px; border-radius: 9px; }
.lps-nxc .lps-ft > span { width: 46px; height: 46px; }
.lps-nxc b { font: 800 17px/1.1 var(--fd) !important; letter-spacing: -.015em; white-space: nowrap; }
.lps-nxc small { font-size: 10px !important; color: var(--mid) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lps-nxc .lps-pills { display: flex; gap: 4px; margin-top: 4px; }
.lps-nxc .lps-pill { height: 18px; padding: 0 7px; font-size: 10px; }
.lps-prl { position: relative; height: 120px; margin-top: 18px; }
.lps-prl > div { position: absolute; inset: 0; }
.lps-prl-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 11.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-prl-h b { font-weight: 700 !important; font-size: 12.5px !important; color: var(--ink) !important; }
.lps-prl span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lps-prl span.lps-inst { font-style: italic; }
.lps-prl span.lps-now { font-weight: 700; color: var(--ink); }
.lps-cnt { position: relative; z-index: 4; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 2px; background: var(--inset); border-top: 1px solid var(--line); isolation: isolate; }
.lps-play { position: absolute; left: 16px; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--pink); }
.lps-play svg { position: absolute; width: 14px; height: 14px; fill: var(--ink); }
.lps-n { position: relative; width: 38px; text-align: center; font: 800 32px/46px var(--fd); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; color: #D6D0CA; transition: color 140ms linear; }
.lps-n::before { content: ""; position: absolute; z-index: -1; inset: 3px 2px; border-radius: 10px; background: #fff; border: 1px solid var(--line2); opacity: 0; transform: scale(.84); transition: opacity 120ms ease-out, transform 220ms var(--ease); }
.lps-n.lps-past { color: var(--mut); }
.lps-n.lps-now { color: var(--ink); }
.lps-n.lps-now::before { opacity: 1; transform: none; }
.lps-of8 { position: absolute; right: 18px; top: 50%; margin-top: -8px; font-size: 11.5px; line-height: 16px; color: var(--mid); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lps-prog { display: flex; gap: 3px; margin-top: 8px; }
.lps-prog i { flex: var(--f, 1); height: 4px; border-radius: 2px; background: var(--line2); transition: background-color 200ms ease-out; }
.lps-prog i.lps-on { background: var(--ink); }

/* ---- 5 · Flashcards ---- */
.lps-fcw { width: 430px; margin: 0 auto; padding-top: 11px; }
.lps-fc-top { display: flex; align-items: center; gap: 5px; height: 28px; }
.lps-tg { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 11px; }
.lps-conf { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px 0 11px; border-radius: 999px; background: var(--inset); font-weight: 600; font-size: 11px; }
.lps-conf i { position: relative; width: 22px; height: 13px; border-radius: 999px; background: var(--ink); }
.lps-conf i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.lps-deck { position: relative; height: 302px; margin-top: 10px; perspective: 1100px; }
.lps-deck-u { position: absolute; inset: 14px 12px -11px; border-radius: 16px; background: var(--cu); }
.lps-deck-e { position: absolute; inset: 5px 0 -5px; border-radius: 16px; background: var(--ce); transition: background-color 200ms ease-out; }
.lps-fc { position: absolute; inset: 0; transform-style: preserve-3d; }
.lps-fc-f, .lps-fc-b { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lps-fc-f { display: flex; flex-direction: column; padding: 8px; background: var(--c); }
.lps-fc-fig { flex: 1; min-height: 0; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.lps-fc-fig > span { width: 206px; height: 206px; }
.lps-fc-n { position: relative; padding: 9px 6px 5px; }
.lps-fc-n b { display: block; font: 800 20px/1.1 var(--fd) !important; letter-spacing: -.02em; }
.lps-fc-n small { display: block; margin-top: 2px; font-weight: 600 !important; font-size: 12px !important; }
.lps-fc-n i { position: absolute; right: 6px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; font-weight: 700 !important; font-size: 11px !important; }
.lps-fc-b { transform: rotateY(180deg); padding: 13px 15px 0; background: var(--ink); color: #fff; }
.lps-fc-b > small { display: block; font-weight: 700 !important; font-size: 11.5px !important; color: #FF9ACB !important; }
.lps-fc-pts { margin-top: 5px; }
.lps-fc-pts span { position: relative; display: block; padding-left: 14px; font-weight: 500; font-size: 14.5px; line-height: 21px; }
.lps-fc-pts span::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #FF9ACB; }
.lps-adj { display: grid; grid-template-columns: 100px minmax(0, 1fr); margin-top: 6px; padding: 8px 12px 8px; border-radius: 10px; background: #2C2622; }
.lps-adj:first-of-type { margin-top: 9px; }
.lps-adj > b { font-weight: 700 !important; font-size: 11.5px !important; line-height: 17px !important; color: #BDB6F0 !important; }
.lps-adj span span { position: relative; display: block; padding-left: 16px; font-weight: 500; font-size: 12.5px; line-height: 17px; color: #fff; white-space: nowrap; }
.lps-adj span span::before { content: ""; position: absolute; left: 1px; top: 8px; width: 9px; height: 1.5px; background: #BDB6F0; }
.lps-adj span span::after { content: ""; position: absolute; left: 5px; top: 6px; width: 5px; height: 5px; border-right: 1.5px solid #BDB6F0; border-bottom: 1.5px solid #BDB6F0; transform: rotate(-45deg); }
.lps-dbar { display: flex; align-items: center; gap: 6px; margin-top: 23px; }
.lps-dbar .lps-btn { height: 30px; padding: 0 9px 0 12px; font-size: 11.5px; }
.lps-key { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: #fff; font-size: 9.5px; color: var(--mid); }
.lps-dprog { flex: 1; height: 4px; margin: 0 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lps-dprog i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; }
.lps-dbar small { display: inline-flex; align-items: center; gap: 8px; font-weight: 600 !important; font-size: 11px !important; color: var(--mid) !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lps-cf { width: 7px; height: 7px; border-radius: 2px; opacity: 0; }

/* ---- 6 · Community, coming soon ---- */
.lps-cm { display: flex; flex-direction: column; height: 100%; padding: 16px 0 0; }
.lps-cm-in { width: 500px; margin: 0 auto; }
.lps-cm-h { display: flex; align-items: center; gap: 10px; }
.lps-cm-h b { font: 700 21px/1.1 var(--fd) !important; letter-spacing: -.015em; }
.lps-soon { height: 21px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--marigold-t); color: var(--marigold-deep); font-weight: 700; font-size: 11px; }
.lps-rooms { display: flex; gap: 5px; margin-top: 11px; }
.lps-rooms span { height: 25px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--inset); font-weight: 600; font-size: 11px; color: var(--mid); white-space: nowrap; }
.lps-rooms .lps-on { background: var(--ink); color: #fff; }
.lps-rooms i { margin-left: 4px; font-weight: 700 !important; color: var(--pink-deep) !important; }
.lps-posts { flex: 1; min-height: 0; margin-top: 8px; overflow: hidden; border-top: 1px solid var(--line); }
.lps-feed { width: 500px; margin: 0 auto; }
.lps-post { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 11px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
.lps-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); font: 800 13.5px/1 var(--fd); }
.lps-who { display: flex; align-items: center; font-size: 11.5px; color: var(--mut); }
.lps-who b { margin-right: 6px; font-weight: 700 !important; color: var(--ink) !important; }
.lps-lv { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 11.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.lps-lv svg { width: 13px; height: 13px; fill: var(--pink); }
.lps-post p, .lps-post .lps-p { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; }
.lps-ph2 { position: relative; display: grid; place-items: center; width: 250px; height: 112px; margin-top: 8px; border-radius: 12px; background: var(--ct); }
.lps-ph2 > span:first-child { width: 104px; height: 104px; }
.lps-pl { position: absolute; left: 9px; bottom: 9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.lps-pl svg { width: 11px; height: 11px; fill: var(--ink); }
.lps-shared { display: flex; align-items: center; gap: 11px; margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: var(--inset); }
.lps-shared .lps-ft { width: 38px; height: 38px; }
.lps-shared .lps-ft > span { width: 34px; height: 34px; }
.lps-shared > span:nth-child(2) { flex: 1; min-width: 0; }
.lps-shared b { display: block; font: 700 13.5px/1.2 var(--fd) !important; }
.lps-shared small { display: block; font-size: 10.5px !important; color: var(--mut) !important; }
.lps-shared .lps-strip { margin-top: 5px; width: 100%; }
.lps-mk { height: 25px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; font-weight: 700; font-size: 11px; white-space: nowrap; }
.lps-reply { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 9px; align-items: center; margin-top: 9px; }
.lps-reply .lps-av { width: 24px; height: 24px; font-size: 11px; }
.lps-reply span:last-child { font-size: 12.5px; color: var(--mid); }
.lps-heart { width: 16px; height: 16px; opacity: 0; will-change: transform, opacity; }
.lps-heart svg { width: 100%; height: 100%; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .lps *, .lps *::before, .lps *::after { transition: none !important; animation: none !important; }
}
