:root {
  color-scheme: light;
  --ink: #171c19;
  --muted: #717872;
  --cream: #f4f1e9;
  --paper: #fffdf7;
  --sage: #dce7d3;
  --green: #365b45;
  --orange: #e97941;
  --line: rgba(23, 28, 25, .1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: 24px 20px 130px; }
.topbar, .section-heading, .player-header, .time-row, .controls, .speed-row, .player-actions { display: flex; align-items: center; }
.topbar { justify-content: space-between; margin-bottom: 22px; }
.eyebrow { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 2px; font-family: Georgia, "Songti SC", serif; font-size: 25px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.55); font-size: 21px; cursor: pointer; }
.hero { position: relative; min-height: 260px; padding: 28px; overflow: hidden; color: white; background: var(--ink); border-radius: 30px; box-shadow: 0 18px 45px rgba(32, 42, 35, .18); }
.hero::after { content: ""; position: absolute; inset: auto -90px -120px auto; width: 270px; height: 270px; border-radius: 50%; background: var(--orange); opacity: .92; }
.hero-copy { position: relative; z-index: 2; width: 65%; }
.pill { display: inline-flex; padding: 5px 10px; margin-bottom: 14px; color: #dce7d3; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 11px; }
.hero h2 { max-width: 320px; font-family: Georgia, "Songti SC", serif; font-size: clamp(26px, 6vw, 36px); line-height: 1.18; }
.hero p { margin-top: 10px; color: rgba(255,255,255,.63); font-size: 13px; }
.hero-art { position: absolute; z-index: 1; right: 28px; top: 38px; display: grid; width: 86px; height: 104px; place-items: center; border: 1px solid rgba(255,255,255,.26); transform: rotate(8deg); }
.hero-art span { font: 700 31px Georgia, serif; }
.continue-button { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; display: flex; gap: 12px; align-items: center; padding: 11px 14px; color: var(--ink); text-align: left; border: 0; border-radius: 17px; background: #f7f3e9; cursor: pointer; }
.play-disc { display: grid; width: 42px; height: 42px; place-items: center; padding-left: 2px; color: white; border-radius: 50%; background: var(--orange); }
.continue-button small { display: block; color: var(--muted); font-size: 10px; }
.continue-button strong { display: block; margin-top: 2px; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.today-card { display: flex; gap: 14px; align-items: center; margin: 18px 0 30px; padding: 16px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.45); }
.goal-ring { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-content: center; text-align: center; border: 5px solid var(--sage); border-top-color: var(--green); border-radius: 50%; }
.goal-ring span { font-weight: 800; line-height: 1; }.goal-ring small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.today-copy { flex: 1; }.today-copy strong { display: block; margin: 3px 0 8px; font-size: 14px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 5px; background: #dcdcd5; }.progress-track i { display: block; width: 0; height: 100%; background: var(--green); transition: width .3s; }
.streak { align-self: flex-start; color: var(--muted); font-size: 11px; }.streak b { color: var(--ink); }
.section-heading { justify-content: space-between; margin-bottom: 12px; }.section-heading h3 { margin-top: 3px; font: 700 22px Georgia, "Songti SC", serif; }
.hidden { display: none !important; }
.library-section { margin-top: 4px; }
.content-count { color: var(--muted); font-size: 11px; }
.course-grid { display: grid; gap: 14px; }
.course-card { position: relative; min-height: 190px; padding: 22px; overflow: hidden; color: white; text-align: left; border: 0; border-radius: 24px; background: #334a3c; cursor: pointer; box-shadow: 0 12px 26px rgba(33,45,37,.12); }
.course-card.product { color: #1e251f; background: #d9c8a7; }
.course-card::after { content: attr(data-mark); position: absolute; right: -8px; bottom: -22px; color: rgba(255,255,255,.12); font: 800 92px Georgia,serif; transform: rotate(-7deg); }
.course-card.product::after { color: rgba(36,43,37,.10); }
.course-card .course-type { display: inline-block; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; opacity: .7; font-size: 9px; }
.course-card h4 { width: 76%; margin: 26px 0 8px; font: 700 25px/1.16 Georgia,"Songti SC",serif; }
.course-card p { opacity: .68; font-size: 11px; }
.course-card footer { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; font-size: 10px; opacity: .8; }
.back-button { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.course-heading-copy { flex: 1; margin-left: 12px; }.course-heading-copy p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.text-button { border: 0; color: var(--green); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.lesson-list { display: grid; gap: 8px; }
.lesson { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; min-height: 74px; padding: 12px 12px 12px 8px; border: 1px solid transparent; border-bottom-color: var(--line); background: transparent; cursor: pointer; text-align: left; }
.lesson:hover, .lesson.active { border-color: rgba(54,91,69,.13); border-radius: 16px; background: var(--paper); }
.lesson-index { display: grid; width: 38px; height: 38px; place-items: center; color: var(--green); border-radius: 50%; background: var(--sage); font: 700 12px Georgia, serif; }
.lesson-copy strong { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.3; }.lesson-copy span { color: var(--muted); font-size: 11px; }
.lesson-status { color: #a2a7a3; font-size: 16px; }.lesson.completed .lesson-status { color: var(--green); }
.player-sheet { position: fixed; z-index: 20; inset: 0; pointer-events: none; visibility: hidden; }.player-sheet.open { pointer-events: auto; visibility: visible; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(12,18,14,.55); opacity: 0; transition: opacity .25s; }.open .sheet-backdrop { opacity: 1; }
.player-panel { position: absolute; left: 50%; bottom: 0; width: min(100%, 620px); max-height: 96vh; padding: 12px 24px max(25px, env(safe-area-inset-bottom)); overflow: auto; border-radius: 32px 32px 0 0; background: var(--paper); transform: translate(-50%, 105%); transition: transform .28s ease; }.open .player-panel { transform: translate(-50%, 0); }
.grabber { width: 42px; height: 4px; margin: 0 auto 8px; border-radius: 4px; background: #d4d2cb; }
.player-header { justify-content: space-between; font-size: 12px; font-weight: 800; }.ghost { border: 0; background: transparent; }
.cover { display: grid; width: min(58vw, 260px); aspect-ratio: 1; margin: 18px auto 24px; place-content: center; overflow: hidden; color: white; text-align: center; border-radius: 26px; background: #1c2520; box-shadow: 0 18px 35px rgba(17, 25, 20, .22); }.cover::before { content: ""; position: absolute; }.cover span { color: #9db3a4; font-size: 9px; letter-spacing: .28em; }.cover strong { color: #ee8450; font: 700 78px Georgia, serif; line-height: 1.1; }.cover small { font-size: 10px; }
.now-playing { text-align: center; }.now-playing h2 { margin: 5px auto; max-width: 480px; font: 700 22px/1.25 Georgia, "Songti SC", serif; }.now-playing p { min-height: 38px; color: var(--muted); font-size: 12px; }
.seek { width: 100%; margin-top: 14px; accent-color: var(--orange); }.time-row { justify-content: space-between; color: var(--muted); font-size: 10px; }
.controls { justify-content: space-between; margin: 10px 0 18px; }.controls button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; font-size: 14px; cursor: pointer; }.controls .main-play { width: 70px; height: 70px; padding-left: 5px; color: white; background: var(--ink); font-size: 25px; }
.speed-row { gap: 6px; justify-content: center; flex-wrap: wrap; }.speed-row button { min-width: 42px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 10px; cursor: pointer; }.speed-row button.active { color: white; border-color: var(--green); background: var(--green); }
.player-actions { gap: 8px; margin-top: 18px; }.player-actions button { flex: 1; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 11px; cursor: pointer; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 26px; padding: 10px 15px; color: white; border-radius: 999px; background: var(--ink); opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: .2s; font-size: 12px; }.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (min-width: 700px) { .shell { padding-top: 38px; }.course-grid,.lesson-list { grid-template-columns: 1fr 1fr; }.lesson { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.28); } }
@media (max-height: 720px) { .cover { width: 150px; margin: 8px auto 12px; }.cover strong { font-size: 50px; }.player-panel { padding-top: 8px; }.now-playing p { min-height: 18px; } }
