/* Live courses — the sales page, the class hub, the course viewer panel.
   Uses only the site's theme variables (templates/base/partials/_theme_vars),
   so it follows the brand and the dark theme without its own palette. */

.lc { --lc-radius: 16px; --lc-gap: clamp(16px, 3vw, 28px); color: var(--color-text-dark); }
.lc a { text-decoration: none; }
.lc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ── Badges ───────────────────────────────────────────────────────────── */
.lc-live-dot { display: inline-flex; align-items: center; gap: 6px; font-weight: 800;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: var(--color-danger); padding: 4px 10px; border-radius: 999px; }
.lc-live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: lc-pulse 1.4s ease-in-out infinite; }
@keyframes lc-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .lc-live-dot::before { animation: none; } }
.lc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; background: rgba(var(--color-primary-rgb), .1);
  color: var(--color-primary); }
.lc-chip--muted { background: var(--color-bg-muted); color: var(--color-text-secondary); }
.lc-chip--warn { background: rgba(var(--color-accent-rgb), .16); color: var(--color-text-heading); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
/* The brand hero shared by every page-top banner (_theme_vars.html). */
.lc-hero { background: var(--gradient-brand-hero); color: #fff; padding: clamp(28px, 6vw, 64px) 0;
  position: relative; overflow: hidden; }
.lc-hero { border-radius: 0 0 28px 28px; }
.lc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--lc-gap);
  position: relative; z-index: 1; align-items: start; }
.lc-hero h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12; margin: 12px 0; color: #fff; }
.lc-hero__tagline { font-size: clamp(1rem, 2vw, 1.18rem); opacity: .88; max-width: 640px; }
.lc-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: .92rem; }
.lc-hero__facts span { display: inline-flex; gap: 8px; align-items: center; opacity: .95; }
.lc-hero__facts i { color: var(--color-accent); }
.lc-hero__teacher { display: flex; gap: 12px; align-items: center; margin-top: 22px; color: #fff; }
.lc-hero__teacher:hover { color: #fff; opacity: .9; }

/* ── Avatars ──────────────────────────────────────────────────────────── */
.lc-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; font-weight: 800; background: var(--gradient-primary, var(--color-primary));
  color: #fff; overflow: hidden; }
.lc-avatar--lg { width: 112px; height: 112px; font-size: 2rem; }
.lc-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Buy box ──────────────────────────────────────────────────────────── */
.lc-buy { background: var(--color-bg-card); color: var(--color-text-dark); border-radius: var(--lc-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25); overflow: hidden; position: sticky; top: 88px; }
/* The cover is shown whole, at its own shape — a designed cover carries text
   that a crop would cut — and opens full size on click. */
.lc-buy__cover { position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0;
  background: var(--color-bg-muted); cursor: zoom-in; line-height: 0; }
.lc-buy__cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.lc-buy__cover--empty { aspect-ratio: 16 / 9; display: grid; place-items: center; cursor: default;
  color: var(--color-primary); font-size: 2.6rem; line-height: 1; }
.lc-buy__zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-size: .9rem;
  line-height: 1; opacity: .85; transition: opacity .15s, transform .15s; }
.lc-buy__cover:hover .lc-buy__zoom, .lc-buy__cover:focus-visible .lc-buy__zoom { opacity: 1; transform: scale(1.08); }
.lc-zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; overflow: visible; }
.lc-zoom::backdrop { background: rgba(0, 0, 0, .82); }
.lc-zoom img { display: block; max-width: min(96vw, 1200px); max-height: 90vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lc-zoom__close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: #fff; color: #111; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); z-index: 1; }
@media (max-width: 575.98px) { .lc-zoom__close { top: 6px; right: 6px; } }

/* How full the class is: a share reserved, never a seat count. */
.lc-reserved { margin-top: 12px; }
.lc-reserved__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: .82rem; color: var(--color-text-secondary); margin-bottom: 6px; }
.lc-reserved__head b { color: var(--color-text-heading); font-weight: 800; }
.lc-reserved__head i { margin-right: 4px; }
.lc-reserved__bar { height: 8px; border-radius: 999px; background: var(--color-bg-muted); overflow: hidden; }
.lc-reserved__bar i { display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-info, var(--color-primary)));
  transition: width .6s ease; }
