.mc-launch-row {
  margin-top: 14px;
  justify-content: center;
}

.mc-launch-row[hidden],
.mc-panel[hidden] {
  display: none !important;
}

.mc-panel {
  position: fixed;
  z-index: 11000;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: min(820px, calc(100vw - 48px));
  height: min(720px, calc(100vh - 48px));
  min-width: 420px;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  color: #e0e7ff;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(116, 83, 194, 0.18), transparent 34%),
    rgba(8, 6, 30, 0.985);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mc-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(14, 13, 46, 0.92);
  cursor: move;
  user-select: none;
}

.mc-title {
  margin: 0;
  color: #f5e6a3;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.mc-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  color: rgba(224, 231, 255, 0.72);
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: 300 28px/1 inherit;
  cursor: pointer;
}

.mc-close:hover,
.mc-close:focus-visible {
  color: #f5e6a3;
  background: rgba(212, 175, 55, 0.1);
  outline: none;
}

.mc-layout {
  display: flex;
  min-height: 0;
  flex: 1;
}

.mc-sidebar {
  width: 220px;
  flex: 0 0 220px;
  padding: 10px;
  overflow-y: auto;
  border-right: 1px solid rgba(212, 175, 55, 0.13);
  background: rgba(14, 13, 46, 0.48);
}

.mc-sidebar[hidden] {
  display: none;
}

.mc-sidebar button {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding: 11px 12px;
  color: rgba(224, 231, 255, 0.7);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mc-sidebar button:hover,
.mc-sidebar button.active {
  color: #f5e6a3;
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.11);
}

.mc-sidebar button span {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  opacity: 0.64;
}

.mc-sidebar button strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
}

.mc-content {
  min-width: 0;
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mc-locked {
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 8px 8px 24px;
}

.mc-sales-copy p,
.mc-final p {
  margin: 0 0 13px;
  color: rgba(224, 231, 255, 0.79);
  font-size: 14px;
  line-height: 1.68;
}

.mc-sales-copy strong,
.mc-final strong {
  color: #f5e6a3;
}

.mc-sales-copy ul,
.mc-final ul {
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}

.mc-sales-copy li,
.mc-final li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 21px;
  color: rgba(224, 231, 255, 0.76);
  font-size: 13.5px;
  line-height: 1.58;
}

.mc-sales-copy li::before,
.mc-final li::before {
  position: absolute;
  left: 2px;
  color: #d4af37;
  content: "✧";
}

.mc-primary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #1a1238;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #f5e6a3, #d4af37);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.16);
  font: 700 14px/1.3 inherit;
  text-decoration: none;
  cursor: pointer;
}

.mc-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.26);
}

.mc-primary:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}

.mc-buy {
  width: 100%;
  margin-top: 6px;
}

.mc-support {
  display: block;
  margin-top: 15px;
  color: #f5e6a3;
  font-size: 12.5px;
  text-align: center;
}

.mc-form {
  width: min(100%, 520px);
  margin: 0 auto;
}

.mc-form h3 {
  margin: 5px 0 18px;
  color: #f5e6a3;
  font-size: 20px;
}

.mc-back {
  padding: 5px 0;
  color: rgba(224, 231, 255, 0.65);
  border: 0;
  background: transparent;
  font: 500 12.5px/1.4 inherit;
  cursor: pointer;
}

