.seo-lesson-sections {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.seo-lesson-section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .seo-lesson-section {
  border-color: rgba(19, 87, 219, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.seo-lesson-section h2,
.seo-completed-lessons h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.seo-lesson-section p {
  margin: 0;
  line-height: 1.6;
}

.seo-lesson-section ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.seo-lesson-actions,
.seo-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.lesson-cta.rwa-quiz-link,
.seo-action-link,
.rwa-account-practice,
.rwa-account-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #4c8dff;
  border-radius: 8px;
  color: #ffffff;
  background: #1357db;
  font-weight: 600;
  text-decoration: none;
}

[data-theme="light"] .lesson-cta.rwa-quiz-link,
[data-theme="light"] .seo-action-link,
[data-theme="light"] .rwa-account-practice,
[data-theme="light"] .rwa-account-course {
  color: #ffffff;
}

.seo-action-link--secondary,
.rwa-account-course {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

[data-theme="light"] .seo-action-link--secondary,
[data-theme="light"] .rwa-account-course {
  border-color: rgba(19, 87, 219, 0.35);
  color: #1357db;
}

.rwa-lesson-index-link {
  display: inline-flex;
  margin: 10px 0 4px 44px;
  color: inherit;
  opacity: 0.82;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rwa-modal-reward {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 14px;
}

.rwa-modal-note {
  display: block;
  margin: 8px 0 16px;
  text-align: center;
  line-height: 1.45;
}

.seo-completed-lessons {
  width: min(100%, 640px);
  margin: 32px auto 0;
  line-height: 1.6;
}

.seo-completed-lessons ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.rwa-account-status {
  margin-top: 12px;
  font-weight: 700;
}

.account-main {
  padding-top: 32px;
}

.account-container {
  width: min(100%, 720px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  align-items: stretch;
}

.account-achievement {
  width: min(100%, 640px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.account-container > img[src="/img/reward.png"],
.account-container > img[src$="/img/reward.png"],
.account-achievement img[src="/img/reward.png"],
.account-achievement img[src$="/img/reward.png"],
.account-reward-img {
  display: block;
  width: min(80vw, 420px);
  max-width: 420px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 40px auto 32px;
}

.account-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 640px);
  margin: 0 auto 40px;
  box-sizing: border-box;
}

.account-cta-wrap > .btn,
.account-cta-wrap > a {
  width: 100% !important;
  min-height: 52px;
  height: 52px;
  box-sizing: border-box;
}

.account-cta-wrap > a {
  border-radius: 12px;
  background: var(--button-background);
  border: 1px solid var(--button-border);
  box-shadow: 0 4px 32px #1256da8c, 0 -2px 5px #84f1ff8a inset, -2px 2px 5px #55bbfe inset;
}

.rwa-account-practice {
  width: 100%;
}

.rwa-account-course {
  width: 100%;
}

.rwa-root-fallback {
  max-width: 760px;
  margin: 12vh auto;
  padding: 0 24px;
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

.rwa-root-fallback a {
  display: inline-block;
  margin-right: 16px;
}

.hero[data-v-f4ae8c0b] .description[data-v-f4ae8c0b] span[data-v-f4ae8c0b] {
  display: inline-block;
  margin-left: 10px;
}

@media (max-width: 600px) {
  .account-main {
    padding-top: 18px;
  }

  .account-container {
    width: 100%;
    max-width: 100%;
  }

  .account-container > img[src="/img/reward.png"],
  .account-container > img[src$="/img/reward.png"],
  .account-achievement img[src="/img/reward.png"],
  .account-achievement img[src$="/img/reward.png"],
  .account-reward-img {
    width: min(82vw, 320px);
    max-width: 320px;
    margin: 32px auto 28px;
  }

  .account-cta-wrap,
  .seo-completed-lessons,
  .account-achievement {
    width: 100%;
  }
}
