/* 用户确认采用的春日绘本自然系。 */
html[data-theme="spring"] {
  --ink: #29434a;
  --navy: #4a956f;
  --navy-deep: #357656;
  --coral: #f08068;
  --yellow: #f4c95d;
  --green: #55a67a;
  --sky: #dff1f7;
  --paper: #fff8ea;
  --line: #d7e5dc;
  --muted: #627771;
  --shadow: 0 16px 38px rgba(48, 88, 67, .1);
  --display: "Arial Rounded MT Bold", "Avenir Next", "PingFang SC", sans-serif;
  --body: "Avenir Next", "PingFang SC", sans-serif;
}

html[data-theme="spring"] body {
  min-height: 100vh;
  color: #29434a;
  background: #fff8ea;
}

html[data-theme="spring"] ::selection {
  color: #fff;
  background: #55a67a;
}

html[data-theme="spring"] button:focus-visible,
html[data-theme="spring"] input:focus-visible {
  outline-color: #f4c95d;
}

html[data-theme="spring"] .site-header {
  width: 100%;
  min-height: 78px;
  padding-inline: max(22px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #55a67a;
  box-shadow: 0 9px 24px rgba(48, 88, 67, .13);
}

html[data-theme="spring"] .shell {
  width: min(1440px, calc(100% - 36px));
}

html[data-theme="spring"] .brand {
  color: #fff;
}

html[data-theme="spring"] .brand-mark {
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 7px 17px rgba(42, 83, 62, .18);
}

html[data-theme="spring"] .brand b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
}

html[data-theme="spring"] .brand small {
  color: #e5f3ea;
  font-size: 11px;
  letter-spacing: .22em;
}

html[data-theme="spring"] .site-header nav {
  gap: 9px;
}

html[data-theme="spring"] .nav-pill {
  padding: 10px 18px;
  color: #347454;
  border: 1px solid #fff;
  background: #fff;
  box-shadow: 0 5px 14px rgba(42, 83, 62, .12);
}

html[data-theme="spring"] .nav-pill:hover {
  color: #2b6649;
  border-color: #f4c95d;
  background: #fff3c5;
}

html[data-theme="spring"] .nav-pill.accent {
  color: #fff;
  border-color: #f08068;
  background: #f08068;
}

html[data-theme="spring"] .home-shell {
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
}

html[data-theme="spring"] .course-sidebar {
  padding: 20px 14px;
  border: 1px solid #bdd7c6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 30px rgba(48, 88, 67, .075);
}

html[data-theme="spring"] .sidebar-title {
  color: #347454;
  font-size: 16px;
}

html[data-theme="spring"] .tiny-stamp {
  color: #29434a;
  border-radius: 7px 7px 7px 3px;
  background: #f4c95d;
}

html[data-theme="spring"] .course-sidebar > p {
  margin: 7px 0 16px;
  color: #637870;
  font-size: 12px;
}

html[data-theme="spring"] .mode-note {
  padding: 12px;
  color: #42636a;
  border: 1px solid #c7e1e9;
  border-radius: 12px;
  background: #eaf6fa;
  font-size: 12px;
  line-height: 1.58;
}

html[data-theme="spring"] .course-choice {
  margin: 15px 0 0;
  padding: 14px 12px;
  border: 1px solid #efb1a4;
  border-radius: 13px;
  background: #fff3ef;
}

html[data-theme="spring"] .course-choice b {
  color: #3d6657;
  font-size: 16px;
}

html[data-theme="spring"] .course-choice small {
  color: #6c7974;
  font-size: 11px;
}

html[data-theme="spring"] .course-main {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="spring"] .home-actions {
  margin-bottom: 17px;
  grid-template-columns: 270px minmax(140px, 1fr) max-content;
}

html[data-theme="spring"] .continue-card {
  padding: 15px 17px;
  gap: 18px;
  color: #29434a;
  border: 1px solid #a9ceb8;
  border-radius: 15px;
  background: #e9f5ed;
  box-shadow: 0 10px 24px rgba(48, 88, 67, .07);
}

html[data-theme="spring"] .continue-card small,
html[data-theme="spring"] .continue-card span {
  color: #5f776c;
}

html[data-theme="spring"] .continue-card strong {
  color: #315f48;
  font-size: 19px;
  line-height: 1.15;
}

html[data-theme="spring"] .button.green {
  color: #fff;
  background: #55a67a;
  box-shadow: 0 7px 15px rgba(48, 88, 67, .14);
}

html[data-theme="spring"] .unlock-banner {
  padding: 13px 13px 13px 15px;
  color: #29434a;
  border: 1px solid #c8dce2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(48, 88, 67, .07);
}

