/* Mini-courses — Brilliant-style minimal: white bg, near-black CTA, green accent. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #fff; color: #0d0d0d; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Nav */
.mc-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 18px 24px;
  border-bottom: 1px solid #f3f4f6;
}
.mc-nav-brand {
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  color: #0d0d0d; display: flex; align-items: center; gap: 8px;
}
.mc-mark {
  display: inline-block; width: 22px; height: 22px;
  background: #22c55e; border-radius: 6px;
}
.mc-nav-links {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.92rem; color: #4b5563;
}
.mc-nav-links a:hover { color: #0d0d0d; }

/* Progress chip + avatar (как в BX) */
.mc-nav-progress {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #f0fdf4; color: #15803d;
  font-size: 0.82rem; font-weight: 600; line-height: 1;
}
.mc-nav-progress-check { font-size: 0.78rem; }
.mc-nav-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #0d0d0d; color: #fff;
  font-size: 0.82rem; font-weight: 700;
}
.mc-nav-avatar:hover { background: #262626; color: #fff; }
.mc-nav-avatar.mc-nav-avatar-emoji { background: #f3f4f6; font-size: 1.05rem; font-weight: 400; }
.mc-nav-avatar.mc-nav-avatar-emoji:hover { background: #e5e7eb; }
.mc-nav-login {
  padding: 6px 14px; border: 1px solid #e5e7eb; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; color: #4b5563;
}
.mc-nav-login:hover { border-color: #0d0d0d; color: #0d0d0d; }

/* Nav search + live dropdown */
.mc-nav-search {
  flex: 0 1 360px; margin: 0 20px; min-width: 0; position: relative;
}
.mc-nav-search input {
  width: 100%; padding: 9px 14px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #f9fafb;
  font-family: inherit; font-size: 0.92rem; color: #0d0d0d;
  transition: border-color .12s, background .12s;
}
.mc-nav-search input:focus {
  outline: none; border-color: #0d0d0d; background: #fff;
}
@media (max-width: 760px) {
  .mc-nav-search { flex: 1 1 auto; margin: 0 12px; }
}

.mc-nav-search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 50; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(13,13,13,0.10);
  padding: 6px;
}
.mc-dd-item {
  display: block; padding: 10px 12px; border-radius: 8px;
  transition: background .1s;
}
.mc-dd-item:hover { background: #f9fafb; }
.mc-dd-item + .mc-dd-item { border-top: 1px solid #f3f4f6; }
.mc-dd-meta { font-size: 0.74rem; color: #6b7280; margin-bottom: 3px; }
.mc-dd-kind { color: #15803d; font-weight: 600; }
.mc-dd-title {
  font-size: 0.96rem; font-weight: 700; color: #0d0d0d;
  letter-spacing: -0.01em; margin-bottom: 2px;
}
.mc-dd-snippet { font-size: 0.85rem; color: #4b5563; line-height: 1.4; }
.mc-dd-snippet mark {
  background: #fef3c7; color: #0d0d0d;
  padding: 0 2px; border-radius: 3px; font-weight: 600;
}
.mc-dd-empty {
  padding: 18px; color: #6b7280; text-align: center; font-size: 0.9rem;
}
.mc-dd-all {
  display: block; margin-top: 4px; padding: 9px 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 0.85rem; font-weight: 600; color: #0d0d0d;
  text-align: center;
}
.mc-dd-all:hover { background: #f9fafb; }

/* Search page */
.mc-search-header { margin: 8px 0 28px; }
.mc-search-h1 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.mc-search-form {
  display: flex; gap: 10px; margin: 0 0 10px;
  flex-wrap: wrap;
}
.mc-search-form input {
  flex: 1; min-width: 240px;
  padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid #e5e7eb; background: #fff;
  font-family: inherit; font-size: 1.0rem; color: #0d0d0d;
}
.mc-search-form input:focus { outline: none; border-color: #0d0d0d; }
.mc-search-stat {
  font-size: 0.85rem; color: #6b7280; min-height: 1.2em;
}
.mc-search-results {
  display: flex; flex-direction: column; gap: 10px;
  margin: 18px 0 40px;
}
.mc-search-result {
  display: block; padding: 14px 16px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.mc-search-result:hover {
  border-color: #0d0d0d;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(13,13,13,0.04);
}
.mc-search-meta {
  font-size: 0.78rem; color: #6b7280;
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  margin-bottom: 4px;
}
.mc-search-course { font-weight: 600; color: #4b5563; }
.mc-search-kind { color: #15803d; font-weight: 600; }
.mc-search-divider { color: #d1d5db; }
.mc-search-section { color: #4b5563; font-weight: 500; }
.mc-search-title {
  font-size: 1.0rem; font-weight: 700; color: #0d0d0d;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.mc-search-snippet {
  font-size: 0.92rem; color: #4b5563; line-height: 1.5;
}
.mc-search-snippet mark {
  background: #fef3c7; color: #0d0d0d;
  padding: 0 2px; border-radius: 3px; font-weight: 600;
}
.mc-search-empty {
  padding: 24px; background: #f9fafb; border-radius: 12px;
  color: #6b7280; text-align: center;
}

/* Main container */
.mc-main {
  max-width: 880px; margin: 0 auto; padding: 32px 24px 80px;
}
.mc-lesson-main { max-width: 760px; }

/* Hub */
.mc-hub-header { margin: 8px 0 36px; }
.mc-hub-h1 {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 12px; color: #0d0d0d;
}
.mc-hub-lead { color: #4b5563; font-size: 1.05rem; margin: 0; max-width: 70ch; }

.mc-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; margin: 0 0 56px;
}
.mc-course-card {
  display: block; padding: 20px 22px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.mc-course-card:hover {
  border-color: #0d0d0d;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,13,13,0.04);
}
.mc-course-card-title {
  font-size: 1.06rem; font-weight: 700; color: #0d0d0d; margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.mc-course-card-sub {
  font-size: 0.88rem; color: #4b5563; margin-bottom: 12px; line-height: 1.45;
}
.mc-course-card-meta {
  font-size: 0.78rem; color: #6b7280;
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: #f3f4f6;
}

/* Hero (страница курса) */
.mc-hero {
  max-width: 920px; margin: 0 auto;
  padding: 80px 24px 56px; text-align: center;
}
.mc-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin: 0 0 32px;
}
.mc-hero-h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.08;
  margin: 0 0 18px; color: #0d0d0d;
}
.mc-hero-lead {
  font-size: 1.1rem; color: #4b5563;
  max-width: 640px; margin: 0 auto 28px;
}
.mc-hero-cta-row {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; align-items: center;
}

/* Hero progress bar (если user залогинен и есть прогресс) */
.mc-hero-progress {
  max-width: 480px; margin: 0 auto 28px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 14px 18px;
}
.mc-hero-progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.92rem; color: #4b5563; margin-bottom: 10px;
}
.mc-hero-progress-meta strong { color: #0d0d0d; font-weight: 700; }
.mc-hero-progress-pct { font-weight: 700; color: #15803d; font-variant-numeric: tabular-nums; }
.mc-hero-progress-bar {
  height: 8px; background: #f3f4f6; border-radius: 4px; overflow: hidden;
}
.mc-hero-progress-fill {
  height: 100%; background: #22c55e; border-radius: 4px;
  transition: width .4s ease-out;
}

/* Sticky continue-bar */
.mc-continue-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.mc-continue-inner {
  max-width: 980px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mc-continue-text { font-size: 0.92rem; color: #4b5563; }
.mc-continue-text strong { color: #0d0d0d; font-weight: 600; }
.mc-btn-green { background: #22c55e; color: #fff; }
.mc-btn-green:hover { background: #16a34a; transform: translateY(-1px); }
@media (max-width: 640px) {
  .mc-continue-inner { padding: 12px 16px; gap: 10px; }
  .mc-continue-text { font-size: 0.84rem; }
  .mc-continue-text strong { display: block; margin-top: 2px; }
}
/* Чтобы content не прятался под continue-bar */
body:has(.mc-continue-bar) main.mc-main { padding-bottom: 100px; }
@media (max-width: 640px) {
  .mc-hero { padding: 56px 20px 36px; }
  .mc-hero-h1 { font-size: 1.8rem; }
}

.mc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  background: #f0fdf4; color: #15803d;
}
.mc-pill-gray { background: #f3f4f6; color: #4b5563; }
.mc-course-content { margin: 0 auto; max-width: 980px; padding: 0 24px; }

/* Группа уроков (Brilliant-style карточки) */
.mc-group { margin: 0 auto 32px; padding: 32px 0; }
.mc-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.mc-group-head h2 {
  font-size: 1.35rem; font-weight: 700; margin: 0;
  letter-spacing: -0.01em; color: #0d0d0d;
}
.mc-group-meta { font-size: 0.85rem; color: #6b7280; }
.mc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.mc-lesson-card {
  display: block;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.mc-lesson-card:hover {
  border-color: #0d0d0d; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.mc-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.mc-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: #f3f4f6; color: #4b5563;
  font-weight: 700; font-size: 0.78rem;
}
.mc-lesson-card.is-completed .mc-card-num { background: #22c55e; color: #fff; }
.mc-lesson-card.is-active .mc-card-num { background: #0d0d0d; color: #fff; }
.mc-card-status { font-size: 0.72rem; color: #6b7280; font-weight: 500; }
.mc-card-dur { font-variant-numeric: tabular-nums; }
.mc-lesson-card.is-completed .mc-card-status { color: #15803d; }
.mc-lesson-card.is-active .mc-card-status { color: #0d0d0d; }
.mc-card-title {
  font-weight: 600; font-size: 0.96rem; line-height: 1.35; color: #0d0d0d;
}
.mc-lesson-card.is-completed .mc-card-title { color: #4b5563; }

/* Lesson page */
.mc-lesson-header { margin: 8px 0 22px; }
.mc-lesson-h1 {
  font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 10px; color: #0d0d0d; line-height: 1.25;
}
.mc-lesson-lead { color: #4b5563; font-size: 1.0rem; margin: 0; max-width: 65ch; }

.mc-video-block { margin: 0 0 28px; }
.mc-video-toggle {
  display: inline-flex; gap: 0; padding: 3px;
  background: #f3f4f6; border-radius: 999px;
  margin: 0 0 10px;
}
.mc-video-tab {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; color: #4b5563;
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  transition: background .12s, color .12s;
}
.mc-video-tab:hover { color: #0d0d0d; }
.mc-video-tab.is-active {
  background: #fff; color: #0d0d0d;
  box-shadow: 0 1px 3px rgba(13,13,13,0.06);
}
.mc-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  background: #0d0d0d; border-radius: 14px; overflow: hidden;
  margin: 0 0 28px;
}
.mc-video-block .mc-video-wrap { margin: 0; }
.mc-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0;
}
.mc-empty {
  padding: 24px; background: #f9fafb; border-radius: 12px;
  color: #6b7280; text-align: center; margin: 0 0 24px;
}

/* Article (article_html injected from JSON) */
.mc-article {
  font-size: 1.02rem; color: #1f2937; line-height: 1.7;
  margin: 0 0 36px;
}
.mc-article h2 {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em;
  color: #0d0d0d; margin: 32px 0 12px; padding-top: 4px;
}
.mc-article h3 {
  font-size: 1.08rem; font-weight: 700;
  color: #0d0d0d; margin: 22px 0 8px;
}
.mc-article p { margin: 0 0 12px; }
.mc-article ul, .mc-article ol { padding-left: 22px; margin: 0 0 14px; }
.mc-article li { margin-bottom: 6px; }
.mc-article strong { font-weight: 700; color: #0d0d0d; }
.mc-article em { font-style: italic; }

.mc-empty-article {
  padding: 24px; background: #fef9c3; border: 1px solid #fde68a;
  border-radius: 12px; color: #713f12; margin: 0 0 28px;
}
.mc-empty-article p { margin: 0; font-size: 0.95rem; }

/* CTA block */
.mc-cta-block {
  margin: 36px 0; padding: 28px 28px;
  background: #fafafa; border: 1px solid #e5e7eb; border-radius: 16px;
}
.mc-cta-compact { padding: 20px 22px; margin: 24px 0; }
.mc-cta-title {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em;
  margin: 0 0 8px; color: #0d0d0d;
}
.mc-cta-sub { color: #4b5563; font-size: 0.95rem; margin: 0 0 16px; }
.mc-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .12s, background .12s, border-color .12s, color .12s;
}
.mc-btn-primary { background: #0d0d0d; color: #fff; }
.mc-btn-primary:hover { background: #262626; transform: translateY(-1px); }
.mc-btn-secondary { background: #fff; color: #0d0d0d; border: 1.5px solid #e5e7eb; }
.mc-btn-secondary:hover { border-color: #0d0d0d; }

/* Next-lesson link */
.mc-next-lesson {
  display: block; padding: 16px 20px; margin: 28px 0 16px;
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 12px;
  transition: border-color .12s, transform .12s;
}
.mc-next-lesson:hover { border-color: #0d0d0d; transform: translateY(-1px); }
.mc-next-label {
  display: block; font-size: 0.78rem; color: #6b7280;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.mc-next-title { font-size: 1.0rem; font-weight: 700; color: #0d0d0d; }

/* Related */
.mc-related { margin: 28px 0; }
.mc-related-title {
  font-size: 0.85rem; font-weight: 700;
  color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.mc-rel-list { display: flex; flex-direction: column; gap: 2px; }
.mc-rel-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.94rem; color: #1f2937;
  transition: background .1s;
}
.mc-rel-row:hover { background: #f9fafb; }

/* Контекстный оффер с тарифами + testimonial (BX-стиль) */
.mc-offer {
  max-width: 880px; margin: 56px auto;
  padding: 36px 32px;
  background: #fafafa; border: 1px solid #e5e7eb; border-radius: 18px;
}
.mc-offer-hook {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
  margin: 0 0 12px; color: #0d0d0d;
}
.mc-offer-sub { color: #4b5563; margin: 0 0 16px; font-size: 1.0rem; }
.mc-offer-topics {
  font-size: 0.85rem; color: #6b7280; margin: 0 0 24px;
  padding: 10px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
}
.mc-tariffs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px; margin: 0 0 22px;
}
.mc-tariff {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px 18px;
}
.mc-tariff.is-highlight { border-color: #0d0d0d; box-shadow: 0 0 0 2px rgba(13,13,13,0.06); }
.mc-tariff-name {
  font-size: 0.78rem; font-weight: 700; color: #6b7280;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.mc-tariff-price {
  font-size: 1.4rem; font-weight: 800; color: #0d0d0d; letter-spacing: -0.01em;
}
.mc-tariff-price span {
  font-size: 0.78rem; font-weight: 500; color: #6b7280; margin-left: 4px;
}
.mc-tariff-desc { font-size: 0.86rem; color: #4b5563; margin-top: 8px; line-height: 1.4; }
.mc-offer-cta-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.mc-offer-guarantee { font-size: 0.85rem; color: #6b7280; }
.mc-quote {
  margin: 0; padding: 18px 22px; background: #fff;
  border: 1px solid #e5e7eb; border-left: 3px solid #22c55e; border-radius: 10px;
}
.mc-quote p { margin: 0 0 10px; font-style: italic; color: #1f2937; font-size: 0.96rem; }
.mc-quote footer { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #4b5563; }
.mc-quote-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: #22c55e; color: #fff; font-weight: 700; font-size: 0.78rem; flex-shrink: 0;
}

/* Кнопка «Пройти как урок» под видео */
.mc-learn-btn-row { margin: -12px 0 24px; }
.mc-learn-btn { padding: 14px 28px; font-size: 1.0rem; }

/* Learn-flow (Brilliant-style интерактивный поток) */
.mc-learn-body { background: #fff; }
.mc-learn-shell { display: flex; flex-direction: column; min-height: 100vh; }
.mc-learn-top {
  position: sticky; top: 0; z-index: 10; background: #fff;
  border-bottom: 1px solid #f3f4f6;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 24px;
}
.mc-learn-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; background: #f3f4f6;
  color: #4b5563; font-size: 1.1rem; flex-shrink: 0;
  transition: background .12s, color .12s;
}
.mc-learn-close:hover { background: #e5e7eb; color: #0d0d0d; }
.mc-learn-progress { flex: 1; display: flex; gap: 4px; align-items: center; height: 8px; }
.mc-learn-progress-seg { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; transition: background .25s; }
.mc-learn-progress-seg.is-active { background: #0d0d0d; }
.mc-learn-progress-seg.is-done { background: #22c55e; }
.mc-learn-auth {
  flex-shrink: 0; padding: 6px 14px; border: 1px solid #e5e7eb; border-radius: 999px;
  font-size: 0.82rem; color: #4b5563; font-weight: 500;
}
.mc-learn-auth:hover { border-color: #0d0d0d; color: #0d0d0d; }
.mc-learn-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 32px 24px 120px;
}
.mc-learn-card { width: 100%; max-width: 720px; text-align: left; }
.mc-learn-card.is-centered { text-align: center; }
.mc-learn-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.18;
  margin: 0 0 16px; color: #0d0d0d;
}
.mc-learn-lead { font-size: 1.08rem; color: #4b5563; margin: 0 0 24px; }
.mc-learn-section h2 {
  font-size: 1.5rem; font-weight: 700; color: #0d0d0d;
  margin: 0 0 16px; letter-spacing: -0.01em; line-height: 1.25;
}
.mc-learn-section h3 { font-size: 1.08rem; font-weight: 700; color: #1f2937; margin: 18px 0 8px; }
.mc-learn-section p { margin: 0 0 14px; font-size: 1.04rem; color: #1f2937; }
.mc-learn-section ul, .mc-learn-section ol { margin: 0 0 16px; padding-left: 24px; }
.mc-learn-section li { margin-bottom: 8px; font-size: 1.02rem; color: #1f2937; }
.mc-learn-section strong { color: #0d0d0d; font-weight: 600; }
.mc-learn-section em { font-style: italic; color: #4b5563; }
.mc-learn-video {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 16px; overflow: hidden; background: #000; margin: 0 0 16px;
}
.mc-learn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mc-learn-vt { display: flex; gap: 8px; font-size: 0.85rem; margin-bottom: 8px; }
.mc-learn-vt button {
  padding: 6px 14px; background: #fff; border: 1px solid #d1d5db; border-radius: 999px;
  cursor: pointer; font-weight: 500; color: #374151; font-family: inherit;
}
.mc-learn-vt button.active { background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.mc-learn-vnote { font-size: 0.86rem; color: #6b7280; }
.mc-learn-stack { width: 100%; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.mc-learn-complete { text-align: center; }
.mc-learn-mark {
  width: 96px; height: 96px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdf4; color: #22c55e; border-radius: 999px;
  font-size: 3rem; font-weight: 800;
}
.mc-learn-complete-h1 { font-size: 1.8rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.mc-learn-next-card {
  background: #0d0d0d; color: #fff; border-radius: 16px; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.mc-learn-next-card:hover { background: #262626; }
.mc-learn-next-meta {
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.mc-learn-next-title { font-weight: 700; font-size: 1.0rem; margin-top: 4px; color: #fff; }
.mc-learn-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: #fff; border-top: 1px solid #f3f4f6;
  padding: 16px 24px;
  display: flex; justify-content: center; gap: 12px;
}
.mc-learn-bottom .mc-btn { min-width: 220px; }
@media (max-width: 640px) {
  .mc-learn-stage { padding: 24px 18px 120px; }
  .mc-learn-h1 { font-size: 1.4rem; }
  .mc-learn-section h2 { font-size: 1.2rem; }
  .mc-learn-bottom .mc-btn { min-width: 0; flex: 1; }
}

/* Mobile */
@media (max-width: 640px) {
  .mc-main { padding: 24px 16px 60px; }
  .mc-hub-h1 { font-size: 1.8rem; }
  .mc-course-h1 { font-size: 1.5rem; }
  .mc-lesson-h1 { font-size: 1.4rem; }
  .mc-courses-grid { grid-template-columns: 1fr; }
  .mc-cta-block { padding: 22px 18px; }
}