.lc-reserved.is-hot .lc-reserved__head { color: var(--color-danger); font-weight: 700; }
.lc-reserved.is-hot .lc-reserved__bar i { background: linear-gradient(90deg, #f59e0b, var(--color-danger)); }
.lc-reserved--compact { margin-top: 2px; }
.lc-reserved--compact .lc-reserved__head { font-size: .75rem; margin-bottom: 4px; }
.lc-reserved--compact .lc-reserved__bar { height: 5px; }
.lc-buy__body { padding: 20px; }
.lc-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lc-price strong { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--color-text-heading); }
.lc-price s { color: var(--color-text-muted); }
.lc-buy ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: .9rem; }
.lc-buy li { display: flex; gap: 10px; }
.lc-buy li i { color: var(--color-success); margin-top: 3px; width: 16px; }
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0;
  border-radius: 12px; padding: 13px 18px; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.lc-btn--primary { background: var(--color-primary); color: #fff !important; box-shadow: 0 10px 24px rgba(var(--color-primary-rgb), .35); }
.lc-btn--primary:hover { transform: translateY(-1px); }
.lc-btn--live { background: var(--color-danger); color: #fff !important; }
.lc-btn--ghost { background: var(--color-bg-muted); color: var(--color-text-heading) !important; }
.lc-btn--block { width: 100%; }
.lc-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }
.lc-seats { margin-top: 10px; font-size: .84rem; color: var(--color-text-secondary); text-align: center; }
.lc-seats b { color: var(--color-danger); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.lc-body { padding: var(--lc-gap) 0 calc(var(--lc-gap) * 2); background: var(--color-bg-dark); }
.lc-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--lc-gap); }
.lc-section { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--lc-radius);
  padding: clamp(18px, 3vw, 28px); margin-bottom: var(--lc-gap); }
.lc-section h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; margin: 0 0 14px;
  color: var(--color-text-heading); }
.lc-outcomes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 22px;
  list-style: none; padding: 0; margin: 0; }
.lc-outcomes li { display: flex; gap: 10px; }
.lc-outcomes li i { color: var(--color-success); margin-top: 4px; }
.lc-prose { white-space: pre-line; line-height: 1.7; color: var(--color-text-secondary); }

/* ── Timetable ────────────────────────────────────────────────────────── */
.lc-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.lc-week__day { border-radius: 10px; padding: 10px 4px; text-align: center; font-size: .78rem;
  background: var(--color-bg-muted); color: var(--color-text-muted); font-weight: 700; min-width: 0; }
.lc-week__day.is-on { background: rgba(var(--color-primary-rgb), .12); color: var(--color-primary); }
.lc-week__day small { display: block; font-weight: 600; margin-top: 4px; font-size: .72rem; overflow-wrap: anywhere; }
.lc-classes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lc-class { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  border: 1px solid var(--color-border); border-radius: 12px; padding: 10px 14px; background: var(--color-bg-card); }
.lc-class.is-live { border-color: var(--color-danger); box-shadow: 0 0 0 3px rgba(220, 53, 69, .12); }
.lc-class.is-past { background: var(--color-bg-dark); }
.lc-class__date { text-align: center; line-height: 1.1; }
.lc-class__date b { display: block; font-size: 1.3rem; font-family: 'Syne', sans-serif; color: var(--color-text-heading); }
.lc-class__date small { font-size: .7rem; text-transform: uppercase; color: var(--color-text-muted); font-weight: 700; }
.lc-class__title { font-weight: 700; color: var(--color-text-heading); overflow-wrap: anywhere; }
.lc-class__meta { font-size: .8rem; color: var(--color-text-muted); }
.lc-class__go { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lc-class__go .lc-btn { padding: 8px 12px; font-size: .82rem; border-radius: 10px; }

/* ── Outline ──────────────────────────────────────────────────────────── */
.lc-outline details { border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: 8px; background: var(--color-bg-card); }
.lc-outline summary { padding: 12px 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; gap: 10px; color: var(--color-text-heading); }
.lc-outline summary::-webkit-details-marker { display: none; }
.lc-outline summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; transition: transform .2s; }
.lc-outline details[open] summary::after { transform: rotate(180deg); }
.lc-outline ul { margin: 0; padding: 0 16px 12px 38px; color: var(--color-text-secondary); font-size: .92rem; }

