:root {
  --navy: #10213e;
  --navy-soft: #263a5a;
  --coral: #ff6658;
  --coral-dark: #e95046;
  --coral-soft: #fff0eb;
  --cream: #faf7f2;
  --cream-2: #fff6ef;
  --paper: #fffefd;
  --muted: #626b78;
  --line: #ebe5de;
  --green: #77ad7f;
  --green-soft: #eaf4e9;
  --blue: #6f9fe8;
  --blue-soft: #eaf2ff;
  --shadow-sm: 0 12px 30px rgba(66, 45, 29, .08);
  --shadow-lg: 0 24px 70px rgba(62, 43, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: #f4f1ec;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(255, 102, 88, .32); outline-offset: 3px; }

.site-frame {
  width: min(1460px, calc(100% - 44px));
  margin: 22px auto 40px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(230, 222, 214, .85);
  border-radius: 32px;
  box-shadow: 0 18px 55px rgba(62, 48, 36, .1);
}

.dashboard-header {
  position: relative;
  z-index: 30;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 30px;
  padding: 0 42px;
  background: rgba(255, 254, 253, .96);
  border-bottom: 1px solid #eee8e2;
  backdrop-filter: blur(18px);
}
.wordmark { width: max-content; display: grid; gap: 4px; }
.wordmark strong { font: 800 27px/1.05 Georgia, "Songti SC", serif; letter-spacing: -.035em; }
.wordmark strong i { margin: 0 4px; color: var(--coral); font: 800 13px/1 "Microsoft YaHei", sans-serif; font-style: normal; }
.wordmark small { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.main-nav { height: 86px; display: flex; align-items: center; gap: 54px; color: #626974; font-size: 15px; font-weight: 700; }
.main-nav a { position: relative; height: 100%; display: grid; place-items: center; }
.main-nav a::after { content: ""; position: absolute; right: 23%; bottom: 18px; left: 23%; height: 3px; background: transparent; border-radius: 3px; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after { background: var(--coral); }
.profile-entry {
  position: relative;
  justify-self: end;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: linear-gradient(145deg, #ddd, #f4f4f4);
  border: 1px solid #d4d5d7;
  border-radius: 50%;
}
.profile-entry::before { content: ""; position: absolute; top: 8px; left: 50%; width: 13px; height: 13px; background: #aaaeb3; border-radius: 50%; transform: translateX(-50%); }
.profile-entry::after { content: ""; position: absolute; right: 7px; bottom: 5px; left: 7px; height: 16px; background: #aaaeb3; border-radius: 18px 18px 9px 9px; }

main { overflow: hidden; }
.welcome-panel {
  position: relative;
  min-height: 700px;
  padding: 64px 54px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 18%, rgba(255, 196, 164, .25), transparent 31%), linear-gradient(120deg, #fffaf6 0%, #fff8f3 55%, #fff2e9 100%);
}
.welcome-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,250,246,.98) 0%, rgba(255,250,246,.82) 30%, transparent 58%);
}
.welcome-copy { position: relative; z-index: 5; max-width: 650px; }
.guide-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 13px 6px 6px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(235,225,214,.92);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.guide-avatar { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; overflow: hidden; background: #fff0c9; border-radius: 50%; }
.guide-avatar img { width: 43px; max-width: none; transform: translateY(5px); }
.guide-pill > span:last-child { display: grid; gap: 2px; }
.guide-pill b { color: var(--coral-dark); font-size: 12px; }
.guide-pill small { color: var(--muted); font-size: 11px; }
.welcome-copy h1 { margin: 0; font: 800 clamp(46px, 3.8vw, 58px)/1.12 Georgia, "Songti SC", serif; letter-spacing: -.055em; }
.welcome-copy h1 span { display: inline-block; margin-left: 9px; color: var(--coral); font: 400 .9em/1 Arial, sans-serif; transform: rotate(-12deg); }
.welcome-copy > p { max-width: 520px; margin: 22px 0 0; color: #5d6571; font-size: 18px; line-height: 1.9; }
.continue-button {
  min-width: 220px;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 31px;
  padding: 0 18px 0 30px;
  color: #fff;
  background: linear-gradient(135deg, #ff6e60, #ff5548);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(255, 91, 77, .28);
  font-size: 20px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.continue-button .continue-label { display: inline; }
.continue-button > span:last-child { width: 38px; height: 38px; display: grid; place-items: center; color: var(--coral); background: #fff; border-radius: 50%; font: 700 31px/1 Georgia, serif; }
.continue-button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255, 91, 77, .32); }

.teacher-intro {
  width: min(455px, 100%);
  display: grid;
  gap: 12px;
  margin-top: 31px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(230, 218, 207, .92);
  border-radius: 18px;
  box-shadow: 0 13px 32px rgba(78, 54, 35, .075);
  backdrop-filter: blur(15px);
}
.teacher-intro-heading { display: flex; align-items: center; gap: 12px; }
.teacher-monogram { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--navy-soft), var(--navy)); border-radius: 50%; font: 800 18px/1 Georgia, serif; box-shadow: 0 7px 15px rgba(16, 33, 62, .17); }
.teacher-intro-heading > div { display: grid; gap: 3px; }
.teacher-intro-heading small { color: var(--coral-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.teacher-intro-heading strong { font: 800 16px/1.25 Georgia, "Songti SC", serif; }
.teacher-intro > p { margin: 0; color: #5f6976; font-size: 13px; line-height: 1.7; }
.teacher-credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.teacher-credentials span { min-width: 0; display: grid; gap: 3px; padding: 9px 10px; color: #52645b; background: rgba(237, 246, 235, .92); border: 1px solid #dcebd9; border-radius: 12px; }
.teacher-credentials b { color: var(--navy); font: 800 15px/1.1 Georgia, "Songti SC", serif; }
.teacher-credentials small { color: #637269; font-size: 11px; font-weight: 800; line-height: 1.35; }

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 9;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #707783;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  transform: translateX(-50%);
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--coral-dark); }
.scroll-cue i { position: relative; width: 22px; height: 22px; border: 1px solid rgba(227, 158, 142, .7); border-radius: 50%; animation: scroll-cue-bob 1.8s ease-in-out infinite; }
.scroll-cue i::after { content: ""; position: absolute; top: 6px; left: 7px; width: 6px; height: 6px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(45deg); }

.portrait-stage { position: absolute; inset: 0 0 0 37%; z-index: 0; overflow: hidden; }
.portrait-stage > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-glow { position: absolute; right: 8%; top: 17%; z-index: 0; width: 58%; aspect-ratio: 1; background: rgba(255, 216, 194, .38); border-radius: 50%; }
.dot-pattern { position: absolute; top: 72px; right: 40px; z-index: 3; width: 120px; height: 78px; opacity: .7; background-image: radial-gradient(#ffc9b4 3px, transparent 3px); background-size: 20px 20px; }
.leaf-stem { position: absolute; right: 28px; bottom: 160px; z-index: 3; width: 92px; height: 145px; border-left: 4px solid #79b37d; border-radius: 50%; transform: rotate(24deg); }
.leaf-stem i { position: absolute; width: 21px; height: 45px; background: linear-gradient(135deg, #9dcea0, #68a96e); border-radius: 100% 0 100% 0; }
.leaf-stem i:nth-child(1) { top: 6px; left: -2px; transform: rotate(25deg); }
.leaf-stem i:nth-child(2) { top: 38px; left: 13px; transform: rotate(78deg); }
.leaf-stem i:nth-child(3) { top: 72px; left: -17px; transform: rotate(-8deg); }
.leaf-stem i:nth-child(4) { top: 98px; left: 10px; transform: rotate(72deg); }
.fairy-guide { position: absolute; z-index: 7; display: flex; align-items: end; filter: drop-shadow(0 12px 16px rgba(72, 50, 26, .12)); animation: fairy-float 2.8s ease-in-out infinite alternate; }
.hero-fairy { top: 74px; right: 26px; }
.hero-fairy > img { width: 105px; height: 116px; object-fit: contain; }
.fairy-bubble { position: relative; display: grid; gap: 4px; margin: 0 -16px 54px 0; padding: 12px 15px; background: rgba(255,255,255,.94); border: 1px solid #eadfd4; border-radius: 17px 17px 5px 17px; box-shadow: var(--shadow-sm); }
.fairy-bubble::after { content: ""; position: absolute; right: -8px; bottom: 8px; width: 16px; height: 16px; background: #fff; border-top: 1px solid #eadfd4; border-right: 1px solid #eadfd4; transform: rotate(45deg); }
.fairy-bubble b { color: var(--navy); font-size: 11px; }
.fairy-bubble span { color: var(--muted); font-size: 8px; }

.learning-cards {
  position: absolute;
  right: 34px;
  bottom: 28px;
  left: 34px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
}
.summary-card { position: relative; min-height: 216px; padding: 25px 27px; background: rgba(255,255,255,.96); border: 1px solid #ebe3db; border-radius: 20px; box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
.summary-card header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.summary-card header > div { display: grid; gap: 5px; }
.summary-card header span { font: 800 20px/1.2 Georgia, "Songti SC", serif; }
.summary-card header h2 { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; }
.summary-card header > b { padding: 7px 9px; color: var(--coral-dark); background: var(--coral-soft); border-radius: 9px; font-size: 8px; }
.today-card-body { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; margin-top: 20px; }
.calendar-icon { width: 68px; height: 68px; display: grid; place-items: center; color: var(--coral); background: var(--coral-soft); border-radius: 15px; font: 900 28px/1 Georgia, serif; }
.task-lines { display: grid; gap: 8px; padding-right: 70px; }
.task-lines strong { overflow: hidden; font: 800 16px/1.3 Georgia, serif; white-space: nowrap; text-overflow: ellipsis; }
.task-lines small { overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.today-card > a { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 28px; margin: 16px 0 0 86px; color: #fff; background: linear-gradient(135deg, #ff6d5e, #ff574b); border-radius: 10px; font-size: 13px; font-weight: 900; }
.today-card > a span { font: 700 22px/1 Georgia, serif; }
.card-guide { position: absolute; top: 53px; right: 17px; display: grid; justify-items: center; }
.card-guide img { width: 61px; height: 61px; object-fit: contain; }
.card-guide span { margin-top: -3px; padding: 4px 7px; color: var(--coral-dark); background: #fff7d9; border-radius: 8px; font-size: 7px; font-weight: 900; white-space: nowrap; }
.progress-card { padding-right: 29px; }
.progress-card header > b { color: #568d63; background: var(--green-soft); }
.progress-body { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.progress-body > strong { font: 800 57px/1 Georgia, serif; }
.progress-ring { position: relative; width: 104px; height: 104px; background: conic-gradient(var(--green) 0 78%, #e8ebe6 78% 100%); border-radius: 50%; }
.progress-ring::after { content: ""; position: absolute; inset: 14px; background: #fff; border-radius: 50%; }
.progress-track { width: calc(100% - 128px); height: 10px; margin-top: -12px; overflow: hidden; background: #e8e9e6; border-radius: 10px; }
.progress-track i { display: block; width: 78%; height: 100%; background: linear-gradient(90deg, #76ad7f, #91c497); border-radius: inherit; }
.progress-card > p { margin: 13px 0 0; color: var(--muted); font-size: 8px; }
.progress-card > p span { color: #568d63; font-weight: 900; }

.overview-section { padding: 32px 34px 36px; background: linear-gradient(180deg, #fffdfb, #fff8f2); border-top: 1px solid #eee5dc; }
.overview-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 2px 21px; }
.overview-heading > div > span, .recent-updates header > div > span { color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.overview-heading h2 { margin: 5px 0 0; font: 800 27px/1.2 Georgia, "Songti SC", serif; }
.overview-heading > p { margin: 0; padding: 8px 12px; color: #66717e; background: rgba(255,255,255,.82); border: 1px solid #ebe3db; border-radius: 999px; font-size: 12px; font-weight: 800; }
.overview-grid { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 12px; }
.overview-stat { position: relative; min-height: 128px; display: grid; align-content: center; gap: 7px; padding: 19px 20px; overflow: hidden; background: rgba(255,255,255,.94); border: 1px solid #eae1d9; border-radius: 18px; box-shadow: 0 11px 27px rgba(66,45,29,.065); }
.overview-stat::after { content: ""; position: absolute; right: -25px; bottom: -30px; width: 82px; height: 82px; opacity: .55; background: var(--stat-soft, #fff0eb); border-radius: 50%; }
.overview-stat > span { position: relative; z-index: 1; color: #697380; font-size: 12px; font-weight: 800; }
.overview-stat > strong { position: relative; z-index: 1; color: var(--navy); font: 800 38px/1 Georgia, "Songti SC", serif; }
.overview-stat > small { position: relative; z-index: 1; color: #7f8791; font-size: 11px; line-height: 1.4; }
.overview-stat.total { --stat-soft: #ffd8ca; color: #fff; background: linear-gradient(135deg, #ff7869, #ff574a); border-color: transparent; box-shadow: 0 14px 30px rgba(255,91,77,.22); }
.overview-stat.total > span, .overview-stat.total > strong, .overview-stat.total > small { color: #fff; }
.overview-stat.practiced { --stat-soft: #dcefdc; }.overview-stat.pending { --stat-soft: #fff0c8; }.overview-stat.target { --stat-soft: #e1ebff; }.overview-stat.mock { --stat-soft: #e9e1ff; }

.recent-updates { margin-top: 18px; padding: 20px; background: rgba(255,255,255,.88); border: 1px solid #eae1d9; border-radius: 21px; box-shadow: 0 12px 30px rgba(66,45,29,.055); }
.recent-updates > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.recent-updates h3 { margin: 4px 0 0; font: 800 19px/1.25 Georgia, "Songti SC", serif; }
.recent-updates > header > a { display: flex; align-items: center; gap: 7px; min-height: 44px; color: var(--coral-dark); font-size: 12px; font-weight: 900; }
.recent-updates > header > a b { font: 800 18px/1 Georgia, serif; }
.recent-topic-list { display: grid; grid-template-columns: repeat(7, minmax(135px, 1fr)); gap: 9px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
.recent-topic-card { position: relative; min-height: 117px; display: grid; align-content: start; gap: 9px; padding: 14px 28px 13px 14px; background: #fffaf6; border: 1px solid #eee3da; border-radius: 15px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.recent-topic-card:hover { transform: translateY(-3px); border-color: #ffc4bb; box-shadow: 0 10px 22px rgba(70,46,31,.08); }
.recent-topic-card > span { color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .04em; }.recent-topic-card > span b { margin-right: 4px; color: #d99a2d; }
.recent-topic-card > strong { overflow: hidden; font: 800 14px/1.4 Georgia, "Songti SC", serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.recent-topic-card > small { color: #707984; font-size: 11px; line-height: 1.45; }
.recent-topic-card > i { position: absolute; right: 11px; bottom: 10px; color: var(--coral); font: 800 18px/1 Georgia, serif; font-style: normal; }
.recent-loading { grid-column: 1 / -1; min-height: 80px; display: grid; place-items: center; color: #747d88; background: #fffaf6; border-radius: 14px; font-size: 12px; }

.route-section { padding: 28px 32px 38px; background: #fffefd; }
.route-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 0 2px 20px; }
.route-heading > div:first-child > span { color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.route-heading h2 { margin: 5px 0 0; font: 800 26px/1.2 Georgia, "Songti SC", serif; }
.route-guide { display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; background: #fff9ee; border: 1px solid #f0e4cc; border-radius: 999px; }
.route-guide .guide-avatar { width: 34px; height: 34px; flex-basis: 34px; }
.route-guide p { margin: 0; color: var(--muted); font-size: 11px; }.route-guide p b { color: #d9912e; }
.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.route-card { min-height: 125px; display: grid; grid-template-columns: 68px 1fr 30px; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.route-icon { width: 68px; height: 68px; display: grid; place-items: center; color: #fff; border-radius: 15px; font: 800 24px/1 Georgia, serif; }
.route-card.bank .route-icon { background: linear-gradient(145deg, #ffaea0, #ff8075); }.route-card.sentences64 .route-icon { background: linear-gradient(145deg, #f4c96d, #d99a2d); font-size: 20px; }.route-card.shadow .route-icon { background: linear-gradient(145deg, #97c99a, #68a973); }.route-card.mock .route-icon { background: linear-gradient(145deg, #91b9f1, #6494dc); }
.route-card h3 { margin: 0; font-size: 16px; }.route-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.route-card > b { width: 28px; height: 28px; display: grid; place-items: center; color: var(--navy); background: #f5f5f4; border: 1px solid #e5e4e1; border-radius: 50%; font: 800 22px/1 Georgia, serif; }

footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; color: #767e89; background: #f7f2ec; font-size: 11px; letter-spacing: .07em; }
footer div { display: flex; gap: 20px; }
.mobile-nav { display: none; }

@keyframes fairy-float { to { transform: translateY(-8px) rotate(1deg); } }
@keyframes scroll-cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (min-width: 1181px) {
  .welcome-copy h1 { white-space: nowrap; }
}

@media (max-width: 1180px) {
  .dashboard-header { grid-template-columns: 1fr auto auto; padding-inline: 28px; }
  .main-nav { gap: 30px; }
  .welcome-panel { min-height: 700px; padding-inline: 42px; }
  .welcome-copy { max-width: 460px; }
  .welcome-copy h1 { font-size: 52px; }
  .welcome-copy > p { font-size: 16px; }
  .teacher-intro { width: 420px; }
  .portrait-stage { left: 34%; }
  .hero-fairy { right: 12px; }
  .summary-card { padding-inline: 22px; }
  .task-lines { padding-right: 54px; }
  .route-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-frame { width: calc(100% - 24px); margin-top: 12px; border-radius: 24px; }
  .dashboard-header { min-height: 74px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .welcome-panel { min-height: 700px; padding: 46px 34px 58px; }
  .welcome-copy { max-width: 480px; }
  .portrait-stage { top: 175px; left: 31%; height: 475px; }
  .portrait-stage > img { object-position: center 24%; }
  .hero-fairy { top: 26px; }
  .learning-cards { grid-template-columns: 1fr; }
  .summary-card { min-height: 200px; }
  .route-heading { align-items: center; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 112px; }
  .overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .overview-stat.total { grid-column: span 2; }
  .recent-topic-list { grid-template-columns: repeat(7, 155px); }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); background: #fffaf5; }
  .site-frame { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .dashboard-header { position: sticky; top: 0; min-height: 66px; padding: 0 16px; background: rgba(255,254,253,.95); }
  .wordmark { gap: 2px; }.wordmark strong { font-size: 18px; }.wordmark strong i { margin-inline: 2px; font-size: 10px; }.wordmark small { font-size: 11px; }
  .profile-entry { width: 38px; height: 38px; }
  .welcome-panel { min-height: 0; padding: 27px 15px 24px; overflow: visible; }
  .welcome-panel::after { background: linear-gradient(180deg, rgba(255,250,246,.96) 0 26%, transparent 54%); }
  .welcome-copy { max-width: none; }
  .guide-pill { margin-bottom: 14px; }.guide-avatar { width: 32px; height: 32px; flex-basis: 32px; }.guide-avatar img { width: 39px; }
  .welcome-copy h1 { font-size: 40px; line-height: 1.12; }
  .welcome-copy > p { margin-top: 15px; font-size: 13px; line-height: 1.75; }
  .continue-button { width: 100%; min-height: 54px; margin-top: 20px; padding-left: 22px; border-radius: 14px; font-size: 15px; }.continue-button > span:last-child { width: 32px; height: 32px; font-size: 25px; }
  .teacher-intro { width: 100%; gap: 10px; margin-top: 17px; padding: 15px 16px; border-radius: 16px; }
  .teacher-intro > p { font-size: 13px; }
  .teacher-credentials small { font-size: 11px; }
  .portrait-stage { position: relative; inset: auto; z-index: 2; width: 100%; height: 350px; margin-top: 19px; overflow: hidden; background: #fff0e7; border-radius: 26px; }
  .portrait-stage > img { object-position: 58% 23%; }
  .scroll-cue { position: relative; bottom: auto; left: auto; width: max-content; margin: 16px auto 2px; transform: none; }
  .dot-pattern { top: 22px; right: 2px; width: 82px; height: 60px; background-size: 16px 16px; }
  .leaf-stem { right: 9px; bottom: 28px; transform: scale(.72) rotate(24deg); transform-origin: bottom right; }
  .hero-fairy { top: 10px; right: 5px; }.hero-fairy > img { width: 74px; height: 82px; }.fairy-bubble { margin: 0 -10px 36px 0; padding: 9px 10px; }.fairy-bubble b { font-size: 9px; }.fairy-bubble span { font-size: 7px; }
  .learning-cards { position: relative; inset: auto; z-index: 8; grid-template-columns: 1fr; gap: 12px; margin: -38px 0 0; }
  .summary-card { min-height: 205px; padding: 20px; border-radius: 20px; }
  .summary-card header span { font-size: 18px; }
  .today-card-body { grid-template-columns: 56px 1fr; gap: 13px; }.calendar-icon { width: 56px; height: 56px; }.task-lines { padding-right: 56px; }.task-lines strong { font-size: 13px; }
  .today-card > a { margin-left: 69px; }
  .card-guide { top: 50px; right: 10px; }.card-guide img { width: 52px; height: 52px; }
  .progress-body > strong { font-size: 52px; }.progress-ring { width: 92px; height: 92px; }
  .route-section { padding: 34px 15px 30px; }
  .overview-section { padding: 28px 15px 30px; }
  .overview-heading { align-items: start; flex-direction: column; gap: 11px; }
  .overview-heading h2 { font-size: 24px; }
  .overview-heading > p { width: 100%; border-radius: 12px; }
  .overview-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .overview-stat { min-height: 114px; padding: 16px; border-radius: 16px; }
  .overview-stat.total { grid-column: 1 / -1; }
  .overview-stat > strong { font-size: 34px; }
  .recent-updates { margin-top: 13px; padding: 17px 14px; border-radius: 18px; }
  .recent-updates > header { align-items: start; }.recent-updates h3 { font-size: 18px; }
  .recent-updates > header > a { white-space: nowrap; }
  .recent-topic-list { margin-right: -14px; padding-right: 14px; grid-template-columns: repeat(7, 162px); scroll-snap-type: x mandatory; }
  .recent-topic-card { scroll-snap-align: start; }
  .route-heading { align-items: start; gap: 13px; margin-inline: 0; }.route-heading h2 { font-size: 24px; }.route-heading > div:first-child > span { font-size: 10px; }
  .route-guide { max-width: 190px; border-radius: 18px; }.route-guide p { font-size: 11px; line-height: 1.45; }
  .route-grid { gap: 10px; }.route-card { grid-template-columns: 58px 1fr 28px; min-height: 108px; padding: 14px; }.route-icon { width: 58px; height: 58px; }.route-card h3 { font-size: 15px; }.route-card p { font-size: 12px; }
  footer { display: none; }
  .mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 80; min-height: 64px; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,254,252,.96); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
  .mobile-nav a { min-height: 54px; display: grid; place-content: center; justify-items: center; gap: 4px; color: #737b87; font-size: 10px; font-weight: 800; }.mobile-nav a span { font: 800 16px/1 Georgia, serif; }.mobile-nav a.active { color: var(--coral); }
}

@media (max-width: 420px) {
  .wordmark strong { font-size: 16px; }
  .welcome-copy h1 { font-size: 35px; }
  .portrait-stage { height: 315px; }
  .fairy-bubble span { display: none; }
  .summary-card { padding-inline: 17px; }
  .task-lines { padding-right: 43px; }.task-lines small { max-width: 190px; }
  .card-guide { right: 5px; }.card-guide img { width: 46px; height: 46px; }.card-guide span { display: none; }
  .route-heading { display: grid; }.route-guide { max-width: none; width: max-content; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
