:root {
  --paper: #f8f5ec;
  --paper-deep: #efe8d8;
  --ink: #292d2a;
  --muted: #74766e;
  --line: #e4ddcd;
  --green: #49776a;
  --green-deep: #2f5b52;
  --green-soft: #e4eee7;
  --red: #c35e4d;
  --gold: #c4974b;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(62, 60, 48, 0.08);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(195, 94, 77, .34); outline-offset: 3px; }
img { display: block; max-width: 100%; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(86, 95, 77, .16) .45px, transparent .55px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  z-index: 10;
}

.site-header {
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 216, 198, .75);
  background: rgba(248, 245, 236, .88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 8;
}
.brand-button { display: flex; align-items: center; gap: 11px; padding: 5px 0; color: var(--ink); border: 0; background: transparent; text-align: left; }
.brand-button strong { display: block; font-family: "Songti SC", "STSong", serif; font-size: 19px; letter-spacing: .08em; }
.brand-button small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-deep); font-family: "STKaiti", "KaiTi", serif; font-size: 22px; box-shadow: 0 6px 12px rgba(47, 91, 82, .18); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.access-pill, .soft-note, .paper-tag { color: var(--green-deep); background: var(--green-soft); border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.access-pill { padding: 7px 11px; }
.soft-note { padding: 5px 9px; color: var(--muted); background: #eeeadd; font-weight: 600; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-deep); background: rgba(255, 253, 248, .7); }
.icon-button:hover { border-color: var(--green); background: var(--white); }
.icon-button.light { border-color: rgba(255, 255, 255, .54); color: var(--white); background: rgba(33, 48, 43, .42); }
.symbol { display: inline-grid; place-items: center; min-width: 1em; line-height: 1; font-size: 1.05em; }
.desktop-nav { max-width: 1160px; margin: 0 auto; padding: 14px 24px 0; display: flex; gap: 24px; }
.desktop-nav button { border: 0; padding: 8px 0; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); background: transparent; font-size: 13px; }
.desktop-nav button.active { color: var(--green-deep); font-weight: 700; border-bottom: 2px solid var(--red); }

.page-shell { max-width: 1160px; margin: 0 auto; padding: 38px 24px 100px; }
.eyebrow, .section-kicker { margin: 0; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Songti SC", "STSong", "SimSun", serif; font-weight: 700; }
h1 { margin-bottom: 14px; font-size: clamp(35px, 4.2vw, 56px); line-height: 1.12; letter-spacing: .02em; }
h1 em { color: var(--green-deep); font-style: normal; }
h2 { margin: 4px 0 0; font-size: 24px; line-height: 1.2; }
h3 { margin: 0; font-size: 22px; }
.lead { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.welcome-row { min-height: 236px; display: flex; align-items: center; justify-content: space-between; padding: 26px 34px; border-bottom: 1px solid var(--line); }
.welcome-stamp { width: 140px; height: 140px; display: grid; place-content: center; border: 1px solid #c4a56b; border-radius: 50%; color: var(--red); transform: rotate(8deg); background: rgba(255, 253, 248, .48); box-shadow: inset 0 0 0 8px rgba(196, 151, 75, .1); }
.welcome-stamp span { font-family: "STKaiti", "KaiTi", serif; font-size: 64px; line-height: .76; }
.welcome-stamp small { margin-top: 12px; color: var(--green-deep); font-family: "STKaiti", "KaiTi", serif; font-size: 22px; text-align: center; }
.continue-band { min-height: 314px; display: grid; grid-template-columns: 39% 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.continue-art { min-height: 314px; overflow: hidden; background: #e4eee8; }
.continue-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.continue-copy { padding: 39px 42px; }
.continue-copy h2 { margin-top: 7px; font-size: 31px; }
.continue-copy > p:not(.section-kicker) { margin: 11px 0 23px; color: var(--muted); line-height: 1.65; }
.progress-line, .mini-progress { height: 7px; overflow: hidden; border-radius: 99px; background: #eeeadd; }
.progress-line span, .mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.progress-meta { display: flex; justify-content: space-between; margin: 8px 0 22px; color: var(--muted); font-size: 12px; }
.primary-button, .outline-button, .complete-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { padding: 0 19px; color: var(--white); border: 1px solid var(--green-deep); background: var(--green-deep); box-shadow: 0 8px 16px rgba(47, 91, 82, .17); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgba(47, 91, 82, .2); background: #244e46; }
.outline-button { padding: 0 16px; color: var(--green-deep); border: 1px solid #9ab8ad; background: transparent; }
.outline-button:hover { background: var(--green-soft); }
.text-button, .back-button { padding: 4px 0; border: 0; color: var(--green-deep); background: transparent; font-size: 13px; font-weight: 700; }
.text-button .symbol { margin-left: 3px; }
.section-block { padding-top: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.section-heading.compact { margin-bottom: 10px; }
.book-row { min-height: 128px; display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 20px; padding: 14px 20px 14px 14px; border: 1px solid var(--line); background: rgba(255, 253, 248, .65); transition: background .18s ease, transform .18s ease; }
.book-row:hover { transform: translateY(-2px); background: var(--white); }
.book-row:focus-visible { outline: 3px solid rgba(195, 94, 77, .34); outline-offset: 3px; }
.book-cover { width: 88px; height: 104px; overflow: hidden; background: #dcebe4; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.book-label { margin-bottom: 4px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.book-info p { margin: 6px 0 12px; color: var(--muted); font-size: 13px; }
.book-info small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.mini-progress { max-width: 380px; height: 5px; }
.row-arrow { color: var(--green); font-size: 21px; }
.muted-block { margin-top: 34px; padding-bottom: 20px; }
.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coming-grid > div { min-height: 86px; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; border-left: 3px solid #b8cfbf; background: rgba(239, 232, 216, .44); }
.coming-grid b { font-family: "Songti SC", "STSong", serif; font-size: 18px; }
.coming-grid span { margin-top: 6px; color: var(--muted); font-size: 12px; }

.page-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.back-button { display: inline-flex; align-items: center; gap: 7px; }
.lesson-breadcrumb { color: var(--muted); font-size: 13px; }
.book-hero { display: grid; grid-template-columns: 280px 1fr; gap: 42px; align-items: center; padding: 34px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.book-hero-image { height: 345px; overflow: hidden; background: #e1ece4; }
.book-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.book-hero-copy h1 { margin-top: 8px; font-size: 48px; }
.hero-description { max-width: 570px; margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 27px; color: var(--muted); font-size: 12px; }
.hero-stats span { display: flex; align-items: baseline; gap: 5px; }
.hero-stats b { color: var(--green-deep); font-family: "Songti SC", "STSong", serif; font-size: 25px; }
.lesson-section { padding-top: 49px; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.lesson-tile { min-height: 126px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); color: var(--ink); background: rgba(255, 253, 248, .68); text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lesson-tile.open:hover { transform: translateY(-2px); border-color: #a8c3b7; box-shadow: 0 10px 25px rgba(63, 86, 73, .09); background: var(--white); }
.lesson-tile.locked { color: #9c9b91; background: rgba(239, 232, 216, .32); cursor: not-allowed; }
.lesson-tile.preparing { color: var(--ink); border-style: dashed; cursor: pointer; }
.lesson-tile.preparing .lesson-number, .lesson-tile.preparing .lesson-state { color: var(--gold); }
.lesson-tile.done { border-color: #9ab8ad; background: #f0f6ef; }
.lesson-number { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.lesson-tile.locked .lesson-number { color: #aaa79c; }
.lesson-title { margin-top: 13px; font-family: "Songti SC", "STSong", serif; font-size: 22px; font-weight: 700; }
.lesson-subtitle { margin-top: 6px; color: var(--muted); font-size: 12px; }
.lesson-state { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 11px; font-weight: 700; }
.lesson-tile.locked .lesson-state { color: #aba99f; font-size: 16px; }

.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 30px; align-items: start; }
.lesson-visual { padding: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.visual-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.paper-tag { padding: 6px 10px; }
.card-frame { min-height: 480px; display: grid; place-items: center; overflow: hidden; background: #ecf1e9; }
.card-frame img { width: 100%; height: auto; max-height: 660px; object-fit: contain; }
.image-dots { display: flex; justify-content: center; gap: 8px; padding: 15px 0 9px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9d7cd; }
.dot.active { width: 22px; border-radius: 99px; background: var(--red); }
.visual-note { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.lesson-sidebar { display: flex; flex-direction: column; gap: 14px; }
.lesson-heading { padding: 11px 0 7px; }
.lesson-heading h1 { margin: 6px 0 6px; font-size: 42px; }
.lesson-heading > p:last-child { margin: 0; color: var(--muted); }
.player-panel { padding: 22px; border: 1px solid #d2e2d7; background: var(--green-soft); }
.player-top { display: flex; justify-content: space-between; gap: 10px; }
.player-top h2 { margin-top: 6px; font-family: "PingFang SC", sans-serif; font-size: 16px; }
.wave-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); }
.player-panel audio { display: none; }
.player-panel.pending { border-color: #d7cdb8; background: #f2ede2; }
.pending-copy { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.player-controls { display: flex; align-items: center; gap: 12px; margin: 22px 0 15px; }
.round-button { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: var(--green-deep); font-size: 16px; }
.track-progress { height: 5px; flex: 1; overflow: hidden; border-radius: 99px; background: rgba(73, 119, 106, .2); }
.track-progress span { display: block; width: 0; height: 100%; background: var(--green-deep); }
.time-label { color: var(--muted); font-size: 11px; }
.player-options { display: flex; align-items: center; justify-content: space-between; }
.chip-button, .speed-button { min-height: 30px; border: 1px solid #bad0c1; color: var(--green-deep); background: transparent; font-size: 11px; }
.chip-button { padding: 0 10px; border-radius: 99px; }
.chip-button.selected, .speed-button.selected { color: var(--white); border-color: var(--green); background: var(--green); }
.speed-control { display: flex; gap: 4px; }
.speed-button { min-width: 37px; padding: 0 5px; border-radius: 4px; }
.track-list { padding: 19px 0 2px; }
.track-row { width: 100%; min-height: 54px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; padding: 8px 7px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.track-row:hover, .track-row.selected { background: rgba(228, 238, 231, .64); }
.track-index { color: var(--muted); font-size: 11px; }
.track-row b, .track-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-row b { font-size: 12px; }
.track-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.track-play { color: var(--green); font-size: 14px; }
.empty-track-list { padding: 18px 12px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.65; }
.video-placeholder { min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px dashed #c9c1af; background: rgba(239, 232, 216, .35); }
.video-placeholder-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #aaa89e; font-size: 13px; }
.video-placeholder b, .video-placeholder span { display: block; }
.video-placeholder b { font-size: 13px; }
.video-placeholder span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.coming-badge { margin-left: auto; color: var(--red); font-size: 10px; white-space: nowrap; }
.complete-button { width: 100%; color: var(--green-deep); border: 1px solid #9ab8ad; background: transparent; }
.complete-button:hover, .complete-button.completed { color: var(--white); background: var(--green); }

.locked-page, .redeem-page { min-height: calc(100vh - 150px); }
.locked-hero { max-width: 590px; margin: 70px auto 0; padding: 50px 30px; border: 1px solid var(--line); background: var(--white); text-align: center; box-shadow: var(--shadow); }
.lock-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 23px; border-radius: 50%; color: #9b8d6f; background: #efe8d8; font-size: 22px; }
.locked-hero h1 { margin: 10px 0 5px; font-size: 45px; }
.locked-hero > p:not(.eyebrow) { color: var(--muted); }
.permission-note { max-width: 350px; margin: 24px auto 27px; padding: 13px; color: var(--muted); background: #f4f0e7; font-size: 13px; line-height: 1.55; }
.parent-header { padding: 13px 0 30px; border-bottom: 1px solid var(--line); }
.parent-header h1 { margin: 7px 0 10px; font-size: 45px; }
.parent-header p:last-child { margin: 0; color: var(--muted); }
.parent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 28px 0 4px; }
.parent-stat { min-height: 104px; display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); background: var(--white); }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 17px; }
.stat-icon.green { color: var(--green-deep); background: var(--green-soft); }
.stat-icon.red { color: var(--red); background: #f4e4de; }
.stat-icon.blue { color: #4c7181; background: #e3edf0; }
.parent-stat small, .parent-stat strong { display: block; }
.parent-stat small { color: var(--muted); font-size: 11px; }
.parent-stat strong { margin-top: 6px; font-family: "Songti SC", "STSong", serif; font-size: 22px; }
.parent-stat strong em { color: var(--muted); font-family: inherit; font-size: 13px; font-style: normal; }
.parent-section { padding-top: 38px; }
.permission-row, .download-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 17px; border: 1px solid var(--line); background: rgba(255, 253, 248, .6); }
.download-row { border-top: 0; }
.permission-row b, .permission-row span, .download-row b, .download-row span { display: block; }
.permission-row b, .download-row b { font-size: 14px; }
.permission-row span, .download-row span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.tips { max-width: 620px; padding-bottom: 20px; }
.tips h2 { margin: 6px 0 14px; }
.tips ul { list-style: none; padding: 0; margin: 0; }
.tips li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.tips li span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.redeem-card { max-width: 500px; margin: 45px auto 0; padding: 38px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.redeem-emblem { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: var(--white); background: var(--green-deep); font-family: "STKaiti", "KaiTi", serif; font-size: 31px; }
.redeem-card h1 { margin: 8px 0 11px; font-size: 38px; }
.redeem-card > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
#redeem-form { margin-top: 26px; text-align: left; }
#redeem-form label { display: block; margin-bottom: 7px; color: var(--green-deep); font-size: 12px; font-weight: 800; }
#redeem-form input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #ccc5b5; border-radius: 5px; color: var(--ink); background: #fcfaf5; letter-spacing: .08em; }
#redeem-form .primary-button { width: 100%; margin-top: 12px; }
.redeem-help { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 13px; color: var(--muted); background: #f4f0e7; font-size: 11px; }
.redeem-help b { color: var(--red); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; padding: 11px 15px; border: 1px solid rgba(255, 253, 248, .7); border-radius: 6px; color: var(--white); background: rgba(41, 45, 42, .94); box-shadow: 0 10px 30px rgba(41, 45, 42, .18); font-size: 13px; opacity: 0; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.bottom-nav { display: none; }

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 17px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .brand-button strong { font-size: 16px; }
  .brand-button small { font-size: 10px; }
  .header-actions .access-pill { padding: 6px 8px; font-size: 10px; }
  .desktop-nav { display: none; }
  .page-shell { padding: 22px 16px 94px; }
  .welcome-row { min-height: 206px; padding: 22px 4px 26px; }
  .welcome-row h1 { font-size: 35px; }
  .lead { max-width: 270px; font-size: 13px; line-height: 1.65; }
  .welcome-stamp { width: 90px; height: 90px; margin-right: 5px; }
  .welcome-stamp span { font-size: 40px; }
  .welcome-stamp small { margin-top: 8px; font-size: 15px; }
  .continue-band { display: block; }
  .continue-art { height: 205px; min-height: 0; }
  .continue-art img { object-position: 50% 36%; }
  .continue-copy { padding: 23px 20px 25px; }
  .continue-copy h2 { font-size: 25px; }
  .continue-copy > p:not(.section-kicker) { margin-bottom: 17px; font-size: 13px; }
  .section-block { padding-top: 34px; }
  .section-heading { margin-bottom: 13px; }
  h2 { font-size: 21px; }
  .book-row { grid-template-columns: 67px 1fr auto; gap: 12px; padding: 10px 12px 10px 10px; }
  .book-cover { width: 67px; height: 80px; }
  .book-label { font-size: 9px; }
  .book-info h3 { font-size: 19px; }
  .book-info p { margin: 5px 0 9px; font-size: 11px; }
  .book-info small { font-size: 10px; }
  .coming-grid { gap: 7px; }
  .coming-grid > div { min-height: 70px; padding: 0 10px; }
  .coming-grid b { font-size: 15px; }
  .coming-grid span { font-size: 10px; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; height: 66px; display: flex; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255, 253, 248, .95); backdrop-filter: blur(16px); }
  .bottom-nav button { min-width: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: var(--muted); background: transparent; font-size: 10px; }
  .bottom-nav button .symbol { font-size: 18px; }
  .bottom-nav button.active { color: var(--green-deep); font-weight: 800; }
  .book-hero { display: block; padding: 17px; }
  .book-hero-image { height: 220px; }
  .book-hero-copy { padding: 23px 3px 6px; }
  .book-hero-copy h1 { margin: 6px 0 10px; font-size: 40px; }
  .hero-description { margin-bottom: 18px; font-size: 13px; line-height: 1.7; }
  .hero-stats { gap: 13px; margin-bottom: 20px; }
  .hero-stats b { font-size: 21px; }
  .lesson-section { padding-top: 33px; }
  .lesson-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lesson-tile { min-height: 112px; padding: 13px 12px; }
  .lesson-title { margin-top: 11px; font-size: 19px; }
  .lesson-subtitle { font-size: 10px; }
  .lesson-state { right: 11px; bottom: 12px; font-size: 10px; }
  .lesson-layout { display: block; }
  .lesson-visual { padding: 9px; }
  .card-frame { min-height: 0; }
  .lesson-sidebar { margin-top: 22px; }
  .lesson-heading h1 { font-size: 37px; }
  .player-panel { padding: 17px; }
  .track-list { padding-top: 17px; }
  .track-row { min-height: 57px; }
  .locked-hero { margin-top: 43px; padding: 39px 20px; }
  .locked-hero h1 { font-size: 38px; }
  .parent-header h1 { font-size: 36px; }
  .parent-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 21px; }
  .parent-stat { min-height: 82px; }
  .permission-row, .download-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .redeem-card { margin-top: 31px; padding: 29px 19px; }
  .redeem-card h1 { font-size: 32px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .lesson-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .card-frame { min-height: 430px; }
}