.mc-form > label:not(.mc-consent) {
  display: block;
  margin-bottom: 12px;
  color: rgba(212, 175, 55, 0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mc-form input:not([type="checkbox"]),
.mc-form select {
  width: 100%;
  margin-top: 5px;
  padding: 11px 12px;
  color: #f2edff;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 10px;
  outline: none;
  background: rgba(8, 6, 24, 0.78);
  font: 400 14px/1.35 inherit;
}

.mc-form input:focus,
.mc-form select:focus {
  border-color: rgba(212, 175, 55, 0.72);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.11);
}

.mc-pay-note {
  margin: 0 0 15px;
  color: rgba(224, 231, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.mc-pay-help {
  margin: -2px 2px 14px;
  color: rgba(224, 231, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.4;
}

.mc-pay-help a {
  color: #f0d060;
  font-weight: 600;
  text-decoration: underline;
}

.mc-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  color: rgba(224, 231, 255, 0.7);
  font-size: 11.5px;
  line-height: 1.45;
}

.mc-consent input {
  margin-top: 2px;
}

.mc-consent a,
.mc-error a {
  color: #f5e6a3;
}

.mc-submit {
  width: 100%;
}

.mc-error {
  margin-top: 12px;
  color: #ff9aa7;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

.mc-lesson-head {
  margin: 0 0 15px;
}

.mc-lesson-head span {
  color: rgba(212, 175, 55, 0.72);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mc-lesson-head h3 {
  margin: 4px 0 0;
  color: #f5e6a3;
  font-size: 20px;
  line-height: 1.35;
}

.mc-lesson-section {
  margin-bottom: 17px;
}

.mc-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #020207;
}

.mc-video video,
.mc-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mc-video-status,
.mc-video .mc-muted {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.mc-video-queue,
.mc-text-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.mc-video-queue button,
.mc-text-tabs button {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: rgba(224, 231, 255, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background: rgba(14, 13, 46, 0.7);
  font: 600 11.5px/1.3 inherit;
  cursor: pointer;
}

.mc-video-queue button.active,
.mc-text-tabs button.active {
  color: #f5e6a3;
  border-color: rgba(212, 175, 55, 0.48);
  background: rgba(212, 175, 55, 0.12);
}

.mc-files {
  padding: 13px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 11px;
  background: rgba(14, 13, 46, 0.42);
}

.mc-files h4 {
  margin: 0 0 9px;
  color: rgba(245, 230, 163, 0.85);
  font-size: 12px;
}

.mc-file {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 9px 11px;
  color: #f5e6a3;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.07);
  font: 500 12.5px/1.35 inherit;
  text-align: left;
  cursor: pointer;
}

.mc-summary,
.mc-protected-text {
  color: rgba(224, 231, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.68;
  white-space: pre-line;
}

.mc-summary {
  margin-bottom: 13px;
}

.mc-protected-text {
  padding-top: 4px;
  white-space: normal;
}

.mc-protected-text p,
.mc-protected-text ul,
.mc-protected-text ol,
.mc-protected-text blockquote {
  margin: 0 0 12px;
}

.mc-protected-text ul,
.mc-protected-text ol {
  padding-left: 22px;
}

.mc-protected-text h2,
.mc-protected-text h3,
.mc-protected-text h4,
.mc-protected-text h5 {
  margin: 18px 0 9px;
  color: #f5e6a3;
}

.mc-protected-text a {
  color: #f5d66f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc-protected-text .tablewrap {
  margin: 0 0 14px;
  overflow-x: auto;
}

.mc-protected-text table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mc-protected-text th,
.mc-protected-text td {
  padding: 7px 9px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.mc-protected-text th {
  color: #f5e6a3;
  white-space: nowrap;
}

.mc-final {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 13px;
  background: rgba(212, 175, 55, 0.08);
}

.mc-final .mc-primary {
  margin-top: 4px;
}

.mc-muted,
.mc-empty,
.mc-video-status {
  color: rgba(224, 231, 255, 0.56);
  font-size: 12.5px;
  line-height: 1.55;
}

.mc-empty {
  padding: 40px 20px;
  text-align: center;
}

@media (max-width: 768px) {
  body.mc-open {
    overflow: hidden;
  }

  .mc-panel {
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .mc-header {
    cursor: default;
  }

  .mc-layout {
    flex-direction: column;
  }

  .mc-sidebar {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    gap: 7px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.13);
  }

  .mc-sidebar button {
    width: 155px;
    min-width: 155px;
    margin: 0;
  }

  .mc-content {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .mc-title {
    font-size: 13px;
  }

  .mc-content {
    padding: 14px 12px 24px;
  }

  .mc-lesson-head h3 {
    font-size: 17px;
  }
}

