/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--ink:#263633;--muted:#75817b;--mint:#dceee4;--green:#377d68;--cream:#fffdf8;--peach:#f8ddd0;--line:#e6e9e2}*{box-sizing:border-box}body{color:var(--ink);background:#eaf0e9;margin:0;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}button{font:inherit;cursor:pointer;border:0}.app-shell{background:var(--cream);max-width:620px;min-height:100vh;padding-bottom:calc(88px + env(safe-area-inset-bottom));margin:0 auto;position:relative;box-shadow:0 0 40px #55706018}.page{min-height:calc(100vh - 86px);padding:30px 22px 24px}.done-panel,.home-header,.lesson-header,.phrase-card,.section-heading,.streak-card{align-items:center;display:flex}.home-header{justify-content:space-between;margin-bottom:28px}.greeting{letter-spacing:-.04em;margin:0 0 6px;font-size:25px;font-weight:700}.greeting span{font-size:20px}.sub-greeting{color:var(--muted);margin:0;font-size:13px}.avatar{color:#9a6049;background:#efd5c7;border:3px solid #fff;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;padding:0;font-size:15px;font-weight:700;display:grid;overflow:hidden;box-shadow:0 3px 12px #a576611c}.avatar-button:focus-visible{outline-offset:3px;outline:3px solid #b7d6c5}.avatar img,.avatar-preview img,.profile-avatar img{object-fit:cover;width:100%;height:100%;display:block}.streak-card{background:var(--mint);border-radius:20px;gap:13px;margin-bottom:38px;padding:17px 18px}.streak-flame{background:#fffaf1;border-radius:15px;place-items:center;width:45px;height:45px;font-size:25px;display:grid}.streak-copy{flex-direction:column;gap:1px;display:flex}.streak-copy span{color:#53776a;font-size:12px}.streak-copy strong{font-size:26px;line-height:1.1}.streak-copy small{font-size:13px;font-weight:500}.streak-note{color:#5c8174;text-align:right;margin-left:auto;font-size:11px;line-height:1.65}.section-heading{justify-content:space-between;margin-bottom:16px}.eyebrow{color:var(--green);letter-spacing:.13em;margin:0 0 5px;font-size:10px;font-weight:800}.section-heading h1{letter-spacing:-.04em;margin:0;font-size:21px}.calendar-icon{color:#7fa694;font-size:27px}.topic-card{background:#f5e3db;border-radius:23px;min-height:280px;padding:23px 21px;position:relative;overflow:hidden}.topic-illustration{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:66px;gap:8px;max-width:360px;min-height:66px;margin-bottom:18px;display:grid}.toy-item{background:#fffaf4;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;height:66px;display:flex;box-shadow:0 8px 16px #aa725321}.toy-item span{font-size:24px;line-height:1}.toy-item small{color:#9b7566;white-space:nowrap;font-size:8px}.topic-content{position:relative}.topic-tag{color:#a16e5c;font-size:11px}.topic-content h2{letter-spacing:-.05em;margin:7px 0 4px;font-size:27px}.topic-content p{color:#99796c;margin:0 0 16px;font-size:12px}.primary-button{background:var(--green);color:#fff;border-radius:13px;height:48px;padding:0 18px;font-size:14px;font-weight:700;transition:transform .2s,background .2s;box-shadow:0 7px 14px #377d6830}.primary-button:hover{background:#286b58;transform:translateY(-1px)}.primary-button:disabled{opacity:.65;cursor:wait;transform:none}.start-button{justify-content:space-between;align-items:center;width:100%;max-width:280px;display:flex}.start-button span{font-size:21px;font-weight:400}.tip-card{color:#8a7659;background:#fff7e9;border-radius:13px;align-items:center;gap:10px;margin-top:21px;padding:13px 15px;display:flex}.tip-card p{margin:0;font-size:12px;line-height:1.55}.tip-card strong{color:#695a42;margin-right:5px}.tip-bulb{color:#d89a42;font-size:22px}.lesson-page{padding-top:18px}.lesson-header{justify-content:space-between;margin-bottom:35px}.lesson-header h1{margin:0;font-size:19px}.icon-button{color:var(--ink);background:0 0;width:42px;height:42px;font-size:30px;line-height:1}.header-dot{background:#f1b78f;border-radius:50%;width:7px;height:7px}.lesson-intro{margin-bottom:27px}.lesson-intro .eyebrow{font-size:11px}.sparkle{color:#e7a56e;margin-right:4px}.lesson-intro h2{letter-spacing:-.06em;margin:8px 0;font-size:35px}.lesson-intro p{color:var(--muted);margin:0;font-size:15px}.phrase-list{gap:13px;display:grid}.phrase-card{border:1px solid var(--line);background:#fff;border-radius:17px;gap:13px;min-height:92px;padding:15px 14px;box-shadow:0 4px 12px #46594f08}.phrase-number{color:#b2beb7;align-self:flex-start;width:22px;padding-top:5px;font-size:12px}.number-1{color:#e2aa7e}.phrase-copy{flex:1;min-width:0}.english{letter-spacing:-.02em;margin:0 0 7px;font-size:18px;font-weight:700;line-height:1.25}.chinese{color:var(--muted);margin:0;font-size:15px;line-height:1.35}.play-button{min-width:65px;height:43px;color:var(--green);background:#eef6f0;border-radius:12px;justify-content:center;align-items:center;gap:5px;font-size:13px;display:flex}.play-button span:first-child{font-size:11px}.interaction-card{background:#fff6e9;border-radius:17px;align-items:center;gap:13px;margin-top:27px;padding:16px;display:flex}.interaction-icon{background:#f7dfc0;border-radius:13px;place-items:center;width:43px;height:43px;font-size:23px;display:grid}.section-label{color:#b17a45;margin:0 0 5px;font-size:13px;font-weight:800}.interaction-text{color:#766a5b;margin:0;font-size:15px;line-height:1.55}.interaction-text strong{color:#544c40}.complete-button{width:100%;margin-top:30px;font-size:16px}.complete-button span{margin-left:6px;font-size:19px}.done-panel{background:var(--mint);border-radius:17px;flex-wrap:wrap;gap:12px;margin-top:30px;padding:16px}.done-check{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.done-panel div:nth-child(2){flex-direction:column;flex:1;gap:4px;display:flex}.done-panel strong{font-size:16px}.done-panel div:nth-child(2) span{color:#5c8174;font-size:13px}.secondary-button{width:100%;height:43px;color:var(--green);background:#fff;border-radius:12px;font-size:14px;font-weight:700}.bottom-nav{z-index:5;width:min(620px,100%);height:calc(78px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px 40px calc(8px + env(safe-area-inset-bottom));background:#fffefaee;border-top:1px solid #eef0eb;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{color:#aab2ac;background:0 0;flex-direction:column;align-items:center;gap:4px;min-width:55px;min-height:48px;font-size:19px;display:flex}.nav-item small{font-size:11px}.nav-item.active{color:var(--green)}.nav-item.active span{background:#e1f0e7;border-radius:13px;place-items:center;width:39px;height:28px;font-size:16px;display:grid}.site-footer{text-align:center;padding:8px 22px 18px;font-size:11px;line-height:1.6}.site-footer a{color:#8a9690;text-decoration:none}.site-footer a:focus-visible,.site-footer a:hover{color:var(--green);text-underline-offset:3px;text-decoration:underline}@media (min-width:700px){.page{padding-left:42px;padding-right:42px}.bottom-nav{border-radius:22px 22px 0 0}}@media (max-width:360px){.page{padding-left:17px;padding-right:17px}.topic-illustration span:nth-child(3){left:160px}.greeting{font-size:23px}}.toy-item{box-shadow:none;color:#9b7566;cursor:pointer;background:0 0;padding:0;transition:background .2s,transform .2s}.toy-item:focus-visible,.toy-item:hover{background:#ffffff38;transform:translateY(-2px)}.toy-item:focus-visible{outline-offset:2px;outline:2px solid #a16e5c}.toy-item:active{transform:translateY(0)scale(.96)}.toy-item span{font-size:30px}.toy-item small{color:inherit;font-size:9px}.records-page{padding-top:34px}.records-header{justify-content:space-between;align-items:center;margin-bottom:27px;display:flex}.records-header h1{letter-spacing:-.05em;margin:3px 0 0;font-size:29px}.record-badge{background:#e7f2e8;border-radius:16px;place-items:center;width:48px;height:48px;font-size:25px;display:grid}.record-summary{background:var(--mint);border-radius:21px;grid-template-columns:1fr 1px 1fr;align-items:center;gap:18px;margin-bottom:25px;padding:22px 20px;display:grid}.record-summary div:not(.summary-divider){flex-direction:column;gap:5px;display:flex}.record-summary span{color:#5c8174;font-size:12px}.record-summary strong{font-size:28px;line-height:1}.record-summary small{margin-left:3px;font-size:12px;font-weight:500}.summary-divider{background:#bcd8c8;width:1px;height:48px}.completed-section,.month-card{border:1px solid var(--line);background:#fff;border-radius:21px;padding:20px 18px;box-shadow:0 5px 18px #46594f08}.completed-section{margin-top:20px}.record-section-heading{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.record-section-heading .section-label{color:var(--green);margin-bottom:5px}.record-section-heading h2{letter-spacing:-.03em;margin:0;font-size:17px}.record-section-heading>span{color:#8aa096;background:#f0f6f1;border-radius:9px;padding:6px 9px;font-size:12px}.month-grid,.month-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.month-weekdays{color:#9aa69f;text-align:center;margin-bottom:9px}.month-weekdays span{font-size:10px;font-weight:700}.month-day{color:#77827c;place-items:center;min-width:0;min-height:39px;display:grid;position:relative}.month-day strong{background:#f6f7f4;border-radius:50%;place-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:grid}.month-day.today strong{outline-offset:2px;outline:2px solid #cfe3d5}.month-day.done strong{background:var(--green);color:#fff}.month-check{color:#fff;background:#f2b986;border:2px solid #fff;border-radius:50%;place-items:center;width:15px;height:15px;font-size:8px;font-weight:900;display:grid;position:absolute;bottom:1px;right:1px}.month-day.empty{visibility:hidden}.completed-list{gap:10px;display:grid}.completed-item{background:#fafbf8;border-radius:15px;align-items:center;gap:12px;padding:12px;display:flex}.completed-icon{background:#fff1df;border-radius:13px;flex:none;place-items:center;width:41px;height:41px;font-size:22px;display:grid}.completed-item>div:nth-child(2){flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.completed-item strong{font-size:14px}.completed-item span{color:var(--muted);font-size:11px}.completed-item .completed-check{width:25px;height:25px;color:var(--green);background:#e2f0e7;border-radius:50%;place-items:center;font-size:13px;font-weight:800;display:grid}.empty-record{text-align:center;padding:16px 8px 4px}.empty-record>span{margin-bottom:9px;font-size:34px;display:block}.empty-record strong{font-size:15px}.empty-record p{color:var(--muted);margin:7px 0 15px;font-size:12px;line-height:1.55}.empty-record .secondary-button{background:var(--mint)}.profile-page{padding-top:34px}.profile-header{justify-content:space-between;align-items:center;margin-bottom:27px;display:flex}.profile-header h1{letter-spacing:-.05em;margin:3px 0 0;font-size:29px}.profile-badge{background:#fff0e7;border-radius:16px;place-items:center;width:48px;height:48px;font-size:25px;display:grid}.profile-welcome{background:var(--mint);border-radius:20px;align-items:center;gap:14px;margin-bottom:20px;padding:18px;display:flex}.profile-avatar{color:#9a6049;background:#fff8f2;border-radius:50%;flex:none;place-items:center;width:50px;height:50px;font-size:18px;font-weight:800;display:grid}.profile-welcome>div:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.profile-welcome strong{font-size:15px}.profile-welcome span{color:#5c8174;font-size:12px;line-height:1.5}.profile-form{border:1px solid var(--line);background:#fff;border-radius:21px;padding:20px 18px;box-shadow:0 5px 18px #46594f08}.form-heading{margin-bottom:20px}.form-heading .section-label{color:var(--green)}.form-heading h2{letter-spacing:-.03em;margin:0;font-size:17px}.avatar-picker{border-bottom:1px solid #eef0eb;align-items:center;gap:14px;padding:0 0 20px;display:flex}.avatar-preview{color:#9a6049;background:#efd5c7;border:3px solid #fff;border-radius:50%;flex:none;place-items:center;width:64px;height:64px;font-size:20px;font-weight:800;display:grid;overflow:hidden;box-shadow:0 3px 12px #a576611c}.avatar-actions{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.avatar-actions>strong{font-size:14px}.avatar-actions>span{color:var(--muted);font-size:11px;line-height:1.45}.avatar-buttons{flex-wrap:wrap;align-items:center;gap:8px;margin-top:5px;display:flex}.avatar-upload{min-height:36px;color:var(--green);cursor:pointer;background:#e7f2e8;border-radius:10px;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex;position:relative}.avatar-file{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.avatar-upload:focus-within{outline-offset:2px;outline:3px solid #c8dfd1}.avatar-remove{color:#9a6b58;background:0 0;min-height:36px;padding:0 5px;font-size:11px}.avatar-actions .avatar-error{color:#b55445;font-size:11px;font-weight:700}.field-label{color:#53615c;gap:8px;margin-top:16px;font-size:13px;font-weight:700;display:grid}.field-label input,.field-label select{width:100%;height:48px;color:var(--ink);font:inherit;background:#fafbf8;border:1px solid #dfe5df;border-radius:13px;outline:none;padding:0 13px;font-size:15px}.field-label input:focus,.field-label select:focus{border-color:#78a794;box-shadow:0 0 0 3px #dceee4}.field-label input::placeholder{color:#a9b1ac}.preference-row{border-top:1px solid #eef0eb;border-bottom:1px solid #eef0eb;align-items:center;gap:15px;margin-top:22px;padding:16px 0;display:flex}.preference-row>div{flex-direction:column;flex:1;gap:4px;display:flex}.preference-row strong{font-size:14px}.preference-row span{color:var(--muted);font-size:11px;line-height:1.5}.switch{flex:none;width:48px;height:28px;position:relative}.switch input{opacity:0;pointer-events:none;position:absolute}.switch>span{background:#cfd6d1;border-radius:20px;transition:background .2s;position:absolute;inset:0}.switch>span:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #26363325}.switch input:checked+span{background:var(--green)}.switch input:checked+span:after{transform:translate(20px)}.switch input:focus-visible+span{outline-offset:2px;outline:3px solid #c8dfd1}.save-button{width:100%;margin-top:20px;font-size:15px}.privacy-note{color:var(--muted);text-align:center;margin:13px 3px 0;font-size:11px;line-height:1.55}.save-status{color:var(--green);text-align:center;margin:12px 0 0;font-size:12px;font-weight:700}