/* ── Teacher ──────────────────────────────────────────────────────────── */
.lc-teacher { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; }
.lc-teacher h3 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--color-text-heading); }
.lc-teacher__headline { color: var(--color-primary); font-weight: 700; margin: 4px 0 10px; }
.lc-teacher__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.lc-teacher__creds { margin: 10px 0 0; padding-left: 18px; color: var(--color-text-secondary); font-size: .9rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.lc-faq details { border-bottom: 1px solid var(--color-border); padding: 12px 0; }
.lc-faq summary { font-weight: 700; cursor: pointer; color: var(--color-text-heading); }
.lc-faq p { margin: 8px 0 0; color: var(--color-text-secondary); }

/* ── Cards (catalogue) ────────────────────────────────────────────────── */
.lc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.lc-card { display: flex; flex-direction: column; background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--lc-radius); overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; height: 100%; }
.lc-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(var(--color-primary-rgb), .14); color: inherit; }
.lc-card__cover { aspect-ratio: 16 / 9; background: var(--gradient-primary, var(--color-primary)) center / cover no-repeat;
  position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 2.2rem; }
.lc-card__cover .lc-chip { position: absolute; left: 12px; top: 12px; background: rgba(0, 0, 0, .55); color: #fff; }
.lc-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lc-card__title { font-weight: 800; font-size: 1.05rem; color: var(--color-text-heading); line-height: 1.3; }
.lc-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--color-text-muted); }
.lc-card__meta i { color: var(--color-primary); margin-right: 4px; }
.lc-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--color-border); }
.lc-card__teacher { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; min-width: 0; }
.lc-card__teacher .lc-avatar { width: 30px; height: 30px; font-size: .72rem; }
.lc-card__price { font-weight: 800; color: var(--color-text-heading); white-space: nowrap; }

/* ── Hub ──────────────────────────────────────────────────────────────── */
.lc-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  background:
    radial-gradient(600px 260px at 90% -30%, rgba(var(--color-secondary-rgb), .30), transparent 60%),
    var(--color-primary);
  color: #fff; border-radius: var(--lc-radius); padding: 22px; margin-bottom: var(--lc-gap); }
.lc-next h2 { color: #fff; margin: 6px 0; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem; }
.lc-next__when { opacity: .85; }
.lc-countdown { font-variant-numeric: tabular-nums; font-weight: 800; }
.lc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; overflow-x: auto; }
.lc-tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--color-text-muted);
  border-bottom: 3px solid transparent; white-space: nowrap; }
.lc-tabs button.is-on { color: var(--color-primary); border-bottom-color: var(--color-primary); }
[data-lc-pane][hidden] { display: none !important; }

/* ── Video player (recordings) ────────────────────────────────────────── */
.lc-player { position: fixed; inset: 0; z-index: 29450; background: rgba(5, 8, 20, .92); display: none;
  align-items: center; justify-content: center; padding: 16px; }
