:root{font-family:Inter,Noto Sans TC,system-ui,sans-serif;color:#17233c;background:#f5f7fc}button{cursor:pointer;font:inherit}header{background:#fff;border-bottom:1px solid #e5e9f3;padding:18px max(24px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;align-items:center}.logo{font-weight:850;color:#4338ca;font-size:20px}.tag{font-size:12px;background:#eef2ff;color:#4338ca;padding:7px 12px;border-radius:30px}main{max-width:1100px;margin:36px auto;padding:0 20px}.hero{background:linear-gradient(110deg,#3730a3,#6366f1);color:#fff;border-radius:24px;padding:35px;display:flex;justify-content:space-between;gap:20px;align-items:center}.hero h1{font-size:32px;margin:8px 0}.hero p{color:#e0e7ff}.hero .glyph{font-size:76px;opacity:.75}.grid{display:grid;grid-template-columns:240px 1fr;gap:22px;margin-top:24px}.panel{background:#fff;border:1px solid #e9ecf4;border-radius:20px;padding:22px;box-shadow:0 6px 24px #27346508}nav button{width:100%;border:0;background:transparent;padding:13px;text-align:left;border-radius:12px;margin:4px 0;color:#334155}nav button.active{background:#eef2ff;color:#4338ca;font-weight:750}.muted{color:#64748b;font-size:14px}.section-title{margin-top:0}.tabs{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.tabs button,.btn{border:1px solid #dbe1ef;background:#fff;padding:11px 17px;border-radius:12px;font-weight:650;color:#334155}.tabs button.active,.btn.primary{background:#4f46e5;color:#fff;border-color:#4f46e5}.card{border:1px solid #e5e9f3;border-radius:18px;padding:24px;margin:16px 0;background:#fff}.flash{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(145deg,#eef2ff,#fff);cursor:pointer;text-align:center}.hanzi{font-size:54px;font-weight:700}.pinyin{font-size:19px;color:#6366f1;margin-top:10px}.meaning{font-size:22px;margin-top:10px}.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:15px}.quiz-choice{display:block;width:100%;text-align:left;margin:10px 0;border:1px solid #dce2ed;background:#fff;border-radius:12px;padding:14px}.quiz-choice.selected{border-color:#4f46e5;background:#eef2ff}.quiz-choice.correct{border-color:#16a34a;background:#f0fdf4}.quiz-choice.wrong{border-color:#dc2626;background:#fef2f2}.progress{height:9px;background:#e5e7eb;border-radius:10px;overflow:hidden}.progress>div{height:100%;background:#6366f1;transition:width .2s}.dialogue{border-bottom:1px solid #edf0f6;padding:15px 0}.dialogue:last-child{border:0}.speaker{font-size:13px;font-weight:700;color:#6366f1}.dialogue .zh{font-size:23px;margin:8px 0}.dialogue .py{color:#64748b}.notice{padding:14px;background:#f0fdf4;color:#166534;border-radius:12px;margin-top:15px}.small{font-size:12px;color:#64748b}footer{text-align:center;color:#94a3b8;padding:36px}@media(max-width:720px){.grid{grid-template-columns:1fr}.hero{padding:25px}.hero h1{font-size:25px}.hero .glyph{display:none}main{margin:20px auto}.panel{padding:17px}nav{display:flex;overflow:auto;gap:6px}nav button{white-space:nowrap;width:auto}.hanzi{font-size:46px}}:root{font-family:Be Vietnam Pro,sans-serif;color:#263a32;background:#fbf8f0;--green: #264e3b;--orange: #e8864a}html{scroll-behavior:smooth;scroll-padding-top:30px}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #e8864a;outline-offset:5px}button:disabled{cursor:default;opacity:.5}.skip{position:absolute;top:-60px;background:#fff;padding:15px;z-index:10}.skip:focus{top:0}header{max-width:1256px;margin:auto;padding:26px 44px;background:transparent;border:0}.brand{display:flex;align-items:center;font-weight:800;font-size:23px;letter-spacing:-1px}.brand>span:not(.brand-icon){font-weight:400}.brand-icon{display:grid;place-items:center;width:37px;height:37px;background:var(--green);color:#fbf8f0;border-radius:50%;margin-right:10px;font-size:24px}.brand i{font-style:normal;color:var(--orange);font-size:30px;margin-left:3px}.topnav{display:flex;align-items:center;gap:35px;font-size:13px}.nav-cta{border:1px solid #c1c8b9;border-radius:30px;padding:12px 20px}.nav-cta span{margin-left:20px}main{max-width:1256px;padding:0 44px;margin:0 auto}.hero{background:transparent;color:inherit;padding:65px 0 76px;gap:30px;border-radius:0;min-height:570px;display:grid;grid-template-columns:1.1fr 1fr}.eyebrow,.section-kicker{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#627367}.eyebrow{display:flex;align-items:center;gap:9px}.eyebrow>span{width:7px;height:7px;background:#81a576;border-radius:50%}.hero h1{font-family:"Baloo 2",sans-serif;font-size:82px;line-height:1.08;letter-spacing:-3px;margin:25px 0}.hero h1>span{color:var(--orange);position:relative}.hero h1 i{font-style:normal;display:inline-block;font-size:52px;margin-left:12px;vertical-align:top;transform:rotate(15deg)}.hero p{color:#6f786d;font-size:14px;line-height:1.9;margin:22px 0 28px}.hero-actions{display:flex;align-items:center;gap:25px;font-size:12px;font-weight:600}.solid-link{background:var(--green);color:#fff;border-radius:28px;padding:17px 23px;box-shadow:0 4px #183827}.solid-link span{margin-left:20px}.text-link span{margin-left:8px}.hero-note{display:flex;align-items:center;gap:10px;font-size:10px;color:#778173;margin-top:28px}.tiny-star{font-size:23px;color:var(--orange)}.art{position:relative;height:430px;isolation:isolate}.orbit{position:absolute;top:18px;right:4px;bottom:0;left:4px;border-radius:50%;background:#ecefda}.character-card{position:absolute;top:49px;left:64px;width:285px;height:320px;border:1px solid #315341;border-radius:10px;background:#bacaab;transform:rotate(-9deg);box-shadow:9px 11px #264e3b;display:flex;flex-direction:column;justify-content:space-between;padding:20px}.card-label{font-size:8px;letter-spacing:1.1px}.character{font-family:serif;text-align:center;font-size:175px;line-height:1.1;color:#2b513b}.character-bottom{display:flex;justify-content:space-between;font-size:11px;border-top:1px solid #71876a;padding-top:12px}.hello-sticker{position:absolute;right:17px;top:5px;background:#f5cb70;padding:18px 26px;font:700 35px "Baloo 2",serif;border-radius:50% 50% 50% 8%;transform:rotate(11deg);z-index:2;box-shadow:2px 3px #d1ad5e}.hello-sticker span{display:block;font:12px Be Vietnam Pro,sans-serif;text-align:center}.orange-flower{position:absolute;left:0;bottom:19px;font-size:150px;line-height:1;color:var(--orange);transform:rotate(6deg)}.word-sticker{position:absolute;right:0;bottom:39px;background:#f7e1dc;transform:rotate(7deg);padding:19px 22px;font:30px serif;box-shadow:3px 3px #e6c1b8;border:1px solid #ebc7bd}.word-sticker span{display:block;font:10px Be Vietnam Pro,sans-serif;margin-top:9px}.art-spark{position:absolute;font-size:60px;right:-5px;top:140px}.art-caption{position:absolute;bottom:-8px;left:140px;font-size:10px;transform:rotate(-5deg);color:#71816a}.ribbon{border-top:1px solid #d7dccd;border-bottom:1px solid #d7dccd;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;font-size:11px;font-weight:600;letter-spacing:1px}.ribbon b{font-size:23px;color:var(--orange);font-weight:400}.about{display:grid;grid-template-columns:.65fr 1.5fr .8fr;gap:40px;padding:90px 0;border-bottom:1px solid #d7dccd}.about>.section-kicker{padding-top:10px}h2{font-family:"Baloo 2",sans-serif;font-size:36px;line-height:1.3;letter-spacing:-.6px;margin:0 0 20px}h2 span{color:#6e8b60}.about p{font-size:13px;line-height:1.95;color:#71786b;max-width:470px}.interest-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}.interest-tags span{font-size:9px;border:1px solid #d4dbc9;border-radius:20px;padding:8px 11px}.about-note{background:#f4d67f;padding:30px 24px;transform:rotate(5deg);align-self:center;position:relative}.about-note:before{content:"";position:absolute;width:65px;height:23px;background:#e5e4d8a6;top:-10px;left:37%;transform:rotate(-8deg)}.about-note>span{font:31px serif}.about-note p{color:#554c30;font-size:17px;line-height:1.5}.about-note>div{font-size:7px;letter-spacing:1px}.learning-head{display:flex;justify-content:space-between;align-items:end;padding-top:75px;gap:20px}.learning-head .section-kicker{margin-bottom:20px}.learning-head p{font-size:12px;color:#71816a;line-height:1.9;margin-bottom:24px}.grid{margin-top:22px;grid-template-columns:240px 1fr;align-items:start}.panel{border:1px solid #dce1d2;border-radius:17px;box-shadow:none;background:#fffdf8;padding:24px}.panel h3{font-size:15px;color:#375440}.panel nav button{font-size:12px;padding:13px 9px}.panel nav button.active{background:#e8eddf;color:#38533c}.panel .small{line-height:1.9;font-size:11px;color:#858b7d}.panel .section-title{font-family:"Baloo 2",serif;font-size:26px;margin-bottom:9px}.muted{color:#7b8276;font-size:12px;line-height:1.8}.tabs{border-bottom:1px solid #e1e5d8;padding-bottom:15px}.tabs button,.btn{font-size:12px;border-color:#d9dfd0;color:#3b5440;border-radius:9px}.tabs button.active,.btn.primary{background:var(--green);border-color:var(--green)}.dialogue .zh{color:#314c39;font-size:22px}.speaker,.pinyin{color:#b97443}.dialogue .py{font-size:12px;color:#8c927f}.dialogue p{font-size:12px}.dialogue .btn{padding:8px 13px}.dialogue{border-color:#e7e9df;padding:20px 0}.progress{background:#e9ecdf;height:6px}.progress>div{background:#86a374}.card{border-color:#e1e5d8}.flash{width:100%;background:#edf1e2;color:#314c39;font-family:inherit}.flash .meaning{font-size:30px}.quiz-choice{font-family:inherit;color:#314c39}.quiz-choice.selected{background:#edf1e2;border-color:#6d8863}.quiz-choice.correct{background:#edf6e6}.quiz-choice.wrong{background:#fce8e1}.notice{background:#edf4e5}.closing{margin:75px 0 30px;padding:45px 20px;text-align:center;border-radius:18px;background:#ebefdf}.closing>span{font:22px serif;color:#748c63}.closing h2{margin:15px 0 22px;font-size:30px}.closing a{font-size:12px;border-bottom:1px solid;padding-bottom:5px}footer{display:flex;align-items:center;justify-content:space-between;max-width:1256px;margin:auto;padding:27px 44px 40px;color:#73816d}footer .brand{color:#304c39;font-size:20px}footer p,footer>a:last-child{font-size:10px}a,button{transition:transform .2s,background-color .2s}a:hover{color:#af673f}.solid-link:hover{color:#fff;transform:translateY(-3px)}.btn:hover,.tabs button:hover{transform:translateY(-2px)}.hero-copy,.art{animation:arrive .7s ease-out both}.art{animation-delay:.13s}@keyframes arrive{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1300px){.hero{gap:65px}}@media(max-width:950px){header,main{padding-left:28px;padding-right:28px}.hero h1{font-size:66px}.art{transform:scale(.88);transform-origin:center}.hero{gap:0}.about{grid-template-columns:1.5fr .8fr}.about>.section-kicker{grid-column:1/-1}.ribbon{font-size:9px}.hero-actions{gap:15px}.text-link{font-size:10px}}@media(max-width:700px){header{padding:20px}.brand{font-size:20px}.brand-icon{width:30px;height:30px;font-size:20px}.topnav{gap:12px}.topnav>a:not(.nav-cta){display:none}.nav-cta{padding:10px 12px;font-size:11px}.nav-cta span{margin-left:5px}main{padding:0 20px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:36px 0 35px;gap:10px}.hero h1{font-size:67px;margin:22px 0}.hero h1 i{font-size:43px}.hero p{font-size:13px}.art{width:min(100%,390px);height:400px;align-self:center;transform:scale(.9);margin-top:15px}.character-card{left:50px;width:260px}.hello-sticker{right:-8px}.art-caption{left:95px}.ribbon{justify-content:space-around;gap:10px;flex-wrap:wrap;padding:16px 0}.ribbon span:nth-last-child(-n+3),.ribbon b:last-child{display:none}.about{padding:48px 0;grid-template-columns:1fr;gap:22px}.about-note{max-width:260px;width:100%;margin:15px auto 0}.about h2{font-size:33px}.learning-head{padding-top:45px;display:block}.learning-head h2{font-size:31px}.learning-head p{margin-bottom:15px}.grid{grid-template-columns:1fr}.panel{padding:20px}.panel nav{display:block}.panel aside{display:block}.closing{margin-top:40px;padding:30px 15px}.closing h2{font-size:25px}footer{padding:18px 20px 30px;flex-wrap:wrap;gap:10px}footer p{display:none}.panel .section-title{font-size:23px}.desktop{display:none}}.tabs{gap:7px}.tabs button{padding:10px 13px}.grammar-card h3{margin-top:0}.grammar-card p{font-size:14px;line-height:1.9}.grammar-card .zh{font-size:22px;color:var(--green)}.dialogue-heading{margin:32px 0 0;padding-top:25px;border-top:2px solid #dce1d2}.flash-example{max-width:520px;margin-top:15px;padding:15px;border-top:1px solid #cad5bd}.flash-example p{font-size:13px;line-height:1.7;margin:6px 0}.flash-example p:first-child{font-size:20px}.flash{min-height:290px}.card label{display:block;line-height:1.8;font-weight:600}.card textarea{display:block;width:100%;resize:vertical;min-height:75px;margin-top:14px;padding:14px;font:inherit;font-size:16px;color:var(--green);background:#fffefb;border:1px solid #c5ceba;border-radius:10px}.card textarea:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.card .notice{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.grammar-card .zh,.dialogue .zh{overflow-wrap:anywhere}.flash:focus-visible{outline-offset:3px}@media(max-width:400px){.tabs button{padding:10px;font-size:11px}.panel{padding:16px}.card{padding:18px}.hero-actions{flex-wrap:wrap}.art{max-width:100%;overflow:hidden}}.lesson-link{display:block;padding:13px;border-radius:12px;font-size:13px;line-height:1.7;margin:4px 0}.lesson-link:hover{background:#f1f1e6}.lesson-link.active{background:#e7eddf;color:var(--green);font-weight:700}.flash-example>span{display:block;font-size:13px;line-height:1.7;margin:6px 0}.flash-example>span:first-child{font-size:20px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3{overflow-wrap:anywhere}.site-header{position:sticky;top:0;z-index:20;max-width:none;padding:20px max(24px,calc((100vw - 1168px)/2));background:#fbf8f0f5;border-bottom:1px solid #dfe3d6;display:flex;align-items:center;justify-content:space-between;gap:20px}.topnav a[aria-current=page]{color:#a65026;text-decoration:underline;text-underline-offset:6px}.page-heading{padding:55px 0 24px}.page-heading h1{font-family:"Baloo 2",serif;font-size:clamp(30px,4vw,52px);line-height:1.25;color:var(--green);margin:20px 0 12px}.page-heading>p{line-height:1.8}.page-heading>a{font-size:13px}.path-cards{padding:25px 0}.path-cards h2{font-family:"Baloo 2",serif;font-size:clamp(26px,4vw,40px)}.course-card{display:flex;gap:28px;align-items:center;padding:28px 34px;border:1px solid #cdd5c5;border-radius:18px;background:#f0f1e4;margin:15px 0;transition:transform .18s,background .18s}.course-card:hover{transform:translateY(-3px);background:#e9eddc}.course-card>div{flex:1}.course-card>span:last-child{font-size:28px;color:var(--green)}.course-card h2,.course-card h3{margin:0}.course-card p{line-height:1.7;margin:10px 0}.book-glyph{font-size:68px;color:var(--green);line-height:1.3}.lesson-number{font-family:"Baloo 2",serif;font-size:44px;color:#9a512e}.book-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.book-list .card{margin:0}.resume{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:30px 0 50px}.resume h3{margin-top:0}.resume .solid-link{flex-shrink:0}.learning-grid{grid-template-columns:250px minmax(0,1fr);align-items:start;margin-bottom:60px}.learning-grid .panel{min-width:0}.sidebar-title{font-family:"Baloo 2",serif;font-size:25px;margin-top:0}.tabs{gap:7px;margin-top:0;display:flex;flex-wrap:wrap}.tabs button{padding:10px 12px}.vocab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.vocab-grid .card{margin:0;padding:20px}.vocab-grid h3{margin:0}.actions{display:flex;flex-wrap:wrap;gap:10px}.flash{display:block;width:100%;min-height:320px;text-align:center;color:inherit;background:#f2f2e6}.flash .hanzi{font-family:serif;font-size:72px;color:var(--green)}.flash .meaning{font-size:28px}.flash-example{font-size:14px}.zh{font-family:Noto Sans TC,serif;font-size:24px;line-height:1.7}.py{color:#637064;line-height:1.8}.dialogue{border-bottom:1px solid #e1e5d8;padding:22px 0}.speaker{font-size:13px;font-weight:700;color:#536a58}.small{font-size:12px;line-height:1.8;color:#657165}.card{background:#fffef8;border:1px solid #dbe1d3;border-radius:16px;padding:24px;margin:16px 0;line-height:1.7}.btn,.tabs button{font:inherit;font-size:13px;border:1px solid #c5cfbd;background:#fffdf6;color:#264e3b;border-radius:12px;font-weight:600;padding:11px 15px}.btn.primary,.tabs button.active{background:#264e3b;color:#fffdf6;border-color:#264e3b}.btn:hover,.tabs button:hover{filter:brightness(.94)}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:700;margin-bottom:15px}.quiz-choice{display:flex;align-items:baseline;gap:12px;cursor:pointer;width:100%;margin:8px 0;padding:13px;border:1px solid #d1d8c9;border-radius:9px;background:#fffef8}.quiz-choice:has(input:checked){border-color:#264e3b;background:#edf1e5}.quiz-choice.correct{background:#e2efdd;border-color:#406b35}.quiz-choice.wrong{background:#fae8df;border-color:#a85232}input{accent-color:#264e3b}textarea{display:block;width:100%;resize:vertical;min-height:90px;margin-top:15px;padding:14px;color:inherit;background:#fffdf7;border:1px solid #c5cfbd;border-radius:9px}progress{display:block;width:100%;height:12px;accent-color:#264e3b;margin:12px 0}progress::-webkit-progress-bar{background:#e4e8db;border-radius:10px}progress::-webkit-progress-value{background:#526f46;border-radius:10px}input:focus-visible,textarea:focus-visible{outline:3px solid #e8864a;outline-offset:3px}[hidden]{display:none!important}main:focus{outline:none}.skip{z-index:50}.notice{padding:20px;background:#e8eedf;border-radius:12px}footer{margin-top:60px}@media(max-width:850px){.learning-grid{grid-template-columns:1fr}.learning-grid aside nav{display:flex;gap:6px;overflow:auto}.learning-grid aside .lesson-link{min-width:155px;font-size:12px}.learning-grid aside h3{margin-top:20px}.resume{align-items:flex-start;flex-direction:column}.course-card{padding:22px;gap:18px}}@media(max-width:600px){.site-header{padding:15px 20px;align-items:flex-start;flex-direction:column;gap:15px}.topnav{gap:20px;width:100%;font-size:12px;justify-content:space-between}.nav-cta{padding:8px 12px}main{padding:0 20px}.page-heading{padding-top:30px}.book-list,.vocab-grid{grid-template-columns:1fr}.course-card h2{font-size:20px}.book-glyph{font-size:46px}.lesson-number{font-size:32px}.tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px}.tabs button{white-space:nowrap}.lesson-content{padding:18px}.hero-actions{flex-wrap:wrap}.art{max-width:100%;overflow:hidden}.hero .art{min-width:0}.hero h1{font-size:58px}.character-card{left:35px}.word-sticker{right:0}.hello-sticker{left:0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}:root{font-family:Be Vietnam Pro,Noto Sans TC,sans-serif}[lang=zh-Hant],.character,.brand-icon,.book-glyph,.hanzi,.word-sticker,.hello-sticker,.flash .hanzi{font-family:Noto Sans TC,serif}.topnav>a:not(.nav-cta){display:block}.hero-copy,.art{animation:none}h1,h2,h3,.hero h1,.path-cards h2,.page-heading h1,.sidebar-title{font-family:"Baloo 2",Noto Sans TC,sans-serif}.closing>span{font-family:Noto Sans TC,serif}.about-profile{min-height:100vh;padding:64px 24px;background:#faf8f3;color:#26332d}.about-profile ::selection{background:#e9f0e8;color:#315c4b}.about-profile-card{max-width:768px;margin-inline:auto;padding:48px;border-radius:24px;background:#fff;box-shadow:0 8px 30px #0000000a}.about-profile-header{display:flex;align-items:flex-start;gap:32px;margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid #e9f0e8}.about-profile-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:128px;height:128px;overflow:hidden;border:4px solid #fff;border-radius:50%;background:#e9f0e8;color:#315c4b;box-shadow:0 1px 3px #0000001a;font-size:48px;-webkit-user-select:none;user-select:none;transition:transform .3s}.about-profile-avatar:hover{transform:scale(1.05)}.about-profile-heading{min-width:0}.about-profile-heading h1{margin:0 0 12px;font-family:inherit;font-size:36px;font-weight:700;line-height:1.3;color:#315c4b}.about-profile-heading p{margin:0;color:#a5612d;font-size:18px;font-weight:500;letter-spacing:.025em;line-height:1.6}.about-profile-body{font-size:18px;line-height:1.7}.about-profile-body p{margin:0 0 20px}.about-profile-body strong{color:#315c4b}.about-profile-body .about-profile-motto{margin-bottom:0;padding-top:16px;font-size:20px;font-weight:600;color:#315c4b}.about-profile-contact{display:flex;margin-top:40px;padding-top:32px;border-top:1px solid #e9f0e8}.about-profile-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 24px;border-radius:12px;background:#315c4b;color:#fff;font-weight:500;line-height:1.5;text-decoration:none;box-shadow:0 1px 3px #0000001a;transition:transform .3s,background-color .3s,box-shadow .3s}.about-profile-link svg{flex-shrink:0;transition:transform .3s}.about-profile-link:hover{background:#26483a;color:#fff;box-shadow:0 4px 6px #0000001a;transform:translateY(-2px)}.about-profile-link:hover svg{transform:scale(1.1)}.about-profile-link:focus-visible{outline:3px solid #315c4b;outline-offset:4px;box-shadow:0 0 0 4px #e9f0e8}@media(max-width:639px){.about-profile{padding:32px 0}.about-profile-card{padding:32px 24px}.about-profile-header{flex-direction:column;align-items:center}.about-profile-heading{text-align:center}.about-profile-heading h1{font-size:30px}.about-profile-motto{text-align:center}.about-profile-contact{justify-content:center}.about-profile-link{padding-inline:18px;text-align:center}}@media(prefers-reduced-motion:reduce){.about-profile-avatar:hover,.about-profile-link:hover,.about-profile-link:hover svg{transform:none}}.login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;overflow-y:auto;display:flex;padding:28px 16px;background:#fff1f5}.login-card{width:min(100%,448px);margin:auto;padding:clamp(24px,6vw,40px);border:2px solid #fce0eb;border-radius:28px;background:#fff;box-shadow:0 18px 48px #9d315b14;text-align:center;color:#334155}.login-icon{font-size:60px;margin-bottom:16px}.login-card h1{font-size:24px;line-height:1.35;margin:0 0 12px;color:#1e293b}.login-card h2{font-size:17px;margin:0 0 8px}.login-card p{line-height:1.65}.login-card .login-pending,.login-error{color:#b4234c;font-weight:700}.login-email{overflow-wrap:anywhere}.login-card button,.auth-account button{border:1px solid #e2e8f0;border-radius:24px;padding:11px 18px;background:#f1f5f9;color:#334155;font-weight:700}.login-card>button{display:block;width:100%;margin-top:12px}.login-providers,.login-form{display:grid;gap:12px;margin-top:24px}.login-form label{display:grid;gap:6px;text-align:left;font-weight:600}.login-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:12px;font:inherit}.login-card .login-primary{background:#ce397d;border-color:#ce397d;color:#fff}.login-card .login-primary:hover{background:#b62c6b}.login-card button:disabled,.auth-account button:disabled{opacity:.6;cursor:wait}.login-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:16px}.login-links button{border:0;background:transparent;color:#a72560;padding:8px 0;font-size:14px;text-decoration:underline}.login-card :focus-visible,.auth-account :focus-visible{outline:3px solid #a72560;outline-offset:4px}.auth-account{position:fixed;bottom:16px;right:16px;z-index:50;max-width:min(90vw,350px)}.auth-account p{padding:12px;background:#fff;color:#b4234c;border-radius:12px}.student-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}.student-sidebar{position:sticky;top:20px;border:1px solid #eedfe5;border-radius:22px;padding:20px 14px;background:#fff}.student-brand{display:grid;gap:4px;padding:4px 10px 20px;color:#ae356d;font-weight:800;text-decoration:none}.student-brand span{font-size:28px}.student-courses details{margin-bottom:16px}.student-courses summary{cursor:pointer;padding:10px 6px;font-weight:750}.student-courses a{display:block;padding:9px 10px;margin:3px 0;border-radius:10px;font-size:14px;line-height:1.6;text-decoration:none;color:#526077}.student-courses a:hover,.student-courses a.active{color:#a72560;background:#fff0f6}.student-courses a.active{font-weight:750;box-shadow:inset -3px 0 #ce397d}.student-courses p{padding:0 10px;font-size:14px}.student-courses .student-coming-soon{color:#64748b;font-style:italic}.student-account{border-top:1px solid #eedfe5;padding:16px 10px 0}.student-account h2{font-size:12px;text-transform:uppercase;color:#64748b}.student-account p{font-size:14px;overflow-wrap:anywhere}.student-account button{border:0;padding:8px 0;background:transparent;color:#a72560;font-weight:700}.student-main{min-width:0}.student-welcome{display:flex;gap:24px;align-items:center;padding:clamp(20px,3vw,32px);background:#fff;border:1px solid #eedfe5;border-radius:24px;margin-bottom:28px}.student-welcome h1{font-size:clamp(22px,3vw,28px);margin:0 0 12px}.student-welcome p{line-height:1.7;margin:8px 0}.student-welcome .welcome-note{color:#a72560;font-size:14px;font-weight:700}.welcome-glyph{flex:0 0 86px;height:86px;display:grid;place-items:center;border-radius:26px;background:#fff0f6;color:#ae356d;font-size:46px;transform:rotate(-5deg)}.login-inline .login-card{width:100%;box-shadow:none;border-color:#eedfe5}.login-inline #login-title{font-size:24px}.student-menu-toggle{display:none}.student-layout :focus-visible{outline:3px solid #a72560;outline-offset:3px}.student-layout .learning-grid{grid-template-columns:1fr}@media(max-width:850px){.student-layout{grid-template-columns:1fr;gap:20px}.student-sidebar{position:static}.student-brand{padding-bottom:12px}.student-menu-toggle{display:block;width:100%;border:1px solid #eedfe5;border-radius:12px;background:#fff0f6;padding:12px;color:#a72560;font-weight:700}.student-courses{display:none;margin-top:16px}.student-courses.is-open{display:block}.student-account{margin-top:16px}.student-welcome{align-items:flex-start;gap:16px}.welcome-glyph{flex-basis:54px;height:54px;font-size:30px;border-radius:16px}}.advanced-theme .student-brand,.advanced-theme .welcome-note,.advanced-theme .student-account button{color:#245d9b}.advanced-theme .welcome-glyph{background:#eaf2fc;color:#245d9b}.advanced-theme .student-courses a.active{color:#245d9b;background:#eaf2fc;box-shadow:inset -3px 0 #3977b9}.advanced-theme .student-menu-toggle{color:#245d9b;background:#edf4fc;border-color:#cedef0}.advanced-theme .login-primary{background:#245d9b;border-color:#245d9b}.advanced-theme .login-primary:hover{background:#194a7f}.advanced-theme .student-welcome,.advanced-theme .student-sidebar,.advanced-theme .login-card{border-color:#d7e3f1}.advanced-theme :focus-visible{outline-color:#245d9b}.advanced-heading{padding:clamp(22px,4vw,44px);border:1px solid #cfdfef;background:#f2f7fd;border-radius:24px;margin-bottom:24px}.advanced-heading h1{font-size:clamp(25px,3.5vw,42px);line-height:1.55;margin:16px 0;color:#183c62}.advanced-heading a,.advanced-lesson .section-kicker{color:#245d9b}.advanced-meta{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:13px;color:#476782;margin-top:24px}.advanced-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:20px;font-size:13px;color:#476782}.advanced-breadcrumb a{color:#245d9b}.advanced-breadcrumb [aria-current]{background:#eaf2fc;padding:3px 9px;border-radius:6px}.advanced-audio{margin-top:24px;padding:16px;max-width:420px;border:1px solid #d7e3f1;border-radius:16px;background:#fff}.advanced-audio h2{margin:0 0 10px;color:#476782;font-size:13px;letter-spacing:.06em;text-transform:uppercase}.advanced-audio audio{display:block;width:100%}.advanced-audio p{font-size:14px;line-height:1.7;margin:0}.advanced-reading-part{position:relative;margin:36px 0 0;padding-top:40px;border-color:#d7e3f1}.advanced-reading-part .advanced-part-label{position:absolute;top:-17px;left:24px;margin:0;border-radius:24px;padding:7px 18px;background:#245d9b;color:#fff;font-size:14px}.advanced-lesson .tabs{margin-bottom:24px}.advanced-lesson .tabs button.active{background:#245d9b;color:#fff;border-color:#245d9b}.advanced-reading h2 span{color:#7795b3;font-weight:400;margin-left:12px}.advanced-reading .zh{line-height:2.15;margin:0 0 26px;font-size:clamp(18px,2vw,21px)}.advanced-translation{background:#f2f6fb;border:1px solid #d7e3f1;border-radius:16px;padding:20px}.advanced-translation summary{cursor:pointer;color:#245d9b;font-weight:800}.advanced-translation p{line-height:1.9}.advanced-vocabulary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:18px}.advanced-flashcard{position:relative;min-height:305px;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:36px 22px 24px;border:1px solid #cfdfef;border-radius:20px;background:#fff;color:#27425f;font:inherit;cursor:pointer;box-shadow:0 5px 15px #244a7010;transition:transform .2s ease;overflow-wrap:anywhere}.advanced-flashcard:hover{transform:translateY(-3px)}.advanced-flashcard.is-flipped{background:#edf4fc}.advanced-flashcard .advanced-word{font-size:clamp(30px,3vw,42px);color:#245d9b}.advanced-card-index{position:absolute;top:12px;left:18px;color:#7890aa;font-size:12px}.advanced-flashcard .py{font-size:14px}.advanced-grammar{margin-bottom:22px}.advanced-grammar h2{font-size:clamp(20px,2.5vw,26px);color:#245d9b}.advanced-grammar p{line-height:1.85}.advanced-example{padding:8px 18px;background:#f3f7fc;border-left:3px solid #6d98c3;margin-top:16px}.advanced-question{margin:28px 0;border:0;padding:0;min-width:0}.advanced-question legend{font-weight:750;line-height:1.8;margin-bottom:12px}.advanced-lesson .actions button{font:inherit;cursor:pointer;color:#245d9b;background:#edf4fc;border:1px solid #cfdfef;padding:12px 18px;border-radius:12px}.advanced-lesson .actions button:disabled{cursor:default;opacity:.55}.advanced-loading{min-height:280px;background:#f2f7fd}@media(prefers-reduced-motion:reduce){.advanced-flashcard{transition:none}.advanced-flashcard:hover{transform:none}}.advanced-vocabulary>div{min-width:0}.advanced-vocabulary>div>.advanced-flashcard{width:100%}.advanced-speech{margin:.6rem 0;padding:.45rem .85rem;border:1px solid var(--line, #cbd5e1);border-radius:999px;background:var(--paper, #fffdf7);color:inherit;font:inherit;cursor:pointer}.advanced-speech:hover{background:#e8eee8}.advanced-reading .py{line-height:1.8}body:has(.dashboard-page){background:#fcfaf8;color:#2d3748;font-family:Nunito,Noto Sans TC,sans-serif}body:has(.dashboard-page) .site-header{height:65px;padding:0 max(24px,calc((100vw - 1216px)/2));background:#fff;border-color:#e2e8f0}body:has(.dashboard-page) .brand{color:#1e293b;font-size:21px;letter-spacing:-.6px}body:has(.dashboard-page) .brand>span:not(.brand-icon){font-weight:800}body:has(.dashboard-page) .brand-icon{width:40px;height:40px;background:#1e293b;border-radius:12px;font-size:20px}body:has(.dashboard-page) .topnav{gap:32px;font-size:15px;font-weight:700}body:has(.dashboard-page) .topnav a{color:#64748b}body:has(.dashboard-page) .topnav a[aria-current=page]{color:#1e293b;text-decoration-color:#1e293b;text-decoration-thickness:2px}body:has(.dashboard-page) .nav-cta{color:#334155;border-color:#cbd5e1;padding:9px 20px;box-shadow:0 1px 2px #0f172a08}.dashboard-page{max-width:1280px;padding:48px 32px;margin:0 auto;min-height:calc(100svh - 65px)}.dashboard-layout{grid-template-columns:288px minmax(0,1fr);gap:32px}.dashboard-layout .student-sidebar{top:96px;padding:24px;border:1px solid #f1f5f9;border-radius:24px;box-shadow:0 1px 3px #0f172a06}.dashboard-layout .student-brand{color:#1e293b;font-size:14px;padding:0 0 28px}.dashboard-layout .student-brand span{color:#2563eb;font-size:26px}.dashboard-layout .student-courses summary{padding:0;font-size:13px;line-height:1.7;color:#1e293b}.dashboard-layout .student-courses details{margin-bottom:24px}.dashboard-layout .student-courses a{border-left:2px solid #dbeafe;margin:8px 0 0 6px;padding:3px 0 3px 16px;border-radius:0;font-size:13px}.dashboard-layout .student-courses a:hover{color:#2563eb;background:#eff6ff}.dashboard-layout .student-coming-soon{display:none}.dashboard-layout .student-account{padding:20px 0 0;border-color:#f1f5f9}.dashboard-layout .student-account button{color:#2563eb}.dashboard-layout :focus-visible{outline:3px solid #2563eb;outline-offset:4px}.dashboard-heading{margin-bottom:40px}.dashboard-heading>p{margin:0 0 8px;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.16em}.dashboard-heading h1{margin:0;color:#1e293b;font-family:inherit;font-size:clamp(32px,3.5vw,48px);font-weight:800;letter-spacing:-.035em;line-height:1.2}.dashboard-heading h1 span{color:#2563eb;font-family:Noto Sans TC,sans-serif;white-space:nowrap}.dashboard-courses{display:grid;gap:24px}.dashboard-course{position:relative;display:flex;align-items:center;gap:24px;padding:32px;border:1px solid #e2e8e0;border-radius:24px;background:#f4f7f4;color:#1e293b;text-decoration:none;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.dashboard-course:before{content:"";position:absolute;inset:0 0 0 auto;width:128px;background:linear-gradient(to left,#e2e8e080,transparent);pointer-events:none}.dashboard-course.advanced{background:#f0f5ff;border-color:#dbeafe}.dashboard-course.advanced:before{background:linear-gradient(to left,#dbeafe80,transparent)}.dashboard-course:hover{transform:translateY(-4px);border-color:#3b82f6;box-shadow:0 10px 25px -5px #0f172a0d}.dashboard-course:active{transform:translateY(-1px)}.dashboard-glyph{display:grid;place-items:center;flex:0 0 64px;height:64px;border-radius:16px;background:#fff;color:#15803d;font-family:Noto Sans TC,sans-serif;font-size:30px;font-weight:700;box-shadow:0 1px 3px #0f172a0d}.advanced .dashboard-glyph{color:#2563eb}.dashboard-course-copy{position:relative;flex:1;min-width:0}.dashboard-course-copy p{margin:0;font-size:14px;color:#475569;line-height:1.6}.dashboard-course-copy .dashboard-kicker{font-size:12px;font-weight:800;color:#15803d;text-transform:uppercase;letter-spacing:.12em}.advanced .dashboard-course-copy .dashboard-kicker{color:#2563eb}.dashboard-course h3{margin:3px 0;font-family:inherit;font-size:24px;line-height:1.35;font-weight:800}.dashboard-arrow{position:relative;flex-shrink:0;color:#94a3b8}.dashboard-course:hover .dashboard-arrow{color:#2563eb}body:has(.dashboard-page) footer{display:none}@media(max-width:850px){.dashboard-page{padding:28px 24px}.dashboard-layout{grid-template-columns:1fr;gap:32px}.dashboard-layout .student-sidebar{position:static}.dashboard-layout .student-brand{padding-bottom:16px}.dashboard-layout .student-menu-toggle{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.dashboard-heading h1{font-size:38px}}@media(max-width:600px){body:has(.dashboard-page) .site-header{height:auto;min-height:65px;padding:12px 20px;flex-wrap:wrap;gap:12px}body:has(.dashboard-page) .topnav{display:flex;flex-wrap:wrap;gap:18px;font-size:13px}body:has(.dashboard-page) .topnav>a:not(.nav-cta){display:inline}.dashboard-page{padding:24px 16px}.dashboard-course{padding:24px 20px;gap:16px}.dashboard-glyph{flex-basis:48px;height:48px;font-size:26px}.dashboard-course h3{font-size:20px}.dashboard-course-copy p{font-size:13px}.dashboard-course-copy .dashboard-kicker{font-size:10px}.dashboard-arrow{width:18px}.dashboard-heading h1{font-size:34px}}@media(prefers-reduced-motion:reduce){.dashboard-course{transition:none}.dashboard-course:hover,.dashboard-course:active{transform:none}}.landing-section{max-width:1024px;margin:24px auto;padding:24px 0}.landing-card{position:relative;overflow:hidden;text-align:center;padding:48px;border:1px solid #e2e8f0;border-radius:40px;background:radial-gradient(ellipse at top right,#fff7ed,transparent 45%),radial-gradient(ellipse at bottom left,#eff6ff,transparent 40%),#fff;box-shadow:0 1px 3px #0f172a06}.landing-avatar{display:grid;place-items:center;margin:0 auto 24px;width:112px;height:112px;border-radius:50%;border:4px solid white;background:#f1f5f9;box-shadow:0 8px 20px #0f172a12;font-size:48px;color:#334155;font-family:Noto Sans TC,sans-serif}.landing-card h1{font-family:inherit;font-size:clamp(30px,4vw,48px);line-height:1.2;font-weight:800;letter-spacing:-.03em;margin:0 0 24px;color:#1e293b}.landing-card h1 span{color:#2563eb}.landing-bio{max-width:680px;margin:auto;font-size:18px;line-height:1.8;color:#475569}.landing-bio p{margin:0 0 16px}.landing-action{max-width:576px;margin:36px auto 0;padding:24px;border:1px solid #f1f5f9;background:#f8fafc;border-radius:16px}.landing-action h2{font-family:inherit;font-size:18px;margin:0 0 8px}.landing-action p{color:#64748b;font-size:14px;margin:0 0 20px}.landing-action button,.nav-login{border:0;border-radius:999px;padding:12px 28px;color:#fff;background:#2563eb;font:inherit;font-weight:800;cursor:pointer}body:has(.dashboard-page) .nav-login{color:#fff;background:#1e293b}.landing-action button:hover{background:#1d4ed8}.landing-action button:disabled{opacity:.65;cursor:wait}.auth-dialog{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;padding:32px 16px 16px;border:1px solid #e2e8f0;border-radius:24px;background:#fff}.auth-dialog::backdrop{background:#0f172a80}.auth-dialog .login-card{margin:0;border:0;box-shadow:none;width:100%}.auth-close{position:absolute;top:8px;right:12px;border:0;background:#f1f5f9;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer}.dashboard-group{padding:28px;border:1px solid #e2e8f0;border-radius:24px;background:#fff}.dashboard-group>h2{font-family:inherit;font-size:20px;margin:0 0 24px;color:#1e293b}.dashboard-group .dashboard-course+.dashboard-course{margin-top:16px}.dashboard-group .dashboard-course{padding:24px;border-radius:16px;gap:20px}.dashboard-group .dashboard-course h3{font-size:20px}.dashboard-unavailable{display:flex;align-items:center;gap:20px;padding:24px;margin-top:16px;border-radius:16px;background:#f8fafc;color:#64748b}.dashboard-unavailable>span{font-size:30px}.dashboard-unavailable h3{margin:0 0 4px;font-size:17px}.dashboard-unavailable p{margin:0;font-size:14px}.course-unavailable{font-size:13px;color:#64748b;padding-left:24px;line-height:1.6}:where(.landing-section,.site-header) :focus-visible{outline:3px solid #2563eb;outline-offset:4px}@media(max-width:600px){.landing-section{margin:0;padding:16px 0}.landing-card{padding:32px 20px;border-radius:28px}.landing-bio{font-size:16px}.dashboard-group{padding:20px 16px}.dashboard-group .dashboard-course{padding:20px 16px;gap:12px}.dashboard-unavailable{padding:20px 16px}}.dashboard-layout .student-brand{display:flex;align-items:center;gap:12px}.dashboard-layout .student-brand-avatar{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:#eff6ff;font-size:26px}.dashboard-layout .student-brand-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-layout .student-brand-copy>span:first-child{font-size:22px}.dashboard-layout .student-brand-label{color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.dashboard-group .dashboard-glyph{flex-basis:56px;height:56px;border-radius:12px;font-size:26px}.dashboard-course h3{margin:3px 0;font-family:inherit;line-height:1.35;font-weight:800}@media(max-width:600px){.dashboard-group .dashboard-glyph{flex-basis:44px;height:44px}.dashboard-group .dashboard-course h3{font-size:18px}}
