.cw-elearning-lesson {
  background: #141210;
  color: #f3efe7;
}

.cw-elearning-lesson__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-elearning-lesson__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.cw-elearning-lesson__eyebrow {
  color: #ff7a50;
}

.cw-elearning-lesson__title {
  color: #f3efe7;
}

.cw-elearning-lesson__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(234, 231, 225, 0.7);
}

.cw-elearning-lesson__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  align-items: stretch;
}

.cw-elearning-lesson__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(123, 47, 247, 0.25), transparent 65%), #1a1714;
}

.cw-elearning-lesson__phone-shell {
  width: 290px;
  height: 590px;
  border-radius: 46px;
  background: #0b0a09;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(234, 231, 225, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.cw-elearning-lesson__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #f6f3ee;
  color: #141210;
  display: flex;
  flex-direction: column;
}

.cw-elearning-lesson__status {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 600;
}

.cw-elearning-lesson__status-notch {
  width: 72px;
  height: 22px;
  border-radius: 12px;
  background: #0b0a09;
}

.cw-elearning-lesson__app-head {
  padding: 6px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-elearning-lesson__app-sub {
  font-size: 11px;
  color: #6b6158;
}

.cw-elearning-lesson__app-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 17px;
}

.cw-elearning-lesson__streak {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #141210;
  color: #d4f53c;
  font: 700 12px 'Inter Tight', sans-serif;
}

.cw-elearning-lesson__prog-track {
  margin: 0 16px;
  height: 6px;
  border-radius: 3px;
  background: rgba(20, 18, 16, 0.08);
  overflow: hidden;
}

.cw-elearning-lesson__prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #7b2ff7, #e0431c);
  transition: width 0.5s;
}

.cw-elearning-lesson__quiz {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-elearning-lesson__q-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #7b2ff7;
}

.cw-elearning-lesson__q-text {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
}

.cw-elearning-lesson__opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.cw-elearning-lesson__opt {
  padding: 13px 14px;
  border-radius: 14px;
  border: 2px solid rgba(20, 18, 16, 0.12);
  background: #fff;
  text-align: left;
  font: 600 14px 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-elearning-lesson__opt.is-correct {
  border-color: #0e9f7a;
  background: rgba(14, 159, 122, 0.12);
}

.cw-elearning-lesson__opt.is-wrong {
  border-color: #e0431c;
  background: rgba(224, 67, 28, 0.1);
}

.cw-elearning-lesson__fb {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.cw-elearning-lesson__next {
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #141210;
  color: #fff;
  font: 600 14px 'Inter', sans-serif;
  cursor: pointer;
  width: 100%;
}

.cw-elearning-lesson__done {
  flex: 1;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.cw-elearning-lesson__score-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-elearning-lesson__score-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f6f3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 24px 'Inter Tight', sans-serif;
}

.cw-elearning-lesson__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-elearning-lesson__meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cw-elearning-lesson__meter {
  padding: 18px;
  border-radius: 20px;
  background: #1e1b18;
  border: 1px solid rgba(234, 231, 225, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-elearning-lesson__meter-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-elearning-lesson__meter-v {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.cw-elearning-lesson__board-panel,
.cw-elearning-lesson__used-panel {
  padding: 20px;
  border-radius: 20px;
  background: #1e1b18;
  border: 1px solid rgba(234, 231, 225, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-elearning-lesson__board-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-elearning-lesson__board-rank {
  color: #d4f53c;
}

.cw-elearning-lesson__board-list {
  position: relative;
}

.cw-elearning-lesson__board-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 12px;
  transition: top 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), background 0.4s;
  font-size: 14px;
}

.cw-elearning-lesson__board-row.is-you {
  background: rgba(212, 245, 60, 0.15);
  color: #f3efe7;
}

.cw-elearning-lesson__board-row:not(.is-you) {
  background: rgba(234, 231, 225, 0.06);
  color: rgba(234, 231, 225, 0.85);
}

.cw-elearning-lesson__used-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-elearning-lesson__used-tag {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 231, 225, 0.12);
  background: rgba(234, 231, 225, 0.06);
  color: rgba(234, 231, 225, 0.85);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.4s;
}

.cw-elearning-lesson__used-tag.is-lit {
  border-color: #d4f53c;
  background: rgba(212, 245, 60, 0.12);
  color: #d4f53c;
}

.cw-elearning-lesson__suggest {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(234, 231, 225, 0.7);
}

.cw-elearning-lesson__suggest em {
  color: #d4f53c;
  font-style: normal;
}