html[data-theme="spring"] .unlock-banner .eyebrow,
html[data-theme="spring"] .unlock-banner .eyebrow.coral {
  color: #d95f4a;
}

html[data-theme="spring"] .unlock-banner h2 {
  color: #29434a;
  font-size: 17px;
}

html[data-theme="spring"] .unlock-banner p,
html[data-theme="spring"] .unlock-banner button span {
  color: #657973;
}

html[data-theme="spring"] .unlock-banner > button {
  border: 1px solid #efa694;
  border-radius: 11px;
  background: #fff2ed;
}

html[data-theme="spring"] .unlock-banner > button:last-child {
  border-color: #8fc6d9;
  background: #eef8fb;
}

html[data-theme="spring"] .lesson-grid {
  gap: 13px;
}

html[data-theme="spring"] .lesson-card {
  min-height: 146px;
  padding: 11px;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 13px;
  color: #29434a;
  border: 1px solid #d7e5dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 19px rgba(48, 88, 67, .055);
}

html[data-theme="spring"] .lesson-card:hover {
  transform: translateY(-3px);
  border-color: #8fc0a2;
  box-shadow: 0 14px 28px rgba(48, 88, 67, .12);
}

html[data-theme="spring"] .lesson-thumb {
  width: 86px;
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(48, 88, 67, .13);
}

html[data-theme="spring"] .lesson-meta {
  width: max-content;
  padding: 3px 7px;
  color: #29434a;
  border-radius: 6px;
  background: #f7dd82;
  font-size: 10px;
  font-weight: 800;
}

html[data-theme="spring"] .lesson-meta span {
  color: #9d4f3f;
}

html[data-theme="spring"] .lesson-card h3 {
  margin: 6px 0 3px;
  color: #29434a;
  font-size: 19px;
  line-height: 1.16;
}

html[data-theme="spring"] .lesson-card p {
  color: #60736d;
  font-size: 14px;
}

html[data-theme="spring"] .card-action {
  min-width: 94px;
  padding: 7px 13px;
  color: #3d7f5d;
  border: 1px solid #87b99b;
  border-radius: 9px;
  background: #f8fcf9;
  font-size: 13px;
}

html[data-theme="spring"] .lesson-card:not(.is-locked) {
  border-color: #efaa9a;
  background: #fffaf6;
}

html[data-theme="spring"] .lesson-card:not(.is-locked) .card-action {
  color: #fff;
  border-color: #f08068;
  background: #f08068;
}

@media (max-width: 1180px) {
  html[data-theme="spring"] .home-actions {
    grid-template-columns: 1fr 28px 1.55fr;
  }

  html[data-theme="spring"] .unlock-banner {
    width: auto;
    grid-template-columns: 1fr 1fr;
  }

  html[data-theme="spring"] .unlock-banner > div {
    grid-column: 1 / -1;
  }

  html[data-theme="spring"] .unlock-banner > button {
    width: 100%;
  }
}

@media (max-width: 1060px) {
  html[data-theme="spring"] .lesson-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html[data-theme="spring"] .home-shell {
    grid-template-columns: 1fr;
  }

  html[data-theme="spring"] .course-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  html[data-theme="spring"] .course-sidebar > p,
  html[data-theme="spring"] .mode-note {
    grid-column: 1;
  }

  html[data-theme="spring"] .course-choice {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
  }

  html[data-theme="spring"] .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html[data-theme="spring"] .site-header {
    padding-inline: 10px;
  }

  html[data-theme="spring"] .site-header,
  html[data-theme="spring"] .shell {
    width: 100%;
  }

  html[data-theme="spring"] .shell {
    padding-inline: 10px;
  }

  html[data-theme="spring"] .brand b {
    font-size: 14px;
  }

  html[data-theme="spring"] .brand small {
    font-size: 8px;
  }

  html[data-theme="spring"] .nav-pill {
    padding: 7px 8px;
    font-size: 10px;
  }

  html[data-theme="spring"] .course-sidebar {
    display: block;
  }

  html[data-theme="spring"] .mode-note,
  html[data-theme="spring"] .course-choice {
    margin-top: 13px;
  }

  html[data-theme="spring"] .home-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html[data-theme="spring"] .lesson-grid {
    grid-template-columns: 1fr;
  }

  html[data-theme="spring"] .lesson-card {
    min-height: 158px;
    grid-template-columns: 90px minmax(0, 1fr);
  }

  html[data-theme="spring"] .lesson-thumb {
    width: 90px;
  }
}

