@font-face {
  font-family:"Kids Reader Round";
  src:url("/public/mobile-family-art/fonts/home-rounded-medium.woff2") format("woff2");
  font-style:normal;
  font-weight:500;
  font-display:swap;
  unicode-range:U+3400-4DBF,U+4E00-9FFF;
}
.mobile-home, body:has(.mobile-home) :is(.family-topbar,.family-bottom-nav) {
  --home-label-font:"Kids Reader Round",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
.mobile-home {
  --home-paper: #faf8f0;
  --home-panel: #fffdf7;
  --home-ink: #223c32;
  --home-green: #304f3f;
  --home-muted: #596758;
  --home-rule: #dfddd0;
  --reading: #4b7960;
  --listening: #cb8c43;
  --practice: #8d779e;
  --home-display: "Kaiti SC", "STKaiti", "Songti SC", Georgia, serif;
  position: relative;
  isolation: isolate;
  width: min(100%, 670px);
  margin: 0 auto;
  padding: 9px clamp(1px, 1.1vw, 7px) 22px;
  box-sizing: border-box;
  color: var(--home-ink);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.mobile-home::before { position:fixed; inset:0; content:""; z-index:-1; pointer-events:none; background:var(--home-paper); }
.mobile-home :is(h1,h2,h3,h4,p,dl,dd) { margin:0; }
.mobile-home :is(a,button,summary) { color:inherit; touch-action:manipulation; -webkit-tap-highlight-color:rgba(54,100,76,.13); }
.mobile-home a { text-decoration:none; }
.mobile-home button { font:inherit; }
.mobile-home :is(button,a,summary):focus-visible { outline:2px solid var(--home-green); outline-offset:2px; }
.mobile-home .library-icon { flex:0 0 auto; width:16px; height:16px; }
.mobile-home__heading, .mobile-home__section-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.mobile-home__heading h1 { color:var(--home-ink); font:500 clamp(27px,7.6vw,37px)/1.2 var(--home-display); letter-spacing:.035em; }
.mobile-home__heading > a, .mobile-home__section-heading > :is(a,button) {
  display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:44px; margin:0; padding:3px 1px 3px 5px;
  border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--home-green);
  font-family:inherit; font-size:13px; font-weight:550; line-height:1.35; white-space:nowrap;
}
.mobile-home__heading > a .library-icon, .mobile-home__section-heading .library-icon { width:14px; height:14px; }
.mobile-home__feature {
  --bookmark-paper:#f4efdf; --bookmark-edge:#e1d9c2; --bookmark-ribbon:#547057;
  position:relative; margin:5px 0 14px; padding:15px clamp(15px,4vw,22px);
  border:1px solid var(--bookmark-edge); border-radius:5px 13px 10px 5px;
  background:var(--bookmark-paper); box-shadow:0 2px 0 var(--bookmark-paper),0 3px 0 var(--bookmark-edge);
}
.mobile-home__feature::after {
  content:""; position:absolute; top:-1px; right:clamp(16px,5vw,26px); width:16px; height:30px;
  background:var(--bookmark-ribbon); clip-path:polygon(0 0,100% 0,100% 100%,50% 79%,0 100%); pointer-events:none;
}
.mobile-home__eyebrow { padding-right:38px; color:var(--home-muted); font-size:12px; font-weight:600; line-height:1.45; }
.mobile-home__feature h2 { margin:3px 0; color:var(--home-ink); font:500 clamp(23px,6.25vw,31px)/1.13 Georgia,"Songti SC",serif; overflow-wrap:anywhere; }
.mobile-home__course-meta { color:var(--home-muted); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.mobile-home .mobile-home__primary {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; margin-top:10px; padding:7px 15px;
  border:1px solid transparent; border-radius:6px; background:var(--home-green); color:#fffdf7;
  font:600 14px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
}
.mobile-home__section-heading { min-height:44px; }
.mobile-home__section-heading h2 { color:var(--home-ink); font:600 clamp(18px,5vw,24px)/1.25 var(--home-display); letter-spacing:.02em; }
.mobile-home__calendar-paper { padding:10px 10px 11px; border:1px solid var(--home-rule); border-radius:10px; background:var(--home-panel); }
.mobile-home__month-nav { display:flex; align-items:center; justify-content:space-between; margin:-5px 0 4px; }
.mobile-home__month-nav strong { font-size:14px; font-variant-numeric:tabular-nums; }
.mobile-home__month-nav button, .mobile-home__dates button {
  display:grid; place-content:center; padding:0; min-height:44px; border:0; border-radius:5px; background:transparent; box-shadow:none; line-height:1;
}
.mobile-home__month-nav button { min-width:44px; color:var(--home-green); font:24px/1 Georgia,serif; }
.mobile-home__month-nav button:disabled { opacity:.35; cursor:default; }
.mobile-home__weekdays,.mobile-home__dates { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.mobile-home__weekdays { color:var(--home-muted); font-size:11px; text-align:center; }
.mobile-home__dates button { position:relative; width:100%; margin:0; color:var(--home-ink); font-size:15px; font-weight:550; font-variant-numeric:tabular-nums; }
.mobile-home__dates button span { display:grid; place-items:center; width:31px; height:31px; border:1px solid transparent; border-radius:50%; }
.mobile-home__dates button[aria-current] span { border-color:#b5c5aa; }
.mobile-home__dates button[aria-pressed=true] span { border-color:transparent; background:var(--home-green); color:#fff; }
.mobile-home__dates button.is-recorded::after { position:absolute; inset:auto auto 1px 50%; content:""; transform:translateX(-50%); width:4px; height:4px; border-radius:100%; background:var(--reading); }
.mobile-home__dates button.is-future:not([aria-pressed=true]) { color:#76796f; }
.mobile-home__day-detail { margin-top:5px; padding:12px 3px 0; border-top:1px solid var(--home-rule); }
.mobile-home__day-values { display:flex; align-items:center; justify-content:flex-start; gap:clamp(18px,6vw,38px); }
.mobile-home__rings { position:relative; flex:none; width:clamp(92px,25vw,124px); aspect-ratio:1; display:grid; place-items:center; margin-left:3px; }
.mobile-home__rings i { position:absolute; border-radius:50%; background:conic-gradient(var(--ring) var(--filled),var(--track) 0); -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--line)),#000 calc(100% - var(--line) + 1px)); mask:radial-gradient(farthest-side,transparent calc(100% - var(--line)),#000 calc(100% - var(--line) + 1px)); }
.mobile-home .ring-reading { --ring:var(--reading); --track:#e2eadf; }
.mobile-home .ring-listening { --ring:var(--listening); --track:#f0e6d3; }
.mobile-home .ring-practice { --ring:var(--practice); --track:#eae4ed; }
.mobile-home__rings .ring-reading { inset:0; --line:7px; }
.mobile-home__rings .ring-listening { inset:10%; --line:7px; }
.mobile-home__rings .ring-practice { inset:20%; --line:7px; }
.mobile-home__rings > span { display:inline-flex; align-items:baseline; gap:1px; font:500 21px/1 Georgia,serif; font-variant-numeric:tabular-nums; color:var(--home-ink); }
.mobile-home__rings small { font:10px/1 -apple-system,"PingFang SC",sans-serif; }
.mobile-home__metrics { flex:1 1 auto; min-width:0; max-width:280px; }
.mobile-home__metrics h3 { margin:0 0 5px; font-size:14px; font-weight:650; line-height:1.35; }
.mobile-home__metrics dl { display:grid; gap:3px; }
.mobile-home__metrics dl > div { display:flex; justify-content:space-between; align-items:center; gap:7px; }
.mobile-home__metrics dt,.mobile-home__metrics dd { display:flex; align-items:center; gap:6px; font-size:13px; }
.mobile-home__metrics dt { color:var(--home-muted); }
.mobile-home__metrics dt i { display:block; width:8px; height:8px; border-radius:50%; background:var(--ring); }
.mobile-home__metrics dd { color:var(--home-ink); font-variant-numeric:tabular-nums; font-weight:600; white-space:nowrap; }
.mobile-home .mobile-home__scale { margin-top:9px; color:var(--home-muted); font-size:11px; line-height:1.55; }
.mobile-home .mobile-home__record-note { margin-top:8px; color:var(--home-muted); font-size:13px; line-height:1.45; }
.mobile-home__record-note button { min-height:44px; margin-left:5px; padding:2px 4px; border:0; background:transparent; color:var(--home-green); text-decoration:underline; }
.mobile-home__entries { display:flex; align-items:baseline; column-gap:12px; margin-top:10px; padding-top:8px; border-top:1px dashed var(--home-rule); }
.mobile-home__entries h4 { flex:none; color:var(--home-muted); font-size:12px; font-weight:550; }
.mobile-home__entries ul { margin:0; padding:0; list-style:none; }
.mobile-home__entries li { margin:2px 0; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
.mobile-home__library,.mobile-home__guest-links { margin-top:14px; }
.mobile-home__shelf { border-top:1px solid var(--home-rule); }
.mobile-home__course-row { display:flex; align-items:center; gap:10px; min-height:48px; border-bottom:1px solid var(--home-rule); }
.mobile-home__course-row .mobile-home__course-icon {
  position:relative; display:grid; flex:none; place-items:center; width:32px; height:32px;
  border-radius:8px; background:#e9eddd; color:var(--home-green);
}
.mobile-home__course-icon::after {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:var(--home-course-art, none) center / contain no-repeat;
}
.mobile-home__course-row > .library-icon { margin-left:auto; }
.mobile-home__course-row strong { font-size:14px; font-weight:550; }
.mobile-home__shelf summary { display:list-item; min-height:44px; padding:10px 3px; color:var(--home-green); font-size:13px; font-weight:600; cursor:pointer; }
.mobile-home__guest-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mobile-home__guest-links a { display:flex; align-items:center; gap:6px; min-height:48px; padding:6px 7px; border-block:1px solid var(--home-rule); color:var(--home-green); font-size:clamp(12px,3.5vw,15px); font-weight:550; }
.mobile-home__guest-links a > svg:last-child { width:13px; margin-left:auto; }
.mobile-home__calendar-note { margin:22px 0 0; padding-top:14px; border-top:1px solid var(--home-rule); }
.mobile-home__calendar-note h2 { margin:0; color:var(--home-ink); font:600 16px/1.4 var(--home-display); }
.mobile-home__calendar-note p { margin:4px 0 0; color:var(--home-muted); font-size:13px; line-height:1.5; }
.mobile-home--color {
  --home-paper:#fff; --home-panel:#fff; --home-green:#284d62; --home-ink:#263f50; --home-muted:#4b5d69; --home-rule:#dce4e8;
  --reading:#33796f; --listening:#a76e34; --practice:#9f6281;
  --home-display:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;
}
.mobile-home--color .mobile-home__heading h1 { font:650 clamp(26px,7vw,34px)/1.2 var(--home-display); letter-spacing:-.025em; }
.mobile-home--color .mobile-home__feature { --bookmark-paper:#fff0d5; --bookmark-edge:#e5d3ad; --bookmark-ribbon:#40796e; }
.mobile-home--color .mobile-home__feature h2 { font:650 clamp(22px,6vw,30px)/1.12 var(--home-display); letter-spacing:-.025em; }
.mobile-home--color .mobile-home__section-heading h2 { font-weight:650; }
.mobile-home--color .mobile-home__calendar-paper { border-radius:13px; border-color:#c8dbe2; border-top:4px solid #9bbfcf; }
.mobile-home--color .mobile-home__day-values { flex-direction:row-reverse; }
.mobile-home--color .mobile-home__metrics { max-width:none; }
.mobile-home--color .mobile-home__metrics dl > div { padding:2px 7px; border-radius:3px; }
.mobile-home--color .mobile-home__metrics dl > div:nth-child(1) { background:#e4f3ed; }
.mobile-home--color .mobile-home__metrics dl > div:nth-child(2) { background:#fff1d5; }
.mobile-home--color .mobile-home__metrics dl > div:nth-child(3) { background:#fae6ec; }
.mobile-home--color .mobile-home__course-row span { background:#e4eff5; }
.mobile-home .mobile-home__heading h1,
.mobile-home .mobile-home__section-heading h2,
.mobile-home .mobile-home__calendar-note h2,
.mobile-home .mobile-home__primary,
.mobile-home__section-heading > :is(a,button),
.mobile-home__heading > a {
  font-family:var(--home-label-font); font-weight:500; letter-spacing:0;
}
@media(max-width:820px) {
  body:has(.mobile-home) { background:#faf8f0; }
  body:has(.mobile-home--color) { background:white; }
  .family-topbar:has(~ .mobile-home) { border-color:#deded1; background:#faf8f0; }
  .family-topbar:has(~ .mobile-home--color) { border-color:#dce4e8; background:white; }
  body:has(.mobile-home) :is(.family-brand,.family-products-trigger,.family-bottom-nav button) {
    font-family:var(--home-label-font); font-weight:500; letter-spacing:0;
  }
  .family-activated-entry { margin-block:12px; }
  .family-activated-entry p { margin:6px 0 0; font-size:14px; }
}
@media(max-width:360px) {
  .mobile-home__calendar-paper { padding-inline:6px; }
  .mobile-home__guest-links a { gap:4px; }
}