.lc-player.is-open { display: flex; }
.lc-player__box { width: min(1100px, 100%); }
.lc-player__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #fff; margin-bottom: 10px; }
.lc-player__bar b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-player video { width: 100%; max-height: 78vh; background: #000; border-radius: 12px; display: block; }
.lc-player__parts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lc-player__parts button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  border-radius: 999px; padding: 4px 12px; font-size: .8rem; }
.lc-player__parts button.is-on { background: #fff; color: #111; }
.lc-player__close { background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; flex: none; }

/* ── Course viewer: the Live Class bar, panel and call ────────────────── */
/* Layers, all under the protected screen's veil (29500) and prompts (30000),
   so a warning is never hidden behind the call:
   mini call 29200 < scrim 29250 < panel 29300 < call 29400 < recording 29450. */
.lc-bar { --lc-bar-h: 48px; display: flex; align-items: center; gap: 10px; min-height: var(--lc-bar-h);
  padding: 6px 1.25rem; background: var(--gradient-brand-hero); color: #fff; position: relative; z-index: 5; }
.lc-bar.is-live { background: linear-gradient(90deg, var(--color-danger), color-mix(in srgb, var(--color-danger) 70%, var(--color-primary))); }
.lc-bar button, .lc-bar a { font: inherit; }
.lc-bar__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent;
  color: inherit; padding: 0; text-align: left; cursor: pointer; }
.lc-bar__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .16); }
.lc-bar.is-live .lc-bar__icon i { animation: lc-pulse 1.4s ease-in-out infinite; }
.lc-bar__label { font-family: 'Syne', sans-serif; font-weight: 800; font-size: .95rem; white-space: nowrap; }
.lc-bar__title { font-weight: 600; opacity: .85; font-size: .85rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; min-width: 0; }
.lc-bar__title::before { content: "·"; margin-right: 8px; opacity: .6; }
.lc-bar__when { margin-left: auto; font-size: .8rem; font-weight: 700; white-space: nowrap; opacity: .95;
  display: inline-flex; align-items: center; gap: 6px; }
.lc-bar__when .lc-live-dot { background: #fff; color: var(--color-danger); }
.lc-bar__when .lc-live-dot::before { background: var(--color-danger); }
.lc-bar__join { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 8px 16px;
  font-weight: 800; font-size: .85rem; background: #fff; color: var(--color-danger) !important; cursor: pointer;
  white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); text-decoration: none; }
.lc-bar:not(.is-live) .lc-bar__join { color: var(--color-primary) !important; }
.lc-bar__join[hidden] { display: none; }
/* "Open Class": the way into the classes, so it reads as a button, not a link. */
.lc-bar__more { border: 0; background: #fff; color: var(--color-primary); border-radius: 999px;
  padding: 7px 14px; font-weight: 800; font-size: .8rem; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.lc-bar__more:hover { transform: translateY(-1px); }
.lc-bar__open:hover .lc-bar__label { text-decoration: underline; }
/* The viewer's shell is sized to the screen: make room for the bar. */
@media (min-width: 992px) {
  #lc-bar ~ .player-shell { height: calc(100vh - var(--header-h) - var(--top-strip-h) - var(--preview-banner-h) - 48px - 3px); }
}
/* On a phone the viewer is a column the height of the screen
   (lesson_player_mobile.css): the course bar, the bar, then the lesson, which
   scrolls on its own. So the bar is simply a row of the column — always on
   screen, Join one tap away — and the lesson starts below it. (It used to be
   sticky with an offset from the page's top: in the column that pushed it
   down over the lesson's title and left a white band where it belonged.) */
@media (max-width: 991.98px) {
  .lc-bar { position: relative; top: auto; z-index: 39; flex: 0 0 auto; }
}
@media (max-width: 767.98px) {
  .lc-bar { padding: 6px 10px; gap: 8px; }
  .lc-bar__title { display: none; }
  .lc-bar__when { font-size: .72rem; }
  .lc-bar__join { padding: 7px 12px; }
}
@media (max-width: 420px) { .lc-bar__when { display: none; } }

.lc-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); z-index: 29300;
  background: var(--color-bg-dark); box-shadow: -20px 0 50px rgba(0, 0, 0, .25); transform: translateX(105%);
  transition: transform .25s ease; display: flex; flex-direction: column; }
