:root {
  --bg: #eee5fb;
  --paper: #fffaff;
  --ink: #332a40;
  --muted: #786987;
  --purple: #9364dd;
  --deep: #7447be;
  --pale: #eee4fb;
  --pink: #fce8f4;
  --line: #e5d7f3;
  --radius: 24px;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #e3d8ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 20% 20%, #f5ecfa, transparent 60%), #e3d8ef;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  touch-action: manipulation;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b790eb;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  font-weight: 750;
  line-height: 1.5;
}
h2 {
  font-size: 22px;
  font-weight: 700;
}
h3 {
  font-size: 18px;
  font-weight: 650;
}
p {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
small {
  font-size: 14px;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #e6d8fa, #f2eafa 60%, #ece2f8);
  box-shadow: 0 0 70px #5e387b18;
}
.sidebar {
  display: none;
}
.main-shell {
  width: 100%;
  margin: 0;
}
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: linear-gradient(115deg, #e6d7f8, #eee3fa);
  gap: 7px;
}
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.mobile-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff9;
  box-shadow: 0 2px 5px #8e64b53b;
}
.top-note {
  display: none;
}
.icon-button {
  background: #f8f0ff77;
  border: 1px solid #fff8;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #5c407b;
  font-size: 23px;
  flex-shrink: 0;
}
main {
  padding: 17px 15px 0;
}
body[data-view="today"] main {
  padding: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.eyebrow {
  display: none;
}
.subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
}
.page-footer {
  text-align: center;
  color: #867396;
  font-size: 14px;
  line-height: 1.8;
  padding: 20px 15px 112px;
}
.page-footer span {
  margin-left: 6px;
}
.bottom-nav {
  position: fixed;
  z-index: 50;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #f6edfff2;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #dac7ed;
  box-shadow: 0 -4px 16px #8455ac09;
  display: flex;
  justify-content: space-around;
}
.nav-item {
  width: 24%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 6px 4px;
  color: #8e79a1;
  font-size: 15px;
  min-height: 53px;
  border-radius: 14px;
}
.nav-item svg {
  width: 25px;
  height: 25px;
}
.nav-item.active {
  color: #8050c4;
  font-weight: 650;
  background: #e7d8f8;
}
.nav-item.active svg {
  fill: #c6a6f0;
  stroke: #8f64ce;
}
.study-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 422/254;
  overflow: hidden;
  background: #dfd1f0;
}
.scene-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.paper-goals {
  position: absolute;
  right: 2.5%;
  top: 7%;
  width: 44%;
  min-height: 55%;
  padding: 12px 10px 10px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 25px,
      #eddfd54a 26px
    ),
    #fff8ed;
  border: 2px solid #eadbc9;
  border-radius: 23px 10px 22px 12px;
  box-shadow: 0 4px 9px #9f78952e;
  transform: rotate(2deg);
  color: #3c3345;
}
.paper-goals:before {
  content: "";
  position: absolute;
  left: 20px;
  top: -9px;
  width: 42px;
  height: 15px;
  transform: rotate(-15deg);
  background: #e8b498bb;
  border-radius: 3px;
  box-shadow: 0 1px 2px #b58c6922;
}
.paper-goals h2 {
  font-size: 21px;
  color: #8058b6;
  margin: 0 0 9px;
}
.paper-goals p {
  font-size: 17px;
  line-height: 1.75;
  white-space: nowrap;
}
.paper-goals p span {
  color: #af9a76;
}
.paper-goals small {
  display: block;
  font-size: 13px;
  color: #ad957f;
  margin-top: 5px;
}
.scene-day {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 11px;
  background: #fff7f0e6;
  border: 1px solid #fff9;
  border-radius: 20px;
  font-size: 14px;
  color: #79617d;
  box-shadow: 0 2px 6px #6d4f7720;
}
.today-task-panel {
  position: relative;
  margin: -4px 12px 0;
  padding: 12px 10px 14px;
  border-radius: 26px;
  background: linear-gradient(140deg, #fffafd, #f9f1ff 80%);
  border: 2px solid #fffd;
  box-shadow: 0 3px 16px #9876bc1b;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1px 10px;
  gap: 5px;
}
.panel-title h2 {
  font-size: 20px;
  white-space: nowrap;
}
.panel-title h2 span {
  margin-left: 7px;
  font-size: 19px;
  font-weight: 650;
}
.plan-shortcut {
  border-radius: 30px;
  padding: 5px 12px;
  background: linear-gradient(#bb99ee, #9b71db);
  color: #fff;
  box-shadow:
    inset 0 1px #e0c8ff,
    0 2px 3px #9565c52a;
  font-size: 15px;
  white-space: nowrap;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.task-card {
  min-width: 0;
  border: 1px solid #fefaff;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 6px #fffb,
    0 2px 4px #a07ec212;
  background: linear-gradient(155deg, #f4edff, #e9dcfa);
}
.task-card:nth-child(2) {
  background: linear-gradient(145deg, #fff5e4, #f7e9d1);
}
.task-card:nth-child(3) {
  background: linear-gradient(145deg, #f2eaff, #e8dafa);
}
.task-card:nth-child(4) {
  background: linear-gradient(145deg, #fceafc, #eed7f6);
}
.task-card:nth-child(5) {
  background: linear-gradient(145deg, #fff6e9, #fae8dc);
}
.task-card:nth-child(6) {
  background: linear-gradient(145deg, #eef0ff, #dfe4f9);
}
.task-card.completed {
  box-shadow: inset 0 0 0 2px #a0bc91;
}
.task-card.running {
  outline: 2px solid #b187ed;
  box-shadow: 0 0 10px #a574dc44;
}
.task-tile {
  position: relative;
  width: 100%;
  min-height: 136px;
  padding: 10px 3px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-radius: 18px;
}
.tile-illustration {
  width: 62px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  margin: 0 auto 4px;
  flex-shrink: 0;
}
.custom-icon {
  display: grid;
  place-items: center;
}
.custom-icon svg {
  width: 43px;
  height: 43px;
  color: #a07bd2;
}
.task-tile h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.5px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.task-tile p {
  font-size: 14px;
  line-height: 1.35;
  max-width: 100%;
  margin-top: 3px;
}
.tile-duration {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 3px;
}
.tile-check {
  position: absolute;
  right: 7px;
  top: 6px;
  color: #6e9958;
  font-size: 20px;
  font-weight: 750;
}
.tile-live {
  position: absolute;
  right: 2px;
  top: 4px;
  background: #a87be3;
  color: white;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 8px;
}
.primary,
.secondary,
.danger {
  min-height: 46px;
  border-radius: 18px;
  padding: 11px 17px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 550;
  text-align: center;
  line-height: 1.4;
}
.primary {
  border: 1px solid #ab83df;
  background: linear-gradient(180deg, #c29bed, #a474e4 45%, #8954d1);
  color: #fff;
  box-shadow:
    inset 0 2px 1px #e6c8ff,
    0 3px 0 #7652ad29,
    0 4px 8px #8053b52b;
  text-shadow: 0 1px 1px #8350b742;
}
.primary:hover {
  filter: brightness(1.03);
}
.secondary {
  border: 1px solid #e0cfee;
  background: linear-gradient(#fffaff, #f1e4fa);
  color: #8258aa;
  box-shadow: inset 0 1px #fff;
}
.danger {
  color: #a7586e;
  background: #fae9ee;
}
.start-learning {
  width: 94%;
  margin: 13px 3% 0;
  min-height: 49px;
  border-radius: 30px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 1px;
}
.today-summary {
  margin: 16px 18px 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #796787;
  font-size: 15px;
}
.today-summary > span:first-child {
  white-space: nowrap;
}
.today-summary strong {
  font-weight: 600;
  color: #7d5b9d;
}
.today-summary em {
  font-size: 14px;
  font-style: normal;
  margin-left: 2px;
}
.summary-progress {
  height: 8px;
  background: #dfd0ee;
  border: 1px solid #e5d5f2;
  border-radius: 20px;
  overflow: hidden;
  flex: 1;
}
.summary-progress i {
  display: block;
  background: linear-gradient(90deg, #bc92ed, #8d60cc);
  height: 100%;
  border-radius: 20px;
}
.home-secondary {
  padding: 9px 15px 0;
}
.day-focus {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fffaff;
  margin-bottom: 16px;
}
.day-focus > span {
  font-size: 29px;
}
.day-focus > div {
  flex: 1;
  min-width: 0;
}
.day-focus strong {
  font-size: 16px;
  font-weight: 600;
}
.day-focus p {
  font-size: 14px;
  color: #8a7299;
  margin-top: 5px;
}
.day-focus > button {
  font-size: 24px;
  color: #9976ba;
  min-width: 32px;
  min-height: 40px;
}
.mode-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 1px;
  color: #786387;
  font-size: 16px;
}
.mode-group {
  display: flex;
  gap: 3px;
  background: #e7daf3;
  padding: 4px;
  border-radius: 14px;
  flex-wrap: wrap;
}
.mode-group button {
  border-radius: 11px;
  padding: 8px 10px;
  font-size: 15px;
  min-height: 37px;
  color: #9275aa;
}
.mode-group button.active {
  color: #8354b6;
  background: #fffbff;
  box-shadow: 0 2px 4px #8c6aa412;
}
.checkin-banner {
  background: linear-gradient(115deg, #ebddf9, #faeaf4);
  border: 1px solid #e5d2ee;
  padding: 20px 16px;
  border-radius: 23px;
  margin: 20px 0;
}
.checkin-banner h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.button-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.checkin-banner .button-row > * {
  flex: 1;
  white-space: nowrap;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 0 15px;
}
.section-heading h2 {
  font-size: 21px;
}
.text-button {
  color: #8d62b4;
  font-size: 16px;
  padding: 6px 1px;
  min-height: 35px;
  line-height: 1.6;
}
.card {
  padding: 20px;
  background: linear-gradient(135deg, #fffaff, #fbf5ff);
  border: 1px solid #e5d6f1;
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px #fff,
    0 4px 13px #8058a009;
  min-width: 0;
}
.card h3 {
  margin-bottom: 9px;
}
.card p {
  font-size: 16px;
  color: #796587;
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.review-calendar {
  font-size: 37px;
}
.review-summary > div {
  flex: 1;
}
.review-summary h3 {
  font-size: 18px;
  white-space: nowrap;
}
.review-summary p {
  font-size: 15px;
}
.review-summary .secondary {
  min-height: 42px;
  font-size: 16px;
  padding: 9px 12px;
}
.home-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.home-links button {
  font-size: 16px;
  line-height: 1.6;
  color: #8c68ac;
  padding: 8px 0;
}
.notice {
  padding: 15px 17px;
  border-radius: 16px;
  background: #f7eddc;
  color: #9c7954;
  font-size: 15px;
  line-height: 1.8;
  margin: 17px 0;
}
.notice.purple {
  background: #eee0fa;
  color: #84609e;
}
.notice.green {
  background: #eaf3e4;
  color: #6f8d5b;
}
.backup-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.backup-alert .text-button {
  font-size: 15px;
  white-space: nowrap;
}
.encourage {
  text-align: center;
  margin: 25px 0 8px;
  color: #8f719e;
  font-size: 16px;
}
.minor,
.field-note,
.metric-note {
  font-size: 14px;
  line-height: 1.8;
  color: #8b739a;
}
.metric-note {
  margin-top: 8px;
}
.pill,
.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  background: #eee0f9;
  color: #8b62ae;
  font-size: 14px;
  line-height: 1.6;
}
.pill {
  margin-bottom: 12px;
}
.goal-line {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: #80648f;
}
.split,
.two-col,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.plan-day {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eee2f4;
}
.plan-day:last-child {
  border: 0;
}
.day-badge {
  background: linear-gradient(#ecdcfd, #e5d3f7);
  border: 1px solid #fff;
  border-radius: 15px;
  text-align: center;
  padding: 10px 3px;
  color: #9565c7;
}
.day-badge small {
  font-size: 12px;
  display: block;
}
.day-badge strong {
  font-size: 23px;
}
.plan-day h3 {
  font-size: 18px;
  margin: 0 0 5px;
}
.plan-day p {
  font-size: 14px;
  line-height: 1.6;
}
.plan-day .tag {
  font-size: 13px;
  padding: 5px 7px;
}
.plan-day.today h3 {
  color: #9253c6;
}
.roadmap {
  border-left: 2px solid #dfc9f0;
  margin: 21px 0 0 8px;
  padding-left: 23px;
}
.roadmap-item {
  position: relative;
  padding-bottom: 25px;
}
.roadmap-item:before {
  content: "";
  width: 12px;
  height: 12px;
  background: #bd95df;
  border: 3px solid #f4eafb;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: -31px;
}
.roadmap-item h3 {
  font-size: 17px;
}
.roadmap-item p {
  font-size: 16px;
  margin-top: 8px;
}
.history-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #ece0f3;
  flex-wrap: wrap;
}
.history-row:last-child {
  border: 0;
}
.history-row strong {
  font-size: 17px;
}
.history-row small {
  display: block;
  font-size: 14px;
  color: #9777a6;
  margin-top: 7px;
}
.history-row p {
  margin-top: 9px;
}
.journey-map {
  position: relative;
  aspect-ratio: 407/598;
  overflow: hidden;
  border-radius: 27px;
  margin: 0 0 20px;
  box-shadow: 0 4px 14px #7c669c25;
  border: 2px solid #fff9;
  background: #c8deb3;
}
.journey-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.journey-heading {
  position: absolute;
  top: 2%;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  font-size: 25px;
  font-weight: 750;
  text-shadow: 0 2px 4px #755d9b;
  line-height: 1.4;
}
.journey-heading small {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 400;
}
.map-sign {
  position: absolute;
  padding: 7px 5px;
  border-radius: 16px;
  background: linear-gradient(#fffced, #f5e2be);
  box-shadow: 0 2px 4px #5c69432a;
  border: 2px solid #e9d7b4;
  font-weight: 650;
  font-size: 17px;
  text-align: center;
  white-space: nowrap;
  color: #514436;
}
.sign-exam {
  top: 32%;
  left: 60%;
  width: 37%;
  height: 8%;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
}
.sign-book2 {
  top: 44.2%;
  left: 38%;
  width: 43%;
  height: 8%;
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
}
.sign-reading {
  top: 56.5%;
  left: 30%;
  width: 45%;
  height: 8%;
  display: grid;
  place-items: center;
  transform: rotate(-4deg);
}
.sign-current {
  top: 69.2%;
  left: 52%;
  width: 45%;
  height: 11%;
  background: linear-gradient(#ffe7a0, #ffd079);
  border-color: #ffebaf;
  font-size: 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}
.sign-current small {
  font-size: 14px;
  font-weight: 500;
}
.journey-current {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 2.5%;
  padding: 13px 15px;
  background: #fff9f6ee;
  border: 2px solid #fff8;
  border-radius: 24px;
  color: #66506d;
}
.journey-current strong {
  display: block;
  font-size: 17px;
}
.journey-current small {
  font-size: 13px;
  display: block;
  margin-top: 5px;
  color: #9b829e;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  padding: 21px 15px;
  background: linear-gradient(#fffaf6, #f8ecff);
  border: 1px solid #fffd;
  border-radius: 21px;
  box-shadow: 0 2px 8px #a085b41a;
}
.stat-card strong {
  display: block;
  color: #8c60ad;
  font-size: 32px;
  font-weight: 650;
}
.stat-card strong small {
  font-size: 16px;
}
.stat-card span {
  display: block;
  font-size: 15px;
  color: #8c6ca0;
  margin-top: 8px;
}
.growth-flower {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #fce6c5, #f5e7f9);
  border: 2px solid #fffc;
}
.growth-sprout {
  font-size: 66px;
  filter: drop-shadow(0 5px 5px #b1956233);
}
.growth-flower h3 {
  font-size: 20px;
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
}
.weekday {
  padding: 9px 0;
  color: #9b81ab;
  font-size: 15px;
}
.calendar-day {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-height: 43px;
  aspect-ratio: 1;
  border-radius: 14px;
  font-size: 16px;
  color: #8b739c;
}
.calendar-day small {
  font-size: 11px;
}
.calendar-day.today {
  outline: 1px solid #bf9adf;
}
.calendar-day.logged {
  background: #eee0fa;
  color: #955bb9;
}
.calendar-day.checked {
  background: linear-gradient(#c19be6, #a476cd);
  color: white;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c6c9e;
  font-size: 15px;
  margin-top: 17px;
}
.bar {
  flex: 1;
  height: 10px;
  border-radius: 20px;
  background: #e9d9f3;
  overflow: hidden;
}
.bar i {
  height: 100%;
  display: block;
  border-radius: 20px;
  background: linear-gradient(90deg, #c39be9, #a16ad4);
}
.trend {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 155px;
  border-bottom: 1px solid #e5d5ee;
  overflow-x: auto;
}
.trend-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 65px;
  height: 100%;
  font-size: 14px;
  color: #8d68a0;
}
.trend-column i {
  width: 28px;
  background: linear-gradient(#b58adf, #d7b9eb);
  border-radius: 8px 8px 0 0;
  min-height: 5px;
}
.trend-column small {
  font-size: 13px;
}
.diary-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.diary-toolbar input {
  width: 100%;
  flex: 1;
  min-width: 180px;
}
.diary-list {
  display: grid;
  gap: 0;
}
.diary-entry {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.diary-entry h3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.diary-entry p {
  font-size: 16px;
  white-space: pre-wrap;
  margin-top: 12px;
}
.diary-entry small {
  font-size: 14px;
  color: #987ba7;
}
.empty-state {
  padding: 36px 12px;
  color: #9a79aa;
  font-size: 17px;
  line-height: 2;
  text-align: center;
}
.empty-state .big {
  display: block;
  font-size: 40px;
  margin-bottom: 15px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: #38224566;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal {
  width: 100%;
  max-width: 550px;
  max-height: 94vh;
  max-height: 94dvh;
  border-radius: 28px 28px 20px 20px;
  background: linear-gradient(#f4e9ff, #fbf4ff);
  box-shadow: 0 20px 60px #44234b30;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal.wide {
  max-width: 650px;
}
.modal-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e6d8ef;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 22px;
}
.close-button {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  background: #ead8fa;
  color: #9164b0;
  flex-shrink: 0;
}
.modal-content {
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid #e7d7f0;
  background: #fff8ff;
  flex-shrink: 0;
}
.modal-footer button {
  flex: 1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
  font-size: 17px;
  color: #80618f;
  line-height: 1.6;
}
.field.full {
  grid-column: 1/-1;
}
.form-grid > .field {
  margin-bottom: 0;
}
input,
textarea,
select {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: #fffbff;
  border: 1px solid #decaec;
  border-radius: 13px;
  padding: 12px;
  line-height: 1.6;
  font-size: 17px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 88px;
}
input[type="checkbox"] {
  width: 21px;
  min-height: 21px;
  accent-color: var(--purple);
  flex-shrink: 0;
}
input[type="date"] {
  min-height: 50px;
}
.field-title {
  margin: 25px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e1cdec;
  color: #9463b1;
  font-size: 19px;
  font-weight: 600;
}
.form-section {
  background: #efe2f8;
  border: 1px solid #fefaff;
  border-radius: 18px;
  margin: 17px 0;
  padding: 17px;
}
.form-section summary {
  font-size: 17px;
  line-height: 1.7;
  cursor: pointer;
}
.form-section .field:last-child {
  margin-bottom: 0;
}
.form-error {
  display: none;
  background: #fce5ee;
  color: #ac5d77;
  font-size: 16px;
  padding: 14px;
  border-radius: 13px;
  margin-bottom: 17px;
  line-height: 1.8;
}
.form-error:not(:empty) {
  display: block;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #91709e;
}
.report-text {
  font-size: 16px;
  line-height: 1.9;
  min-height: 45vh;
  background: #fffcff;
}
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.photo-item {
  position: relative;
}
.photo-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
}
.photo-item button {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 50%;
  background: #fff;
  width: 29px;
  height: 29px;
  font-size: 22px;
  color: #9269a8;
}
.file-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.file-label input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.error-row {
  padding: 15px;
  border-radius: 16px;
  background: #f0e1f6;
  font-size: 16px;
  margin: 12px 0;
}
.error-row p {
  white-space: pre-wrap;
}
.error-row .tag {
  margin-bottom: 9px;
}
.error-row > button {
  float: right;
  font-size: 23px;
}
.word-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid #e7d7f0;
  flex-wrap: wrap;
}
.word-main {
  flex: 1;
  min-width: 140px;
}
.word-main strong {
  font-size: 23px;
}
.word-main p {
  font-size: 17px;
  margin: 7px 0;
}
.word-main small {
  font-size: 14px;
  line-height: 1.8;
  color: #9b7ca8;
}
.level-list,
.rounded-list {
  padding-left: 23px;
  font-size: 16px;
  color: #8f709e;
  line-height: 2.2;
}
.review-card {
  text-align: center;
  padding: 10px 0;
}
.review-word {
  font-size: 37px;
  color: #81539e;
  margin: 28px 0;
}
.review-answer {
  padding: 24px;
  background: #e8d5f6;
  border-radius: 20px;
  line-height: 2;
  margin: 20px 0;
  font-size: 18px;
}
.review-answer strong {
  font-size: 23px;
}
.review-answer span {
  font-size: 20px;
}
.assessment-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.assessment-line strong {
  width: 43px;
  font-size: 17px;
  color: #9167a9;
}
.assessment-line input {
  width: 65px;
}
.assessment-line small {
  font-size: 14px;
  flex: 1;
  min-width: 90px;
  line-height: 1.6;
  color: #9276a2;
}
.storage-status {
  font-size: 15px;
  line-height: 1.9;
  color: #9378a4;
}
.celebration {
  text-align: center;
  padding: 15px 0;
}
.bloom {
  font-size: 70px;
  display: block;
  margin: 10px 0 23px;
  animation: bloom 0.6s ease-out;
}
.celebration h3 {
  font-size: 24px;
  color: #8d59ad;
  margin-bottom: 18px;
}
.celebration p {
  font-size: 17px;
  color: #9b7ba8;
  line-height: 1.9;
}
.task-detail-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}
.task-detail-heading .tile-illustration {
  width: 75px;
  height: 75px;
  margin: 0;
}
.task-detail-heading h3 {
  font-size: 18px;
}
.task-detail-heading p {
  font-size: 16px;
  color: #9575a6;
  margin-top: 6px;
}
.task-clock {
  margin: 23px 0;
  padding: 23px;
  border-radius: 23px;
  background: linear-gradient(#e9d7fa, #f5e9ff);
  text-align: center;
  border: 1px solid #e2c9f2;
}
.task-clock > span {
  font-size: 43px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #9060b4;
  font-variant-numeric: tabular-nums;
}
.task-clock small {
  display: block;
  font-size: 15px;
  color: #9b78af;
  margin-top: 8px;
}
.learning-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.learning-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed #e4d2ee;
}
.learning-steps li > span {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e5cdf7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
  color: #9b66b9;
}
.learning-steps p {
  font-size: 17px;
  line-height: 1.8;
}
.steps {
  font-size: 16px;
  color: #9272a2;
  line-height: 1.9;
}
.steps summary {
  font-size: 16px;
  cursor: pointer;
}
.steps ol {
  padding-left: 23px;
}
.toast {
  position: fixed;
  z-index: 200;
  bottom: 105px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  border: 1px solid #ffffff22;
  background: #735187f2;
  color: #fff;
  max-width: min(90vw, 430px);
  padding: 15px 20px;
  border-radius: 17px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  width: max-content;
  box-shadow: 0 5px 18px #64467530;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.modal-open {
  overflow: hidden;
}
.persist-failure {
  padding: 10vh 10px;
  text-align: center;
}
.persist-failure p {
  margin: 20px 0;
  font-size: 17px;
  line-height: 1.9;
}
.date-control {
  display: flex;
  gap: 10px;
}
.date-chip {
  font-size: 15px;
  color: #9a7aa9;
}
.network-tag {
  font-size: 14px;
  color: #9a7aa9;
}
@keyframes bloom {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 650px) {
  .app-shell {
    border-left: 1px solid #d7bfe8;
    border-right: 1px solid #d7bfe8;
  }
  .modal-backdrop {
    align-items: center;
  }
  .modal {
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 28px;
  }
  .study-scene {
    aspect-ratio: 422/254;
  }
  .paper-goals {
    padding: 15px;
  }
  .paper-goals p {
    font-size: 20px;
  }
  .paper-goals h2 {
    font-size: 24px;
  }
  .paper-goals small {
    font-size: 15px;
  }
  .task-tile {
    min-height: 156px;
  }
  .tile-illustration {
    width: 70px;
    height: 65px;
  }
  .task-tile h3 {
    font-size: 20px;
  }
  .tile-duration {
    font-size: 17px;
  }
  .task-tile p {
    font-size: 16px;
  }
  .panel-title h2 {
    font-size: 22px;
  }
  .plan-shortcut {
    font-size: 17px;
  }
  .journey-heading {
    font-size: 28px;
  }
  .map-sign {
    font-size: 20px;
  }
  .sign-current {
    font-size: 22px;
  }
}
@media (max-width: 370px) {
  .topbar {
    padding-inline: 11px;
  }
  .mobile-brand {
    font-size: 18px;
    gap: 7px;
  }
  .mobile-brand img {
    width: 39px;
    height: 39px;
  }
  .paper-goals {
    padding: 10px 7px;
  }
  .paper-goals h2 {
    font-size: 19px;
    margin-bottom: 5px;
  }
  .paper-goals p {
    font-size: 15px;
  }
  .paper-goals small {
    font-size: 12px;
    margin-top: 4px;
  }
  .today-task-panel {
    margin-inline: 9px;
    padding: 10px 8px 13px;
  }
  .panel-title h2 {
    font-size: 18px;
  }
  .panel-title h2 span {
    font-size: 17px;
    margin-left: 4px;
  }
  .plan-shortcut {
    font-size: 14px;
    padding: 5px 10px;
  }
  .task-grid {
    gap: 6px;
  }
  .task-tile {
    min-height: 128px;
    padding-inline: 2px;
  }
  .tile-illustration {
    width: 54px;
    height: 52px;
  }
  .task-tile h3 {
    font-size: 16px;
  }
  .task-tile p {
    font-size: 13px;
  }
  .tile-duration {
    font-size: 14px;
  }
  .start-learning {
    font-size: 20px;
  }
  .map-sign {
    font-size: 15px;
  }
  .sign-current {
    font-size: 17px;
  }
  .journey-heading {
    font-size: 22px;
  }
  .journey-heading small {
    font-size: 12px;
  }
  .journey-current strong {
    font-size: 15px;
  }
  .modal-header,
  .modal-content {
    padding: 17px;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .modal-footer {
    padding-inline: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.growth-sprout {
  width: 108px;
  height: 115px;
  object-fit: contain;
  border-radius: 25px;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
@media (max-width: 649px) {
  .topbar {
    height: 60px;
  }
  .mobile-brand img {
    width: 40px;
    height: 40px;
  }
  .study-scene {
    height: clamp(170px, calc(100svh - 490px), 260px);
    aspect-ratio: auto;
  }
  .scene-art {
    object-position: center center;
  }
  .paper-goals {
    padding: 10px 9px;
    min-height: 0;
  }
  .paper-goals h2 {
    margin-bottom: 5px;
    font-size: 20px;
  }
  .paper-goals p {
    font-size: 16px;
    line-height: 1.7;
  }
  .paper-goals small {
    font-size: 12px;
    margin-top: 3px;
  }
  .today-task-panel {
    padding: 10px 9px 12px;
  }
  .panel-title {
    margin-bottom: 8px;
  }
  .panel-title h2 {
    font-size: 20px;
  }
  .plan-shortcut {
    font-size: 15px;
    padding: 4px 10px;
  }
  .task-grid {
    gap: 7px;
  }
  .task-tile {
    min-height: 118px;
    padding: 5px 2px;
  }
  .tile-illustration {
    width: 50px;
    height: 45px;
    margin-bottom: 3px;
  }
  .task-tile h3 {
    font-size: 18px;
    line-height: 1.25;
  }
  .task-tile p {
    font-size: 14px;
    line-height: 1.1;
    margin-top: 2px;
  }
  .tile-duration {
    font-size: 15px;
    line-height: 1.2;
    margin-top: 3px;
    white-space: nowrap;
  }
  .start-learning {
    min-height: 45px;
    margin-top: 10px;
    font-size: 21px;
  }
  .scene-day {
    font-size: 13px;
    padding: 3px 9px;
    bottom: 8px;
  }
  .today-summary {
    margin-top: 11px;
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .panel-title h2 {
    font-size: 18px;
  }
  .task-tile h3 {
    font-size: 16px;
  }
  .task-tile p {
    font-size: 13px;
  }
  .tile-duration {
    font-size: 14px;
  }
  .paper-goals h2 {
    font-size: 19px;
  }
  .paper-goals p {
    font-size: 15px;
  }
  .paper-goals small {
    font-size: 11px;
  }
}
.journey-map {
  max-height: calc(100svh - 160px);
}
.sign-current {
  top: 66%;
  height: 14%;
}
/* Full illustrated icon system, v1.2 */
.art-icon {
  display: inline-block;
  width: 32px;
  height: 34px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 2px #9d77c51a);
}
.nav-item .art-icon {
  width: 31px;
  height: 32px;
}
.nav-item {
  gap: 3px;
  min-height: 57px;
}
.nav-item.active {
  background: linear-gradient(#e7d3fb, #f1e5fb);
}
.topbar .icon-button {
  width: 34px;
  height: 36px;
  background: none;
  border: 0;
}
.topbar .icon-button img {
  width: 32px;
  height: 34px;
}
.topbar .reminder-button {
  margin-left: auto;
}
.mobile-brand {
  font-size: 19px;
  gap: 7px;
}
.mobile-brand img {
  width: 40px;
  height: 40px;
}
.section-heading h2 .art-icon,
.card h3 > .art-icon {
  width: 31px;
  height: 33px;
  margin-right: 6px;
}
.secondary > .art-icon,
.primary > .art-icon,
.text-button > .art-icon {
  width: 25px;
  height: 27px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.feature-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 20px;
}
.feature-shortcuts > button,
.feature-shortcuts > a {
  background: linear-gradient(#fffaff, #eadcf7);
  border: 1px solid #fff9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 2px;
  font-size: 15px;
  color: #775392;
  box-shadow: 0 3px 6px #9864b515;
  min-height: 86px;
}
.feature-shortcuts .art-icon,
.feature-shortcuts .tile-illustration {
  width: 37px;
  height: 39px;
  margin: 0;
}
.day-focus .art-icon {
  width: 34px;
  height: 36px;
}
.review-calendar {
  width: 49px;
  height: 54px;
  object-fit: contain;
}
.rich-page-title {
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 17px;
}
.streak-card {
  background: linear-gradient(140deg, #fff0c8, #f8d7b4 46%, #fbe6d8);
  border: 2px solid #fff8;
  border-radius: 25px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 3px 9px #d9b18021;
  position: relative;
  overflow: hidden;
}
.streak-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.streak-heading > img {
  width: 54px;
  height: 58px;
  object-fit: contain;
}
.streak-heading > div > span {
  background: linear-gradient(#dfae7a, #cb8b54);
  border: 1px solid #ffe0aa;
  color: #fff4dd;
  padding: 3px 9px;
  border-radius: 9px;
  font-size: 15px;
}
.streak-heading strong {
  display: block;
  font-size: 31px;
  font-weight: 700;
  color: #ac673f;
  line-height: 1.4;
  margin-top: 4px;
}
.streak-heading strong small {
  font-size: 17px;
  font-weight: 450;
  margin-left: 9px;
}
.streak-sun {
  margin-left: auto;
  font-size: 57px;
  color: #ffd89f;
  text-shadow: 0 0 20px #fff4dc;
}
.week-stamps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  background: #fffaf1d9;
  border: 1px solid #fff;
  border-radius: 17px;
  padding: 10px 7px;
  margin-top: 10px;
  text-align: center;
}
.week-stamps > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}
.week-stamps i {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(#eee9dd, #ddd7d1);
  border: 1px solid #faf6ed;
  font-style: normal;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
}
.week-stamps i.stamped {
  background: linear-gradient(#ffc36f, #e5a04d);
  box-shadow: 0 2px 4px #c0873944;
}
.growth-summary-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 12px;
  padding: 8px 3px 14px;
  margin-bottom: 10px;
}
.plant-portrait {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.plant-portrait > img {
  width: 130px;
  height: 125px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.plant-portrait > strong {
  background: #fff0cf;
  border: 1px solid #f5d8ad;
  color: #9c7549;
  font-size: 17px;
  border-radius: 20px;
  padding: 3px 17px;
  position: relative;
  margin-top: -9px;
  box-shadow: 0 2px 4px #b8a06c20;
}
.plant-portrait > small {
  font-size: 13px;
  color: #94799f;
  margin-top: 6px;
}
.growth-stat-list {
  background: #fffafcd6;
  border: 1px solid #fff8;
  border-radius: 19px;
  padding: 8px 10px;
  align-self: center;
  box-shadow: 0 3px 10px #9d6dac12;
}
.growth-stat-list > div {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 35px;
  border-bottom: 1px solid #eedff1;
}
.growth-stat-list > div:last-child {
  border: 0;
}
.growth-stat-list .art-icon,
.growth-stat-list .tile-illustration {
  width: 20px;
  height: 23px;
  display: inline-block;
  margin: 0;
  flex-shrink: 0;
}
.growth-stat-list span {
  font-size: 14px;
  white-space: nowrap;
  color: #685370;
}
.growth-stat-list strong {
  font-size: 14px;
  margin-left: auto;
  white-space: nowrap;
  font-weight: 550;
  color: #6e5479;
}
.achievements {
  padding: 16px 12px 13px;
  background: linear-gradient(#fffaffee, #f8f0ff);
}
.achievements h2 {
  font-size: 20px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.achievements h2 .art-icon {
  width: 29px;
  height: 31px;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 7px;
}
.badge-item {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.badge-item > img {
  width: 60px;
  height: 66px;
  object-fit: contain;
  max-width: 100%;
  filter: drop-shadow(0 3px 3px #bc9aca33);
}
.badge-item.locked > img {
  opacity: 0.8;
}
.badge-lock {
  display: none;
}
.badge-item strong {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  color: #674b77;
}
.achievements > p {
  text-align: center;
  font-size: 13px;
  color: #a182ae;
  margin-top: 13px;
}
.growth-tools {
  margin: 15px 0 22px;
}
.growth-tools > * {
  flex: 1;
  font-size: 16px;
  padding-inline: 10px;
}
.badge-detail {
  text-align: center;
  padding: 12px 0;
}
.badge-detail > img {
  width: 130px;
  height: 146px;
  filter: drop-shadow(0 7px 7px #ab7eaf30);
}
.badge-detail h3 {
  font-size: 24px;
  color: #92639e;
  margin: 14px 0;
}
.badge-detail > p {
  font-size: 17px;
  color: #8d719d;
}
.feature-screen {
  max-width: 480px;
  height: min(880px, 96dvh);
  max-height: 96dvh;
  background: linear-gradient(#eaddfc, #f3eafa);
}
.feature-screen .modal-header {
  padding: 16px 17px;
  background: #e7daf5;
  border-bottom: 0;
  gap: 8px;
}
.feature-screen .modal-header h2 {
  font-size: 23px;
  text-align: center;
  flex: 1;
}
.feature-screen .close-button {
  order: -1;
  background: none;
}
.feature-screen .modal-header:after {
  content: "";
  width: 32px;
  height: 32px;
}
.feature-screen .modal-content {
  padding: 18px 17px;
}
.feature-screen .modal-footer {
  background: #eee1f9;
  border-top: 0;
  padding: 15px 20px calc(18px + env(safe-area-inset-bottom));
}
.feature-screen .modal-footer .primary {
  border-radius: 28px;
  font-size: 19px;
  width: 100%;
}
.wordbook-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fffaff9c;
  border: 1px solid #fff9;
  padding: 14px;
  border-radius: 23px;
  box-shadow: 0 4px 10px #b68ccd19;
  margin-bottom: 20px;
}
.wordbook-cover {
  width: 100px;
  height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.wordbook-card > div {
  flex: 1;
  min-width: 0;
}
.wordbook-card h3 {
  font-size: 19px;
  line-height: 1.4;
}
.wordbook-card p {
  font-size: 16px;
  margin: 10px 0;
  color: #6c5579;
}
.wordbook-card .bar {
  height: 9px;
  background: #dbc9ed;
  margin-bottom: 7px;
}
.wordbook-card small {
  font-size: 12px;
  color: #9b81aa;
  line-height: 1.5;
  display: block;
}
.word-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 15px;
}
.word-tabs button {
  padding: 8px 3px;
  border-radius: 20px;
  background: #f8f0ff;
  border: 1px solid #e7d4f7;
  font-size: 16px;
  color: #755b8b;
  white-space: nowrap;
  min-height: 40px;
}
.word-tabs small {
  font-size: 14px;
}
.word-tabs .active {
  background: linear-gradient(#bd9ae9, #9a75d7);
  color: #fff;
  border-color: #b88ee5;
  box-shadow:
    inset 0 1px #e0c9ff,
    0 3px 5px #9569bf22;
}
.rich-word-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 90px;
  padding: 15px;
  background: #fffaffdc;
  border: 1px solid #faf0ff;
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px #bd9ed412;
}
.rich-word-row > div {
  flex: 1;
  min-width: 0;
}
.rich-word-row > div > strong {
  font-size: 24px;
  line-height: 1.4;
  color: #34253f;
}
.rich-word-row p {
  font-size: 16px;
  color: #6d5779;
  margin-top: 4px;
}
.rich-word-row small {
  display: block;
  font-size: 13px;
  color: #9e83ab;
  margin-top: 5px;
}
.rich-word-row > button {
  padding: 0;
  min-width: 34px;
  min-height: 40px;
}
.rich-word-row > button .art-icon {
  width: 31px;
  height: 33px;
}
.rich-word-list .empty-state > .art-icon {
  width: 75px;
  height: 79px;
}
.rich-word-list .empty-state p {
  font-size: 16px;
  color: #9b7dac;
  margin-top: 16px;
}
.word-levels {
  margin-top: 20px;
  color: #9874ac;
  font-size: 15px;
}
.word-levels summary {
  cursor: pointer;
  line-height: 1.7;
}
.review-speaker .art-icon {
  width: 44px;
  height: 47px;
}
.review-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffaffb8;
  border: 1px solid #fff9;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 23px;
  box-shadow: 0 4px 8px #ac86c31a;
}
.review-intro > img {
  width: 64px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}
.review-intro h3 {
  font-size: 18px;
  margin-bottom: 7px;
}
.review-intro p {
  font-size: 15px;
  color: #8c739d;
  line-height: 1.7;
}
.review-today-title {
  font-size: 20px;
  margin: 7px 3px 18px;
}
.review-today-title strong {
  color: #9e6abb;
  font-size: 24px;
  margin: 0 4px;
}
.review-node-list {
  background: #fff9ff9c;
  border: 1px solid #fff9;
  border-radius: 23px;
  overflow: hidden;
  margin-bottom: 20px;
}
.review-node-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 14px 12px;
  border-bottom: 1px solid #e8daf1;
  text-align: left;
}
.review-node-row:last-child {
  border: 0;
}
.review-node-row > .art-icon {
  width: 34px;
  height: 37px;
}
.review-node-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.review-node-row strong {
  display: block;
  font-size: 17px;
  font-weight: 550;
}
.review-node-row small {
  display: block;
  font-size: 13px;
  color: #9a7eaa;
  margin-top: 6px;
}
.node-status {
  font-size: 29px;
  color: #b3a2bf;
  line-height: 1;
}
.node-status.due {
  color: #a575d5;
}
.ai-welcome {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0 0;
}
.ai-welcome > img {
  width: 133px;
  height: 169px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
  border-radius: 20px;
}
.ai-welcome > div {
  position: relative;
  flex: 1;
  background: #fff8ffdd;
  border: 1px solid #fff9;
  padding: 17px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 7px #b68bc822;
}
.ai-welcome > div:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 45%;
  width: 15px;
  height: 15px;
  background: #fff7ff;
  transform: rotate(45deg);
}
.ai-welcome h3 {
  font-size: 19px;
  margin-bottom: 7px;
}
.ai-welcome p {
  font-size: 16px;
  line-height: 1.8;
  color: #674d7c;
}
.ai-welcome p span {
  color: #bc8ddc;
  margin-left: 5px;
}
.ai-practices {
  background: #fffaffc9;
  border: 1px solid #fff9;
  border-radius: 23px;
  overflow: hidden;
  margin: 13px 0 10px;
  box-shadow: 0 4px 8px #b793ce14;
}
.ai-practices h3 {
  padding: 16px 16px 8px;
  font-size: 21px;
}
.ai-practices > button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 16px;
  border-bottom: 1px solid #eee0f5;
  font-size: 17px;
  text-align: left;
}
.ai-practices .art-icon {
  width: 31px;
  height: 33px;
}
.practice-play {
  margin-left: auto;
  font-size: 15px;
  color: #a477cc;
}
.ai-microphone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 0 5px;
  min-height: 140px;
}
.ai-microphone > img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px #a67bd430);
}
.sound-wave {
  letter-spacing: 3px;
  font-size: 19px;
  color: #ab88d7;
  line-height: 1;
}
.ai-mic-caption {
  text-align: center;
  font-size: 19px;
  margin: 2px 0 10px;
}
.ai-boundary {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: #987ca7;
  margin-bottom: 15px;
}
.ai-screen .text-button {
  width: 100%;
  justify-content: center;
}
.plan-icon-settings > .section-heading {
  margin: 0 0 7px;
}
.plan-icon-settings > .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 20px;
}
.plan-icon-settings > .section-heading .art-icon {
  width: 30px;
  height: 33px;
}
.plan-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eddef5;
  padding: 11px 0;
}
.plan-task-row .tile-illustration {
  width: 34px;
  height: 36px;
  margin: 0;
}
.plan-task-row > button {
  flex: 1;
  text-align: left;
  padding: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 550;
  min-width: 0;
}
.plan-task-row select {
  width: 91px;
  padding: 7px 4px;
  font-size: 16px;
  background: #fffaff;
  flex-shrink: 0;
  min-height: 42px;
  border-radius: 13px;
}
.plan-icon-settings > .text-button {
  margin-top: 11px;
  font-size: 15px;
}
.roadmap-item h3 .art-icon {
  width: 28px;
  height: 30px;
  margin-right: 5px;
}
.dynamic-map {
  max-height: none;
  overflow: hidden;
}
.dynamic-map .journey-background {
  object-fit: fill;
}
.dynamic-map .journey-heading {
  top: 3%;
  font-size: 25px;
  text-shadow: 0 2px 5px #6871a8;
}
.dynamic-map .journey-heading small {
  font-size: 14px;
  max-width: 90%;
  margin: 6px auto 0;
}
.dynamic-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: none;
}
.map-edit {
  position: absolute;
  right: 10px;
  top: 13%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #fff8;
  border-radius: 20px;
  padding: 3px 7px;
  background: #fff8;
  font-size: 13px;
  color: #7b688c;
  box-shadow: 0 2px 4px #86726118;
}
.map-edit .art-icon {
  width: 22px;
  height: 24px;
}
.route-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 47%;
  max-width: 212px;
  min-height: 48px;
  padding: 2px 3px;
  border-radius: 22px;
  text-align: center;
}
.route-node > .art-icon {
  width: 35px;
  height: 38px;
  margin-left: -5px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 3px #68815c33);
}
.route-node > span {
  background: linear-gradient(#fffced, #f6e6c4);
  border: 2px solid #eaddbc;
  border-radius: 17px;
  padding: 7px 7px;
  flex: 1;
  min-width: 0;
  box-shadow: 0 3px 6px #6a735c25;
}
.route-node strong {
  font-size: 14px;
  line-height: 1.4;
  display: block;
  font-weight: 650;
  color: #5d4d3d;
  overflow-wrap: anywhere;
}
.route-node small {
  font-size: 11px;
  line-height: 1.5;
  display: block;
  margin-top: 3px;
  color: #9c8b6b;
}
.route-node.current > span {
  background: linear-gradient(#ffe9ac, #ffd680);
  border-color: #fff1bd;
  box-shadow:
    0 0 17px #fff4b18c,
    0 4px 5px #c1a25738;
}
.route-node.current > .art-icon {
  width: 42px;
  height: 45px;
}
.route-node.current strong {
  font-size: 15px;
}
.route-node.completed > span {
  background: linear-gradient(#edf7d8, #dbebc0);
  border-color: #e8f6d0;
}
.dynamic-map .journey-current {
  bottom: 2%;
  left: 4%;
  right: 4%;
  padding: 11px 13px;
  z-index: 3;
}
.dynamic-map .journey-current > strong {
  font-size: 15px;
  line-height: 1.5;
}
.dynamic-map .journey-current > small {
  font-size: 11px;
  line-height: 1.6;
}
.route-progress-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: #9a85a4;
}
.route-progress-line > i {
  flex: 1;
  height: 8px;
  border-radius: 12px;
  background: #e0d4e9;
  overflow: hidden;
}
.route-progress-line b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #bb94df, #9a6fc9);
  border-radius: 12px;
}
.route-progress-line strong {
  font-size: 13px;
}
.route-editor-row {
  background: #f2e6fa;
  border: 1px solid #fff9;
  border-radius: 22px;
  padding: 17px;
  margin: 16px 0;
}
.route-editor-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.route-editor-title > strong {
  font-size: 19px;
  color: #8d65a4;
  flex: 1;
}
.route-editor-title > div {
  display: flex;
  gap: 4px;
}
.route-editor-title button {
  background: #fff9;
  border: 1px solid #e3cdef;
  border-radius: 10px;
  min-width: 32px;
  min-height: 34px;
  font-size: 21px;
  color: #a075b6;
}
.route-editor-row .field {
  margin-bottom: 16px;
}
.stage-detail p {
  font-size: 17px;
  line-height: 1.9;
}
.stage-detail h3 {
  text-align: center;
  font-size: 22px;
  color: #9972ad;
  margin-bottom: 15px;
}
.stage-big-icon {
  text-align: center;
  margin-bottom: 19px;
}
.stage-big-icon .art-icon {
  width: 90px;
  height: 94px;
}
@media (max-width: 370px) {
  .mobile-brand {
    font-size: 17px;
    gap: 5px;
  }
  .mobile-brand img {
    width: 35px;
    height: 35px;
  }
  .topbar .icon-button {
    width: 30px;
    height: 32px;
  }
  .topbar .icon-button img {
    width: 29px;
    height: 31px;
  }
  .topbar {
    gap: 4px;
  }
  .growth-stat-list {
    padding: 7px;
  }
  .growth-stat-list span,
  .growth-stat-list strong {
    font-size: 13px;
  }
  .growth-summary-card {
    gap: 7px;
  }
  .badge-item strong {
    font-size: 13px;
  }
  .badge-item > img {
    width: 54px;
    height: 61px;
  }
  .ai-welcome > img {
    width: 110px;
    height: 145px;
  }
  .ai-welcome p {
    font-size: 15px;
  }
  .ai-welcome > div {
    padding: 13px 10px;
  }
  .wordbook-cover {
    width: 83px;
    height: 106px;
  }
  .wordbook-card {
    gap: 11px;
    padding: 12px;
  }
  .wordbook-card h3 {
    font-size: 17px;
  }
  .word-tabs button {
    font-size: 14px;
  }
  .feature-shortcuts {
    gap: 5px;
  }
  .feature-shortcuts > button,
  .feature-shortcuts > a {
    font-size: 14px;
  }
  .route-node strong {
    font-size: 13px;
  }
  .route-node.current strong {
    font-size: 14px;
  }
}
.route-node strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.route-node small:empty {
  display: none;
}
.route-node > span {
  padding: 6px 7px;
}
.route-node small {
  font-size: 10px;
  line-height: 1.3;
  margin-top: 2px;
}
.route-node:not(.current):not(.completed) small {
  display: none;
}
body[data-view="growth"] main {
  padding-top: 10px;
}
.rich-page-title {
  font-size: 22px;
  margin-bottom: 12px;
}
.streak-card {
  padding: 11px 12px;
  margin-bottom: 12px;
}
.streak-heading > img {
  width: 48px;
  height: 52px;
}
.streak-heading > div > span {
  font-size: 13px;
  padding: 2px 8px;
}
.streak-heading strong {
  font-size: 28px;
  line-height: 1.05;
  margin-top: 5px;
}
.week-stamps {
  padding: 8px 7px;
  margin-top: 8px;
}
.week-stamps > div {
  gap: 5px;
  font-size: 15px;
}
.week-stamps i {
  width: 19px;
  height: 19px;
  font-size: 14px;
}
.growth-summary-card {
  padding-bottom: 9px;
  margin-bottom: 5px;
}
.plant-portrait > img {
  width: 118px;
  height: 110px;
  border-radius: 50%;
}
.plant-portrait > strong {
  font-size: 15px;
  padding: 3px 13px;
}
.plant-portrait > small {
  font-size: 12px;
  margin-top: 5px;
}
.growth-stat-list > div {
  min-height: 32px;
}
.achievements {
  padding: 14px 11px 12px;
}
.achievements h2 {
  margin-bottom: 10px;
}
.badge-grid {
  gap: 10px 7px;
}
.badge-item > img {
  width: 56px;
  height: 60px;
}
.badge-item strong {
  font-size: 13px;
}
.achievements > p {
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.5;
}
@media (max-width: 649px) {
  .study-scene {
    height: clamp(164px, calc(100svh - 498px), 260px);
  }
}
/* User supplied textbook materials */
.course-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(#fffaff, #f2e5fb);
  border: 1px solid #fff8;
  border-radius: 22px;
  padding: 16px 13px;
  box-shadow: 0 3px 9px #ae8ac51c;
  text-align: left;
  margin: 12px 0 18px;
}
.course-entry > .art-icon {
  width: 45px;
  height: 48px;
}
.course-entry > span {
  flex: 1;
  min-width: 0;
}
.course-entry strong {
  display: block;
  font-size: 19px;
  color: #75508b;
}
.course-entry small {
  display: block;
  font-size: 14px;
  color: #9a7ca8;
  margin-top: 6px;
  line-height: 1.6;
}
.course-entry > b {
  font-size: 27px;
  color: #a77ac6;
}
.course-search {
  margin-top: 20px;
}
.course-group {
  margin: 16px 0;
  border: 1px solid #eadbf2;
  border-radius: 19px;
  background: #fffaffb5;
  overflow: hidden;
}
.course-group > summary {
  cursor: pointer;
  list-style-position: inside;
  padding: 14px 12px;
  font-size: 18px;
  color: #825f98;
}
.course-group > summary > small {
  float: right;
  font-size: 13px;
  margin-top: 3px;
  color: #a18aaf;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 14px;
}
.lesson-chip {
  border: 1px solid #e5d9ed;
  border-radius: 12px;
  background: #f4edf9;
  min-height: 58px;
  padding: 5px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.lesson-chip strong {
  font-size: 19px;
  font-weight: 600;
  color: #9f85ad;
}
.lesson-chip span {
  font-size: 11px;
  color: #aa96b6;
}
.lesson-chip.has-content {
  background: linear-gradient(#efdefc, #e0c9f4);
  border-color: #d4b4eb;
}
.lesson-chip.has-content strong {
  color: #8d57af;
}
.lesson-chip.has-content span {
  color: #9568b0;
}
.course-source {
  background: #fffaffac;
  border: 1px solid #fff9;
  border-radius: 17px;
  padding: 12px;
  margin-bottom: 17px;
}
.course-source p {
  font-size: 14px;
  color: #866895;
  margin-top: 8px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.course-source small {
  font-size: 12px;
  color: #a489b2;
  display: block;
  line-height: 1.7;
  margin-top: 5px;
}
.course-tabs {
  display: flex;
  gap: 5px;
  margin: 13px 0 20px;
}
.course-tabs > button {
  flex: 1;
  border-radius: 15px;
  background: #f9f0ff;
  border: 1px solid #e3d1ef;
  font-size: 17px;
  min-height: 42px;
  padding: 5px 3px;
  color: #946eaa;
}
.course-tabs > button.active {
  background: linear-gradient(#bd98e8, #9a71cc);
  color: white;
  border-color: #b28adf;
  box-shadow: inset 0 1px #dfc6fc;
}
.course-paragraph {
  padding: 20px 16px;
  background: #fffaffdc;
  border-radius: 20px;
  border: 1px solid #fff9;
  margin-bottom: 14px;
}
.english-text {
  font-size: 21px !important;
  color: #493452 !important;
  line-height: 1.8 !important;
  white-space: pre-wrap;
}
.course-paragraph > details {
  color: #9b77ac;
  font-size: 16px;
  margin: 12px 0;
}
.course-paragraph > details > summary {
  cursor: pointer;
}
.course-paragraph > details p {
  font-size: 17px;
  margin-top: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  color: #80618d;
}
.course-paragraph .text-button {
  font-size: 14px;
}
.course-paragraph .tag {
  margin-bottom: 11px;
}
.course-knowledge p {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.9;
}
.course-knowledge h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.course-knowledge blockquote {
  margin: 16px 0 0;
  padding: 12px 15px;
  border-left: 4px solid #c79fe4;
  border-radius: 4px 14px 14px 4px;
  background: #f2e5fb;
}
.course-knowledge blockquote .english-text {
  font-size: 19px !important;
}
.course-exercise {
  padding: 19px 16px;
  background: #fff9ffdc;
  border: 1px solid #fff9;
  border-radius: 20px;
  margin: 16px 0;
}
.course-exercise > h3 {
  color: #986ab0;
  margin-bottom: 12px;
}
.course-exercise > p {
  font-size: 19px;
  color: #62466f;
  line-height: 1.9;
  white-space: pre-wrap;
  margin-bottom: 15px;
}
.course-exercise .field {
  font-size: 16px;
}
.course-answer .notice {
  margin-bottom: 0;
  white-space: pre-wrap;
}
.course-listen h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.course-listen audio {
  width: 100%;
  margin: 20px 0;
}
.course-screen .empty-state > .art-icon {
  width: 70px;
  height: 75px;
}
.course-screen .empty-state h3 {
  margin: 18px 0 12px;
  font-size: 21px;
}
.course-screen .modal-header h2 {
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.course-screen .modal-footer > button {
  font-size: 16px;
}
.course-group .lesson-grid:empty {
  display: none;
}
@media (max-width: 370px) {
  .lesson-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .course-entry strong {
    font-size: 17px;
  }
  .course-entry small {
    font-size: 13px;
  }
  .course-tabs > button {
    font-size: 16px;
  }
}
