:root {
  --cream: #fff9ea;
  --cream-deep: #f6edcf;
  --ink: #3e433b;
  --muted: #7e8278;
  --coral: #f47f68;
  --coral-soft: #ffe1d7;
  --green: #719a6c;
  --green-deep: #507b58;
  --green-soft: #dcebd3;
  --yellow: #f4c758;
  --yellow-soft: #fff1bd;
  --blue: #6d9eb0;
  --blue-soft: #ddecf0;
  --purple: #9a82aa;
  --purple-soft: #ece1ef;
  --paper: rgba(255, 255, 252, 0.9);
  --line: rgba(79, 83, 70, 0.12);
  --shadow: 0 18px 45px rgba(102, 83, 50, 0.1);
  --radius-lg: 30px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--cream); font-family: "Noto Sans SC", "PingFang SC", sans-serif; }
button { font: inherit; color: inherit; }
button, [data-page] { -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid rgba(244, 127, 104, .35); outline-offset: 3px; }

body::before { content: ""; position: fixed; inset: 0; z-index: -2; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(91, 104, 78, .12) .7px, transparent .7px); background-size: 16px 16px; }
.sky-decor { position: fixed; z-index: -1; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.sky-decor--one { width: 420px; height: 420px; background: rgba(255, 205, 147, .25); top: -180px; left: 20%; }
.sky-decor--two { width: 320px; height: 320px; background: rgba(171, 211, 172, .2); bottom: -80px; right: -100px; }

.app-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 30px 22px; background: rgba(255, 252, 241, .78); backdrop-filter: blur(18px); border-right: 1px solid rgba(91, 94, 77, .1); display: flex; flex-direction: column; z-index: 10; }
.brand, .mobile-brand { background: none; border: 0; cursor: pointer; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; text-align: left; }
.brand-mark, .mobile-brand span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px 15px 15px 7px; background: var(--coral); color: white; font: 25px "Ma Shan Zheng", cursive; transform: rotate(-4deg); box-shadow: 0 7px 16px rgba(244, 127, 104, .24); }
.brand strong { display: block; font-family: "Ma Shan Zheng", cursive; font-size: 25px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 2px; margin-top: 4px; }
.side-nav { display: grid; gap: 7px; margin-top: 46px; }
.nav-button { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border: 0; border-radius: 15px; background: transparent; color: #747a70; cursor: pointer; font-weight: 600; text-align: left; transition: .2s ease; }
.nav-button .nav-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; font-size: 18px; background: rgba(255, 255, 255, .6); }
.nav-button:hover { background: rgba(255, 255, 255, .65); transform: translateX(2px); }
.nav-button.active { background: var(--coral-soft); color: #b95243; box-shadow: inset 3px 0 var(--coral); }
.sidebar-note { margin-top: auto; border: 1px dashed rgba(80, 123, 88, .25); background: var(--green-soft); padding: 15px; border-radius: 20px; display: flex; gap: 10px; align-items: center; transform: rotate(-1deg); }
.sidebar-note span { font-size: 25px; }
.sidebar-note p { font-size: 12px; line-height: 1.6; margin: 0; color: var(--green-deep); }

main { min-width: 0; }
.topbar { height: 90px; padding: 22px clamp(24px, 4vw, 62px); display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.mobile-brand { display: none; }
.date-pill { display: flex; gap: 9px; align-items: center; padding: 9px 15px; border: 1px solid rgba(80, 84, 73, .1); background: rgba(255,255,255,.58); border-radius: 30px; font-size: 13px; color: var(--muted); }
.avatar-button { border: 0; background: transparent; display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 0; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 50% 45% 45%; background: var(--yellow-soft); border: 2px solid white; box-shadow: 0 5px 15px rgba(82,76,54,.12); font-size: 24px; }
.avatar-copy { text-align: left; }
.avatar-copy strong, .avatar-copy small { display: block; }
.avatar-copy small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.page-root { max-width: 1360px; margin: 0 auto; padding: 8px clamp(24px, 4vw, 62px) 60px; }
.page-enter { animation: page-in .48s cubic-bezier(.2,.75,.3,1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-card { position: relative; overflow: hidden; min-height: 286px; padding: 45px 49% 42px 48px; border-radius: 38px 38px 38px 14px; color: #fffdf6; background: linear-gradient(125deg, #628a66 0%, #7fa67a 68%, #99b492 100%); box-shadow: 0 24px 55px rgba(73, 105, 77, .2); }
.hero-card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(255,255,255,.06); right: -50px; top: -100px; }
.hero-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 50px; opacity: .09; background: radial-gradient(ellipse at bottom, #fff 0 55%, transparent 56%) 0 0/80px 50px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: 2.5px; font-weight: 800; opacity: .78; }
.hero-copy h1 { font: 45px/1.15 "Ma Shan Zheng", cursive; margin: 9px 0 11px; font-weight: 400; }
.hero-copy p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }
.hero-progress { margin-top: 30px; max-width: 340px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; color: rgba(255,255,255,.85); }
.progress-track { height: 7px; border-radius: 10px; background: rgba(255,255,255,.2); overflow: hidden; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .5s ease; }
.bunny-scene { position: absolute; right: 9%; bottom: 15px; width: 210px; height: 246px; }
.bunny { position: absolute; inset: 10px 15px 0; }
.bunny-head { position: absolute; left: 25px; top: 62px; width: 130px; height: 112px; border-radius: 48% 48% 45% 45%; background: #fff4df; border: 5px solid rgba(73,58,45,.14); z-index: 2; }
.bunny-ear { position: absolute; top: 0; width: 42px; height: 91px; border-radius: 50% 50% 43% 43%; background: #fff4df; border: 5px solid rgba(73,58,45,.14); z-index: 1; }
.bunny-ear::after { content: ""; position: absolute; inset: 10px 9px; border-radius: 50%; background: #f6b8a7; }
.bunny-ear--left { left: 36px; transform: rotate(-8deg); }.bunny-ear--right { right: 36px; transform: rotate(8deg); }
.bunny-eye { position: absolute; width: 8px; height: 11px; border-radius: 50%; background: #493a34; top: 45px; }
.bunny-eye--left { left: 34px; }.bunny-eye--right { right: 34px; }
.bunny-blush { position: absolute; width: 20px; height: 9px; border-radius: 50%; background: rgba(244,127,104,.3); top: 65px; }
.bunny-blush--left { left: 17px; }.bunny-blush--right { right: 17px; }
.bunny-muzzle { position: absolute; display: grid; place-items: center; left: 40px; top: 59px; width: 50px; height: 36px; border-radius: 50%; color: #5b4437; font-style: normal; background: #fffdf7; font-size: 20px; }
.bunny-body { position: absolute; left: 34px; top: 158px; width: 114px; height: 80px; border-radius: 48% 48% 30% 30%; background: #f8e8ce; border: 5px solid rgba(73,58,45,.12); display: grid; place-items: center; font-size: 52px; }
.bunny-body span { transform: translateY(3px) rotate(-4deg); }
.spark { position: absolute; color: #ffe79a; font-size: 22px; animation: float 3s ease-in-out infinite; }.spark--1 { top: 38px; right: 3px; }.spark--2 { top: 70px; left: 2px; animation-delay: -1.2s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(8deg); } }

.module-section { margin-top: 39px; }
.section-heading, .card-title { display: flex; justify-content: space-between; align-items: center; }
.section-heading h2, .card-title h2 { margin: 3px 0 0; font-size: 22px; }
.section-heading .section-kicker, .card-title .section-kicker { color: var(--coral); }
.pencil-doodle { color: var(--coral); font: 25px "Ma Shan Zheng", cursive; transform: rotate(-6deg); }
.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 18px; }
.module-card { min-height: 158px; padding: 20px; border: 0; border-radius: 26px 26px 26px 9px; text-align: left; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.module-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.module-card::after { content: ""; position: absolute; width: 80px; height: 80px; border: 18px solid rgba(255,255,255,.22); border-radius: 50%; right: -32px; bottom: -35px; }
.module-card:nth-child(1) { background: var(--coral-soft); color: #9f5346; }.module-card:nth-child(2) { background: var(--blue-soft); color: #4c7785; }.module-card:nth-child(3) { background: var(--yellow-soft); color: #886b2e; }.module-card:nth-child(4) { background: var(--purple-soft); color: #765d84; }.module-card:nth-child(5) { background: var(--green-soft); color: #51744f; }
.module-card-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 17px; background: rgba(255,255,255,.58); font-size: 25px; box-shadow: 0 7px 16px rgba(83,68,48,.08); }
.module-card h3 { margin: 16px 0 2px; font-size: 18px; }.module-card p { margin: 0; font-size: 11px; opacity: .72; }.module-arrow { position: absolute; right: 18px; top: 20px; font-size: 16px; opacity: .55; }

.dashboard-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 28px; }
.paper-card { background: var(--paper); border: 1px solid rgba(95, 91, 70, .09); box-shadow: var(--shadow); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 12px; }
.today-card, .checkin-card { padding: 27px 29px; }
.text-button { color: var(--green-deep); border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 700; }
.timeline { display: grid; gap: 12px; margin-top: 19px; }
.timeline-item { display: grid; grid-template-columns: 48px 3px 1fr auto; gap: 14px; align-items: center; font-size: 13px; }
.timeline-item time { color: var(--muted); font-size: 11px; }.timeline-line { height: 35px; border-radius: 5px; background: var(--coral); }.timeline-item:nth-child(2) .timeline-line { background: var(--blue); }.timeline-item:nth-child(3) .timeline-line { background: var(--yellow); }
.timeline-item strong { font-size: 13px; }.timeline-item small { color: var(--muted); }
.timeline-badge { padding: 4px 9px; border-radius: 10px; background: var(--cream); color: var(--muted); font-size: 10px; }
.leaf { font-size: 25px; }.quick-check { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(74,78,68,.13); font-size: 13px; }
.check-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; background: var(--cream-deep); color: white; font-size: 12px; }.quick-check.done .check-dot { background: var(--green); }.quick-check.done span:last-child { text-decoration: line-through; color: var(--muted); }
.primary-button { width: 100%; margin-top: 18px; border: 0; border-radius: 15px; background: var(--coral); color: white; padding: 13px 16px; cursor: pointer; font-weight: 700; box-shadow: 0 10px 22px rgba(244,127,104,.22); transition: .2s; }.primary-button:hover { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(244,127,104,.29); }.primary-button span { float: right; }

.back-button { border: 0; background: none; color: var(--muted); padding: 5px 0; margin-bottom: 17px; cursor: pointer; font-size: 13px; font-weight: 600; }
.module-hero { min-height: 185px; padding: 32px 35px; border-radius: 34px 34px 34px 12px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; position: relative; }
.module-hero::after { content: ""; position: absolute; width: 190px; height: 190px; right: -30px; top: -65px; border-radius: 50%; border: 35px solid rgba(255,255,255,.2); }
.module-hero-copy { position: relative; z-index: 1; }.module-hero h1 { font: 40px "Ma Shan Zheng", cursive; margin: 4px 0; }.module-hero p { font-size: 13px; margin: 0; opacity: .72; }.module-hero-visual { position: relative; z-index: 1; font-size: 74px; filter: drop-shadow(0 10px 4px rgba(80,65,44,.1)); transform: rotate(4deg); }
.lesson-layout { display: grid; grid-template-columns: 1fr 260px; gap: 20px; margin-top: 22px; }.lesson-list-card { padding: 27px 30px; }.count-pill { background: var(--cream); border-radius: 15px; padding: 6px 11px; color: var(--muted); font-size: 11px; }
.lesson-item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px dashed rgba(76,80,70,.14); }.lesson-item:last-child { border-bottom: 0; }.lesson-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; background: var(--cream); font-family: "Ma Shan Zheng", cursive; font-size: 20px; }.lesson-item h3 { margin: 0 0 3px; font-size: 14px; }.lesson-item p { margin: 0; font-size: 11px; color: var(--muted); }.lesson-action { border: 0; background: var(--green-soft); color: var(--green-deep); padding: 8px 13px; border-radius: 12px; cursor: pointer; font-size: 11px; font-weight: 700; }.lesson-action.completed { background: var(--coral-soft); color: #a34d42; }
.encouragement-card { align-self: start; text-align: center; padding: 31px 25px; background: #fff3cd; }.mini-bunny { font-size: 58px; }.encouragement-card h3 { margin: 10px 0 7px; }.encouragement-card p { font-size: 12px; color: #7d704c; line-height: 1.8; }.stars { color: var(--yellow); letter-spacing: 5px; margin-top: 13px; }

.simple-page-head { min-height: 175px; border-radius: 34px 34px 34px 12px; padding: 31px 35px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; }.simple-page-head > div:first-child { display: flex; align-items: center; gap: 22px; }.simple-page-head h1 { margin: 4px 0; font: 37px "Ma Shan Zheng", cursive; }.simple-page-head p { margin: 0; font-size: 13px; opacity: .7; }.head-icon { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 26px; background: rgba(255,255,255,.5); font-size: 40px; transform: rotate(-4deg); }.head-doodle { font-size: 55px; opacity: .45; }.schedule-head { background: var(--purple-soft); color: #6f587b; }.checkin-head { background: var(--green-soft); color: #507450; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; margin: 21px 0; }.day-chip { padding: 12px 5px; text-align: center; background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: 17px; }.day-chip strong,.day-chip small { display: block; }.day-chip small { font-size: 10px; color: var(--muted); margin-bottom: 4px; }.day-chip strong { font-size: 16px; }.day-chip.today { background: var(--coral); color: white; transform: translateY(-4px) rotate(-1deg); box-shadow: 0 9px 18px rgba(244,127,104,.2); }.day-chip.today small { color: rgba(255,255,255,.76); }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.schedule-card { min-height: 150px; padding: 22px; border-radius: 24px 24px 24px 9px; background: var(--paper); border: 1px solid var(--line); }.schedule-card time { display: inline-block; background: var(--cream); padding: 4px 9px; border-radius: 9px; font-size: 10px; color: var(--muted); }.schedule-card h3 { font-size: 15px; margin: 14px 0 5px; }.schedule-card p { margin: 0; color: var(--muted); font-size: 11px; }.schedule-card .schedule-icon { float: right; font-size: 25px; }

/* 课程日历 */
.schedule-overview-head { position: relative; overflow: hidden; min-height: 165px; padding: 31px 36px; border-radius: 34px 34px 34px 12px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg, #e8e0ef, #f5e9dc 55%, #dcebd3); color: #695875; }
.schedule-overview-head::after { content:""; position: absolute; width: 210px; height: 210px; right: -50px; top: -110px; border-radius: 50%; border: 35px solid rgba(255,255,255,.3); }.schedule-overview-head > div { position: relative; z-index: 1; }.schedule-overview-head h1 { margin: 4px 0; font: 39px "Ma Shan Zheng", cursive; }.schedule-overview-head p { margin: 0; color: #807487; font-size: 12px; }.schedule-overview-head .section-kicker { color: #8b6d9a; }
.term-pill { display: flex; align-items: center; gap: 11px; min-width: 180px; padding: 13px 17px; border-radius: 22px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.65); box-shadow: 0 10px 25px rgba(78,68,56,.08); }.term-pill > span { font-size: 28px; }.term-pill small,.term-pill strong { display: block; }.term-pill small { color: var(--muted); font-size: 9px; }.term-pill strong { margin-top: 2px; font-size: 12px; }
.reminder-ribbon { display: grid; grid-template-columns: 150px 1fr 1fr 92px; gap: 10px; margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.68); box-shadow: 0 10px 28px rgba(88,74,47,.07); }
.reminder-label { display: flex; gap: 9px; align-items: center; padding: 7px 10px; }.reminder-label > span { font-size: 27px; }.reminder-label small,.reminder-label strong { display: block; }.reminder-label small { color: var(--coral); letter-spacing: 1.5px; font-size: 8px; }.reminder-label strong { font-size: 12px; }
.next-reminder { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 17px; background: var(--cream); }.reminder-icon { font-size: 20px; }.next-reminder div { min-width: 0; }.next-reminder small,.next-reminder strong,.next-reminder p { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.next-reminder small { color: var(--muted); font-size: 8px; }.next-reminder strong { margin-top: 2px; font-size: 11px; }.next-reminder p { margin: 2px 0 0; color: #96988f; font-size: 8px; }
.issue-summary { border: 0; border-radius: 17px; background: #fff0d4; color: #a7772b; cursor: pointer; display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; column-gap: 4px; }.issue-summary span { grid-row: 1 / 3; align-self: center; font-size: 18px; }.issue-summary strong { font-size: 16px; line-height: 1; }.issue-summary small { font-size: 8px; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 12px; }.calendar-nav { display: flex; align-items: center; gap: 7px; }.calendar-nav button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); cursor: pointer; font-size: 20px; }.calendar-nav .today-jump { width: auto; padding: 0 12px; font-size: 10px; font-weight: 700; }.calendar-nav h2 { margin: 0 0 0 8px; min-width: 160px; font-size: 19px; }
.view-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.6); }.view-switch button { width: 50px; padding: 7px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; }.view-switch button.active { background: var(--purple); color: white; box-shadow: 0 5px 13px rgba(118,93,132,.18); }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 16px; align-items: start; }.calendar-board { min-width: 0; padding: 17px; overflow-x: auto; box-shadow: 0 15px 38px rgba(90,80,59,.08); }.calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); padding: 0 3px 9px; color: var(--muted); text-align: center; font-size: 9px; font-weight: 700; }.month-days { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.month-day { min-width: 0; min-height: 112px; padding: 8px 7px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.28); text-align: left; cursor: pointer; overflow: hidden; transition: .18s; }.month-day:hover { background: rgba(255,249,234,.8); }.month-day.outside { opacity: .35; }.month-day.selected { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px var(--purple); background: rgba(236,225,239,.45); }.month-day.today .day-number { color: white; background: var(--coral); }.day-number { display: inline-flex; align-items: center; gap: 4px; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 8px; font-size: 10px; font-weight: 700; }.day-number i { font-size: 7px; font-style: normal; }.calendar-event { display: block; margin-top: 4px; padding: 4px 5px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 8px; color: #5e625a; }.calendar-event i { margin-right: 2px; font-style: normal; }.calendar-event b { margin-right: 2px; font-size: 7px; }.calendar-event.has-conflict { box-shadow: inset 2px 0 #e45f4e; }.more-events { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }.winter-day { background: #eef4f7; }.winter-label { display: block; margin-top: 13px; color: #6d8e9c; text-align: center; font-size: 9px; }
.course--art { background-color: #fde5dc !important; border-color: #e88e77 !important; }.course--piano { background-color: #e8e0ef !important; border-color: #9a82aa !important; }.course--violin { background-color: #fff0bd !important; border-color: #d5a83b !important; }.course--english { background-color: #dcebd3 !important; border-color: #719a6c !important; }.course--math { background-color: #ddecf0 !important; border-color: #6d9eb0 !important; }.course--study { background-color:#f6e8cf !important; border-color:#c99854 !important; }.course--homework { background-color:#e8eef5 !important; border-color:#7f95ae !important; }.course--sport { background-color:#dfeeda !important; border-color:#75a06e !important; }
.day-agenda { position: sticky; top: 105px; padding: 23px; min-height: 360px; box-shadow: 0 15px 38px rgba(90,80,59,.08); }.agenda-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 15px; border-bottom: 1px dashed var(--line); }.agenda-head .section-kicker { color: var(--purple); }.agenda-head h2 { margin: 4px 0 0; font-size: 16px; }.agenda-count { padding: 5px 8px; border-radius: 10px; background: var(--purple-soft); color: #765d84; font-size: 8px; }
.agenda-head-actions { display:grid; justify-items:end; gap:7px; }.agenda-head-actions button { border:0; border-radius:10px; padding:6px 9px; color:white; background:var(--green); font-size:8px; font-weight:800; cursor:pointer; }
.agenda-list { display: grid; gap: 9px; margin-top: 15px; }.agenda-course { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 13px; border-left: 4px solid; border-radius: 16px; }.agenda-time strong,.agenda-time span { display: block; }.agenda-time strong { font-size: 12px; }.agenda-time span { color: var(--muted); font-size: 8px; }.agenda-info { min-width: 0; }.agenda-tags { display: flex; flex-wrap: wrap; gap: 4px; }.agenda-tags span,.agenda-tags em { padding: 2px 5px; border-radius: 6px; background: rgba(255,255,255,.6); color: var(--muted); font-size: 7px; font-style: normal; }.agenda-tags em { background: #f7c1b7; color: #984a40; }.agenda-tags .late-tag { background: #e5def0; color: #6f5a7d; }.agenda-info h3 { margin: 5px 0 2px; font-size: 11px; }.agenda-info p { margin: 0; color: var(--muted); font-size: 8px; }.course-warning { display: block; margin-top: 7px; padding: 6px; border-radius: 8px; background: rgba(255,255,255,.65); color: #a14f43; font-size: 7px; line-height: 1.5; }.late-warning { color: #675476; }.empty-agenda,.winter-agenda { padding: 43px 10px; text-align: center; }.empty-agenda span,.winter-agenda span { font-size: 43px; }.empty-agenda h3,.winter-agenda h3 { margin: 10px 0 4px; font-size: 14px; }.empty-agenda p,.winter-agenda p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.week-calendar { min-width: 940px; display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }.week-column { min-height: 420px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.28); }.week-column.today { border-color: var(--coral); }.week-column.selected { box-shadow: inset 0 0 0 2px var(--purple); }.week-date-head { width: 100%; padding: 9px 4px; border: 0; border-radius: 11px; background: var(--cream); cursor: pointer; }.week-date-head small,.week-date-head strong,.week-date-head span { display: block; }.week-date-head small { color: var(--muted); font-size: 8px; }.week-date-head strong { margin: 2px 0; font-size: 17px; }.week-date-head span { color: var(--purple); font-size: 7px; }.week-event-list { display: grid; gap: 7px; margin-top: 8px; }.week-event { width: 100%; min-height: 72px; padding: 8px; border: 0; border-left: 3px solid; border-radius: 10px; text-align: left; cursor: pointer; }.week-event time,.week-event strong,.week-event small { display: block; }.week-event time { font-size: 8px; font-weight: 800; }.week-event strong { margin: 4px 0; font-size: 9px; line-height: 1.35; }.week-event small { color: var(--muted); font-size: 7px; }.week-event.has-conflict { box-shadow: inset 0 0 0 2px #e16d5b; }.no-course { display: block; padding-top: 25px; text-align: center; color: #c8c7be; }.week-winter { display: grid; gap: 7px; place-items: center; padding-top: 28px; color: #6f8f9c; }.schedule-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 17px 4px; color: var(--muted); font-size: 8px; }.schedule-legend div { display: flex; align-items: center; gap: 5px; }.schedule-legend > span { margin-left: auto; }.legend-dot { width: 8px; height: 8px; border-radius: 3px; }.legend-dot--art { background:#e88e77; }.legend-dot--piano { background:#9a82aa; }.legend-dot--violin { background:#d5a83b; }.legend-dot--english { background:#719a6c; }.legend-dot--math { background:#6d9eb0; }.legend-dot--study { background:#c99854; }.legend-dot--homework { background:#7f95ae; }.legend-dot--sport { background:#75a06e; }
.agenda-tags .course-reward-tag { background: #fff3bd; color: #8b671e; font-weight: 800; }.agenda-tags .interest-tag { background: #d9edd1; color: #4f754c; }.agenda-tags .reserved-tag { background:#f2d9ad; color:#8a622b; }.reserved-warning { color:#7f653e; }.course-claim { width: 100%; margin-top: 9px; padding: 7px 9px; border: 0; border-radius: 10px; background: var(--coral); color: white; cursor: pointer; font-size: 8px; font-weight: 800; box-shadow: 0 5px 12px rgba(244,127,104,.18); }.course-claim:disabled { cursor: default; background: rgba(255,255,255,.65); color: #9a9c93; box-shadow: none; }.course-claim.claimed { background: var(--green); color: white; }
.agenda-tags .agenda-sync-tag { background:#fff3bd; color:#8b671e; font-weight:800; }.agenda-tags .agenda-sync-tag.done { background:var(--green); color:white; }
.course-points-guide { display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); gap: 8px; margin-top: 16px; padding: 11px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.62); }.points-guide-title { display: flex; align-items: center; gap: 9px; padding: 8px 10px; }.points-guide-title > span { font-size: 25px; }.points-guide-title small,.points-guide-title strong { display: block; }.points-guide-title small { color: var(--coral); font-size: 7px; letter-spacing: 1px; }.points-guide-title strong { margin-top: 2px; font-size: 10px; }.points-rule { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 5px; padding: 8px; border-radius: 14px; background: var(--cream); }.points-rule > span { font-size: 17px; }.points-rule strong { font-size: 8px; }.points-rule b { color: #977020; font-size: 11px; }.points-rule small { grid-column: 2 / 4; color: var(--green-deep); font-size: 6px; }.points-rule--english { background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(80,123,88,.14); }
.star-total { width: 95px; height: 95px; border-radius: 50%; background: rgba(255,255,255,.56); display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 7px rgba(255,255,255,.2); }.star-total strong { font: 33px "Ma Shan Zheng", cursive; }.star-total small { font-size: 10px; opacity: .7; }
.checkin-board { margin-top: 21px; padding: 29px; display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; }.checkin-progress-ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--coral) var(--progress, 0%), var(--coral-soft) 0); position: relative; }.checkin-progress-ring::after { content:""; position: absolute; inset: 14px; background: #fffdf8; border-radius: 50%; }.checkin-progress-ring > div { position: relative; z-index: 1; text-align: center; }.checkin-progress-ring strong,.checkin-progress-ring small { display: block; }.checkin-progress-ring strong { font: 30px "Ma Shan Zheng", cursive; }.checkin-progress-ring small { font-size: 10px; color: var(--muted); }
.full-checkin-list { display: grid; gap: 9px; }.full-checkin { display: grid; grid-template-columns: 42px 1fr 32px; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 17px; cursor: pointer; background: rgba(255,255,255,.52); transition: .2s; }.full-checkin:hover { transform: translateX(3px); }.full-checkin.done { background: var(--green-soft); }.full-checkin .subject-icon { display: grid; place-items: center; width: 38px; height: 38px; background: white; border-radius: 13px; font-size: 19px; }.full-checkin h3 { margin: 0; font-size: 13px; }.full-checkin p { margin: 2px 0 0; font-size: 10px; color: var(--muted); }.full-checkin .big-check { width: 26px; height: 26px; border: 2px solid #d5d6cc; border-radius: 9px; display: grid; place-items: center; color: white; }.full-checkin.done .big-check { background: var(--green); border-color: var(--green); }
.celebration { margin-top: 18px; padding: 19px 24px; border-radius: 22px; background: var(--yellow-soft); display: flex; align-items: center; gap: 16px; animation: pop .4s ease both; }.celebration[hidden] { display: none; }.celebration > span { font-size: 35px; }.celebration strong { color: #81642c; }.celebration p { margin: 3px 0 0; color: #927a49; font-size: 11px; } @keyframes pop { from { transform: scale(.95); opacity: 0; } }
.bottom-nav { display: none; }

/* 语文学习花园 */
.chinese-page { --chinese-red:#d86d5d; --chinese-ink:#85534a; }
.chinese-hero { position:relative; min-height:230px; overflow:hidden; display:flex; align-items:center; justify-content:space-between; padding:38px 42px; border-radius:38px 38px 38px 14px; color:var(--chinese-ink); background:linear-gradient(120deg,#ffdcd1 0%,#fff0d0 58%,#dcebd3 100%); box-shadow:0 22px 50px rgba(135,91,65,.12); }
.chinese-hero::before { content:""; position:absolute; inset:0; opacity:.32; background:radial-gradient(circle at 12% 18%,#fff 0 3px,transparent 4px),radial-gradient(circle at 78% 75%,#fff 0 4px,transparent 5px); background-size:54px 54px,73px 73px; }
.chinese-hero-copy { position:relative; z-index:2; max-width:610px; }
.chinese-hero .section-kicker { color:#b55b4f; }
.chinese-hero h1 { margin:6px 0 7px; font:44px "Ma Shan Zheng",cursive; }
.chinese-hero p { margin:0; color:#8d6f65; font-size:13px; }
.chinese-progress { width:min(390px,100%); margin-top:27px; }
.chinese-progress div { display:flex; justify-content:space-between; margin-bottom:8px; font-size:10px; }
.chinese-progress div strong { color:#a74f43; }
.chinese-progress > i { display:block; height:8px; overflow:hidden; border-radius:10px; background:rgba(255,255,255,.7); }
.chinese-progress > i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#f47f68,#f4c758); transition:width .4s ease; }
.reading-bunny { position:relative; z-index:2; width:190px; height:150px; display:grid; place-items:center; margin-right:5%; }
.reading-bunny span { font-size:112px; filter:drop-shadow(0 13px 9px rgba(87,66,50,.12)); }
.reading-bunny i { position:absolute; left:77px; bottom:13px; font-style:normal; font-size:52px; transform:rotate(-4deg); }
.reading-bunny em { position:absolute; right:-49px; top:3px; padding:8px 11px; border-radius:15px 15px 15px 4px; color:#9f6255; background:rgba(255,255,255,.78); font-size:9px; font-style:normal; line-height:1.5; box-shadow:0 8px 18px rgba(95,76,56,.08); }
.chinese-track-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:19px; }
.track-card { position:relative; min-height:112px; display:grid; grid-template-columns:47px 1fr auto; align-items:center; gap:13px; padding:18px; border:2px solid transparent; border-radius:25px 25px 25px 9px; text-align:left; cursor:pointer; transition:.2s; box-shadow:0 12px 30px rgba(91,75,52,.07); }
.track-card:hover { transform:translateY(-3px); }
.track-card.active { border-color:rgba(117,91,60,.19); box-shadow:0 16px 35px rgba(91,75,52,.12); }
.track-card--all { background:#fff3ca; }.track-card--base { background:#e1edd8; }.track-card--skill { background:#e4ebf3; }
.track-card > span { display:grid; place-items:center; width:47px; height:47px; border-radius:16px; background:rgba(255,255,255,.7); font-size:24px; }
.track-card small,.track-card strong,.track-card p { display:block; }.track-card small { color:#aa715f; font-size:7px; font-weight:800; letter-spacing:1.2px; }.track-card strong { margin:3px 0; font-size:15px; }.track-card p { margin:0; color:var(--muted); font-size:9px; }.track-card > b { align-self:start; padding:5px 8px; border-radius:10px; background:rgba(255,255,255,.68); color:#997049; font-size:9px; }
.hard-requirements { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:10px; padding:9px; border:1px solid var(--line); border-radius:19px; background:rgba(255,255,255,.55); }
.hard-requirements > div { display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:7px; min-height:38px; padding:7px 10px; border-radius:13px; background:var(--cream); }.hard-requirements span { font-size:17px; }.hard-requirements strong { color:var(--chinese-red); font-size:13px; }.hard-requirements small { color:var(--muted); font-size:8px; }
.chinese-daily-card { margin-top:19px; padding:27px 30px 30px; }
.chinese-date-head { display:grid; grid-template-columns:38px 1fr 38px; align-items:center; gap:15px; text-align:center; }
.chinese-date-head > button { width:36px; height:36px; border:1px solid var(--line); border-radius:13px; background:var(--cream); cursor:pointer; font-size:24px; }
.chinese-date-head small { color:var(--chinese-red); font-size:9px; font-weight:800; }.chinese-date-head h2 { margin:4px 0; font-size:23px; }.chinese-date-head p { margin:0; color:var(--muted); font-size:11px; }
.chinese-date-rail { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; max-width:650px; margin:22px auto 14px; }
.chinese-day { min-width:0; padding:9px 4px 7px; border:1px solid var(--line); border-radius:15px; background:#fffdf8; cursor:pointer; }
.chinese-day:disabled { opacity:.28; cursor:default; }
.chinese-day small,.chinese-day strong { display:block; }.chinese-day small { color:var(--muted); font-size:8px; }.chinese-day strong { margin:3px 0; font-size:14px; }.chinese-day i { display:block; width:4px; height:4px; margin:auto; border-radius:50%; background:#dad7ca; }
.chinese-day.active { color:white; border-color:var(--coral); background:var(--coral); box-shadow:0 8px 17px rgba(244,127,104,.2); transform:translateY(-2px); }.chinese-day.active small { color:rgba(255,255,255,.75); }.chinese-day.done i { background:var(--green); }.chinese-day.active i { background:#fff; }
.daily-summary { display:flex; align-items:center; justify-content:center; gap:9px; flex-wrap:wrap; padding:11px; border-radius:16px; background:var(--cream); color:#8d8066; font-size:9px; }
.daily-summary span { padding:4px 7px; border-radius:8px; background:rgba(255,255,255,.7); }.daily-summary button { margin-left:auto; border:0; background:none; color:var(--green-deep); cursor:pointer; font-size:9px; font-weight:800; }
.chinese-task-list { display:grid; gap:10px; margin-top:17px; }
.chinese-task { display:grid; grid-template-columns:50px 1fr auto; align-items:center; gap:14px; padding:15px 16px; border:1px solid var(--line); border-radius:19px; background:rgba(255,255,255,.7); transition:.2s; }
.chinese-task:hover { transform:translateX(3px); }.chinese-task.done { background:var(--green-soft); }
.chinese-task-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; background:var(--cream); color:var(--green-deep); font-size:21px; font-weight:800; }
.chinese-task small { color:var(--coral); font-size:8px; font-weight:800; }.chinese-task h3 { margin:3px 0; font-size:14px; }.chinese-task p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }
.direct-requirement { margin:9px 0 8px; padding:11px 13px; border-left:3px solid #e0a765; border-radius:4px 13px 13px 4px; background:#fff8e7; color:#65594a; }
.direct-requirement b { display:inline-block; margin-bottom:5px; padding:3px 7px; border-radius:8px; color:#a45a46; background:#ffe4d9; font-size:8px; }
.direct-requirement em { float:right; padding:3px 7px; border-radius:8px; color:#9a7042; background:#fff0b8; font-size:8px; font-style:normal; font-weight:800; }
.direct-requirement div { font:14px/1.75 "Noto Serif SC","Songti SC",serif; }
.direct-requirement.needs-source { border-left-color:#d19a43; background:#fffaf0; }
.direct-requirement.teacher-source { border-left-color:#7da278; background:#f2f7e8; overflow-wrap:anywhere; }
.direct-requirement.teacher-source b { color:#557750; background:#dcebd3; }
.direct-requirement.teacher-source em { color:#557750; background:#e6f1dd; }
.chinese-task button { min-width:80px; padding:9px 11px; border:0; border-radius:12px; color:white; background:var(--green); cursor:pointer; font-size:9px; font-weight:800; }.chinese-task button:disabled { color:#9b9c93; background:#eeeae0; cursor:default; }.chinese-task.done button { background:#fff; color:var(--green-deep); }
.chinese-empty { padding:30px; text-align:center; color:var(--muted); font-size:11px; }
.unit-roadmap { margin-top:28px; }.roadmap-note { border:0; background:none; color:var(--green-deep); cursor:pointer; font-size:10px; font-weight:700; }
.unit-roadmap-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:11px; margin-top:15px; }
.unit-roadmap-card { min-height:88px; display:grid; grid-template-columns:38px 1fr; align-items:center; gap:10px; padding:14px; border:1px solid var(--line); border-radius:20px 20px 20px 8px; background:rgba(255,255,255,.7); text-align:left; cursor:pointer; transition:.2s; }.unit-roadmap-card:hover,.unit-roadmap-card.active { transform:translateY(-2px); background:#fff1e6; border-color:rgba(244,127,104,.26); }
.unit-roadmap-card > span { font-size:26px; }.unit-roadmap-card small,.unit-roadmap-card strong,.unit-roadmap-card p { display:block; }.unit-roadmap-card small { color:var(--coral); font-size:7px; font-weight:800; }.unit-roadmap-card strong { margin:2px 0; font-size:12px; }.unit-roadmap-card p { margin:0; color:var(--muted); font-size:8px; }
.version-note { display:flex; align-items:flex-start; gap:11px; margin-top:18px; padding:15px 18px; border:1px dashed rgba(111,126,91,.28); border-radius:18px; color:#6f755f; background:#edf3df; }.version-note span { font-size:18px; }.version-note p { margin:0; font-size:9px; line-height:1.7; }

/* 校内英语冒险岛 */
.english-page { --english-blue:#608fa1; --english-ink:#456875; --english-sky:#e0f1f4; }
.english-hero { position:relative; min-height:230px; overflow:hidden; display:flex; align-items:center; justify-content:space-between; padding:38px 43px; border-radius:38px 38px 38px 14px; color:var(--english-ink); background:linear-gradient(120deg,#dceff3,#fff4cf 58%,#f8ddd5); box-shadow:0 22px 50px rgba(74,112,126,.12); }
.english-hero::before { content:"A  B  C"; position:absolute; right:23%; top:20px; color:rgba(255,255,255,.52); font:700 58px/1 "Noto Sans SC",sans-serif; letter-spacing:16px; transform:rotate(-7deg); }
.english-hero > div:first-child { position:relative; z-index:2; max-width:620px; }.english-hero .section-kicker { color:#477f93; }.english-hero h1 { margin:6px 0 7px; font:44px "Ma Shan Zheng",cursive; }.english-hero p { margin:0; color:#68818a; font-size:13px; }
.english-progress { width:min(390px,100%); margin-top:27px; }.english-progress span { display:flex; justify-content:space-between; margin-bottom:8px; font-size:10px; }.english-progress > i { display:block; height:8px; overflow:hidden; border-radius:10px; background:rgba(255,255,255,.72); }.english-progress > i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#65a4b7,#f2bd62); transition:width .4s ease; }
.english-bunny { position:relative; z-index:2; width:190px; height:150px; display:grid; place-items:center; margin-right:5%; font-size:112px; filter:drop-shadow(0 13px 9px rgba(87,66,50,.12)); }.english-bunny i { position:absolute; right:-15px; top:4px; padding:9px 13px; border-radius:16px 16px 16px 5px; color:#527c89; background:rgba(255,255,255,.78); font:800 13px "Noto Sans SC",sans-serif; transform:rotate(6deg); }
.english-scope { display:grid; grid-template-columns:1fr 1fr; gap:9px; width:min(480px,100%); margin:18px auto 0; padding:5px; border:1px solid var(--line); border-radius:19px; background:rgba(255,255,255,.62); }.english-scope button { padding:11px 14px; border:0; border-radius:14px; background:transparent; cursor:pointer; font-size:11px; font-weight:800; }.english-scope button.active { color:white; background:var(--english-blue); box-shadow:0 7px 16px rgba(72,119,136,.2); }.english-scope small { display:block; margin-top:2px; font-size:7px; opacity:.72; }
.english-track-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; margin-top:14px; }.english-track { min-height:98px; display:grid; grid-template-columns:47px 1fr auto; align-items:center; gap:12px; padding:17px; border:2px solid transparent; border-radius:24px 24px 24px 9px; background:#fff; text-align:left; cursor:pointer; box-shadow:0 12px 29px rgba(76,91,76,.07); transition:.2s; }.english-track:nth-child(1) { background:#fff1c6; }.english-track:nth-child(2) { background:#dff0f2; }.english-track:nth-child(3) { background:#f5e3de; }.english-track:hover,.english-track.active { transform:translateY(-3px); border-color:rgba(77,116,128,.25); }.english-track > span { display:grid; place-items:center; width:47px; height:47px; border-radius:16px; background:rgba(255,255,255,.72); font-size:24px; }.english-track strong,.english-track small { display:block; }.english-track strong { font-size:14px; }.english-track small { margin-top:4px; color:var(--muted); font-size:8px; }.english-track > b { align-self:start; padding:5px 8px; border-radius:10px; background:rgba(255,255,255,.7); color:#8c6d35; font-size:9px; }
.english-audit { display:flex; align-items:center; gap:8px; margin-top:10px; padding:9px; border:1px solid var(--line); border-radius:19px; background:rgba(255,255,255,.56); }.english-audit > div { min-width:105px; padding:8px 10px; border-radius:13px; background:var(--cream); text-align:center; }.english-audit strong,.english-audit span { display:block; }.english-audit strong { color:var(--english-blue); font-size:17px; }.english-audit span { color:var(--muted); font-size:7px; }.english-audit p { margin:0 5px 0 auto; color:#637b68; font-size:8px; }
.english-daily { margin-top:18px; padding:27px 30px 30px; }.english-date-head { display:grid; grid-template-columns:38px 1fr 38px; align-items:center; gap:15px; text-align:center; }.english-date-head > button { width:36px; height:36px; border:1px solid var(--line); border-radius:13px; background:var(--cream); cursor:pointer; font-size:24px; }.english-date-head small { color:var(--english-blue); font-size:9px; font-weight:800; }.english-date-head h2 { margin:4px 0; font-size:23px; }.english-date-head p { margin:0; color:var(--muted); font-size:11px; }
.english-date-rail { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; max-width:650px; margin:22px auto 14px; }.english-day { min-width:0; padding:9px 4px 7px; border:1px solid var(--line); border-radius:15px; background:#fffdf8; cursor:pointer; }.english-day:disabled { opacity:.28; cursor:default; }.english-day small,.english-day strong { display:block; }.english-day small { color:var(--muted); font-size:8px; }.english-day strong { margin:3px 0; font-size:14px; }.english-day i { display:block; width:4px; height:4px; margin:auto; border-radius:50%; background:#dad7ca; }.english-day.active { color:white; border-color:var(--english-blue); background:var(--english-blue); box-shadow:0 8px 17px rgba(83,137,154,.22); transform:translateY(-2px); }.english-day.active small { color:rgba(255,255,255,.75); }.english-day.done i { background:var(--green); }.english-day.active i { background:#fff; }
.english-task-list { display:grid; gap:11px; margin-top:17px; }.english-task { display:grid; grid-template-columns:50px minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.76); transition:.2s; }.english-task:hover { transform:translateX(3px); }.english-task.done { background:var(--green-soft); }.english-task-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; color:var(--english-ink); background:var(--english-sky); font-size:21px; font-weight:800; }.english-task > div > small { color:var(--english-blue); font-size:8px; font-weight:800; }.english-task h3 { margin:3px 0; font-size:14px; }.english-task p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }.english-task > button { min-width:108px; padding:10px 12px; border:0; border-radius:12px; color:white; background:var(--english-blue); cursor:pointer; font-size:9px; font-weight:800; }.english-task > button:disabled { color:#999b94; background:#eeeae0; cursor:default; }.english-task.done > button { color:var(--green-deep); background:#fff; }
.english-word-strip { display:flex; gap:7px; overflow-x:auto; margin-top:10px; padding-bottom:3px; scrollbar-width:none; }.english-word-strip::-webkit-scrollbar { display:none; }.english-word-strip > span { flex:0 0 auto; display:grid; grid-template-columns:auto 25px; min-width:112px; padding:7px 8px 7px 10px; border-radius:12px; background:#eef7f8; }.english-word-strip b,.english-word-strip small { display:block; grid-column:1; }.english-word-strip b { font-size:9px; }.english-word-strip small { margin-top:2px; color:var(--muted); font-size:7px; }.english-word-strip button { grid-column:2; grid-row:1 / 3; align-self:center; width:25px; height:25px; border:0; border-radius:9px; background:white; cursor:pointer; font-size:11px; }.english-line-preview { display:grid; grid-template-columns:auto 1fr 28px; align-items:center; gap:8px; margin-top:10px; padding:9px 10px; border-left:3px solid #e6b75d; border-radius:4px 12px 12px 4px; background:#fff8dc; }.english-line-preview span { color:#9a6e25; font-size:8px; font-weight:800; }.english-line-preview p { color:#555c57; font:11px/1.5 Georgia,serif; }.english-line-preview button { width:28px; height:28px; border:0; border-radius:9px; background:white; cursor:pointer; }
.english-roadmap { margin-top:28px; }.english-unit-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:15px; }.english-unit { min-height:92px; padding:13px; border:1px solid var(--line); border-radius:19px 19px 19px 7px; background:rgba(255,255,255,.72); text-align:left; cursor:pointer; transition:.2s; }.english-unit:hover,.english-unit.active { transform:translateY(-2px); border-color:rgba(83,137,154,.32); background:#e8f4f5; }.english-unit small,.english-unit strong,.english-unit span { display:block; }.english-unit small { color:var(--english-blue); font-size:7px; font-weight:800; }.english-unit strong { margin:4px 0; font-size:12px; }.english-unit span { color:var(--muted); font-size:8px; }
.english-studio { margin-top:18px; padding:28px 30px 32px; }.studio-head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:20px; padding-bottom:20px; border-bottom:1px dashed rgba(79,83,70,.16); }.studio-head > button { align-self:start; padding:8px 11px; border:0; border-radius:11px; color:var(--english-blue); background:#e7f2f3; cursor:pointer; font-size:9px; font-weight:800; }.studio-head .section-kicker { color:var(--english-blue); }.studio-head h2 { margin:4px 0; font-size:26px; }.studio-head p { margin:0; color:var(--muted); font-size:10px; }.studio-head > b { font-size:42px; }.studio-target { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:19px 0 15px; padding:16px 18px; border-radius:18px; background:linear-gradient(100deg,#dff0f2,#fff5d5); }.studio-target small,.studio-target strong,.studio-target span { display:block; }.studio-target small { color:var(--english-blue); font-size:8px; font-weight:800; }.studio-target strong { margin:3px 0; font-size:15px; }.studio-target span { color:var(--muted); font-size:9px; }.studio-target > button { flex:0 0 auto; padding:11px 15px; border:0; border-radius:13px; color:white; background:var(--english-blue); cursor:pointer; font-size:9px; font-weight:800; }.studio-target > button:disabled { color:#999; background:#e7e5df; }
.studio-preview-banner,.preview-mode-note { padding:10px 13px; border:1px solid rgba(203,151,54,.22); border-radius:13px; color:#8d6b2e; background:#fff4cf; font-size:9px; line-height:1.6; }.studio-preview-banner { margin-top:14px; }.preview-mode-note { margin:-10px 0 14px; }
.phonics-word-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.phonics-word-card { display:grid; grid-template-columns:1fr 58px; gap:10px; padding:16px; border:1px solid var(--line); border-radius:19px 19px 19px 7px; background:#fffef9; }.phonics-word-card > div:first-child span { color:var(--english-blue); font-size:7px; font-weight:900; }.phonics-word-card h3 { margin:3px 0; color:#385f6d; font:700 20px Georgia,serif; }.phonics-word-card p { margin:0; color:var(--muted); font-size:9px; }.phonics-word-card > button { display:grid; place-items:center; width:54px; height:54px; border:0; border-radius:17px; color:white; background:var(--english-blue); cursor:pointer; font-size:20px; }.phonics-word-card > button small { display:block; font-size:6px; }.word-example { grid-column:1 / -1; display:grid; grid-template-columns:auto 1fr 28px; align-items:center; gap:8px; padding:9px 10px; border-radius:12px; background:#fff6d9; }.word-example em { color:#9b722c; font-size:7px; font-style:normal; font-weight:800; }.word-example strong { font:600 10px/1.5 Georgia,serif; }.word-example button { width:28px; height:28px; border:0; border-radius:9px; background:white; cursor:pointer; }
.unit-bank-head { display:flex; align-items:end; justify-content:space-between; margin:25px 2px 12px; }.unit-bank-head small { color:var(--english-blue); font-size:7px; font-weight:900; }.unit-bank-head h3 { margin:3px 0 0; font-size:17px; }.unit-bank-head > span { color:var(--muted); font-size:8px; }.unit-word-bank { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }.unit-word-bank > button { display:grid; grid-template-columns:1fr 25px; padding:10px; border:1px solid var(--line); border-radius:13px; background:#f7fbfa; text-align:left; cursor:pointer; }.unit-word-bank strong,.unit-word-bank small { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.unit-word-bank strong { color:#405f67; font-size:9px; }.unit-word-bank small { margin-top:2px; color:var(--muted); font-size:7px; }.unit-word-bank i { grid-column:2; grid-row:1 / 3; align-self:center; font-size:12px; font-style:normal; }.unit-word-bank > button.extra { background:#fff6df; }
.text-target { background:linear-gradient(100deg,#f9e7df,#fff5d5); }.full-dialogue { margin-top:18px; padding:18px; border:1px solid var(--line); border-radius:21px; background:#fffefa; }.dialogue-title { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:12px; }.dialogue-title small { color:var(--english-blue); font-size:8px; font-weight:800; }.dialogue-title h3 { margin:3px 0 0; font-size:17px; }.dialogue-title > span { color:var(--muted); font-size:8px; }.dialogue-scenes { display:grid; gap:11px; }.dialogue-scene { overflow:hidden; border:1px solid rgba(91,117,123,.12); border-radius:15px; background:#fbfaf5; }.dialogue-scene > header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; background:#e8f3f4; }.dialogue-scene > header strong { color:var(--english-blue); font-size:9px; }.dialogue-scene > header button { padding:6px 9px; border:0; border-radius:9px; color:var(--english-blue); background:white; cursor:pointer; font-size:7px; font-weight:800; }.full-dialogue-lines { display:grid; gap:5px; padding:7px; }.full-dialogue-lines article { display:grid; grid-template-columns:26px minmax(0,1fr) 31px; align-items:center; gap:9px; padding:9px 10px; border-radius:12px; background:#f7f3e9; }.full-dialogue-lines article > span { display:grid; place-items:center; width:24px; height:24px; border-radius:9px; color:white; background:#e4b85f; font-size:7px; }.full-dialogue-lines small,.full-dialogue-lines strong { display:block; }.full-dialogue-lines small { color:var(--english-blue); font-size:7px; font-weight:800; }.full-dialogue-lines strong { margin-top:2px; font:600 11px/1.5 Georgia,serif; }.full-dialogue-lines button { width:30px; height:30px; border:0; border-radius:9px; background:white; cursor:pointer; }
.english-practice-overlay { position:fixed; z-index:200; inset:0; display:grid; place-items:center; padding:20px; background:rgba(48,58,53,.48); backdrop-filter:blur(7px); }.english-practice-card { position:relative; width:min(540px,100%); max-height:min(760px,90vh); overflow:auto; padding:32px; border:1px solid rgba(255,255,255,.7); border-radius:31px 31px 31px 11px; background:#fffdf7; box-shadow:0 30px 80px rgba(45,55,49,.25); text-align:center; }.practice-close { position:absolute; right:15px; top:14px; width:34px; height:34px; border:0; border-radius:12px; background:#f1eee5; cursor:pointer; font-size:21px; }.practice-kicker { color:var(--english-blue); font-size:8px; font-weight:900; letter-spacing:1.5px; }.english-practice-card h2 { margin:8px 0 21px; font-size:23px; }.big-listen-button { display:grid; place-items:center; width:112px; height:112px; margin:auto; border:0; border-radius:50%; color:white; background:linear-gradient(145deg,#74afbf,#4f8191); cursor:pointer; box-shadow:0 14px 27px rgba(72,125,142,.25); font-size:38px; }.big-listen-button small { display:block; margin-top:4px; font-size:8px; }.hint-button,.listen-all { margin:14px auto 0; padding:8px 13px; border:1px solid var(--line); border-radius:12px; color:var(--english-blue); background:#edf7f8; cursor:pointer; font-size:9px; font-weight:800; }.word-hint,.speaker-hint { margin:14px 0 0; color:var(--muted); font-size:10px; }.english-answer { width:100%; margin-top:15px; padding:14px; border:2px solid #d9e9eb; border-radius:15px; background:white; text-align:center; font:700 18px Georgia,serif; outline:none; }.english-answer:focus { border-color:var(--english-blue); }.sentence-answer { font-size:14px; }.practice-result { margin-top:12px; padding:11px; border-radius:12px; font-size:10px; }.practice-result.correct { color:#47734e; background:#e2f0dc; }.practice-result.wrong { color:#9a5949; background:#ffe4db; }.practice-actions { display:flex; justify-content:center; gap:9px; margin-top:18px; }.practice-actions button { min-width:140px; padding:11px 14px; border:0; border-radius:13px; color:white; background:var(--english-blue); cursor:pointer; font-size:10px; font-weight:800; }.practice-actions.two button:first-child { color:#5d7379; background:#e9f0ef; }
.role-bubble { padding:17px; border-radius:20px 20px 20px 6px; text-align:left; background:#e5f3f5; }.role-bubble.dolla { border-radius:20px 20px 6px 20px; background:#fff0c9; }.role-bubble small,.role-bubble strong { display:block; }.role-bubble small { color:var(--english-blue); font-size:8px; font-weight:800; }.role-bubble strong { margin-top:5px; font:700 15px/1.55 Georgia,serif; }.role-bubble button { margin-top:10px; padding:7px 9px; border:0; border-radius:9px; background:white; cursor:pointer; font-size:8px; }.turn-cue { margin:13px; color:#8d7952; font-size:10px; }.recite-lines { display:grid; gap:7px; margin-top:17px; text-align:left; }.recite-lines > div { display:grid; grid-template-columns:75px 29px 1fr; align-items:center; gap:8px; padding:9px; border-radius:12px; background:#f5f1e7; }.recite-lines span { color:var(--english-blue); font-size:8px; font-weight:800; }.recite-lines button { width:28px; height:28px; border:0; border-radius:9px; background:white; cursor:pointer; }.recite-lines strong { font:600 11px/1.5 Georgia,serif; }

/* 积分与奖励系统 */
.points-wallet { display: flex; align-items: center; gap: 9px; padding: 7px 13px 7px 8px; border: 1px solid rgba(226, 175, 55, .24); border-radius: 25px; background: rgba(255, 245, 199, .78); cursor: pointer; box-shadow: 0 6px 15px rgba(130, 98, 30, .08); transition: .2s ease; }
.points-wallet:hover { transform: translateY(-2px); background: #fff1bd; }
.coin { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #9a7020; background: linear-gradient(145deg, #ffe68a, #efba38); border: 2px solid #fff3bf; box-shadow: inset 0 -3px rgba(150, 99, 18, .15); font-size: 13px; }
.points-wallet strong,.points-wallet small { display: block; text-align: left; }.points-wallet strong { color: #805f22; font-size: 14px; line-height: 1; }.points-wallet small { color: #a18859; font-size: 9px; margin-top: 3px; }
.quick-check b { margin-left: auto; color: #b2872e; font-size: 10px; background: var(--yellow-soft); border-radius: 9px; padding: 3px 6px; text-decoration: none; }
.pet-preview-card { grid-column: 1 / -1; min-height: 155px; padding: 25px 31px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; background: linear-gradient(105deg, #fffdf6, #e6f0da); position: relative; }
.pet-preview-copy { position: relative; z-index: 2; }.pet-preview-copy h2 { margin: 3px 0 5px; }.pet-preview-copy p { margin: 0 0 11px; color: var(--muted); font-size: 12px; }.pet-preview-copy .section-kicker { color: var(--green); }
.pet-preview-visual { position: relative; display: grid; place-items: center; width: 190px; height: 110px; margin-right: 5%; }.pet-preview-visual #homePetEmoji { position: relative; z-index: 2; border:0; padding:0; background:none; cursor:pointer; font-size:78px; animation:float 3.4s ease-in-out infinite; }.pet-preview-visual i { position: absolute; left: 0; right: 0; bottom: 3px; height: 30px; border-radius: 50%; background: #b8d39c; box-shadow: 0 12px 0 rgba(113,154,108,.1); }.home-pet-hearts { position:absolute; z-index:4; top:2px; right:22px; color:#f47f68; font-size:18px; letter-spacing:5px; opacity:0; pointer-events:none; }.pet-preview-visual.pet-clicked #homePetEmoji { animation:home-pet-hop .75s ease; }.pet-preview-visual.pet-clicked .home-pet-hearts { animation:heart-rise 1.2s ease forwards; }

.task-filters,.shop-filter { display: flex; gap: 9px; overflow-x: auto; padding: 20px 1px 5px; scrollbar-width: none; }.task-filters::-webkit-scrollbar,.shop-filter::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.68); border-radius: 16px; padding: 9px 13px; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; transition: .2s; }.filter-chip:hover { transform: translateY(-2px); }.filter-chip.active { background: var(--coral); border-color: var(--coral); color: white; box-shadow: 0 7px 17px rgba(244,127,104,.2); }
.checkin-board .full-checkin { grid-template-columns: 42px 1fr 64px; text-align: left; }
.task-source { color: var(--coral); font-size: 9px; font-weight: 700; }.task-reward { display: grid; place-items: center; width: 58px; min-height: 48px; border-radius: 15px; background: var(--yellow-soft); color: #9b7022; font-size: 15px; font-weight: 800; }.task-reward small { font-size: 8px; font-weight: 600; }.task-reward.earned { background: var(--green); color: white; }
.supply--medicine { background:#eef3f5; }.vitality-item { background:#e8f2df; }
.checkin-sync-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:20px; padding:16px 20px; border:1px solid #d8e7d0; border-radius:20px; background:linear-gradient(110deg,#f5faef,#fffdf7); }.checkin-sync-bar span,.checkin-sync-bar strong,.checkin-sync-bar small { display:block; }.checkin-sync-bar span { color:var(--green-deep); font-size:9px; font-weight:800; }.checkin-sync-bar strong { margin-top:3px; font-size:15px; }.checkin-sync-bar small { margin-top:3px; color:var(--muted); font-size:9px; }.checkin-sync-bar button { flex:0 0 auto; border:0; border-radius:12px; padding:9px 12px; color:white; background:var(--green); font-size:9px; font-weight:800; cursor:pointer; }.checkin-group-title { display:flex; justify-content:space-between; align-items:center; padding:5px 2px; color:var(--green-deep); font-size:11px; font-weight:800; }.checkin-group-title small { color:var(--muted); font-size:8px; }.checkin-group-title.extra { margin-top:10px; padding-top:15px; border-top:1px dashed var(--line); color:#8b7240; }.scheduled-checkin { border-color:#d8e7d0; }.scheduled-checkin:disabled { cursor:default; opacity:.68; }.scheduled-checkin.done { opacity:1; }.checkin-empty { padding:16px; border-radius:14px; color:var(--muted); background:var(--cream); text-align:center; font-size:9px; }.agenda-course.task-complete { background:var(--green-soft); }

.reward-hero { position: relative; min-height: 195px; padding: 39px 36px; border-radius: 36px 36px 36px 13px; overflow: hidden; background: linear-gradient(120deg, #ffd8ca, #f4e7c5 48%, #d9e8cf); display: flex; align-items: center; justify-content: space-between; }
.reward-hero > div { position: relative; z-index: 2; }.reward-hero h1 { margin: 4px 0; font: 44px "Ma Shan Zheng", cursive; color: #6d654c; }.reward-hero p { margin: 0; color: #847d67; font-size: 13px; }.reward-hero .section-kicker { color: #a86655; }
.reward-balance { min-width: 145px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; background: rgba(255,255,255,.55); display: flex; align-items: center; gap: 12px; box-shadow: 0 11px 25px rgba(113,87,51,.1); }.coin--large { width: 43px; height: 43px; font-size: 18px; }.reward-balance strong,.reward-balance small { display: block; }.reward-balance strong { font: 30px "Ma Shan Zheng", cursive; line-height: 1; color: #806127; }.reward-balance small { margin-top: 4px; font-size: 9px; color: #9b895f; }
.reward-cloud { position: absolute; color: rgba(255,255,255,.5); font-size: 75px; }.reward-cloud--one { left: 42%; top: -25px; }.reward-cloud--two { right: 22%; bottom: -26px; font-size: 55px; }
.reward-tabs { display: flex; justify-content: center; gap: 8px; margin: 23px auto 20px; padding: 6px; width: fit-content; border-radius: 21px; background: rgba(255,255,255,.66); border: 1px solid var(--line); }.reward-tab { min-width: 150px; padding: 11px 17px; border: 0; border-radius: 16px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }.reward-tab span { margin-right: 6px; }.reward-tab.active { background: var(--green); color: white; box-shadow: 0 8px 18px rgba(80,123,88,.2); }
.pet-room { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 20px; }.pet-home { min-height: 380px; padding: 30px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; overflow: hidden; }
.empty-pet-scene,.active-pet-scene { min-height: 300px; position: relative; display: grid; place-items: center; border-radius: 30px 30px 30px 10px; overflow: hidden; background: linear-gradient(#dcebf0 0 55%, #cbe0b4 56%); }.empty-pet { position: relative; z-index: 2; display: grid; place-items: center; width: 118px; height: 150px; border-radius: 50% 50% 40% 40%; background: rgba(255,255,255,.42); color: white; font: 54px "Ma Shan Zheng", cursive; border: 3px dashed rgba(255,255,255,.7); }.empty-pet::before,.empty-pet::after { content:""; position: absolute; top: -52px; width: 37px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.42); }.empty-pet::before { left: 16px; transform: rotate(-8deg); }.empty-pet::after { right: 16px; transform: rotate(8deg); }
.pet-grass { position: absolute; left: -8%; right: -8%; bottom: -18px; height: 84px; border-radius: 50% 50% 0 0; background: #a9ca8e; }.empty-pet-copy h2,.active-pet-copy h2 { margin: 5px 0 9px; font: 30px "Ma Shan Zheng", cursive; }.empty-pet-copy p,.active-pet-copy p { color: var(--muted); font-size: 12px; line-height: 1.8; }.primary-button.compact { width: auto; padding-inline: 19px; }
.active-pet { position: relative; z-index: 2; border:0; padding:0; background:none; cursor:pointer; font-size:116px; filter:drop-shadow(0 16px 10px rgba(75,71,48,.15)); animation:pet-breathe 2.7s ease-in-out infinite; }.pet-sun { position: absolute; top: 18px; right: 22px; color: #efc552; font-size: 39px; }.pet-flower { position: absolute; z-index: 3; left: 24px; bottom: 45px; color: #f47f68; font-style: normal; font-size: 29px; }.pet-status { display: inline-block; padding: 5px 9px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); font-size: 9px; }.care-label { display: flex; justify-content: space-between; margin-top: 25px; font-size: 10px; color: var(--muted); }.care-label strong { color: var(--green-deep); }.care-track { height: 9px; margin-top: 7px; border-radius: 10px; background: var(--green-soft); overflow: hidden; }.care-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #76a16e, #e8c252); transition: width .4s ease; }.care-hint { display: block; margin-top: 7px; color: #aaa89d; font-size: 9px; }
.pet-condition-icon { position:absolute; z-index:4; top:38px; left:28px; font-size:31px; filter:drop-shadow(0 5px 5px rgba(50,50,40,.12)); }.pet-health-hint { margin-top:12px; padding:9px 11px; border-radius:12px; color:#775f42; background:var(--cream); font-size:9px; line-height:1.6; }.pet-status.status--cold,.pet-status.status--tummy { color:#9b5848; background:#fde3d9; }.pet-status.status--low_energy { color:#675777; background:#e8e0ef; }.condition--cold .active-pet { animation:pet-sneeze 2.8s ease-in-out infinite; }.condition--tummy .active-pet { animation:pet-tummy 2.4s ease-in-out infinite; }.condition--low_energy .active-pet { animation:pet-tired 3.2s ease-in-out infinite; filter:grayscale(.18) drop-shadow(0 10px 8px rgba(75,71,48,.12)); }
.pet-status.status--happy { color:#a04f52; background:#ffe1df; }.pet-status.status--hungry { color:#96602d; background:#fff0c9; }.pet-status.status--sleeping { color:#675777; background:#e8e0ef; }.mood--happy .active-pet { animation:pet-happy 1.7s ease-in-out infinite; }.mood--hungry .active-pet { animation:pet-hungry 2.8s ease-in-out infinite; }.mood--sleeping .active-pet { animation:pet-sleep 3.6s ease-in-out infinite; }.pet-hearts,.pet-yum,.pet-food-flight { position:absolute; z-index:5; pointer-events:none; }.pet-hearts { top:46px; color:#f47f68; font-size:25px; letter-spacing:9px; animation:heart-rise 1.2s ease forwards; }.pet-food-flight { left:18%; top:48%; font-size:34px; animation:food-fly 1.25s ease forwards; }.pet-yum { right:13%; top:26%; padding:6px 9px; border-radius:13px; color:#a34d5b; background:white; font-size:11px; font-weight:800; animation:yum-pop 1.45s ease forwards; }.animation--hop .active-pet { animation:pet-interact-hop .9s ease !important; }.animation--eat .active-pet { animation:pet-chew .42s ease-in-out 3 !important; }
@keyframes pet-breathe { 50% { transform: translateY(-7px) scale(1.03); } }
@keyframes pet-sneeze { 0%,72%,100% { transform:translateY(0) rotate(0); } 78% { transform:translate(-7px,3px) rotate(-7deg); } 84% { transform:translate(6px,-3px) rotate(6deg); } }
@keyframes pet-tummy { 0%,100% { transform:rotate(-2deg); } 50% { transform:translateY(4px) rotate(2deg) scale(.97); } }
@keyframes pet-tired { 0%,100% { transform:translateY(5px) scale(.97); } 50% { transform:translateY(1px) scale(.99); } }
@keyframes pet-happy { 0%,100% { transform:translateY(0) rotate(-2deg); } 50% { transform:translateY(-10px) rotate(3deg) scale(1.04); } }
@keyframes pet-hungry { 0%,100% { transform:translateY(3px) rotate(-2deg); } 50% { transform:translateY(6px) rotate(2deg) scale(.98); } }
@keyframes pet-sleep { 0%,100% { transform:translateY(5px) rotate(-3deg) scale(.98); } 50% { transform:translateY(2px) rotate(-1deg) scale(1); } }
@keyframes pet-interact-hop { 0%,100% { transform:translateY(0) scale(1); } 38% { transform:translateY(-34px) rotate(8deg) scale(1.08); } 68% { transform:translateY(-5px) rotate(-5deg); } }
@keyframes pet-chew { 0%,100% { transform:scale(1); } 50% { transform:scale(1.08,.94) rotate(2deg); } }
@keyframes food-fly { 0% { transform:translate(0,20px) rotate(-15deg); opacity:0; } 25% { opacity:1; } 100% { transform:translate(100px,-5px) rotate(18deg) scale(.45); opacity:0; } }
@keyframes yum-pop { 0%,100% { opacity:0; transform:translateY(8px) scale(.7); } 25%,70% { opacity:1; transform:translateY(0) scale(1); } }
@keyframes heart-rise { 0% { opacity:0; transform:translateY(15px) scale(.7); } 25% { opacity:1; } 100% { opacity:0; transform:translateY(-38px) scale(1.15); } }
@keyframes home-pet-hop { 0%,100% { transform:translateY(0); } 45% { transform:translateY(-24px) rotate(7deg) scale(1.08); } }
.pet-side-column { display: grid; gap: 17px; align-content: start; }.inventory-card { padding: 24px; }.food-inventory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 17px; }.food-item { min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 10px 5px; background: var(--cream); cursor: pointer; }.food-item span,.food-item strong,.food-item small { display: block; }.food-item span { font-size: 25px; }.food-item strong { margin-top: 5px; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.food-item small { color: var(--green-deep); margin-top: 3px; font-size: 8px; }.food-item.empty { opacity: .45; }.pet-note { padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; background: #fff3cd; }.pet-note > span { font-size: 25px; }.pet-note strong { font-size: 12px; }.pet-note p { margin: 3px 0 0; color: #897b55; line-height: 1.7; font-size: 10px; }
.shop-filter { justify-content: center; padding-top: 2px; margin-bottom: 17px; }.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.shop-card { border-radius: 28px 28px 28px 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }.shop-item-visual { min-height: 170px; display: grid; place-items: center; background: var(--item-accent); position: relative; overflow: hidden; }.shop-item-visual::after { content:""; position: absolute; width: 120px; height: 50px; bottom: -27px; border-radius: 50%; background: rgba(255,255,255,.45); }.shop-item-visual span { position: relative; z-index: 2; font-size: 77px; filter: drop-shadow(0 12px 7px rgba(74,63,48,.12)); transition: transform .25s; }.shop-card:hover .shop-item-visual span { transform: translateY(-5px) rotate(3deg); }.shop-item-copy { padding: 19px; }.shop-type { color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: 1px; }.shop-item-copy h3 { margin: 4px 0; font-size: 15px; }.shop-item-copy p { margin: 0; min-height: 34px; color: var(--muted); font-size: 10px; line-height: 1.6; }.shop-buy { width: 100%; margin-top: 14px; padding: 9px; border: 0; border-radius: 12px; background: var(--green); color: white; cursor: pointer; font-size: 10px; font-weight: 700; }.shop-buy:hover:not(:disabled) { background: var(--green-deep); }.shop-buy.owned { background: var(--green-soft); color: var(--green-deep); }.shop-buy:disabled { cursor: default; opacity: .72; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; max-width: calc(100vw - 32px); padding: 12px 19px; border-radius: 18px; color: white; background: var(--green-deep); box-shadow: 0 14px 35px rgba(65,71,56,.22); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: .28s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.toast.warning { background: #c87657; }.toast.info { background: #718c9b; }

.cloud-gate { position:fixed; z-index:500; inset:0; overflow:auto; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at 15% 12%,rgba(255,225,184,.8),transparent 32%),radial-gradient(circle at 88% 85%,rgba(198,224,190,.85),transparent 35%),#fff9ea; }
.cloud-gate[hidden] { display:none; }
.cloud-login-card { position:relative; width:min(560px,100%); padding:45px; overflow:hidden; border:1px solid rgba(255,255,255,.9); border-radius:38px 38px 38px 14px; background:rgba(255,255,252,.92); box-shadow:0 30px 90px rgba(88,76,49,.17); }
.cloud-login-card h1 { margin:8px 0 10px; font:40px/1.2 "Ma Shan Zheng",cursive; }.cloud-login-card > p { margin:0 0 25px; color:var(--muted); line-height:1.8; font-size:13px; }
.cloud-login-art { float:right; position:relative; width:120px; height:100px; margin:-12px -4px 4px 15px; }.cloud-login-art span { position:absolute; font-size:70px; opacity:.55; }.cloud-login-art b { position:absolute; left:35px; top:30px; font-size:54px; filter:drop-shadow(0 8px 6px rgba(70,60,40,.12)); }.cloud-login-art i { position:absolute; right:3px; top:2px; color:var(--yellow); font-size:25px; }
.role-choice { display:grid; grid-template-columns:1fr 1fr; gap:14px; clear:both; }.role-choice button { min-height:145px; padding:20px; border:1px solid var(--line); border-radius:26px 26px 26px 9px; background:#fff5da; cursor:pointer; transition:.2s ease; }.role-choice button:last-child { background:#e5efdf; }.role-choice button:hover { transform:translateY(-4px); box-shadow:var(--shadow); }.role-choice span,.role-choice strong,.role-choice small { display:block; }.role-choice span { font-size:43px; }.role-choice strong { margin:10px 0 4px; }.role-choice small { color:var(--muted); font-size:11px; }
.cloud-login-form,.parent-form { display:grid; gap:13px; clear:both; }.cloud-login-form label,.parent-form label { display:grid; gap:6px; color:#656b61; font-size:11px; font-weight:700; }.cloud-login-form input,.parent-form input,.parent-form select { width:100%; padding:13px 14px; border:1px solid rgba(79,83,70,.16); border-radius:14px; color:var(--ink); background:white; outline:none; }.cloud-login-form input:focus,.parent-form input:focus,.parent-form select:focus { border-color:var(--coral); box-shadow:0 0 0 3px rgba(244,127,104,.13); }
.cloud-login-form[hidden],.role-choice[hidden],[data-cloud-username-wrap][hidden] { display:none; }
.cloud-primary,.cloud-secondary,.cloud-link { border:0; border-radius:14px; padding:12px 17px; cursor:pointer; font-weight:700; }.cloud-primary { color:white; background:var(--green); }.cloud-primary:hover { background:var(--green-deep); }.cloud-secondary { margin-left:7px; color:var(--green-deep); background:var(--green-soft); }.cloud-link { color:var(--muted); background:transparent; }.cloud-error,.cloud-success { margin:0 0 16px; padding:11px 14px; border-radius:13px; color:#a04e40; background:#ffe5dc; font-size:12px; }.cloud-success { color:#47724e; background:#e4f0dc; }
.cloud-loading { text-align:center; }.cloud-loading b { font-size:60px; }.cloud-loading h1 { font-size:29px; }.cloud-account-card { text-align:center; }.cloud-account-avatar { display:block; font-size:60px; }.cloud-account-card .cloud-primary,.cloud-account-card .cloud-secondary { display:block; width:100%; margin:9px 0 0; }
.cloud-status { padding:6px 9px; border-radius:12px; color:#52745b; background:#e4f0dc; font-size:10px; font-weight:700; }.cloud-status[data-kind="busy"] { color:#7d692f; background:#fff0bd; }.cloud-status[data-kind="error"] { color:#995546; background:#ffe0d7; }.cloud-status[data-kind="local"] { color:#627987; background:#deebef; }
.parent-center { width:min(1120px,100%); margin:auto; padding:35px; border:1px solid rgba(255,255,255,.85); border-radius:34px 34px 34px 12px; background:rgba(255,255,252,.94); box-shadow:0 30px 90px rgba(76,67,47,.16); }.parent-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }.parent-head h1 { margin:5px 0; font:38px "Ma Shan Zheng",cursive; }.parent-head p { margin:0; color:var(--muted); font-size:12px; }.parent-stat { display:flex; align-items:center; gap:13px; margin:25px 0 18px; padding:18px 22px; border-radius:22px 22px 22px 8px; background:linear-gradient(120deg,#607f63,#86a880); color:white; }.parent-stat > span { font-size:34px; color:var(--yellow); }.parent-stat small,.parent-stat strong { display:block; }.parent-stat strong { font-size:27px; }.parent-stat i { margin-left:auto; padding:7px 11px; border-radius:12px; background:rgba(255,255,255,.16); font-size:11px; font-style:normal; }.parent-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.parent-panel { padding:22px; border:1px solid var(--line); border-radius:24px 24px 24px 9px; background:#fffdf8; }.parent-panel--wide { grid-column:1/-1; }.parent-panel h2 { margin:0 0 15px; font-size:17px; }.approval-list,.ledger-list { display:grid; gap:8px; }.approval-list article,.ledger-list article { display:flex; align-items:center; gap:10px; padding:11px; border-radius:14px; background:var(--cream); }.approval-list article > div,.ledger-list article > div { flex:1; }.approval-list strong,.approval-list small,.ledger-list strong,.ledger-list small { display:block; }.approval-list small,.ledger-list small { margin-top:3px; color:var(--muted); font-size:9px; }.approval-list button,.ledger-list button { border:0; border-radius:10px; padding:7px 10px; color:white; background:var(--green); cursor:pointer; font-size:10px; }.approval-list button.reject { background:#c97965; }.ledger-list > article > span { min-width:45px; font-weight:800; }.ledger-list .plus { color:var(--green-deep); }.ledger-list .minus { color:#b85f4e; }.ledger-list i { color:var(--muted); font-size:9px; }.empty-note,.panel-copy { color:var(--muted); font-size:11px; line-height:1.7; }.form-pair { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.parent-actions { display:flex; flex-wrap:wrap; gap:8px; }.parent-loading { padding:60px; text-align:center; color:var(--muted); }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

.data-backup-overlay { position:fixed; z-index:260; inset:0; display:grid; place-items:center; padding:20px; background:rgba(55,62,53,.45); backdrop-filter:blur(8px); opacity:0; transition:opacity .22s ease; }.data-backup-overlay.show { opacity:1; }.data-backup-card { position:relative; width:min(520px,100%); padding:34px; overflow:hidden; border:1px solid rgba(255,255,255,.8); border-radius:32px 32px 32px 12px; color:var(--ink); background:linear-gradient(145deg,#fffdf8 0%,#fff8e8 62%,#f1f6e9 100%); box-shadow:0 28px 80px rgba(49,57,44,.25); transform:translateY(12px) scale(.98); transition:transform .22s ease; }.data-backup-overlay.show .data-backup-card { transform:none; }.data-backup-card::after { content:""; position:absolute; z-index:0; width:170px; height:170px; right:-70px; bottom:-80px; border-radius:50%; background:rgba(245,189,165,.22); }.data-backup-card > * { position:relative; z-index:1; }.backup-close { position:absolute; top:15px; right:15px; width:36px; height:36px; border:0; border-radius:13px; color:#6d7167; background:#f1eee4; cursor:pointer; font-size:22px; }.backup-bunny { float:right; margin:12px 42px 0 15px; font-size:55px; filter:drop-shadow(0 9px 10px rgba(94,81,57,.12)); animation:pet-breathe 2.8s ease-in-out infinite; }.backup-bunny span { display:inline-block; margin-left:-8px; color:#e7aa63; font-size:20px; vertical-align:top; }.data-backup-card h2 { margin:7px 0 8px; font-size:27px; }.data-backup-card > p { margin:0; color:var(--muted); line-height:1.7; font-size:12px; }.backup-summary { display:flex; align-items:center; gap:13px; margin:23px 0 16px; padding:15px 17px; border:1px dashed #ead7ac; border-radius:19px 19px 19px 7px; background:rgba(255,255,255,.72); }.backup-summary > span { display:grid; place-items:center; width:43px; height:43px; border-radius:15px; background:#fff0b9; font-size:20px; }.backup-summary small,.backup-summary strong { display:block; }.backup-summary small { margin-bottom:3px; color:#9a8b6e; font-size:9px; letter-spacing:.8px; }.backup-summary strong { font-size:13px; }.backup-actions { display:grid; grid-template-columns:1fr 1fr; gap:11px; }.backup-action { display:flex; align-items:center; gap:11px; min-height:83px; padding:14px; border:0; border-radius:20px 20px 20px 7px; cursor:pointer; text-align:left; transition:transform .18s ease,box-shadow .18s ease; }.backup-action:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(83,79,63,.12); }.backup-action > span { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; border-radius:13px; background:rgba(255,255,255,.7); font-size:20px; }.backup-action strong,.backup-action small { display:block; }.backup-action strong { margin-bottom:4px; font-size:12px; }.backup-action small { color:#767b70; font-size:9px; line-height:1.45; }.backup-action--export { background:#e5f0dc; }.backup-action--import { background:#f8e1dc; }.data-backup-card .backup-warning { margin-top:14px; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.58); font-size:9px; }
.pet-celebration { position:fixed; z-index:120; right:24px; bottom:24px; display:grid; grid-template-columns:auto 1fr; align-items:center; gap:12px; min-width:260px; padding:14px 18px; border:1px solid rgba(255,255,255,.8); border-radius:25px 25px 25px 9px; background:linear-gradient(120deg,#fff5c9,#ffe2dc); box-shadow:0 18px 45px rgba(84,68,48,.2); opacity:0; pointer-events:none; transform:translateY(35px) scale(.88); transition:.3s ease; }.pet-celebration.show { opacity:1; transform:translateY(0) scale(1); }.pet-celebration > b { grid-row:1 / 3; font-size:55px; animation:celebration-bounce .65s ease-in-out infinite alternate; }.pet-celebration strong,.pet-celebration small { display:block; }.pet-celebration strong { color:#8d5a42; font-size:13px; }.pet-celebration small { margin-top:3px; max-width:180px; color:#8d7b68; font-size:9px; line-height:1.4; }.celebration-hearts { position:absolute; top:-15px; left:18px; color:#ef7180; font-size:18px; letter-spacing:6px; animation:heart-rise 1.4s ease-in-out infinite; }@keyframes celebration-bounce { to { transform:translateY(-9px) rotate(5deg) scale(1.06); } }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 185px 1fr; }.sidebar { padding-inline: 16px; }.module-grid { grid-template-columns: repeat(3, 1fr); }.module-card:nth-child(4),.module-card:nth-child(5) { min-height: 138px; }.hero-card { padding-right: 42%; }.bunny-scene { right: 4%; }.dashboard-grid { grid-template-columns: 1fr; }.schedule-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .cloud-gate { padding:10px; place-items:start center; }.cloud-login-card { margin-top:6vh; padding:28px 20px; border-radius:29px 29px 29px 10px; }.cloud-login-card h1 { font-size:31px; }.cloud-login-art { width:90px; transform:scale(.8); transform-origin:right top; }.role-choice { grid-template-columns:1fr; }.role-choice button { min-height:112px; }.parent-center { padding:20px 14px; border-radius:25px; }.parent-head { align-items:flex-start; }.parent-head h1 { font-size:31px; }.parent-head p { max-width:160px; }.parent-head > div:last-child { display:grid; gap:6px; }.parent-head .cloud-secondary { margin:0; padding:9px 11px; }.parent-grid { grid-template-columns:1fr; }.parent-panel--wide { grid-column:auto; }.parent-panel { padding:17px 14px; }.approval-list article { flex-wrap:wrap; }.ledger-list article { gap:8px; }.cloud-status { display:none; }
  body { padding-bottom: 77px; }.app-shell { display: block; }.sidebar { display: none; }.topbar { height: 74px; padding: 14px 18px; justify-content: space-between; position: sticky; top: 0; background: rgba(255,249,234,.84); backdrop-filter: blur(15px); z-index: 20; }.mobile-brand { display: flex; align-items: center; gap: 9px; font: 22px "Ma Shan Zheng", cursive; }.mobile-brand span { width: 34px; height: 34px; font-size: 20px; border-radius: 12px 12px 12px 5px; }.date-pill { display: none; }.avatar-copy { display: none; }.avatar { width: 40px; height: 40px; }.page-root { padding: 10px 16px 26px; }.hero-card { min-height: 410px; padding: 31px 25px; border-radius: 30px 30px 30px 11px; }.hero-copy h1 { font-size: 38px; }.hero-copy p { max-width: 280px; line-height: 1.7; }.hero-progress { margin-top: 22px; }.bunny-scene { width: 180px; height: 225px; right: 50%; transform: translateX(50%) scale(.85); bottom: 0; }.module-section { margin-top: 30px; }.module-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }.module-card { min-height: 142px; padding: 16px; border-radius: 22px 22px 22px 8px; }.module-card:last-child { grid-column: 1 / -1; min-height: 112px; }.module-card:last-child h3 { margin-top: 12px; }.module-card-icon { width: 43px; height: 43px; }.dashboard-grid { margin-top: 20px; }.today-card,.checkin-card { padding: 22px 19px; }.timeline-item { grid-template-columns: 38px 3px 1fr; gap: 10px; }.timeline-badge { display: none; }.bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(5, 1fr); z-index: 30; bottom: 0; left: 0; right: 0; height: 72px; padding: 8px 8px max(8px, env(safe-area-inset-bottom)); background: rgba(255,253,247,.92); border-top: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: 0 -10px 30px rgba(86,78,56,.08); }.bottom-nav .nav-button { display: grid; place-items: center; gap: 0; padding: 2px; text-align: center; font-size: 9px; border-radius: 12px; }.bottom-nav .nav-button .nav-icon { width: 30px; height: 27px; background: transparent; font-size: 18px; }.bottom-nav .nav-button.active { box-shadow: none; background: var(--coral-soft); }.back-button { margin-bottom: 11px; }.module-hero { min-height: 165px; padding: 26px 24px; }.module-hero h1 { font-size: 33px; }.module-hero-visual { font-size: 55px; }.lesson-layout { grid-template-columns: 1fr; }.lesson-list-card { padding: 22px 18px; }.encouragement-card { display: none; }.lesson-item { grid-template-columns: 42px 1fr auto; gap: 9px; }.lesson-number { width: 38px; height: 38px; }.lesson-action { padding: 7px 9px; }.simple-page-head { padding: 25px 22px; min-height: 150px; }.simple-page-head > div:first-child { gap: 14px; }.simple-page-head h1 { font-size: 30px; }.head-icon { width: 55px; height: 55px; border-radius: 18px; font-size: 29px; }.head-doodle { display: none; }.week-strip { gap: 4px; overflow-x: auto; padding: 5px 1px; }.day-chip { min-width: 45px; padding: 10px 3px; }.schedule-grid { grid-template-columns: 1fr; }.star-total { width: 72px; height: 72px; }.checkin-board { grid-template-columns: 1fr; padding: 23px 18px; }.checkin-progress-ring { margin: 0 auto; }.full-checkin { padding: 11px; }
}

@media (max-width: 1080px) {
  .pet-room { grid-template-columns: 1fr; }
  .pet-side-column { grid-template-columns: 1fr 1fr; }
  .pet-preview-card { grid-column: auto; }
  .calendar-layout { grid-template-columns: 1fr; }
  .day-agenda { position: static; }
  .reminder-ribbon { grid-template-columns: 140px 1fr 1fr; }
  .issue-summary { grid-column: 1 / -1; min-height: 47px; display: flex; gap: 5px; align-items: center; }
  .issue-summary span { grid-row: auto; }
  .course-points-guide { grid-template-columns: repeat(5,1fr); }
  .points-guide-title { grid-column: 1 / -1; }
  .chinese-track-grid { grid-template-columns:1fr 1fr; }
  .track-card--all { grid-column:1 / -1; }
  .hard-requirements { grid-template-columns:repeat(2,1fr); }
  .unit-roadmap-grid { grid-template-columns:repeat(2,1fr); }
  .english-track-grid { grid-template-columns:1fr 1fr; }.english-track:first-child { grid-column:1 / -1; }
  .english-unit-grid { grid-template-columns:repeat(2,1fr); }
  .english-audit { flex-wrap:wrap; }.english-audit p { width:100%; margin:2px 5px; text-align:center; }
}

@media (max-width: 760px) {
  .topbar { gap: 8px; }
  .points-wallet { padding: 5px 8px 5px 5px; gap: 6px; }
  .points-wallet .coin { width: 27px; height: 27px; }
  .points-wallet small { display: none; }
  .points-wallet strong { font-size: 12px; }
  .avatar { width: 36px; height: 36px; font-size: 21px; }
  .pet-preview-card { min-height: 145px; padding: 20px; }
  .pet-preview-visual { width: 110px; margin-right: 0; }
  .home-pet-hearts { font-size:15px; }
  .pet-preview-visual #homePetEmoji { font-size:62px; }.pet-celebration { left:16px; right:16px; bottom:88px; min-width:0; }.pet-celebration > b { font-size:45px; }
  .checkin-board .full-checkin { grid-template-columns: 39px 1fr 54px; }
  .task-reward { width: 50px; min-height: 44px; font-size: 13px; }
  .task-filters { margin-right: -16px; padding-right: 16px; }
  .checkin-sync-bar { align-items:flex-start; padding:14px 15px; gap:10px; }.checkin-sync-bar small { max-width:190px; line-height:1.5; }.checkin-sync-bar button { padding:8px 9px; }
  .reward-hero { min-height: 220px; padding: 27px 23px; align-items: flex-start; }
  .reward-hero h1 { font-size: 37px; }
  .reward-hero p { max-width: 205px; line-height: 1.7; }
  .reward-balance { position: absolute !important; right: 19px; bottom: 21px; min-width: 111px; padding: 9px 11px; }
  .coin--large { width: 35px; height: 35px; }
  .reward-balance strong { font-size: 24px; }
  .reward-tabs { width: 100%; }
  .reward-tab { min-width: 0; flex: 1; padding-inline: 8px; }
  .pet-room { grid-template-columns: 1fr; }
  .pet-home { min-height: 0; padding: 18px; grid-template-columns: 1fr; gap: 18px; }
  .empty-pet-scene,.active-pet-scene { min-height: 250px; }
  .empty-pet-copy,.active-pet-copy { padding: 3px 5px 10px; }
  .pet-side-column { grid-template-columns: 1fr; }
  .shop-filter { justify-content: flex-start; margin-right: -16px; padding-right: 16px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { display: grid; grid-template-columns: 120px 1fr; }
  .shop-item-visual { min-height: 175px; }
  .shop-item-visual span { font-size: 61px; }
  .shop-item-copy { padding: 17px 15px; }
  .toast { bottom: 88px; text-align: center; }
  .data-backup-overlay { padding:12px; }.data-backup-card { padding:29px 18px 22px; border-radius:27px 27px 27px 10px; }.backup-bunny { margin-right:35px; font-size:45px; }.data-backup-card h2 { font-size:23px; }.backup-actions { grid-template-columns:1fr; }.backup-action { min-height:70px; }
  .schedule-overview-head { min-height: 190px; padding: 25px 22px; align-items: flex-start; }
  .schedule-overview-head h1 { font-size: 33px; }
  .schedule-overview-head p { max-width: 210px; line-height: 1.7; }
  .term-pill { position: absolute !important; right: 18px; bottom: 18px; min-width: 151px; padding: 9px 12px; }
  .term-pill > span { font-size: 23px; }
  .reminder-ribbon { grid-template-columns: 1fr; padding: 10px; }
  .reminder-label { padding-block: 3px; }
  .next-reminder { min-height: 58px; }
  .issue-summary { grid-column: auto; min-height: 43px; }
  .calendar-toolbar { align-items: flex-end; }
  .calendar-nav { flex-wrap: wrap; }
  .calendar-nav h2 { width: 100%; order: -1; margin: 0 0 4px; font-size: 17px; }
  .calendar-nav button { width: 31px; height: 31px; }
  .calendar-nav .today-jump { width: auto; }
  .view-switch button { width: 43px; }
  .calendar-board { padding: 6px; border-radius: 20px 20px 20px 8px; }
  .calendar-weekdays { padding-bottom: 5px; font-size: 7px; }
  .month-day { min-height: 77px; padding: 4px 3px; }
  .day-number { min-width: 20px; height: 20px; padding: 0 4px; font-size: 8px; }
  .day-number i { display: none; }
  .calendar-event { height: 6px; margin-top: 4px; padding: 0; border-radius: 4px; color: transparent; font-size: 0; }
  .calendar-event i,.calendar-event b { display: none; }
  .more-events { font-size: 6px; text-align: center; }
  .winter-label { margin-top: 8px; font-size: 7px; }
  .day-agenda { padding: 19px 16px; }
  .agenda-course { grid-template-columns: 45px 1fr; }
  .week-calendar { min-width: 0; grid-template-columns: 1fr; }
  .week-column { min-height: 0; display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
  .week-event-list { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 0; }
  .week-event { min-height: 69px; }
  .schedule-legend { gap: 10px; }
  .schedule-legend > span { width: 100%; margin-left: 0; }
  .course-points-guide { grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: 20px; }
  .points-guide-title { grid-column: 1 / -1; }
  .points-rule { min-height: 48px; }
  .chinese-hero { min-height:255px; padding:25px 22px 105px; align-items:flex-start; }
  .chinese-hero h1 { font-size:36px; }.chinese-hero p { max-width:270px; line-height:1.65; }
  .chinese-progress { margin-top:18px; }
  .reading-bunny { position:absolute; right:12px; bottom:-6px; width:130px; height:115px; margin:0; }
  .reading-bunny span { font-size:83px; }.reading-bunny i { left:52px; bottom:7px; font-size:39px; }.reading-bunny em { right:86px; top:20px; width:75px; }
  .chinese-track-grid { grid-template-columns:1fr; gap:9px; }.track-card--all { grid-column:auto; }.track-card { min-height:90px; padding:13px; grid-template-columns:43px 1fr auto; }.track-card > span { width:42px; height:42px; }
  .hard-requirements { grid-template-columns:1fr 1fr; }
  .hard-requirements { grid-template-columns:1fr; }.hard-requirements > div { grid-template-columns:24px 42px 1fr; }
  .chinese-daily-card { padding:20px 14px 22px; }.chinese-date-head { grid-template-columns:33px 1fr 33px; gap:7px; }.chinese-date-head > button { width:32px; height:32px; }.chinese-date-head h2 { font-size:19px; }.chinese-date-head p { min-height:30px; line-height:1.45; }
  .chinese-date-rail { gap:4px; margin-top:16px; }.chinese-day { padding-inline:2px; border-radius:12px; }
  .daily-summary { justify-content:flex-start; }.daily-summary button { width:100%; margin:2px 0 0; text-align:center; }
  .chinese-task { grid-template-columns:42px 1fr; padding:13px 12px; gap:10px; }.chinese-task-icon { width:40px; height:40px; }.chinese-task button { grid-column:1 / -1; width:100%; }.chinese-task p { line-height:1.6; }
  .unit-roadmap-grid { grid-template-columns:1fr 1fr; gap:8px; }.unit-roadmap-card { min-height:82px; padding:10px; grid-template-columns:30px 1fr; }.unit-roadmap-card > span { font-size:22px; }.roadmap-note { display:none; }
  .english-hero { min-height:255px; padding:25px 22px 105px; align-items:flex-start; }.english-hero h1 { font-size:36px; }.english-hero p { max-width:270px; line-height:1.65; }.english-progress { margin-top:18px; }.english-bunny { position:absolute; right:14px; bottom:-6px; width:130px; height:115px; margin:0; font-size:83px; }.english-bunny i { right:72px; top:10px; font-size:10px; }.english-hero::before { display:none; }
  .english-scope { margin-top:13px; }.english-track-grid { grid-template-columns:1fr; gap:9px; }.english-track:first-child { grid-column:auto; }.english-track { min-height:88px; padding:13px; grid-template-columns:43px 1fr auto; }.english-track > span { width:42px; height:42px; }
  .english-audit { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }.english-audit > div { min-width:0; padding-inline:4px; }.english-audit p { grid-column:1 / -1; width:auto; }
  .english-daily { padding:20px 14px 22px; }.english-date-head { grid-template-columns:33px 1fr 33px; gap:7px; }.english-date-head > button { width:32px; height:32px; }.english-date-head h2 { font-size:19px; }.english-date-head p { min-height:30px; line-height:1.45; }.english-date-rail { gap:4px; margin-top:16px; }.english-day { padding-inline:2px; border-radius:12px; }
  .english-task { grid-template-columns:42px minmax(0,1fr); padding:13px 12px; gap:10px; }.english-task-icon { width:40px; height:40px; }.english-task > button { grid-column:1 / -1; width:100%; }.english-task p { line-height:1.6; }.english-word-strip { grid-column:1 / -1; }.english-unit-grid { grid-template-columns:1fr 1fr; gap:8px; }.english-unit { min-height:83px; padding:10px; }
  .english-studio { padding:17px 12px 21px; }.studio-head { grid-template-columns:1fr auto; gap:10px; }.studio-head > button { grid-column:1 / -1; width:max-content; }.studio-head h2 { font-size:21px; }.studio-head p { line-height:1.55; }.studio-head > b { font-size:31px; }.studio-target { display:grid; grid-template-columns:1fr; gap:11px; padding:13px; }.studio-target > button { width:100%; }.phonics-word-grid { grid-template-columns:1fr; }.phonics-word-card { padding:13px; }.unit-bank-head { align-items:flex-start; }.unit-word-bank { grid-template-columns:repeat(2,minmax(0,1fr)); }.dialogue-title { align-items:flex-start; }.full-dialogue { padding:12px 10px; }.full-dialogue-lines article { grid-template-columns:24px minmax(0,1fr) 29px; padding:8px 7px; gap:6px; }.full-dialogue-lines strong { font-size:10px; }
  .english-practice-overlay { padding:12px; }.english-practice-card { max-height:88vh; padding:28px 17px 22px; border-radius:25px 25px 25px 9px; }.english-practice-card h2 { padding-inline:25px; font-size:20px; }.big-listen-button { width:96px; height:96px; }.practice-actions { flex-direction:column; }.practice-actions button { width:100%; }.recite-lines > div { grid-template-columns:58px 28px 1fr; }.recite-lines strong { font-size:10px; }
}

/* Full-body rabbit and feeding growth system */
.pet-character-image,.shop-pet-image,.celebration-pet-image { display:block; width:100%; height:100%; object-fit:contain; user-select:none; pointer-events:none; }
.pet-character-emoji { line-height:1; }
.pet-preview-visual #homePetEmoji { display:grid; place-items:center; width:86px; height:96px; transition:width .55s ease,height .55s ease; }
.pet-preview-visual #homePetEmoji.growth--baby { width:72px; height:82px; }
.pet-preview-visual #homePetEmoji.growth--child { width:82px; height:92px; }
.pet-preview-visual #homePetEmoji.growth--growing { width:92px; height:102px; }
.pet-preview-visual #homePetEmoji.growth--grown { width:104px; height:112px; }
.adoption-bunny { position:relative; z-index:2; width:132px; height:160px; filter:drop-shadow(0 14px 9px rgba(75,71,48,.15)); animation:pet-breathe 2.7s ease-in-out infinite; }
.adoption-tag { position:absolute; z-index:4; left:50%; bottom:28px; transform:translateX(-50%); white-space:nowrap; padding:6px 10px; border-radius:13px; color:#8d5a42; background:rgba(255,253,247,.9); box-shadow:0 6px 15px rgba(72,70,50,.1); font-size:9px; font-weight:800; }
.active-pet { display:grid; place-items:center; width:150px; height:180px; transition:width .65s ease,height .65s ease; }
.active-pet.growth--baby { width:122px; height:150px; }
.active-pet.growth--child { width:148px; height:178px; }
.active-pet.growth--growing { width:174px; height:208px; }
.active-pet.growth--grown { width:200px; height:236px; }
.growth-card { margin-top:12px; padding:11px 12px; border:1px solid #dce9d2; border-radius:15px; background:linear-gradient(110deg,#f5faef,#fffdf7); }
.growth-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; color:#60785a; font-size:9px; font-weight:800; }
.growth-card-head strong { color:#a47c31; white-space:nowrap; }
.growth-track { height:7px; margin-top:8px; border-radius:10px; overflow:hidden; background:#e7ebde; }
.growth-track i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#91bd72,#f0ca64,#f29b81); transition:width .65s ease; }
.growth-card small { display:block; margin-top:6px; color:#9a927f; font-size:8px; }
.growth-card + .care-label { margin-top:16px; }
.pet-grow-sparkles { position:absolute; z-index:5; top:26px; padding:7px 12px; border-radius:15px; color:#a66b45; background:rgba(255,250,210,.95); font-size:11px; font-weight:900; letter-spacing:2px; pointer-events:none; animation:grow-label 2s ease forwards; }
.animation--grow .active-pet { animation:pet-grow 1.15s ease-in-out 2 !important; }
.shop-pet-image { position:relative; z-index:2; width:132px; height:145px; filter:drop-shadow(0 12px 7px rgba(74,63,48,.12)); transition:transform .25s; }
.shop-card:hover .shop-pet-image { transform:translateY(-5px) rotate(3deg); }
.pet-celebration > b { display:grid; place-items:center; width:62px; height:68px; }
@keyframes pet-grow { 0%,100% { transform:scale(1); filter:drop-shadow(0 16px 10px rgba(75,71,48,.15)); } 50% { transform:translateY(-12px) scale(1.13); filter:drop-shadow(0 0 18px rgba(255,210,86,.9)); } }
@keyframes grow-label { 0%,100% { opacity:0; transform:translateY(8px) scale(.75); } 22%,78% { opacity:1; transform:translateY(0) scale(1); } }
@media (max-width:760px) {
  .active-pet.growth--baby { width:112px; height:138px; }
  .active-pet.growth--child { width:134px; height:161px; }
  .active-pet.growth--growing { width:156px; height:187px; }
  .active-pet.growth--grown { width:178px; height:214px; }
  .adoption-bunny { width:120px; height:146px; }
  .shop-pet-image { width:104px; height:130px; }
}

/* Pet home decoration */
.pet-house { position:absolute; z-index:1; right:7%; top:69px; display:grid; place-items:center; transform-origin:bottom center; filter:drop-shadow(0 12px 8px rgba(79,70,48,.16)); animation:house-arrive .55s ease both; }
.pet-house.house--level-1 { width:86px; height:94px; font-size:75px; }
.pet-house.house--level-2 { right:4%; top:51px; width:119px; height:125px; font-size:103px; }
.pet-house.house--level-3 { right:1%; top:31px; width:152px; height:151px; font-size:132px; }
.starter-meadow { position:absolute; z-index:2; right:16px; top:17px; padding:5px 8px; border-radius:10px; color:#6c895f; background:rgba(255,255,255,.68); font-size:8px; font-weight:800; }
.home-decor { position:absolute; z-index:3; display:grid; place-items:center; border:0; padding:0; background:transparent; filter:drop-shadow(0 8px 5px rgba(75,71,48,.16)); font-style:normal; line-height:1; }
button.home-decor { cursor:pointer; }
.home-bed { right:7%; bottom:27px; font-size:45px; }
.home-fence { z-index:4; left:4%; right:4%; bottom:16px; overflow:hidden; color:#fffdfa; font-family:Georgia,serif; font-size:27px; font-weight:900; letter-spacing:4px; text-shadow:0 2px 1px #baa985; filter:drop-shadow(0 4px 3px rgba(75,71,48,.18)); }
.home-ball { left:12%; bottom:54px; font-size:30px; animation:toy-idle 2.4s ease-in-out infinite; }
.home-carrot { left:28%; bottom:34px; font-size:34px; transform:rotate(-12deg); }
.home-tunnel { left:6%; bottom:86px; font-size:48px; }
.home-decor.toy-playing { animation:toy-play .85s ease !important; }
.home-editor-card { padding:22px; }
.home-editor-card .card-title > span { flex:0 0 auto; }
.house-level-badge { padding:6px 8px; border-radius:10px; color:#7f623b; background:#f7ebcf; font-size:8px; font-weight:800; }
.home-editor-intro,.home-editor-empty { margin:8px 0 13px; color:var(--muted); font-size:9px; line-height:1.65; }
.home-editor-empty.compact { width:100%; margin:0; padding:11px; border-radius:12px; background:var(--cream); text-align:center; }
.decor-controls { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.decor-toggle { min-width:0; padding:9px 7px; border:1px solid var(--line); border-radius:14px; color:#777268; background:#f7f4eb; cursor:pointer; text-align:left; opacity:.72; }
.decor-toggle.placed { border-color:#bdd5b1; color:#496747; background:#eef6e8; opacity:1; }
.decor-toggle span,.decor-toggle strong,.decor-toggle small { display:block; }
.decor-toggle span { float:left; margin-right:6px; font-size:21px; }
.decor-toggle strong { overflow:hidden; font-size:8px; white-space:nowrap; text-overflow:ellipsis; }
.decor-toggle small { margin-top:3px; color:inherit; font-size:7px; white-space:nowrap; }
.home-shop-button { width:100%; margin-top:10px; padding:9px 10px; border:1px dashed #c9b88f; border-radius:13px; color:#806c45; background:#fffaf0; cursor:pointer; font-size:9px; font-weight:800; }
.upgrade-badge { position:absolute; z-index:4; top:12px; left:12px; padding:5px 7px; border-radius:9px; color:#7e6438; background:rgba(255,255,255,.84); font-size:8px; font-weight:800; }
.shop-card--locked .shop-item-visual { filter:grayscale(.6); }
.shop-card--locked .shop-item-visual::before { content:"🔒"; position:absolute; z-index:5; right:13px; top:11px; font-size:18px; }
@keyframes house-arrive { from { opacity:0; transform:translateY(14px) scale(.82); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes toy-idle { 0%,100% { transform:translateY(0) rotate(-5deg); } 50% { transform:translateY(-4px) rotate(6deg); } }
@keyframes toy-play { 0%,100% { transform:translate(0,0) rotate(0); } 28% { transform:translate(18px,-28px) rotate(120deg) scale(1.12); } 58% { transform:translate(35px,0) rotate(240deg); } 80% { transform:translate(16px,-12px) rotate(315deg); } }

/* Points ledger and completion insights */
.points-ledger { display:grid; gap:16px; }
.ledger-loading { padding:54px 22px; border:1px solid var(--line); border-radius:26px; color:var(--muted); background:#fffdf8; text-align:center; }
.ledger-loading button { margin-left:8px; border:0; padding:7px 12px; border-radius:11px; color:white; background:var(--green); cursor:pointer; }
.ledger-error { color:#a35d50; }
.ledger-overview { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.ledger-overview article { display:flex; flex-direction:column; min-height:125px; padding:21px; border:1px solid var(--line); border-radius:24px 24px 24px 8px; background:#fffdf8; }
.ledger-overview .ledger-balance-card { color:white; border-color:transparent; background:linear-gradient(125deg,#607f63,#91ad82); }
.ledger-overview small,.ledger-overview span { font-size:9px; opacity:.8; }
.ledger-overview strong { margin:auto 0 2px; font-size:27px; }
.ledger-overview .plus,.parent-points-snapshot .plus { color:#507a54; }
.ledger-overview .minus,.parent-points-snapshot .minus { color:#b96656; }
.ledger-overview .ledger-balance-card strong { color:white; }
.ledger-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ledger-grid .paper-card { padding:22px; }
.recent-ledger-card { grid-column:1/-1; }
.source-bars,.checkup-categories { display:grid; gap:10px; }
.source-bars > div,.checkup-categories > div { display:grid; grid-template-columns:110px 1fr 42px; align-items:center; gap:10px; font-size:10px; }
.source-bars i,.checkup-categories i { overflow:hidden; height:8px; border-radius:8px; background:#eceae0; }
.source-bars i b,.checkup-categories i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#85aa78,#e1c560); }
.source-bars strong,.checkup-categories strong { text-align:right; color:var(--green-deep); }
.migration-note { margin:15px 0 0; padding:10px 12px; border-radius:13px; color:#7e704d; background:#fff5d8; font-size:9px; line-height:1.65; }
.encouragement-card > p { color:var(--muted); font-size:10px; line-height:1.65; }
.focus-score { display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:10px; padding:13px; border-radius:17px; background:#f0f6e9; }
.focus-score > span { font-size:27px; }
.focus-score strong,.focus-score small { display:block; }
.focus-score small { margin-top:3px; color:var(--muted); font-size:8px; }
.focus-score > b { color:var(--green-deep); font-size:22px; }
.encouragement-card details,.parent-missed { margin-top:12px; }
.encouragement-card summary,.parent-missed summary { color:#687f62; cursor:pointer; font-size:9px; font-weight:800; }
.missed-list,.parent-missed > div { display:grid; gap:6px; margin-top:9px; }
.missed-list span,.parent-missed span { display:grid; grid-template-columns:42px 1fr; gap:7px; padding:8px 10px; border-radius:11px; color:#6f6b60; background:var(--cream); font-size:9px; line-height:1.45; }
.missed-list b,.parent-missed b { color:#a17a47; }
.all-clear,.checkup-clear { padding:16px; border-radius:16px; color:#587653; background:#eef6e9; font-size:10px; font-weight:800; }
.student-ledger-list { display:grid; gap:7px; }
.student-ledger-list article { display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:10px; padding:10px 12px; border-radius:14px; background:var(--cream); }
.ledger-dot { display:grid; place-items:center; width:32px; height:32px; border-radius:11px; background:#fffdf7; }
.student-ledger-list strong,.student-ledger-list small { display:block; }
.student-ledger-list small { margin-top:3px; color:var(--muted); font-size:8px; }
.student-ledger-list > article > b { font-size:14px; }
.student-ledger-list .plus { color:var(--green-deep); }
.student-ledger-list .minus { color:#b96656; }
.parent-insight-title { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.parent-insight-title h2 { margin:3px 0 0; }
.parent-insight-title p { margin:0; color:var(--muted); font-size:9px; }
.parent-checkup { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.checkup-period { min-width:0; padding:15px; border-radius:18px; background:var(--cream); }
.checkup-period-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
.checkup-period-head strong,.checkup-period-head small { display:block; }
.checkup-period-head small { margin-top:3px; color:var(--muted); font-size:8px; }
.checkup-period-head > b { color:var(--green-deep); font-size:23px; }
.checkup-categories > div { grid-template-columns:92px 1fr 36px; font-size:8px; }
.parent-missed span { grid-template-columns:38px 78px 1fr; }
.parent-missed em { color:#668166; font-style:normal; }
.parent-points-snapshot > div { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.parent-points-snapshot > div > span { padding:12px; border-radius:14px; background:var(--cream); }
.parent-points-snapshot small,.parent-points-snapshot strong { display:block; }
.parent-points-snapshot small { color:var(--muted); font-size:8px; }
.parent-points-snapshot strong { margin-top:4px; font-size:20px; }

@media (max-width:760px) {
  .reward-tab span { display:block; margin:0 0 3px; }
  .ledger-overview,.ledger-grid { grid-template-columns:1fr; }
  .recent-ledger-card { grid-column:auto; }
  .source-bars > div { grid-template-columns:88px 1fr 36px; }
  .ledger-grid .paper-card { padding:18px 14px; }
  .parent-insight-title { display:block; }
  .parent-insight-title p { margin:7px 0 13px; }
  .parent-checkup { grid-template-columns:1fr; }
  .parent-missed span { grid-template-columns:36px 65px 1fr; }
  .parent-points-snapshot > div { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:1080px) and (min-width:761px) {
  .pet-side-column { grid-template-columns:1fr 1fr; }
  .home-editor-card { grid-column:1 / -1; }
}
@media (max-width:760px) {
  .pet-house.house--level-1 { right:9%; }
  .pet-house.house--level-2 { right:5%; }
  .pet-house.house--level-3 { right:1%; top:39px; width:137px; height:143px; font-size:119px; }
  .home-editor-card { padding:19px; }
  .decor-toggle { padding:10px 8px; }
}

/* Time-aware pet speech bubbles */
.pet-speech-bubble { position:absolute; z-index:8; display:block; max-width:210px; padding:10px 13px; border:2px solid rgba(255,255,255,.9); border-radius:18px 18px 18px 6px; color:#775747; background:rgba(255,253,247,.96); box-shadow:0 10px 25px rgba(91,72,48,.14); font-size:10px; font-weight:800; line-height:1.55; text-align:left; pointer-events:none; opacity:0; }
.pet-speech-bubble::after { content:""; position:absolute; left:23px; bottom:-8px; width:13px; height:13px; border-right:2px solid rgba(255,255,255,.9); border-bottom:2px solid rgba(255,255,255,.9); background:rgba(255,253,247,.96); transform:rotate(45deg); }
.pet-speech-bubble.is-speaking { animation:pet-speech-cycle 8.4s ease both; }
.pet-speech-bubble--home { top:-15px; right:-3px; width:170px; }
.pet-speech-bubble--room { top:18px; left:50%; width:max-content; transform:translateX(-50%); }
.pet-speech-bubble--room.is-speaking { animation-name:pet-speech-room-cycle; }
@keyframes pet-speech-cycle { 0% { opacity:0; transform:translateY(8px) scale(.94); } 8%,88% { opacity:1; transform:translateY(0) scale(1); } 100% { opacity:0; transform:translateY(-5px) scale(.98); } }
@keyframes pet-speech-room-cycle { 0% { opacity:0; transform:translate(-50%,8px) scale(.94); } 8%,88% { opacity:1; transform:translate(-50%,0) scale(1); } 100% { opacity:0; transform:translate(-50%,-5px) scale(.98); } }

/* Bunny pose cycle: sit, walk, lie down and sleep */
.active-pet.pose--walking { animation:pet-walk-steps 4.8s linear infinite; }
.active-pet.pose--lying { animation:pet-lie-breathe 3.4s ease-in-out infinite; }
.active-pet.pose--sleeping { animation:pet-sleep-breathe 4.2s ease-in-out infinite; }
.pet-preview-visual #homePetEmoji.pose--walking { animation:home-pet-walk-steps 4.8s linear infinite; }
.pet-preview-visual #homePetEmoji.pose--lying { animation:home-pet-lie 3.4s ease-in-out infinite; }
.pet-preview-visual #homePetEmoji.pose--sleeping { animation:home-pet-sleep 4.2s ease-in-out infinite; }
@keyframes pet-walk-steps {
  0% { transform:translate(-38px,2px) scaleX(1); } 12% { transform:translate(-19px,-5px) scaleX(1) rotate(2deg); } 25% { transform:translate(0,2px) scaleX(1); } 37% { transform:translate(19px,-5px) scaleX(1) rotate(2deg); } 49% { transform:translate(38px,2px) scaleX(1); }
  50% { transform:translate(38px,2px) scaleX(-1); } 62% { transform:translate(19px,-5px) scaleX(-1) rotate(2deg); } 75% { transform:translate(0,2px) scaleX(-1); } 87% { transform:translate(-19px,-5px) scaleX(-1) rotate(2deg); } 99% { transform:translate(-38px,2px) scaleX(-1); } 100% { transform:translate(-38px,2px) scaleX(1); }
}
@keyframes home-pet-walk-steps {
  0% { transform:translate(-18px,3px) scaleX(1); } 24% { transform:translate(0,-3px) scaleX(1) rotate(2deg); } 49% { transform:translate(18px,3px) scaleX(1); } 50% { transform:translate(18px,3px) scaleX(-1); } 74% { transform:translate(0,-3px) scaleX(-1) rotate(2deg); } 99% { transform:translate(-18px,3px) scaleX(-1); } 100% { transform:translate(-18px,3px) scaleX(1); }
}
@keyframes pet-lie-breathe { 0%,100% { transform:translateY(24px) scale(1); } 50% { transform:translateY(21px) scale(1.025,.985); } }
@keyframes pet-sleep-breathe { 0%,100% { transform:translateY(27px) rotate(-1deg) scale(1); } 50% { transform:translateY(24px) rotate(1deg) scale(1.02,.98); } }
@keyframes home-pet-lie { 0%,100% { transform:translateY(13px) scale(1); } 50% { transform:translateY(11px) scale(1.02,.985); } }
@keyframes home-pet-sleep { 0%,100% { transform:translateY(15px) rotate(-1deg) scale(1); } 50% { transform:translateY(13px) rotate(1deg) scale(1.02,.98); } }
.animation--hop .active-pet { animation:pet-interact-hop .9s ease !important; }
.animation--eat .active-pet { animation:pet-chew .42s ease-in-out 3 !important; }
.animation--grow .active-pet { animation:pet-grow 1.15s ease-in-out 2 !important; }
@media (max-width:760px) {
  .pet-speech-bubble--home { top:-12px; right:-7px; width:150px; padding:8px 10px; font-size:9px; }
  .pet-speech-bubble--room { top:14px; max-width:170px; padding:9px 11px; font-size:9px; }
}

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