.lc-drawer.is-open { transform: none; }
.lc-drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--color-bg-card); border-bottom: 1px solid var(--color-border); }
.lc-drawer__head b { font-weight: 800; color: var(--color-text-heading); }
.lc-drawer__close { background: var(--color-bg-muted); color: var(--color-text-heading); border: 0; border-radius: 50%;
  width: 40px; height: 40px; flex: none; }
.lc-drawer__body { overflow-y: auto; padding: 14px; flex: 1; }
.lc-drawer__h { font-size: .95rem; font-weight: 800; margin: 22px 0 10px; color: var(--color-text-heading); }
.lc-drawer__scrim { position: fixed; inset: 0; z-index: 29250; background: rgba(0, 0, 0, .35); display: none; }
.lc-drawer__scrim.is-open { display: block; }
.lc-drawer .lc-class { grid-template-columns: 46px minmax(0, 1fr); }
.lc-drawer .lc-class__go { grid-column: 1 / -1; justify-content: flex-start; }
.lc-drawer .lc-next { grid-template-columns: 1fr; padding: 16px; }
.lc-drawer .lc-teacher { grid-template-columns: minmax(0, 1fr); }
.lc-drawer .lc-avatar--lg { width: 64px; height: 64px; font-size: 1.2rem; }

/* The course that comes with the seat. */
.lc-access { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px 14px; align-items: start;
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 14px; padding: 12px; }
.lc-access__cover { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--color-bg-muted) center / cover no-repeat;
  display: grid; place-items: center; color: var(--color-primary); font-size: 1.5rem; }
.lc-access__body b { color: var(--color-text-heading); line-height: 1.25; }
.lc-access__facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 8px; font-size: .82rem; color: var(--color-text-secondary); }
.lc-access__facts i { color: var(--color-success); margin-right: 3px; }
.lc-access.is-closed .lc-access__facts i { color: var(--color-danger); }
.lc-access__progress { height: 6px; border-radius: 999px; background: var(--color-bg-muted); overflow: hidden; margin-bottom: 3px; }
.lc-access__progress i { display: block; height: 100%; background: var(--color-success); border-radius: inherit; }
.lc-access__go { grid-column: 1 / -1; }

/* Someone without a seat, in the viewer. */
.lc-visitor__cover { aspect-ratio: 16 / 7; border-radius: 12px; margin-bottom: 12px; display: grid; place-items: center;
  background: var(--gradient-brand-hero) center / cover no-repeat; color: #fff; font-size: 2rem; }
.lc-visitor__facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .9rem; }
.lc-visitor__facts i { width: 18px; color: var(--color-primary); }
.lc-btn--block { width: 100%; }

/* The call, over the course. Full screen while in class; "Course" shrinks it
   to a corner window that keeps running while the learner reads. */
.lc-call { position: fixed; inset: 0; z-index: 29400; background: #0b1220; display: flex; flex-direction: column; }
.lc-call[hidden] { display: none; }
.lc-call__frame { flex: 1; width: 100%; border: 0; display: block; background: #0b1220; }
.lc-call__mini-bar { display: none; }
.lc-call.is-mini { inset: auto 16px 16px auto; width: min(360px, 46vw); height: auto; z-index: 29200; border-radius: 14px;
  overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.lc-call.is-mini .lc-call__frame { flex: none; aspect-ratio: 16 / 10; height: auto; }
.lc-call.is-mini .lc-call__mini-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: #fff;
  background: rgba(0, 0, 0, .55); font-size: .78rem; font-weight: 700; cursor: pointer; }
.lc-call__mini-title { flex: 1; min-width: 0; }
.lc-call__mini-bar button { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 30px; height: 30px;
  border-radius: 50%; flex: none; display: grid; place-items: center; }
.lc-call__mini-bar button.is-danger { background: var(--color-danger); }
.lc-call__mini-bar .lc-live-dot { padding: 2px 8px; font-size: .62rem; }
.lc-call__ended { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  color: #fff; background: rgba(11, 18, 32, .92); font-weight: 700; text-align: center; padding: 20px; }
.lc-call__ended i { font-size: 2rem; color: var(--color-success); }
.lc-call__ended[hidden] { display: none; }
@media (max-width: 575.98px) {
  .lc-call.is-mini { width: 58vw; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

.lc-toast { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -150%); z-index: 29460;
  background: var(--color-text-heading); color: var(--color-bg-card); padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; transition: transform .25s ease; pointer-events: none; max-width: 92vw; }
.lc-toast.is-on { transform: translate(-50%, 0); }

/* ── A class's slides and notes ───────────────────────────────────────── */
.lc-materials .lc-player__box { max-height: 94vh; overflow-y: auto; }
.lc-materials__decks { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.lc-materials__decks button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  border-radius: 999px; padding: 4px 12px; font-size: .8rem; }
.lc-materials__decks button.is-on { background: #fff; color: #111; }
.lc-materials__sheet { position: relative; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; }
.lc-materials__sheet[hidden] { display: none; }
.lc-materials__sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  user-select: none; -webkit-user-drag: none; pointer-events: none; }
.lc-materials__sheet canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lc-materials__nav { display: flex; justify-content: center; align-items: center; gap: 14px; color: #fff;
  margin-top: 10px; font-weight: 700; }
.lc-materials__nav[hidden] { display: none; }
.lc-materials__nav button:disabled { opacity: .35; }
.lc-materials__course { color: #fff; margin-top: 16px; }
.lc-materials__course h3 { font-size: .95rem; font-weight: 800; color: #fff; }
.lc-materials__course ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lc-materials__course li { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px 10px; }
/* The teacher's notes on a course slide, in the course viewer. */
.lc-notes-chip { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important;
  padding: 0 10px !important; font-weight: 700; font-size: .78rem; border-radius: 999px !important; }
.lc-notes-chip.is-on { background: var(--color-accent) !important; color: #fff !important; }
.lc-notes-pick { font-size: .78rem; border-radius: 999px; border: 1px solid var(--color-border); padding: 2px 8px;
  max-width: 180px; background: var(--color-bg-card); color: var(--color-text-heading); }
@media (max-width: 575.98px) { .lc-notes-chip span { display: none; } }

/* ── Phones ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .lc-hero__grid, .lc-main { grid-template-columns: minmax(0, 1fr); }
  .lc-buy { position: static; }
  .lc-aside-desktop { display: none; }
}
@media (max-width: 575.98px) {
  .lc-teacher { grid-template-columns: minmax(0, 1fr); }
  .lc-class { grid-template-columns: 46px minmax(0, 1fr); }
  .lc-class__go { grid-column: 1 / -1; justify-content: flex-start; }
  .lc-week { gap: 3px; }
  .lc-week__day { padding: 8px 2px; font-size: .7rem; }
  .lc-next { grid-template-columns: minmax(0, 1fr); }
}
.lc-mobile-buy { display: none; }
@media (max-width: 991.98px) {
  .lc-mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; gap: 12px;
    align-items: center; justify-content: space-between; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--color-bg-card); border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
  .lc-mobile-buy .lc-btn { padding: 11px 16px; }
  .lc-body { padding-bottom: 96px; }
}

/* The buy box rides up over the hero and stays in view down the page. */
.lc-aside { margin-top: -300px; position: relative; z-index: 2; }
.lc-aside .lc-buy { top: 88px; }
@media (max-width: 991.98px) {
  .lc-hero__spacer { display: none; }
  .lc-aside { margin-top: 0; order: -1; }
}
/* In a side column the teacher card stacks: photo above, words below. */
.lc-main > aside .lc-teacher { grid-template-columns: minmax(0, 1fr); }
.lc-main > aside .lc-teacher .lc-avatar--lg { width: 88px; height: 88px; font-size: 1.6rem; }
.lc-materials a { text-decoration: none; }

